Searched refs:tmr_idx (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
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() 757 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_src_reg() local 782 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_src_reg() 784 return tmr_idx << SEL_CPK_SRC | cmd_val; in ice_ptp_tmr_cmd_to_src_reg() 802 u32 cmd_val, tmr_idx; in ice_ptp_tmr_cmd_to_port_reg() local 839 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_tmr_cmd_to_port_reg() 841 return tmr_idx << SEL_PHY_SRC | cmd_val; in ice_ptp_tmr_cmd_to_port_reg() [all …]
|
D | ice_ptp.c | 372 u8 tmr_idx; in ice_ptp_read_src_clk_reg() local 374 tmr_idx = ice_get_ptp_src_clock_index(hw); in ice_ptp_read_src_clk_reg() 379 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 384 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg() 385 lo2 = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 392 lo = rd32(hw, GLTSYN_TIME_L(tmr_idx)); in ice_ptp_read_src_clk_reg() 394 hi = rd32(hw, GLTSYN_TIME_H(tmr_idx)); in ice_ptp_read_src_clk_reg() 1622 u8 chan, tmr_idx; in ice_ptp_extts_event() local 1629 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_extts_event() 1638 lo = rd32(hw, GLTSYN_EVNT_L(chan, tmr_idx)); in ice_ptp_extts_event() [all …]
|
D | ice_main.c | 3295 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_misc_intr() local 3296 u32 gltsyn_stat = rd32(hw, GLTSYN_STAT(tmr_idx)); in ice_misc_intr()
|