| H A D | ice_ptp_hw.c | 198 * @hw: pointer to HW struct 203 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw) in ice_get_ptp_src_clock_index() argument 205 return hw->func_caps.ts_func_info.tmr_index_assoc; in ice_get_ptp_src_clock_index() 210 * @hw: pointer to HW struct 214 static u64 ice_ptp_read_src_incval(struct ice_hw *hw) in ice_ptp_read_src_incval() argument 219 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_incval() 221 lo = rd32(hw, GLTSYN_INCVAL_L(tmr_idx)); in ice_ptp_read_src_incval() 222 hi = rd32(hw, GLTSYN_INCVAL_ in ice_ptp_read_src_incval() 235 ice_ptp_tmr_cmd_to_src_reg(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_tmr_cmd_to_src_reg() argument 280 ice_ptp_tmr_cmd_to_port_reg(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_tmr_cmd_to_port_reg() argument 333 ice_ptp_src_cmd(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_src_cmd() argument 352 ice_ptp_exec_tmr_cmd(struct ice_hw * hw) ice_ptp_exec_tmr_cmd() argument 369 ice_ptp_cfg_sync_delay(const struct ice_hw * hw,u32 delay) ice_ptp_cfg_sync_delay() argument 388 ice_ptp_init_phc_e825c(struct ice_hw * hw) ice_ptp_init_phc_e825c() argument 412 ice_ptp_get_dest_dev_e825(struct ice_hw * hw,u8 port) ice_ptp_get_dest_dev_e825() argument 441 ice_write_phy_eth56g(struct ice_hw * hw,u8 port,u32 addr,u32 val) ice_write_phy_eth56g() argument 469 ice_read_phy_eth56g(struct ice_hw * hw,u8 port,u32 addr,u32 * val) ice_read_phy_eth56g() argument 501 ice_phy_res_address_eth56g(struct ice_hw * hw,u8 lane,enum eth56g_res_type res_type,u32 offset,u32 * addr) ice_phy_res_address_eth56g() argument 530 ice_write_port_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 val,enum eth56g_res_type res_type) ice_write_port_eth56g() argument 559 ice_read_port_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 * val,enum eth56g_res_type res_type) ice_read_port_eth56g() argument 587 ice_write_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 val) ice_write_ptp_reg_eth56g() argument 606 ice_write_mac_reg_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 val) ice_write_mac_reg_eth56g() argument 624 ice_write_xpcs_reg_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 val) ice_write_xpcs_reg_eth56g() argument 643 ice_read_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 * val) ice_read_ptp_reg_eth56g() argument 661 ice_read_mac_reg_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 * val) ice_read_mac_reg_eth56g() argument 679 ice_read_gpcs_reg_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 * val) ice_read_gpcs_reg_eth56g() argument 697 ice_read_port_mem_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 * val) ice_read_port_mem_eth56g() argument 715 ice_write_port_mem_eth56g(struct ice_hw * hw,u8 port,u16 offset,u32 val) ice_write_port_mem_eth56g() argument 733 ice_write_quad_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 val) ice_write_quad_ptp_reg_eth56g() argument 758 ice_read_quad_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u32 offset,u32 * val) ice_read_quad_ptp_reg_eth56g() argument 855 ice_read_64b_phy_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 * val,enum eth56g_res_type res_type) ice_read_64b_phy_reg_eth56g() argument 900 ice_read_64b_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 * val) ice_read_64b_ptp_reg_eth56g() argument 924 ice_write_40b_phy_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 val,enum eth56g_res_type res_type) ice_write_40b_phy_reg_eth56g() argument 971 ice_write_40b_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 val) ice_write_40b_ptp_reg_eth56g() argument 994 ice_write_64b_phy_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 val,enum eth56g_res_type res_type) ice_write_64b_phy_reg_eth56g() argument 1040 ice_write_64b_ptp_reg_eth56g(struct ice_hw * hw,u8 port,u16 low_addr,u64 val) ice_write_64b_ptp_reg_eth56g() argument 1061 ice_read_ptp_tstamp_eth56g(struct ice_hw * hw,u8 port,u8 idx,u64 * tstamp) ice_read_ptp_tstamp_eth56g() argument 1115 ice_clear_ptp_tstamp_eth56g(struct ice_hw * hw,u8 port,u8 idx) ice_clear_ptp_tstamp_eth56g() argument 1146 ice_ptp_reset_ts_memory_eth56g(struct ice_hw * hw) ice_ptp_reset_ts_memory_eth56g() argument 1170 ice_ptp_prep_port_time_eth56g(struct ice_hw * hw,u8 port,u64 time) ice_ptp_prep_port_time_eth56g() argument 1200 ice_ptp_prep_phy_time_eth56g(struct ice_hw * hw,u32 time) ice_ptp_prep_phy_time_eth56g() argument 1243 ice_ptp_prep_port_adj_eth56g(struct ice_hw * hw,u8 port,s64 time) ice_ptp_prep_port_adj_eth56g() argument 1294 ice_ptp_prep_phy_adj_eth56g(struct ice_hw * hw,s32 adj) ice_ptp_prep_phy_adj_eth56g() argument 1330 ice_ptp_prep_phy_incval_eth56g(struct ice_hw * hw,u64 incval) ice_ptp_prep_phy_incval_eth56g() argument 1362 ice_ptp_read_port_capture_eth56g(struct ice_hw * hw,u8 port,u64 * tx_ts,u64 * rx_ts) ice_ptp_read_port_capture_eth56g() argument 1404 ice_ptp_write_port_cmd_eth56g(struct ice_hw * hw,u8 port,enum ice_ptp_tmr_cmd cmd) ice_ptp_write_port_cmd_eth56g() argument 1487 ice_phy_cfg_parpcs_eth56g(struct ice_hw * hw,u8 port) ice_phy_cfg_parpcs_eth56g() argument 1555 ice_phy_cfg_ptp_1step_eth56g(struct ice_hw * hw,u8 port) ice_phy_cfg_ptp_1step_eth56g() argument 1655 ice_ptp_calc_bitslip_eth56g(struct ice_hw * hw,u8 port,u32 bs,bool fc,bool rs,enum ice_eth56g_link_spd spd) ice_ptp_calc_bitslip_eth56g() argument 1705 ice_ptp_calc_deskew_eth56g(struct ice_hw * hw,u8 port,u32 ds,bool rs,enum ice_eth56g_link_spd spd) ice_ptp_calc_deskew_eth56g() argument 1748 ice_phy_set_offsets_eth56g(struct ice_hw * hw,u8 port,enum ice_eth56g_link_spd spd,const struct ice_eth56g_mac_reg_cfg * cfg,bool fc,bool rs) ice_phy_set_offsets_eth56g() argument 1802 ice_phy_cfg_mac_eth56g(struct ice_hw * hw,u8 port) ice_phy_cfg_mac_eth56g() argument 1883 ice_phy_cfg_intr_eth56g(struct ice_hw * hw,u8 port,bool ena,u8 threshold) ice_phy_cfg_intr_eth56g() argument 1943 ice_read_phy_and_phc_time_eth56g(struct ice_hw * hw,u8 port,u64 * phy_time,u64 * phc_time) ice_read_phy_and_phc_time_eth56g() argument 2010 ice_sync_phy_timer_eth56g(struct ice_hw * hw,u8 port) ice_sync_phy_timer_eth56g() argument 2077 ice_stop_phy_timer_eth56g(struct ice_hw * hw,u8 port,bool soft_reset) ice_stop_phy_timer_eth56g() argument 2107 ice_start_phy_timer_eth56g(struct ice_hw * hw,u8 port) ice_start_phy_timer_eth56g() argument 2192 ice_check_phy_tx_tstamp_ready_eth56g(struct ice_hw * hw) ice_check_phy_tx_tstamp_ready_eth56g() argument 2223 ice_ptp_read_tx_hwtstamp_status_eth56g(struct ice_hw * hw,u32 * ts_status) ice_ptp_read_tx_hwtstamp_status_eth56g() argument 2271 ice_ptp_phy_soft_reset_eth56g(struct ice_hw * hw,u8 port) ice_ptp_phy_soft_reset_eth56g() argument 2330 ice_get_phy_tx_tstamp_ready_eth56g(struct ice_hw * hw,u8 port,u64 * tstamp_ready) ice_get_phy_tx_tstamp_ready_eth56g() argument 2350 ice_ptp_init_phy_e825(struct ice_hw * hw) ice_ptp_init_phy_e825() argument 2376 ice_fill_phy_msg_e82x(struct ice_hw * hw,struct ice_sbq_msg_input * msg,u8 port,u16 offset) ice_fill_phy_msg_e82x() argument 2505 ice_read_phy_reg_e82x(struct ice_hw * hw,u8 port,u16 offset,u32 * val) ice_read_phy_reg_e82x() argument 2538 ice_read_64b_phy_reg_e82x(struct ice_hw * hw,u8 port,u16 low_addr,u64 * val) ice_read_64b_phy_reg_e82x() argument 2582 ice_write_phy_reg_e82x(struct ice_hw * hw,u8 port,u16 offset,u32 val) ice_write_phy_reg_e82x() argument 2612 ice_write_40b_phy_reg_e82x(struct ice_hw * hw,u8 port,u16 low_addr,u64 val) ice_write_40b_phy_reg_e82x() argument 2659 ice_write_64b_phy_reg_e82x(struct ice_hw * hw,u8 port,u16 low_addr,u64 val) ice_write_64b_phy_reg_e82x() argument 2708 ice_fill_quad_msg_e82x(struct ice_hw * hw,struct ice_sbq_msg_input * msg,u8 quad,u16 offset) ice_fill_quad_msg_e82x() argument 2741 ice_read_quad_reg_e82x(struct ice_hw * hw,u8 quad,u16 offset,u32 * val) ice_read_quad_reg_e82x() argument 2775 ice_write_quad_reg_e82x(struct ice_hw * hw,u8 quad,u16 offset,u32 val) ice_write_quad_reg_e82x() argument 2809 ice_read_phy_tstamp_e82x(struct ice_hw * hw,u8 quad,u8 idx,u64 * tstamp) ice_read_phy_tstamp_e82x() argument 2865 ice_clear_phy_tstamp_e82x(struct ice_hw * hw,u8 quad,u8 idx) ice_clear_phy_tstamp_e82x() argument 2888 ice_ptp_reset_ts_memory_quad_e82x(struct ice_hw * hw,u8 quad) ice_ptp_reset_ts_memory_quad_e82x() argument 2898 ice_ptp_reset_ts_memory_e82x(struct ice_hw * hw) ice_ptp_reset_ts_memory_e82x() argument 2912 ice_ptp_set_vernier_wl(struct ice_hw * hw) ice_ptp_set_vernier_wl() argument 2937 ice_ptp_init_phc_e82x(struct ice_hw * hw) ice_ptp_init_phc_e82x() argument 2963 ice_ptp_prep_phy_time_e82x(struct ice_hw * hw,u32 time) ice_ptp_prep_phy_time_e82x() argument 3015 ice_ptp_prep_port_adj_e82x(struct ice_hw * hw,u8 port,s64 time) ice_ptp_prep_port_adj_e82x() argument 3063 ice_ptp_prep_phy_adj_e82x(struct ice_hw * hw,s32 adj) ice_ptp_prep_phy_adj_e82x() argument 3098 ice_ptp_prep_phy_incval_e82x(struct ice_hw * hw,u64 incval) ice_ptp_prep_phy_incval_e82x() argument 3131 ice_ptp_read_port_capture(struct ice_hw * hw,u8 port,u64 * tx_ts,u64 * rx_ts) ice_ptp_read_port_capture() argument 3175 ice_ptp_write_port_cmd_e82x(struct ice_hw * hw,u8 port,enum ice_ptp_tmr_cmd cmd) ice_ptp_write_port_cmd_e82x() argument 3219 ice_phy_get_speed_and_fec_e82x(struct ice_hw * hw,u8 port,enum ice_ptp_link_spd * link_out,enum ice_ptp_fec_mode * fec_out) ice_phy_get_speed_and_fec_e82x() argument 3289 ice_phy_cfg_lane_e82x(struct ice_hw * hw,u8 port) ice_phy_cfg_lane_e82x() argument 3371 ice_phy_cfg_uix_e82x(struct ice_hw * hw,u8 port) ice_phy_cfg_uix_e82x() argument 3453 ice_phy_cfg_parpcs_e82x(struct ice_hw * hw,u8 port) ice_phy_cfg_parpcs_e82x() argument 3580 ice_calc_fixed_tx_offset_e82x(struct ice_hw * hw,enum ice_ptp_link_spd link_spd) ice_calc_fixed_tx_offset_e82x() argument 3626 ice_phy_cfg_tx_offset_e82x(struct ice_hw * hw,u8 port) ice_phy_cfg_tx_offset_e82x() argument 3726 ice_phy_calc_pmd_adj_e82x(struct ice_hw * hw,u8 port,enum ice_ptp_link_spd link_spd,enum ice_ptp_fec_mode fec_mode,u64 * pmd_adj) ice_phy_calc_pmd_adj_e82x() argument 3879 ice_calc_fixed_rx_offset_e82x(struct ice_hw * hw,enum ice_ptp_link_spd link_spd) ice_calc_fixed_rx_offset_e82x() argument 3929 ice_phy_cfg_rx_offset_e82x(struct ice_hw * hw,u8 port) ice_phy_cfg_rx_offset_e82x() argument 4032 ice_ptp_clear_phy_offset_ready_e82x(struct ice_hw * hw) ice_ptp_clear_phy_offset_ready_e82x() argument 4068 ice_read_phy_and_phc_time_e82x(struct ice_hw * hw,u8 port,u64 * phy_time,u64 * phc_time) ice_read_phy_and_phc_time_e82x() argument 4126 ice_sync_phy_timer_e82x(struct ice_hw * hw,u8 port) ice_sync_phy_timer_e82x() argument 4196 ice_stop_phy_timer_e82x(struct ice_hw * hw,u8 port,bool soft_reset) ice_stop_phy_timer_e82x() argument 4246 ice_start_phy_timer_e82x(struct ice_hw * hw,u8 port) ice_start_phy_timer_e82x() argument 4343 ice_get_phy_tx_tstamp_ready_e82x(struct ice_hw * hw,u8 quad,u64 * tstamp_ready) ice_get_phy_tx_tstamp_ready_e82x() argument 4377 ice_check_phy_tx_tstamp_ready_e82x(struct ice_hw * hw) ice_check_phy_tx_tstamp_ready_e82x() argument 4408 ice_phy_cfg_intr_e82x(struct ice_hw * hw,u8 quad,bool ena,u8 threshold) ice_phy_cfg_intr_e82x() argument 4451 ice_read_phy_reg_e810(struct ice_hw * hw,u32 addr,u32 * val) ice_read_phy_reg_e810() argument 4481 ice_write_phy_reg_e810(struct ice_hw * hw,u32 addr,u32 val) ice_write_phy_reg_e810() argument 4514 ice_read_phy_tstamp_ll_e810(struct ice_hw * hw,u8 idx,u8 * hi,u32 * lo) ice_read_phy_tstamp_ll_e810() argument 4569 ice_read_phy_tstamp_sbq_e810(struct ice_hw * hw,u8 lport,u8 idx,u8 * hi,u32 * lo) ice_read_phy_tstamp_sbq_e810() argument 4608 ice_read_phy_tstamp_e810(struct ice_hw * hw,u8 lport,u8 idx,u64 * tstamp) ice_read_phy_tstamp_e810() argument 4643 ice_clear_phy_tstamp_e810(struct ice_hw * hw,u8 lport,u8 idx) ice_clear_phy_tstamp_e810() argument 4684 ice_ptp_init_phc_e810(struct ice_hw * hw) ice_ptp_init_phc_e810() argument 4713 ice_ptp_prep_phy_time_e810(struct ice_hw * hw,u32 time) ice_ptp_prep_phy_time_e810() argument 4746 ice_ptp_prep_phy_adj_ll_e810(struct ice_hw * hw,s32 adj) ice_ptp_prep_phy_adj_ll_e810() argument 4798 ice_ptp_prep_phy_adj_e810(struct ice_hw * hw,s32 adj) ice_ptp_prep_phy_adj_e810() argument 4838 ice_ptp_prep_phy_incval_ll_e810(struct ice_hw * hw,u64 incval) ice_ptp_prep_phy_incval_ll_e810() argument 4887 ice_ptp_prep_phy_incval_e810(struct ice_hw * hw,u64 incval) ice_ptp_prep_phy_incval_e810() argument 4925 ice_ptp_port_cmd_e810(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_port_cmd_e810() argument 4942 ice_get_phy_tx_tstamp_ready_e810(struct ice_hw * hw,u8 port,u64 * tstamp_ready) ice_get_phy_tx_tstamp_ready_e810() argument 4960 ice_check_phy_tx_tstamp_ready_e810(struct ice_hw * hw) ice_check_phy_tx_tstamp_ready_e810() argument 4979 ice_read_sma_ctrl(struct ice_hw * hw,u8 * data) ice_read_sma_ctrl() argument 5012 ice_write_sma_ctrl(struct ice_hw * hw,u8 data) ice_write_sma_ctrl() argument 5044 ice_ptp_read_sdp_ac(struct ice_hw * hw,__le16 * entries,uint * num_entries) ice_ptp_read_sdp_ac() argument 5119 ice_ptp_init_phc_e830(const struct ice_hw * hw) ice_ptp_init_phc_e830() argument 5133 ice_ptp_write_direct_incval_e830(const struct ice_hw * hw,u64 incval) ice_ptp_write_direct_incval_e830() argument 5154 ice_ptp_write_direct_phc_time_e830(const struct ice_hw * hw,u64 time) ice_ptp_write_direct_phc_time_e830() argument 5174 ice_ptp_port_cmd_e830(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_port_cmd_e830() argument 5190 ice_read_phy_tstamp_e830(const struct ice_hw * hw,u8 idx,u64 * tstamp) ice_read_phy_tstamp_e830() argument 5211 ice_get_phy_tx_tstamp_ready_e830(const struct ice_hw * hw,u8 port,u64 * tstamp_ready) ice_get_phy_tx_tstamp_ready_e830() argument 5225 ice_check_phy_tx_tstamp_ready_e830(struct ice_hw * hw) ice_check_phy_tx_tstamp_ready_e830() argument 5265 ice_ptp_lock(struct ice_hw * hw) ice_ptp_lock() argument 5298 ice_ptp_unlock(struct ice_hw * hw) ice_ptp_unlock() argument 5315 ice_ptp_init_hw(struct ice_hw * hw) ice_ptp_init_hw() argument 5352 ice_ptp_write_port_cmd(struct ice_hw * hw,u8 port,enum ice_ptp_tmr_cmd cmd) ice_ptp_write_port_cmd() argument 5379 ice_ptp_one_port_cmd(struct ice_hw * hw,u8 configured_port,enum ice_ptp_tmr_cmd configured_cmd) ice_ptp_one_port_cmd() argument 5415 ice_ptp_port_cmd(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_port_cmd() argument 5451 ice_ptp_tmr_cmd(struct ice_hw * hw,enum ice_ptp_tmr_cmd cmd) ice_ptp_tmr_cmd() argument 5487 ice_ptp_init_time(struct ice_hw * hw,u64 time) ice_ptp_init_time() argument 5542 ice_ptp_write_incval(struct ice_hw * hw,u64 incval) ice_ptp_write_incval() argument 5586 ice_ptp_write_incval_locked(struct ice_hw * hw,u64 incval) ice_ptp_write_incval_locked() argument 5613 ice_ptp_adj_clock(struct ice_hw * hw,s32 adj) ice_ptp_adj_clock() argument 5662 ice_read_phy_tstamp(struct ice_hw * hw,u8 block,u8 idx,u64 * tstamp) ice_read_phy_tstamp() argument 5695 ice_clear_phy_tstamp(struct ice_hw * hw,u8 block,u8 idx) ice_clear_phy_tstamp() argument 5717 ice_get_pf_c827_idx(struct ice_hw * hw,u8 * idx) ice_get_pf_c827_idx() argument 5758 ice_ptp_reset_ts_memory(struct ice_hw * hw) ice_ptp_reset_ts_memory() argument 5779 ice_ptp_init_phc(struct ice_hw * hw) ice_ptp_init_phc() argument 5815 ice_get_phy_tx_tstamp_ready(struct ice_hw * hw,u8 block,u64 * tstamp_ready) ice_get_phy_tx_tstamp_ready() argument 5846 ice_check_phy_tx_tstamp_ready(struct ice_hw * hw) ice_check_phy_tx_tstamp_ready() argument 5871 ice_cgu_get_pin_desc_e823(struct ice_hw * hw,bool input,int * size) ice_cgu_get_pin_desc_e823() argument 5910 ice_cgu_get_pin_desc(struct ice_hw * hw,bool input,int * size) ice_cgu_get_pin_desc() argument 5959 ice_cgu_get_num_pins(struct ice_hw * hw,bool input) ice_cgu_get_num_pins() argument 5979 ice_cgu_get_pin_type(struct ice_hw * hw,u8 pin,bool input) ice_cgu_get_pin_type() argument 6007 ice_cgu_get_pin_freq_supp(struct ice_hw * hw,u8 pin,bool input,u8 * num) ice_cgu_get_pin_freq_supp() argument 6033 ice_cgu_get_pin_name(struct ice_hw * hw,u8 pin,bool input) ice_cgu_get_pin_name() argument 6066 ice_get_cgu_state(struct ice_hw * hw,u8 dpll_idx,enum dpll_lock_status last_dpll_state,u8 * pin,u8 * ref_state,u8 * eec_mode,s64 * phase_offset,enum dpll_lock_status * dpll_state) ice_get_cgu_state() argument 6128 ice_get_cgu_rclk_pin_info(struct ice_hw * hw,u8 * base_idx,u8 * pin_num) ice_get_cgu_rclk_pin_info() argument 6191 ice_cgu_get_output_pin_state_caps(struct ice_hw * hw,u8 pin_id,unsigned long * caps) ice_cgu_get_output_pin_state_caps() argument [all...] |