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.c208 u8 tmr_idx; in ice_ptp_read_src_clk_reg() local
213 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_clk_reg()
219 u64 clk_time = rd64(hw, E830_GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
227 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
232 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
233 lo2 = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
240 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg()
242 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg()
1474 u8 chan, tmr_idx; in ice_ptp_extts_event() local
1481 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_extts_event()
[all …]
H A Dice_main.c3260 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_misc_intr() local
3261 u32 gltsyn_stat = rd32(hw, GLTSYN_STAT(tmr_idx)); in ice_misc_intr()