Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/socionext/netsec.c netsec_mac_update_to_phy_state() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->begin 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->complete 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->create_rxfh_context 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_eth_ctrl_stats 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_ethtool_phy_stats 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_link_ext_state 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_link_ext_stats 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_mm 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_module_power_mode 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_phy_tunable 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->get_rxfh_indir_size 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->modify_rxfh_context 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->op_needs_rtnl 0,8,12,14,109,156,256,268,270,320,365
PARAM_VALUE 0 priv->ndev->ethtool_ops->remove_rxfh_context 0-ptr_max
PARAM_VALUE 0 priv->ndev->ethtool_ops->rxfh_max_num_contexts 0,2-u32max
PARAM_VALUE 0 priv->ndev->ethtool_ops->rxfh_priv_size 0,8,176
PARAM_VALUE 0 priv->ndev->ethtool_ops->set_mm 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->set_module_eeprom_by_page 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->set_module_power_mode 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->set_phy_tunable 0-9223372036854775807
PARAM_VALUE 0 priv->ndev->ethtool_ops->supported_input_xfrm 0-2
PARAM_VALUE 0 priv->ndev->ethtool_ops->supported_ring_params 0,3,5,12,20,32-33,96
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 0
PARAM_VALUE 2 value 34613260,34646028,34662412,34709516,34725900,1108355084,1108387852,1108404236,1108451340,1108467724
DATA_SOURCE 0 priv $0
BIT_INFO 2 value 0x210200c,0x4211e80c
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_phy_read() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 addr 16
BUF_SIZE 0 priv s32min-(-1),1-s32max
BUF_SIZE 0 priv s32min-(-1),1-s32max
BIT_INFO 2 value 0x1,0xffffffdd
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 value 0-4194303[c]
UNITS 0 priv unit_byte
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/socionext/netsec.c netsec_phy_write() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 1 addr 20
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 2 value $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 value 0-u16max
USER_DATA 2 value 0-u16max
UNITS 0 priv unit_byte
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/socionext/netsec.c netsec_phy_write() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 addr 16
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BIT_INFO 2 value 0x3,0xffffffdf
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 0
PARAM_VALUE 2 value 0,33660940
DATA_SOURCE 0 priv $0
FUZZY_MAX 2 value 33660940
BIT_INFO 2 value 0x0,0x201a00c
HARD_MAX 2 value 33660940
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4096
PARAM_VALUE 2 value 131457
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4096
PARAM_VALUE 2 value 4268160
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4108
PARAM_VALUE 2 value 98304
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4112
PARAM_VALUE 2 value 114688
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4
PARAM_VALUE 2 value 2147483649
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_start_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.cmd 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.pkt_rate_high 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.pkt_rate_low 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rate_sample_interval 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_coalesce_usecs 50-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_coalesce_usecs_high 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_coalesce_usecs_irq 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_coalesce_usecs_low 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_max_coalesced_frames 1-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_max_coalesced_frames_high 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_max_coalesced_frames_irq 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.rx_max_coalesced_frames_low 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.stats_block_coalesce_usecs 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_coalesce_usecs 50-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_coalesce_usecs_high 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_coalesce_usecs_irq 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_coalesce_usecs_low 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_max_coalesced_frames 1-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_max_coalesced_frames_high 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_max_coalesced_frames_irq 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.tx_max_coalesced_frames_low 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.use_adaptive_rx_coalesce 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->et_coalesce.use_adaptive_tx_coalesce 0-4294967295
PARAM_VALUE 0 priv->ndev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 addr 4120
DATA_SOURCE 0 priv $0
BIT_INFO 2 value 0x2002,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 value 0-u32max
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len
HALF_LOCKED2 &phydev->lock

drivers/net/ethernet/socionext/netsec.c netsec_stop_gmac() -> netsec_mac_write()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 addr 4120
PARAM_VALUE 2 value 0-4294959101
DATA_SOURCE 0 priv $0
BIT_INFO 2 value 0x0,0xffffdffd
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 value 0-4294959101[c]
HALF_LOCKED2 &phydev->lock