Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/serial/ti_usb_3410_5052.c ti_close() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_urb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->type->close | 4096-ptr_max |
| PARAM_VALUE | 0 | port->write_urb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | command | 7 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| CAPPED_DATA | 0 | port->read_urb | 1 |
| CAPPED_DATA | 0 | port->write_urb | 1 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 6 |
| PARAM_VALUE | 2 | value | 137 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 8 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 11 |
| PARAM_VALUE | 2 | value | 128 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 11 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->write_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | *port->serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | command | 6 |
| PARAM_VALUE | 2 | value | 137 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_open() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->serial->disconnected | 0 |
| PARAM_VALUE | 0 | port->serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | port->write_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | *port->serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | command | 8 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | data | 0 |
| PARAM_VALUE | 4 | size | 0 |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex | ||
| TYPE_LOCK | (struct ti_device)->td_open_close_lock |
drivers/usb/serial/ti_usb_3410_5052.c ti_set_termios() -> ti_port_cmd_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial | 4096-ptr_max |
| PARAM_VALUE | 0 | port->serial->interface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | *port->serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | command | 5 |
| PARAM_VALUE | 2 | value | 0 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | size | 10 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | data | 10 |
| DATA_SOURCE | 0 | port | $1 |
| DATA_SOURCE | 3 | data | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->port.tty->index | 0-s16max[c] |
| USER_DATA | 0 | port->port.tty->termios.c_ispeed | 0-u32max |
| USER_DATA | 0 | port->port.tty->termios.c_ospeed | 0-u32max |
| UNITS | 4 | size | unit_byte |
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | &tdev->td_open_close_lock | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |