Lines Matching refs:ice_pf
192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t()
263 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp()
296 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
324 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp()
344 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index()
390 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index()
430 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index()
462 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg()
586 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
680 struct ice_pf *pf; in ice_ptp_tx_tstamp()
839 ice_ptp_flush_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_flush_tx_tracker()
907 ice_ptp_release_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_release_tx_tracker()
942 ice_ptp_init_tx_e822(struct ice_pf *pf, struct ice_ptp_tx *tx, u8 port) in ice_ptp_init_tx_e822()
961 ice_ptp_init_tx_e810(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_init_tx_e810()
992 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime()
1053 static void ice_ptp_reset_cached_phctime(struct ice_pf *pf) in ice_ptp_reset_cached_phctime()
1095 ice_ptp_read_time(struct ice_pf *pf, struct timespec64 *ts, in ice_ptp_read_time()
1110 static int ice_ptp_write_init(struct ice_pf *pf, struct timespec64 *ts) in ice_ptp_write_init()
1126 static int ice_ptp_write_adj(struct ice_pf *pf, s32 adj) in ice_ptp_write_adj()
1142 static u64 ice_base_incval(struct ice_pf *pf) in ice_base_incval()
1168 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1238 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
1275 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_stop()
1308 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_restart()
1357 void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change()
1389 static int ice_ptp_tx_ena_intr(struct ice_pf *pf, bool ena, u32 threshold) in ice_ptp_tx_ena_intr()
1429 static void ice_ptp_reset_phy_timestamping(struct ice_pf *pf) in ice_ptp_reset_phy_timestamping()
1444 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine()
1469 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_extts_work()
1506 ice_ptp_cfg_extts(struct ice_pf *pf, bool ena, unsigned int chan, u32 gpio_pin, in ice_ptp_cfg_extts()
1568 static int ice_ptp_cfg_clkout(struct ice_pf *pf, unsigned int chan, in ice_ptp_cfg_clkout()
1674 static void ice_ptp_disable_all_clkout(struct ice_pf *pf) in ice_ptp_disable_all_clkout()
1691 static void ice_ptp_enable_all_clkout(struct ice_pf *pf) in ice_ptp_enable_all_clkout()
1711 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e810()
1785 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e823()
1822 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64()
1847 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64()
1913 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime()
1969 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime()
2042 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_getcrosststamp_e822()
2056 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
2075 ice_ptp_set_timestamp_mode(struct ice_pf *pf, struct hwtstamp_config *config) in ice_ptp_set_timestamp_mode()
2122 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
2194 ice_ptp_disable_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_disable_sma_pins_e810t()
2217 ice_ptp_setup_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_sma_pins_e810t()
2242 ice_ptp_setup_pins_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e810()
2265 ice_ptp_setup_pins_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e823()
2283 ice_ptp_set_funcs_e822(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e822()
2303 ice_ptp_set_funcs_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e810()
2320 ice_ptp_set_funcs_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e823()
2330 static void ice_ptp_set_caps(struct ice_pf *pf) in ice_ptp_set_caps()
2361 static long ice_ptp_create_clock(struct ice_pf *pf) in ice_ptp_create_clock()
2435 bool ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
2443 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work()
2460 void ice_ptp_reset(struct ice_pf *pf) in ice_ptp_reset()
2550 void ice_ptp_prepare_for_reset(struct ice_pf *pf) in ice_ptp_prepare_for_reset()
2588 static int ice_ptp_init_owner(struct ice_pf *pf) in ice_ptp_init_owner()
2653 static int ice_ptp_init_work(struct ice_pf *pf, struct ice_ptp *ptp) in ice_ptp_init_work()
2682 static int ice_ptp_init_port(struct ice_pf *pf, struct ice_ptp_port *ptp_port) in ice_ptp_init_port()
2706 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init()
2754 void ice_ptp_release(struct ice_pf *pf) in ice_ptp_release()