Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/cadence/macb_main.c at91ether_alloc_coherent() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c at91ether_alloc_coherent() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 4096-ptr_max |
| CAPPED_DATA | 0 | &bp->pdev->dev | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c at91ether_free_coherent() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c gem_shuffle_tx_one_ring() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &phy->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/ethernet/cadence/macb_main.c macb_alloc_consistent() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| CAPPED_DATA | 0 | bp->num_queues | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| BIT_INFO | 0 | bp->caps | 0x0,0xfffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cadence/macb_main.c macb_free_consistent() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| BUF_SIZE | 0 | bp->rx_ring_tieoff | (-1),8,16,24 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |
drivers/net/ethernet/cadence/macb_main.c macb_probe() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_readl | 4488892371760123904,6962978476123369472 |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 2733428253417918464,5704136947128205312 |
| CAPPED_DATA | 0 | bp->pdev->num_resources | 1 |
| BIT_INFO | 0 | bp->caps | 0x80,0xffffffff |
| BIT_INFO | 0 | bp->macb_reg_readl | 0x2001380010001000,0xffffffffffffffff |
| BIT_INFO | 0 | bp->macb_reg_writel | 0x529020083c00000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c macb_probe() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_readl | 4488892371760123904,6962978476123369472 |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 2733428253417918464,5704136947128205312 |
| CAPPED_DATA | 0 | bp->pdev->num_resources | 1 |
| BIT_INFO | 0 | bp->caps | 0x80,0xffffffffffffffff |
| BIT_INFO | 0 | bp->macb_reg_readl | 0x2001380010001000,0xffffffffffffffff |
| BIT_INFO | 0 | bp->macb_reg_writel | 0x529020083c00000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c macb_rx_ring_size_per_queue() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| BUF_SIZE | 0 | bp->rx_ring_tieoff | (-1)-0,8,16,24 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |
drivers/net/ethernet/cadence/macb_main.c macb_tx_dma() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
drivers/net/ethernet/cadence/macb_main.c macb_tx_restart() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &queue->tx_ptr_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct macb_queue)->tx_ptr_lock |
drivers/net/ethernet/cadence/macb_main.c macb_tx_ring_size_per_queue() -> macb_dma_desc_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| BUF_SIZE | 0 | bp->rx_ring_tieoff | (-1)-0,8,16,24 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |