Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/serial/mos7720.c get_lsr_info() -> read_mos_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | serial_portnum | 0-255 |
| PARAM_VALUE | 2 | reg | 7 |
| PARAM_VALUE | 3 | data | 2709854333951565824 |
| PARAM_VALUE | 3 | *data | 0 |
| NOCHECK_CALL |
drivers/usb/serial/mos7720.c mos7720_open() -> read_mos_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | serial | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | serial->disconnected | 0 |
| PARAM_VALUE | 0 | serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | *serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | serial_portnum | 0-255 |
| PARAM_VALUE | 2 | reg | 7 |
| PARAM_VALUE | 3 | data | 6548115427306160128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/mos7720.c mos7720_open() -> read_mos_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | serial | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | serial->disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | serial->disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | serial->disconnected | 0 |
| PARAM_VALUE | 0 | serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | *serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 2 | reg | 19 |
| PARAM_VALUE | 3 | data | 6548115427306160128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/usb/serial/mos7720.c mos7720_startup() -> read_mos_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | serial | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | serial->disc_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | serial->disc_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->disc_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | serial->disc_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | serial->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | serial->minors_reserved | 0 |
| PARAM_VALUE | 0 | serial->num_ports | 0-16 |
| PARAM_VALUE | 0 | serial->port | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->sibling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | serial->sibling->cur_altsetting | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->type | 4096-ptr_max |
| PARAM_VALUE | 0 | serial->type->driver.owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | serial->type->num_ports | 0-4,8 |
| PARAM_VALUE | 0 | serial->type->read_int_callback | 0,4096-ptr_max |
| PARAM_VALUE | 0 | serial->type->write_int_callback | 0,3559368790082265088,3814266376616095744 |
| PARAM_VALUE | 0 | *serial->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | serial_portnum | 0 |
| PARAM_VALUE | 2 | reg | 7 |
| PARAM_VALUE | 3 | data | 4038337957276921856 |
| BUF_SIZE | 0 | serial | 344 |
| CAPPED_DATA | 0 | serial->interface | 1 |
| CAPPED_DATA | 0 | serial->num_port_pointers | 1 |
| CAPPED_DATA | 0 | serial->num_ports | 1 |
| DATA_SOURCE | 0 | serial | $0 |
| FUZZY_MAX | 0 | serial->num_ports | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/serial/mos7720.c parport_mos7715_read_data() -> read_mos_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 12 |
| PARAM_VALUE | 3 | data | 5448447938616692736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pp->private_data->serial->disc_mutex | ||
| HALF_LOCKED2 | global &pi_mutex | ||
| HALF_LOCKED2 | global &pp_do_mutex | ||
| HALF_LOCKED2 | global &pprt_lock | ||
| HALF_LOCKED2 | irq |