Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/cadence/macb_main.c macb_configure_caps() -> gem_has_ptp()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
CAPPED_DATA 0 bp->pdev->num_resources 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->caps 0x100000,0xffffffff
BIT_INFO 0 bp->macb_reg_readl 0x2001380010001000,0x7eebffdc7dbf3000
BIT_INFO 0 bp->macb_reg_writel 0x529020083c00000,0x6fef3ed7ffffd000
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/cadence/macb_main.c macb_mac_link_up() -> gem_has_ptp()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
BIT_INFO 0 bp->caps 0x0,0xffffffff
NO_OVERFLOW_SIMPLE 0 bp->tx_clk->core->parent->req_rate
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/cadence/macb_main.c macb_set_hwaddr() -> gem_has_ptp()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bp->rx_buffer_size 18-16320[c]