Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/intel-ish-hid/ipc/ipc.c _ish_ipc_reset() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 52 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c _ish_read_fw_sts_reg() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 52 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c _ishtp_read() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 100 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->ishtp_msg_hdr | 1-u32max |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &dev->read_list_spinlock |
drivers/hid/intel-ish-hid/ipc/ipc.c _ishtp_read_hdr() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 96 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/hid/intel-ish-hid/ipc/ipc.c check_generated_interrupt() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/hid/intel-ish-hid/ipc/ipc.c check_generated_interrupt() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 12 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_chk_host_rdy() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 56 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_clr_host_rdy() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 56 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev->devc->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | dev->fw_clients_map | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_irq_handler() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 84 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_irq_handler() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 52 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | dev->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | dev->pdev->sriov->stride | 0 |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| NO_OVERFLOW_SIMPLE | 0 | dev->ishtp_dma_num_slots | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_is_input_ready() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 72 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->fw_loader_rx_buf | (-1),124 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->ishtp_msg_hdr | 1-u32max |
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| NO_OVERFLOW_SIMPLE | 0 | dev->ishtp_dma_num_slots | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &dev->cl_list_lock | |
| HALF_LOCKED2 | 0 | &dev->read_list_spinlock | |
| HALF_LOCKED2 | 0 | &dev->wr_processing_spinlock |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_send_reset_notify_ack() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 96 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_set_host_rdy() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 56 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| UNITS | 0 | dev | unit_byte |
drivers/hid/intel-ish-hid/ipc/ipc.c ish_wakeup() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 52 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c set_host_ready() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 56 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c set_host_ready() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 8 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ipc/ipc.c write_ipc_from_queue() -> ish_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 52 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->fw_loader_rx_buf | (-1),124 |
| CAPPED_DATA | 0 | &dev->wr_processing_list | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 0 | &dev->wr_processing_list | != $0->wr_processing_list.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->ishtp_msg_hdr | 1-u32max |
| HOST_DATA | 0 | dev->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->fw_clients_num | |
| NO_OVERFLOW_SIMPLE | 0 | dev->ishtp_dma_num_slots | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &dev->wr_processing_spinlock | |
| HALF_LOCKED2 | 0 | &dev->cl_list_lock | |
| HALF_LOCKED2 | 0 | &dev->read_list_spinlock | |
| TYPE_LOCK | (struct ishtp_device)->wr_processing_spinlock |