Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/niu.c __niu_set_and_wait_clear() -> __niu_wait_bits_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->num_rx_rings | 1-s32max |
| PARAM_VALUE | 0 | np->rx_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 2 | bits | 1073741824 |
| PARAM_VALUE | 3 | limit | 1000 |
| PARAM_VALUE | 4 | delay | 10 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | bits | $2 |
| DATA_SOURCE | 3 | limit | $3 |
| DATA_SOURCE | 4 | delay | $4 |
| STR_LEN | 0 | np | (-1),9-10 |
| STR_LEN | 0 | np | (-1),9-10 |
| STR_LEN | 1 | reg | 11 |
| STR_LEN | 1 | reg | 11 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct niu)->lock |
drivers/net/ethernet/sun/niu.c niu_zcp_read() -> __niu_wait_bits_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | reg | 5767304 |
| PARAM_VALUE | 2 | bits | 2147483648 |
| PARAM_VALUE | 3 | limit | 1000 |
| PARAM_VALUE | 4 | delay | 100 |
| CAPPED_DATA | 0 | np->clas.num_alt_mac_mappings | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct niu)->lock |
drivers/net/ethernet/sun/niu.c niu_zcp_read() -> __niu_wait_bits_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | reg | 5767304 |
| PARAM_VALUE | 2 | bits | 2147483648 |
| PARAM_VALUE | 3 | limit | 1000 |
| PARAM_VALUE | 4 | delay | 100 |
| CAPPED_DATA | 0 | np->clas.num_alt_mac_mappings | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct niu)->lock |
drivers/net/ethernet/sun/niu.c niu_zcp_write() -> __niu_wait_bits_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | reg | 5767304 |
| PARAM_VALUE | 2 | bits | 2147483648 |
| PARAM_VALUE | 3 | limit | 1000 |
| PARAM_VALUE | 4 | delay | 100 |
| CAPPED_DATA | 0 | np->clas.num_alt_mac_mappings | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct niu)->lock |