Home
last modified time | relevance | path

Searched refs:tmr_idx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c217 u8 tmr_idx; in ice_ptp_read_src_incval() local
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_H(tmr_idx)); in ice_ptp_read_src_incval()
238 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_src_reg() local
263 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_src_reg()
265 return tmr_idx << SEL_CPK_SRC | cmd_val; in ice_ptp_tmr_cmd_to_src_reg()
283 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_port_reg() local
321 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_port_reg()
323 return tmr_idx << SEL_PHY_SRC | cmd_val; in ice_ptp_tmr_cmd_to_port_reg()
[all …]
H A Dice_ptp.c204 u8 tmr_idx; in ice_ptp_read_src_clk_reg() local
209 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_clk_reg()
215 u64 clk_time = rd64(hw, E830_GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
223 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
228 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
229 lo2 = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
236 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
238 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
1473 u8 chan, tmr_idx; in ice_ptp_extts_event() local
1480 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_extts_event()
[all …]
H A Dice_main.c3187 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_misc_intr() local
3188 u32 gltsyn_stat = rd32(hw, GLTSYN_STAT(tmr_idx)); in ice_misc_intr()