Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c, line 1704
- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_init_tp_params() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adap->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->params.devlog.memtype | 0-15 |
| PARAM_VALUE | 0 | adap->params.devlog.start | 0,16-4294967280 |
| PARAM_VALUE | 0 | adap->params.mtus | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->params.nports | 0-32 |
| PARAM_VALUE | 0 | adap->params.pfres.neq | 0-1048575 |
| PARAM_VALUE | 0 | adap->params.pfres.nethctrl | 0-u16max |
| PARAM_VALUE | 0 | adap->params.pfres.nexactf | 0-u16max |
| PARAM_VALUE | 0 | adap->params.pfres.niq | 0-1048575 |
| PARAM_VALUE | 0 | adap->params.pfres.niqflint | 0-4095 |
| PARAM_VALUE | 0 | adap->params.pfres.nvi | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.pmask | 0-15 |
| PARAM_VALUE | 0 | adap->params.pfres.r_caps | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.tc | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.wx_caps | 0-255 |
| PARAM_VALUE | 0 | adap->params.sge.eq_qpp | 0-15 |
| PARAM_VALUE | 0 | adap->params.sge.hps | 0-15 |
| PARAM_VALUE | 0 | adap->params.sge.iq_qpp | 0-15 |
| PARAM_VALUE | 0 | adap->params.tp.dack_re | 0-255 |
| PARAM_VALUE | 0 | adap->params.tp.tre | 0-255 |
| PARAM_VALUE | 0 | adap->params.tp.tx_modq | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | adap->pdev_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pf | 4 |
| PARAM_VALUE | 0 | adap->sge.blocked_fl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.egr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.egr_sz | 1 |
| PARAM_VALUE | 0 | adap->sge.fl_pg_order | 0-19,4294967284-u32max |
| PARAM_VALUE | 0 | adap->sge.fl_starve_thres | 1-511 |
| PARAM_VALUE | 0 | adap->sge.ingr_map | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.pktshift | 0-7 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->sge.starving_fl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.stat_len | 64,128 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->sge.txq_maperr | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->t4_bar0 | 0,16-4294967280 |
| PARAM_VALUE | 0 | adap->win0_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *adap->params.mtus | 0-16383 |
| PARAM_VALUE | 1 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 320 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap->sge.blocked_fl | 8 |
| BUF_SIZE | 0 | adap->sge.egr_map | 8 |
| BUF_SIZE | 0 | adap->sge.ingr_map | 0-s32max |
| BUF_SIZE | 0 | adap->sge.starving_fl | 8 |
| BUF_SIZE | 0 | adap->sge.txq_maperr | 8 |
| BUF_SIZE | 0 | adap->srq | (-1),264 |
| CAPPED_DATA | 0 | adap->params.sf_size | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 4 | sleep_ok | $1 |
| MEM_ZERO | 0 | adap->sge.blocked_fl | |
| MEM_ZERO | 0 | adap->sge.starving_fl | |
| MEM_ZERO | 0 | adap->sge.txq_maperr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adap->params.bs_vers | 0-u32max |
| HOST_DATA | 0 | adap->params.devlog.memtype | 0-15 |
| HOST_DATA | 0 | adap->params.devlog.size | 32768-524288[c] |
| HOST_DATA | 0 | adap->params.devlog.start | 0,16-268435440[c] |
| HOST_DATA | 0 | adap->params.fw_vers | 0-u32max |
| HOST_DATA | 0 | adap->params.sge.eq_qpp | 0-15 |
| HOST_DATA | 0 | adap->params.sge.hps | 0-15 |
| HOST_DATA | 0 | adap->params.sge.iq_qpp | 0-15 |
| HOST_DATA | 0 | adap->params.tp.dack_re | 0-255 |
| HOST_DATA | 0 | adap->params.tp.tre | 0-255 |
| HOST_DATA | 0 | adap->params.tp_vers | 0-u32max |
| HOST_DATA | 0 | adap->sge.fl_pg_order | 0-19,4294967284-u32max[c] |
| HOST_DATA | 0 | adap->sge.fl_starve_thres | 1-511[c] |
| HOST_DATA | 0 | adap->sge.pktshift | 0-7 |
| HOST_DATA | 0 | adap->t4_bar0 | 0,16-4294967280[c] |
| HOST_DATA | 0 | adap->tids.tid_base | 0-u32max |
| USER_DATA | 0 | adap->params.crypto | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | adap->sge.egr_sz | |
| NO_OVERFLOW_SIMPLE | 0 | adap->sge.ingr_sz | |
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_init_tp_params() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->fatal_err_notify_task.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->mbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->mlist.list.prev->next | 6161797322780819456 |
| PARAM_VALUE | 0 | adap->mlist.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->params.devlog.memtype | 0-15 |
| PARAM_VALUE | 0 | adap->params.devlog.start | 0,16-4294967280 |
| PARAM_VALUE | 0 | adap->params.mtus | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->params.nports | 0-32 |
| PARAM_VALUE | 0 | adap->params.pfres.neq | 0-1048575 |
| PARAM_VALUE | 0 | adap->params.pfres.nethctrl | 0-u16max |
| PARAM_VALUE | 0 | adap->params.pfres.nexactf | 0-u16max |
| PARAM_VALUE | 0 | adap->params.pfres.niq | 0-1048575 |
| PARAM_VALUE | 0 | adap->params.pfres.niqflint | 0-4095 |
| PARAM_VALUE | 0 | adap->params.pfres.nvi | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.pmask | 0-15 |
| PARAM_VALUE | 0 | adap->params.pfres.r_caps | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.tc | 0-255 |
| PARAM_VALUE | 0 | adap->params.pfres.wx_caps | 0-255 |
| PARAM_VALUE | 0 | adap->params.sge.eq_qpp | 0-15 |
| PARAM_VALUE | 0 | adap->params.sge.hps | 0-15 |
| PARAM_VALUE | 0 | adap->params.sge.iq_qpp | 0-15 |
| PARAM_VALUE | 0 | adap->params.tp.dack_re | 0-255 |
| PARAM_VALUE | 0 | adap->params.tp.tre | 0-255 |
| PARAM_VALUE | 0 | adap->params.tp.tx_modq | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | adap->pdev_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pdev_dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adap->pf | 4 |
| PARAM_VALUE | 0 | adap->sge.blocked_fl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.egr_map | 4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.egr_sz | 1 |
| PARAM_VALUE | 0 | adap->sge.fl_pg_order | 0-19,4294967284-u32max |
| PARAM_VALUE | 0 | adap->sge.fl_starve_thres | 1-511 |
| PARAM_VALUE | 0 | adap->sge.ingr_map | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.pktshift | 0-7 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | adap->sge.rx_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->sge.starving_fl | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->sge.stat_len | 64,128 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | adap->sge.tx_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adap->sge.txq_maperr | 16,4096-ptr_max |
| PARAM_VALUE | 0 | adap->t4_bar0 | 0,16-4294967280 |
| PARAM_VALUE | 0 | adap->win0_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *adap->params.mtus | 0-16383 |
| PARAM_VALUE | 1 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 321 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap->sge.blocked_fl | 8 |
| BUF_SIZE | 0 | adap->sge.egr_map | 8 |
| BUF_SIZE | 0 | adap->sge.ingr_map | 0-s32max |
| BUF_SIZE | 0 | adap->sge.starving_fl | 8 |
| BUF_SIZE | 0 | adap->sge.txq_maperr | 8 |
| BUF_SIZE | 0 | adap->srq | (-1),264 |
| CAPPED_DATA | 0 | adap->params.sf_size | 1 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 4 | sleep_ok | $1 |
| MEM_ZERO | 0 | adap->sge.blocked_fl | |
| MEM_ZERO | 0 | adap->sge.starving_fl | |
| MEM_ZERO | 0 | adap->sge.txq_maperr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adap->params.bs_vers | 0-u32max |
| HOST_DATA | 0 | adap->params.devlog.memtype | 0-15 |
| HOST_DATA | 0 | adap->params.devlog.size | 32768-524288[c] |
| HOST_DATA | 0 | adap->params.devlog.start | 0,16-268435440[c] |
| HOST_DATA | 0 | adap->params.fw_vers | 0-u32max |
| HOST_DATA | 0 | adap->params.sge.eq_qpp | 0-15 |
| HOST_DATA | 0 | adap->params.sge.hps | 0-15 |
| HOST_DATA | 0 | adap->params.sge.iq_qpp | 0-15 |
| HOST_DATA | 0 | adap->params.tp.dack_re | 0-255 |
| HOST_DATA | 0 | adap->params.tp.tre | 0-255 |
| HOST_DATA | 0 | adap->params.tp_vers | 0-u32max |
| HOST_DATA | 0 | adap->sge.fl_pg_order | 0-19,4294967284-u32max[c] |
| HOST_DATA | 0 | adap->sge.fl_starve_thres | 1-511[c] |
| HOST_DATA | 0 | adap->sge.pktshift | 0-7 |
| HOST_DATA | 0 | adap->t4_bar0 | 0,16-4294967280[c] |
| HOST_DATA | 0 | adap->tids.tid_base | 0-u32max |
| USER_DATA | 0 | adap->params.crypto | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | adap->sge.egr_sz | |
| NO_OVERFLOW_SIMPLE | 0 | adap->sge.ingr_sz | |
| UNITS | 0 | adap | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_key() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buff | 5914367632052695040 |
| PARAM_VALUE | 2 | nregs | 10 |
| PARAM_VALUE | 3 | start_index | 64 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buff | 40 |
| BUF_SIZE | 1 | buff | 40 |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | buff | $1 |
| DATA_SOURCE | 4 | sleep_ok | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_pf_config() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 48-55 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | buff | $2 |
| DATA_SOURCE | 4 | sleep_ok | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_pf_map() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buff | 5658646978194890752 |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 56 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 4 | sleep_ok | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_pf_mask() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buff | 1081828662351007744 |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 57 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 4 | sleep_ok | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_vf_config() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 58 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | buff | $2 |
| DATA_SOURCE | 4 | sleep_ok | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_read_rss_vf_config() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 1 | buff | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 1 |
| PARAM_VALUE | 3 | start_index | 59 |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 0 | adap | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adap | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adap | $0 |
| DATA_SOURCE | 1 | buff | $3 |
| DATA_SOURCE | 4 | sleep_ok | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | adap | unit_array_size |
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c cudbg_collect_tp_indirect() -> t4_tp_pio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adap | 4096-ptr_max |
| PARAM_VALUE | 2 | nregs | 0-4,6,8,10,12-14,16-25,28-30,32-33,48,64-65,80,84,96,104,111-112,128,256,288,299,303-304,325,352,512,560,576,586,592,608,624,640,768,896,2240,4304,4308,8192,8320,18688,18692,18696,18704,18708,18720,18724,18728-u32max |
| PARAM_VALUE | 4 | sleep_ok | 1 |
| BUF_SIZE | 1 | buff | 128 |
| BUF_SIZE | 1 | buff | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |