Defined in 2 files as a function:
- drivers/net/wan/hd64570.c, line 95 (as a function)
- drivers/net/wan/hd64572.c, line 75 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wan/pc300too.c buffer_offset() -> desc_abs_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->card | 4096-ptr_max |
| PARAM_VALUE | 2 | transmit | 0-1 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port->card | (-1),1424 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | desc | $1 |
| DATA_SOURCE | 2 | transmit | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->card->init_ctrl_value | 0-u32max |
| HOST_DATA | 0 | port->encoding | 0-u16max |
| HOST_DATA | 0 | port->napi.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | port->napi.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | port->napi.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | port->napi.index | s32min-s32max |
| HOST_DATA | 0 | port->napi.irq | s32min-s32max |
| HOST_DATA | 0 | port->napi.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | port->napi.list_owner | s32min-s32max |
| HOST_DATA | 0 | port->napi.napi_id | 0-u32max |
| HOST_DATA | 0 | port->napi.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | port->napi.poll_owner | s32min-s32max |
| HOST_DATA | 0 | port->napi.state | 0-u64max |
| HOST_DATA | 0 | port->napi.weight | s32min-s32max |
| HOST_DATA | 0 | port->parity | 0-u16max |
| HOST_DATA | 0 | port->rxpart | s32min-s32max |
| HOST_DATA | 0 | port->rxs | 0-255 |
| HOST_DATA | 0 | port->tmc | 0-255 |
| HOST_DATA | 0 | port->txs | 0-255 |
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/net/wan/pc300too.c desc_offset() -> desc_abs_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->card | 4096-ptr_max |
| PARAM_VALUE | 2 | transmit | 0-1 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port->card | (-1),1424 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | desc | $1 |
| DATA_SOURCE | 2 | transmit | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->card->init_ctrl_value | 0-u32max |
| HOST_DATA | 0 | port->encoding | 0-u16max |
| HOST_DATA | 0 | port->napi.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | port->napi.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | port->napi.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | port->napi.index | s32min-s32max |
| HOST_DATA | 0 | port->napi.irq | s32min-s32max |
| HOST_DATA | 0 | port->napi.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | port->napi.list_owner | s32min-s32max |
| HOST_DATA | 0 | port->napi.napi_id | 0-u32max |
| HOST_DATA | 0 | port->napi.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | port->napi.poll_owner | s32min-s32max |
| HOST_DATA | 0 | port->napi.state | 0-u64max |
| HOST_DATA | 0 | port->napi.weight | s32min-s32max |
| HOST_DATA | 0 | port->parity | 0-u16max |
| HOST_DATA | 0 | port->rxpart | s32min-s32max |
| HOST_DATA | 0 | port->rxs | 0-255 |
| HOST_DATA | 0 | port->tmc | 0-255 |
| HOST_DATA | 0 | port->txs | 0-255 |
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/net/wan/pci200syn.c buffer_offset() -> desc_abs_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->card | 4096-ptr_max |
| PARAM_VALUE | 2 | transmit | 0-1 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port->card | (-1),1392 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | desc | $1 |
| DATA_SOURCE | 2 | transmit | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |
drivers/net/wan/pci200syn.c desc_offset() -> desc_abs_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->card | 4096-ptr_max |
| PARAM_VALUE | 2 | transmit | 0-1 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port | (-1),680,888,1360 |
| BUF_SIZE | 0 | port->card | (-1),1392 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | desc | $1 |
| DATA_SOURCE | 2 | transmit | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &port->lock |