Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/wangxun/libwx/wx_ptp.c
- drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c
- drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c
- drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c
Smatch caller information:
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_mac_link_down_aml() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->speed | (-1) |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_mac_link_up_aml() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| NOCHECK_CALL | |||
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/ethernet/wangxun/libwx/wx_ptp.c wx_ptp_reset() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->phydev->devlink->link_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | wx->phydev->devlink->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | wx->phydev->mdio.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->tpid | 0-u16max |
| DATA_SOURCE | 0 | wx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->hw_tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | wx->pps_edge_end | 0-u32max |
| HOST_DATA | 0 | wx->pps_edge_start | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->gc->num_chips | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | wx->ptp_clock->clock.cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | wx->ptp_clock->info->n_pins | |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | 0 | &wx->reset_lock |
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c txgbe_mac_link_down() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->speed | (-1) |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c txgbe_mac_link_up() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| NOCHECK_CALL | |||
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c ngbe_mac_link_down() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->speed | (-1) |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c ngbe_mac_link_up() -> wx_ptp_reset_cyclecounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->speed | 10,100,1000 |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| DATA_SOURCE | 0 | wx | r phylink_to_wx |
| NOCHECK_CALL | |||
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |