Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/ti/cpsw.c
- drivers/net/ethernet/ti/cpsw_ethtool.c, line 644
- drivers/net/ethernet/ti/cpsw_new.c
- drivers/net/ethernet/ti/cpsw_priv.c
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c cpsw_adjust_link() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->speed | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1-s32max |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPPED_DATA | 0 | cpsw->tx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phydev->lock | ||
| TYPE_LOCK | (struct phy_device)->lock |
drivers/net/ethernet/ti/cpsw.c cpsw_ndo_stop() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dma->state | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->speed | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1-s32max |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPPED_DATA | 0 | cpsw->tx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw.c cpsw_probe() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | cpsw->ale->p0_untag_vid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 3 |
| PARAM_VALUE | 0 | cpsw->ale->params.bus_freq | 0 |
| PARAM_VALUE | 0 | cpsw->ale->params.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev_id | 3466334137443614720 |
| PARAM_VALUE | 0 | cpsw->ale->params.num_fields | 0,2,45 |
| PARAM_VALUE | 0 | cpsw->ale->params.num_policers | 0-u32max |
| PARAM_VALUE | 0 | cpsw->ale->params.reg_fields | 0,611135518572998656,1300179531777421312 |
| PARAM_VALUE | 0 | cpsw->ale->port_mask_bits | 3 |
| PARAM_VALUE | 0 | cpsw->ale->port_num_bits | 1-64 |
| PARAM_VALUE | 0 | cpsw->ale->regmap | 0-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->vlan_entry_tbl | 0,1815525184226205696,1945695237295497216,2231032771384553472 |
| PARAM_VALUE | 0 | cpsw->ale->vlan_field_bits | 3 |
| PARAM_VALUE | 0 | cpsw->bus_freq_mhz | 0 |
| PARAM_VALUE | 0 | cpsw->cpts | 4096-u64max |
| PARAM_VALUE | 0 | cpsw->cpts->cc.mask | u32max |
| PARAM_VALUE | 0 | cpsw->cpts->cc.mult | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->cc.read | 9036049027054178304 |
| PARAM_VALUE | 0 | cpsw->cpts->cc.shift | 0-32 |
| PARAM_VALUE | 0 | cpsw->cpts->cc_mult | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->info.n_ext_ts | 4 |
| PARAM_VALUE | 0 | cpsw->cpts->irq_poll | 1 |
| PARAM_VALUE | 0 | cpsw->cpts->ov_check_period | 125-1250 |
| PARAM_VALUE | 0 | cpsw->cpts->phc_index | (-1) |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.done | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->data.dual_emac | 1 |
| PARAM_VALUE | 0 | cpsw->data.slave_data | 1-u64max |
| PARAM_VALUE | 0 | cpsw->data.slave_data->disabled | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->ifphy | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->phy_if | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->phy_node | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->slave_node | 0 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dma->chan_num | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->dma->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | cpsw->dma->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->dma->params.desc_align | 16 |
| PARAM_VALUE | 0 | cpsw->dma->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | cpsw->dma->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | cpsw->dma->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->pool->cpumap->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->pool->cpumap->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->dma->state | 0 |
| PARAM_VALUE | 0 | cpsw->misc_irq | 1-s32max |
| PARAM_VALUE | 0 | cpsw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->rx_ch_num | 1 |
| PARAM_VALUE | 0 | cpsw->rx_packet_max | 1526-s32max |
| PARAM_VALUE | 0 | cpsw->slaves | 1-u64max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1 |
| PARAM_VALUE | 0 | cpsw->version | 1638666,1638668,1638671,1638674 |
| PARAM_VALUE | 0 | cpsw->wr_regs | 4096-ptr_max |
| BUF_SIZE | 0 | cpsw | 1640 |
| BUF_SIZE | 0 | cpsw->dev | 1616 |
| BUF_SIZE | 0 | cpsw->slaves | 0-120259084232 |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPPED_DATA | 0 | cpsw->dma->params.num_chan | 1 |
| DATA_SOURCE | 0 | cpsw | r devm_kzalloc |
| FUZZY_MAX | 0 | cpsw->data.slaves | 0 |
| TERMINATED | 0 | cpsw->ale->params.dev_id | 1 |
| MEM_ZERO | 0 | cpsw | |
| MEM_ZERO | 0 | cpsw->data.slave_data | |
| MEM_ZERO | 0 | cpsw->dev | |
| MEM_ZERO | 0 | cpsw->slaves | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cpsw->ale->params.bus_freq | 0[c] |
| HOST_DATA | 0 | cpsw->ale_bypass | 0-1 |
| HOST_DATA | 0 | cpsw->br_members | 0-255 |
| HOST_DATA | 0 | cpsw->bus_freq_mhz | 0 |
| HOST_DATA | 0 | cpsw->coal_intvl | 0-u32max |
| HOST_DATA | 0 | cpsw->data.active_slave | 0-u32max |
| HOST_DATA | 0 | cpsw->data.bd_ram_size | 0-u32max |
| HOST_DATA | 0 | cpsw->data.channels | 0-u32max |
| HOST_DATA | 0 | cpsw->data.default_vlan | 0-u16max |
| HOST_DATA | 0 | cpsw->data.dual_emac | 1 |
| HOST_DATA | 0 | cpsw->data.mac_control | 0-u32max |
| HOST_DATA | 0 | cpsw->data.ss_reg_ofs | 0-u32max |
| HOST_DATA | 0 | cpsw->descs_pool_size | s32min-s32max |
| HOST_DATA | 0 | cpsw->misc_irq | 1-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.bitmask | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.cached_napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.rx_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.index | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.irq | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.list_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.irq | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.poll_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.state | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer._softexpires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_hard | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_lazy | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_queued | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_rel | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_soft | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.node.expires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer.node.node.node.__rb_parent_color | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.weight | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.bitmask | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.cached_napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.rx_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.index | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.irq | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.list_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.irq | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.poll_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.state | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer._softexpires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_hard | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_lazy | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_queued | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_rel | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_soft | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.node.expires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer.node.node.node.__rb_parent_color | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.weight | s32min-s32max |
| HOST_DATA | 0 | cpsw->quirk_irq | 0-1 |
| HOST_DATA | 0 | cpsw->rx_ch_num | 1 |
| HOST_DATA | 0 | cpsw->rx_irq_disabled | 0-1 |
| HOST_DATA | 0 | cpsw->rx_packet_max | 1526-s32max |
| HOST_DATA | 0 | cpsw->speed | s32min-s32max |
| HOST_DATA | 0 | cpsw->tx_ch_num | 1 |
| HOST_DATA | 0 | cpsw->tx_irq_disabled | 0-1 |
| HOST_DATA | 0 | cpsw->usage_count | s32min-s32max |
| HOST_DATA | 0 | cpsw->version | 1638666,1638668,1638671,1638674 |
| HOST_DATA | 0 | *cpsw | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | cpsw->data.slaves |
drivers/net/ethernet/ti/cpsw_new.c cpsw_adjust_link() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->slaves | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->speed | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1-s32max |
| CAPPED_DATA | 0 | cpsw->ale->params.ale_ports | 1 |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPPED_DATA | 0 | cpsw->tx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phydev->lock | ||
| TYPE_LOCK | (struct phy_device)->lock |
drivers/net/ethernet/ti/cpsw_new.c cpsw_ndo_stop() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dma->state | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->slaves | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->speed | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1-s32max |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPPED_DATA | 0 | cpsw->tx_ch_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_probe() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->features | 0-1,3 |
| PARAM_VALUE | 0 | cpsw->ale->p0_untag_vid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ageout | 10 |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 0 | cpsw->ale->params.ale_ports | 3 |
| PARAM_VALUE | 0 | cpsw->ale->params.bus_freq | 0 |
| PARAM_VALUE | 0 | cpsw->ale->params.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->params.dev_id | 3466334137443614720 |
| PARAM_VALUE | 0 | cpsw->ale->params.num_fields | 0,2,45 |
| PARAM_VALUE | 0 | cpsw->ale->params.num_policers | 0-u32max |
| PARAM_VALUE | 0 | cpsw->ale->params.reg_fields | 0,611135518572998656,1300179531777421312 |
| PARAM_VALUE | 0 | cpsw->ale->port_mask_bits | 3 |
| PARAM_VALUE | 0 | cpsw->ale->port_num_bits | 1-64 |
| PARAM_VALUE | 0 | cpsw->ale->regmap | 0-ptr_max |
| PARAM_VALUE | 0 | cpsw->ale->vlan_entry_tbl | 0,1815525184226205696,1945695237295497216,2231032771384553472 |
| PARAM_VALUE | 0 | cpsw->ale->vlan_field_bits | 3 |
| PARAM_VALUE | 0 | cpsw->bus_freq_mhz | 0 |
| PARAM_VALUE | 0 | cpsw->cpts | 4096-u64max |
| PARAM_VALUE | 0 | cpsw->cpts->cc.mask | u32max |
| PARAM_VALUE | 0 | cpsw->cpts->cc.mult | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->cc.read | 9036049027054178304 |
| PARAM_VALUE | 0 | cpsw->cpts->cc.shift | 0-32 |
| PARAM_VALUE | 0 | cpsw->cpts->cc_mult | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->info.n_ext_ts | 4 |
| PARAM_VALUE | 0 | cpsw->cpts->irq_poll | 1 |
| PARAM_VALUE | 0 | cpsw->cpts->ov_check_period | 125-1250 |
| PARAM_VALUE | 0 | cpsw->cpts->phc_index | (-1) |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ptp_clk_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->refclk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.done | 0 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->cpts->ts_push_complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->data.active_slave | 0 |
| PARAM_VALUE | 0 | cpsw->data.bd_ram_size | 8192 |
| PARAM_VALUE | 0 | cpsw->data.channels | 8 |
| PARAM_VALUE | 0 | cpsw->data.dual_emac | 1 |
| PARAM_VALUE | 0 | cpsw->data.mac_control | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->disabled | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->ifphy | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->phy_if | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->phy_node | 0 |
| PARAM_VALUE | 0 | cpsw->data.slave_data->slave_node | 0 |
| PARAM_VALUE | 0 | cpsw->data.slaves | 2 |
| PARAM_VALUE | 0 | cpsw->descs_pool_size | 256 |
| PARAM_VALUE | 0 | cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->of_node->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->of_node->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dma->chan_num | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->dma->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | cpsw->dma->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpsw->dma->params.desc_align | 16 |
| PARAM_VALUE | 0 | cpsw->dma->params.dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.min_packet_size | 60 |
| PARAM_VALUE | 0 | cpsw->dma->params.num_chan | s32min-64 |
| PARAM_VALUE | 0 | cpsw->dma->params.rxcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxfree | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxhdp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.rxthresh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->params.txcp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cpsw->dma->pool->cpumap->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | cpsw->dma->pool->cpumap->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->dma->state | 0 |
| PARAM_VALUE | 0 | cpsw->misc_irq | 1-s32max |
| PARAM_VALUE | 0 | cpsw->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->rx_ch_num | 1 |
| PARAM_VALUE | 0 | cpsw->rx_packet_max | 1526 |
| PARAM_VALUE | 0 | cpsw->slaves | 1-u64max |
| PARAM_VALUE | 0 | cpsw->tx_ch_num | 1 |
| PARAM_VALUE | 0 | cpsw->version | 1638666,1638668,1638671,1638674 |
| BUF_SIZE | 0 | cpsw | 1640 |
| BUF_SIZE | 0 | cpsw->dev | 1616 |
| BUF_SIZE | 0 | cpsw->slaves | 112 |
| CAPPED_DATA | 0 | cpsw->dev | 1 |
| CAPPED_DATA | 0 | cpsw->dma->params.num_chan | 1 |
| DATA_SOURCE | 0 | cpsw | r devm_kzalloc |
| TERMINATED | 0 | cpsw->ale->params.dev_id | 1 |
| MEM_ZERO | 0 | cpsw | |
| MEM_ZERO | 0 | cpsw->data.slave_data | |
| MEM_ZERO | 0 | cpsw->dev | |
| MEM_ZERO | 0 | cpsw->slaves | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cpsw->ale->params.bus_freq | 0[c] |
| HOST_DATA | 0 | cpsw->ale_bypass | 0-1 |
| HOST_DATA | 0 | cpsw->br_members | 0-255 |
| HOST_DATA | 0 | cpsw->bus_freq_mhz | 0 |
| HOST_DATA | 0 | cpsw->coal_intvl | 0-u32max |
| HOST_DATA | 0 | cpsw->data.active_slave | 0 |
| HOST_DATA | 0 | cpsw->data.bd_ram_size | 8192 |
| HOST_DATA | 0 | cpsw->data.channels | 8 |
| HOST_DATA | 0 | cpsw->data.default_vlan | 0-u16max |
| HOST_DATA | 0 | cpsw->data.dual_emac | 1 |
| HOST_DATA | 0 | cpsw->data.mac_control | 0 |
| HOST_DATA | 0 | cpsw->data.ss_reg_ofs | 0-u32max |
| HOST_DATA | 0 | cpsw->descs_pool_size | 256 |
| HOST_DATA | 0 | cpsw->misc_irq | 1-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.bitmask | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.cached_napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro.rx_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.index | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.irq | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.list_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.irq | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.notify.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.poll_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_rx.state | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer._softexpires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_hard | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_lazy | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_queued | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_rel | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.is_soft | 0-1 |
| HOST_DATA | 0 | cpsw->napi_rx.timer.node.expires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_rx.timer.node.node.node.__rb_parent_color | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_rx.weight | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.defer_hard_irqs | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.defer_hard_irqs_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.bitmask | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.cached_napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro.rx_count | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.gro_flush_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.index | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.irq | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.irq_suspend_timeout | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.list_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.napi_id | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.napi_rmap_idx | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.irq | 0-u32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.notify.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.poll_owner | s32min-s32max |
| HOST_DATA | 0 | cpsw->napi_tx.state | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer._softexpires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_hard | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_lazy | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_queued | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_rel | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.is_soft | 0-1 |
| HOST_DATA | 0 | cpsw->napi_tx.timer.node.expires | s64min-s64max |
| HOST_DATA | 0 | cpsw->napi_tx.timer.node.node.node.__rb_parent_color | 0-u64max |
| HOST_DATA | 0 | cpsw->napi_tx.weight | s32min-s32max |
| HOST_DATA | 0 | cpsw->quirk_irq | 0-1 |
| HOST_DATA | 0 | cpsw->rx_ch_num | 1 |
| HOST_DATA | 0 | cpsw->rx_irq_disabled | 0-1 |
| HOST_DATA | 0 | cpsw->rx_packet_max | 1526 |
| HOST_DATA | 0 | cpsw->speed | s32min-s32max |
| HOST_DATA | 0 | cpsw->tx_ch_num | 1 |
| HOST_DATA | 0 | cpsw->tx_irq_disabled | 0-1 |
| HOST_DATA | 0 | cpsw->usage_count | s32min-s32max |
| HOST_DATA | 0 | cpsw->version | 1638668,1638671,1638674 |
| HOST_DATA | 0 | *cpsw | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | cpsw->misc_irq |
drivers/net/ethernet/ti/cpsw_ethtool.c cpsw_set_channels_common() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_priv.c cpsw_ndo_set_tx_maxrate() -> cpsw_split_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpsw | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->data.slaves | 0-s32max |
| PARAM_VALUE | 0 | cpsw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | cpsw->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | cpsw->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cpsw->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | cpsw->txv | 4096-ptr_max |
| CAPPED_DATA | 0 | cpsw->data.slaves | 1 |
| CAPABLE | 0 | 12 | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |