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.c207 u8 tmr_idx; in ice_ptp_read_src_clk_reg()
212 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_clk_reg()
218 u64 clk_time = rd64(hw, E830_GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
226 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
231 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
232 lo2 = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
239 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
241 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
1476 u8 chan, tmr_idx; in ice_ptp_extts_event()
1483 tmr_idx in ice_ptp_extts_event()
204 u8 tmr_idx; ice_ptp_read_src_clk_reg() local
1473 u8 chan, tmr_idx; ice_ptp_extts_event() local
1530 u8 tmr_idx; ice_ptp_cfg_extts() local
1629 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; ice_ptp_write_perout() local
2095 u32 lock, ctl, ts_lo, ts_hi, tmr_idx; ice_capture_crosststamp() local
[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()