Searched refs:tmr_idx (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.c | 218 u8 tmr_idx; in ice_ptp_read_src_incval() local 220 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_incval() 222 lo = rd32(hw, GLTSYN_INCVAL_L(tmr_idx)); in ice_ptp_read_src_incval() 223 hi = rd32(hw, GLTSYN_INCVAL_H(tmr_idx)); in ice_ptp_read_src_incval() 780 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_src_reg() local 805 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_src_reg() 807 return tmr_idx << SEL_CPK_SRC | cmd_val; in ice_ptp_tmr_cmd_to_src_reg() 825 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_port_reg() local 862 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_port_reg() 864 return tmr_idx << SEL_PHY_SRC | cmd_val; in ice_ptp_tmr_cmd_to_port_reg() [all …]
|
H A D | ice_ptp.c | 306 u8 tmr_idx; in ice_ptp_read_src_clk_reg() local 308 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_clk_reg() 313 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 318 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg() 319 lo2 = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 326 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 328 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg() 1573 u8 chan, tmr_idx; in ice_ptp_extts_event() local 1580 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_extts_event() 1593 lo = rd32(hw, GLTSYN_EVNT_L(chan, tmr_idx)); in ice_ptp_extts_event() [all …]
|
H A D | ice_main.c | 3326 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_misc_intr() local 3327 u32 gltsyn_stat = rd32(hw, GLTSYN_STAT(tmr_idx)); in ice_misc_intr()
|