Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_int_slave_handler() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->adap.quirks | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->fifo_use | 1 |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->operation | 0 |
| PARAM_VALUE | 0 | bus->own_slave_addr | 255 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->alert_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->alert_done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->block_num | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->buffer_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->got_rsp.count | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->got_rsp.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->num_vals | 0-4294967294 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->intf->xmit_msgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->nbytes_processed | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->pec_support | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->remain_len | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->request_queue_len.counter | s32min-s32max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->ndev->refcnt_tracker.no_tracker.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->rx_done.done | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->worker.cpu | s32min-s32max |
| PARAM_VALUE | 0 | bus->slave->slave_cb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slv_rd_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_rd_size | 0-u16max |
| PARAM_VALUE | 0 | bus->stop_ind | 0 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->request.payload | 0-255 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->slave->dev.driver_data->buffer_idx | 0-u16max |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.address | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.length | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.platform_data->addr | 0-255 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_int_slave_handler() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 1-u64max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->slave->dev.driver_data->buffer_idx | 0-u16max |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.address | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.length | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.platform_data->addr | 0-255 |
| HOST_DATA | 0 | bus->slv_rd_size | 1-257[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_master_stop() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->fifo_use | 1 |
| PARAM_VALUE | 0 | bus->operation | 2 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_recovery_tgclk() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_reg_slave() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->PEC_mask | 0 |
| PARAM_VALUE | 0 | bus->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->int_time_stamp | 0 |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->rd_ind | 0 |
| PARAM_VALUE | 0 | bus->rd_size | 0 |
| PARAM_VALUE | 0 | bus->read_block_use | 0 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->flags | 32-u16max |
| PARAM_VALUE | 0 | bus->slave->slave_cb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slv_rd_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_rd_size | 0 |
| PARAM_VALUE | 0 | bus->slv_wr_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_wr_size | 0 |
| PARAM_VALUE | 0 | bus->stop_ind | 0 |
| PARAM_VALUE | 0 | bus->wr_ind | 0 |
| PARAM_VALUE | 0 | bus->wr_size | 0 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->slave->irq | |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | lock_flags | ||
| LOCK2 | 0 | &bus->lock | |
| HALF_LOCKED2 | global &driver_clients_lock | ||
| TYPE_LOCK | (struct npcm_i2c)->lock |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_set_fifo() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->fifo_use | 1 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->rd_size | 2-33[c] |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_slave_receive() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->adap.quirks | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->data | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->operation | 2 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->aborting | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->alert_done.done | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->block_num | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->buffer_idx | 0-u16max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->busy | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->curr_seq | 0-63 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->got_rsp.count | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->got_rsp.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->got_rsp.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->idx | 0-11,255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->idx_write_cnt | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->grab->private->inactivity_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->grab->private->inactivity_work.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->grab->private->inactivity_work.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->grab->private->inactivity_work.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->input->timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->intf->waiting_rcv_msgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->intf->xmit_msgs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->msg_idx | 0-238 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->nbytes_processed | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->overrun | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->part_buf.address | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->part_buf.index | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->part_buf.length | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->part_buf.pec | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->part_buf.smbus_cmd | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->pec_support | 0-1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->rcvlen | 0-277 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->read_idx | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->reg_idx | 0-5 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->remain_len | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->request.len | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->request_available | 1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->request_queue_len.counter | s32min-s32max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->response_timer_inited | 1 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->rx_done.done | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->rx_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->rx_done.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel->rx_pos | 0-259 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->sel_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->state | 0-4294967295 |
| PARAM_VALUE | 0 | bus->slave->dev.driver_data->worker.cpu | s32min-s32max |
| PARAM_VALUE | 0 | bus->slave->slave_cb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slv_rd_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_rd_size | 0-u16max |
| PARAM_VALUE | 0 | bus->slv_wr_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_wr_size | 0 |
| PARAM_VALUE | 0 | bus->state | 4 |
| PARAM_VALUE | 0 | bus->stop_ind | 1 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->buffer | 0-255 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->command | 0-255 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->part_buf.payload | 0-255 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->rcvmsg | 0-255 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->regs | 0-255 |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->sel->ndev->pcpu_refcnt | s32min-s32max |
| PARAM_VALUE | 0 | *bus->slave->dev.driver_data->sel->rx_buffer | 0-255 |
| PARAM_VALUE | 0 | *bus->slv_rd_buf | 0-255 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->own_slave_addr | 0-127[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_slave_send_rd_buf() -> npcm_i2c_clear_rx_fifo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->adap.quirks | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 1-u64max |
| PARAM_VALUE | 0 | bus->slv_rd_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_rd_size | 0-u16max |
| PARAM_VALUE | 0 | bus->stop_ind | 1,5 |
| DATA_SOURCE | 0 | bus | $0 |
| HARD_MAX | 0 | bus->stop_ind | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->own_slave_addr | 0-127[c] |
| HOST_DATA | 0 | bus->slave->dev.driver_data->buffer_idx | 0-u16max |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.address | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.length | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.platform_data->addr | 0-255 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |