Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_read_phy_and_phc_time_e82x() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 2 configured_cmd 4
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 configured_port unit_array_size
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_read_phy_and_phc_time_eth56g() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 configured_port 0-254
PARAM_VALUE 2 configured_cmd 4
CAPPED_DATA 1 configured_port 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 configured_port unit_array_size
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_start_phy_timer_e82x() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->mac_type 3
PARAM_VALUE 0 hw->reset_ongoing 0
PARAM_VALUE 2 configured_cmd 1
BUF_SIZE 0 hw 15232
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 configured_port unit_array_size
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_start_phy_timer_e82x() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->mac_type 3
PARAM_VALUE 0 hw->reset_ongoing 0
PARAM_VALUE 2 configured_cmd 1
BUF_SIZE 0 hw 15232
CAPPED_DATA 0 hw->ptp.num_lports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 configured_port unit_array_size
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_start_phy_timer_eth56g() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->ptp.num_lports 1-255
PARAM_VALUE 0 hw->reset_ongoing 0
PARAM_VALUE 1 configured_port 0-254
PARAM_VALUE 2 configured_cmd 1
BUF_SIZE 0 hw 15232
CAPPED_DATA 0 hw->lane_num 1
CAPPED_DATA 0 hw->ptp.num_lports 1
CAPPED_DATA 0 hw->ptp.ports_per_phy 1
CAPPED_DATA 1 configured_port 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
PARAM_COMPARE 0 hw->ptp.num_lports > $1
PARAM_COMPARE 1 configured_port < $0->ptp.num_lports
RX_PATH
TASK_NOT_RUNNING
UNITS 1 configured_port unit_array_size
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_sync_phy_timer_e82x() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->reset_ongoing 0
PARAM_VALUE 2 configured_cmd 2
BUF_SIZE 0 hw 15232
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 configured_port 0-255
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock

drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_sync_phy_timer_eth56g() -> ice_ptp_one_port_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->ptp.num_lports 1-255
PARAM_VALUE 0 hw->reset_ongoing 0
PARAM_VALUE 1 configured_port 0-254
PARAM_VALUE 2 configured_cmd 2
BUF_SIZE 0 hw 15232
CAPPED_DATA 0 hw->lane_num 1
CAPPED_DATA 0 hw->ptp.num_lports 1
CAPPED_DATA 0 hw->ptp.ports_per_phy 1
CAPPED_DATA 1 configured_port 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 configured_port $1
PARAM_COMPARE 0 hw->ptp.num_lports > $1
PARAM_COMPARE 1 configured_port < $0->ptp.num_lports
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 configured_port 0-254[c]
LOCK2 &ptp_port->ps_lock
TYPE_LOCK (struct ice_ptp_port)->ps_lock