Lines Matching refs:cmd
110 static void ice_ptp_src_cmd(struct ice_hw *hw, enum ice_ptp_tmr_cmd cmd) in ice_ptp_src_cmd() argument
118 switch (cmd) { in ice_ptp_src_cmd()
1242 ice_ptp_write_port_cmd_e822(struct ice_hw *hw, u8 port, enum ice_ptp_tmr_cmd cmd) in ice_ptp_write_port_cmd_e822() argument
1250 switch (cmd) { in ice_ptp_write_port_cmd_e822()
1330 enum ice_ptp_tmr_cmd cmd; in ice_ptp_one_port_cmd() local
1334 cmd = configured_cmd; in ice_ptp_one_port_cmd()
1336 cmd = ICE_PTP_NOP; in ice_ptp_one_port_cmd()
1338 err = ice_ptp_write_port_cmd_e822(hw, port, cmd); in ice_ptp_one_port_cmd()
1355 ice_ptp_port_cmd_e822(struct ice_hw *hw, enum ice_ptp_tmr_cmd cmd) in ice_ptp_port_cmd_e822() argument
1362 err = ice_ptp_write_port_cmd_e822(hw, port, cmd); in ice_ptp_port_cmd_e822()
2872 static int ice_ptp_port_cmd_e810(struct ice_hw *hw, enum ice_ptp_tmr_cmd cmd) in ice_ptp_port_cmd_e810() argument
2877 switch (cmd) { in ice_ptp_port_cmd_e810()
2951 struct ice_aqc_get_link_topo *cmd; in ice_get_pca9575_handle() local
2963 cmd = &desc.params.get_link_topo; in ice_get_pca9575_handle()
2967 cmd->addr.topo_params.node_type_ctx = in ice_get_pca9575_handle()
2982 cmd->addr.topo_params.index = idx; in ice_get_pca9575_handle()
3162 static int ice_ptp_tmr_cmd(struct ice_hw *hw, enum ice_ptp_tmr_cmd cmd) in ice_ptp_tmr_cmd() argument
3167 ice_ptp_src_cmd(hw, cmd); in ice_ptp_tmr_cmd()
3171 err = ice_ptp_port_cmd_e810(hw, cmd); in ice_ptp_tmr_cmd()
3173 err = ice_ptp_port_cmd_e822(hw, cmd); in ice_ptp_tmr_cmd()
3176 cmd, err); in ice_ptp_tmr_cmd()