Lines Matching refs:ice_pf

190 	struct ice_pf *pf = ptp_info_to_pf(info);  in ice_ptp_set_sma_e810t()
263 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt()
300 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
325 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode()
344 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode()
368 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg()
493 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
535 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp()
577 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp()
687 struct ice_pf *pf; in ice_ptp_process_tx_tstamp()
798 static enum ice_tx_tstamp_work ice_ptp_tx_tstamp_owner(struct ice_pf *pf) in ice_ptp_tx_tstamp_owner()
902 ice_ptp_flush_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_flush_tx_tracker()
973 ice_ptp_flush_all_tx_tracker(struct ice_pf *pf) in ice_ptp_flush_all_tx_tracker()
989 ice_ptp_release_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_release_tx_tracker()
1025 static int ice_ptp_init_tx_eth56g(struct ice_pf *pf, struct ice_ptp_tx *tx, in ice_ptp_init_tx_eth56g()
1048 ice_ptp_init_tx_e82x(struct ice_pf *pf, struct ice_ptp_tx *tx, u8 port) in ice_ptp_init_tx_e82x()
1067 ice_ptp_init_tx_e810(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_init_tx_e810()
1098 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime()
1159 static void ice_ptp_reset_cached_phctime(struct ice_pf *pf) in ice_ptp_reset_cached_phctime()
1196 static int ice_ptp_write_init(struct ice_pf *pf, struct timespec64 *ts) in ice_ptp_write_init()
1212 static int ice_ptp_write_adj(struct ice_pf *pf, s32 adj) in ice_ptp_write_adj()
1228 static u64 ice_base_incval(struct ice_pf *pf) in ice_base_incval()
1249 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1319 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
1356 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_stop()
1398 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_restart()
1460 void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change()
1510 static int ice_ptp_cfg_phy_interrupt(struct ice_pf *pf, bool ena, u32 threshold) in ice_ptp_cfg_phy_interrupt()
1565 static void ice_ptp_reset_phy_timestamping(struct ice_pf *pf) in ice_ptp_reset_phy_timestamping()
1574 static void ice_ptp_restart_all_phy(struct ice_pf *pf) in ice_ptp_restart_all_phy()
1598 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine()
1618 void ice_ptp_extts_event(struct ice_pf *pf) in ice_ptp_extts_event()
1662 static int ice_ptp_cfg_extts(struct ice_pf *pf, unsigned int chan, in ice_ptp_cfg_extts()
1724 static void ice_ptp_disable_all_extts(struct ice_pf *pf) in ice_ptp_disable_all_extts()
1746 static void ice_ptp_enable_all_extts(struct ice_pf *pf) in ice_ptp_enable_all_extts()
1767 static int ice_ptp_cfg_clkout(struct ice_pf *pf, unsigned int chan, in ice_ptp_cfg_clkout()
1875 static void ice_ptp_disable_all_clkout(struct ice_pf *pf) in ice_ptp_disable_all_clkout()
1892 static void ice_ptp_enable_all_clkout(struct ice_pf *pf) in ice_ptp_enable_all_clkout()
1912 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e810()
1992 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e823()
2035 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64()
2054 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64()
2123 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime()
2179 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime()
2268 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_getcrosststamp_e82x()
2282 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
2301 ice_ptp_set_timestamp_mode(struct ice_pf *pf, struct hwtstamp_config *config) in ice_ptp_set_timestamp_mode()
2351 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
2417 ice_ptp_disable_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_disable_sma_pins_e810t()
2440 ice_ptp_setup_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_sma_pins_e810t()
2465 ice_ptp_setup_pins_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e810()
2490 ice_ptp_setup_pins_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e823()
2508 ice_ptp_set_funcs_e82x(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e82x()
2528 ice_ptp_set_funcs_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e810()
2545 ice_ptp_set_funcs_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e823()
2557 static void ice_ptp_set_caps(struct ice_pf *pf) in ice_ptp_set_caps()
2588 static long ice_ptp_create_clock(struct ice_pf *pf) in ice_ptp_create_clock()
2667 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
2699 static void ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf *pf) in ice_ptp_maybe_trigger_tx_interrupt()
2737 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work()
2757 void ice_ptp_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_prepare_for_reset()
2796 static int ice_ptp_rebuild_owner(struct ice_pf *pf) in ice_ptp_rebuild_owner()
2866 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_rebuild()
2902 static struct ice_pf *
2911 return container_of(aux_ptp, struct ice_pf, ptp); in ice_ptp_aux_dev_to_aux_pf()
2918 static struct ice_pf *
2932 return container_of(owner_ptp, struct ice_pf, ptp); in ice_ptp_aux_dev_to_owner_pf()
2943 struct ice_pf *owner_pf = ice_ptp_aux_dev_to_owner_pf(aux_dev); in ice_ptp_auxbus_probe()
2944 struct ice_pf *aux_pf = ice_ptp_aux_dev_to_aux_pf(aux_dev); in ice_ptp_auxbus_probe()
2964 struct ice_pf *owner_pf = ice_ptp_aux_dev_to_owner_pf(aux_dev); in ice_ptp_auxbus_remove()
2965 struct ice_pf *aux_pf = ice_ptp_aux_dev_to_aux_pf(aux_dev); in ice_ptp_auxbus_remove()
3009 ice_ptp_auxbus_create_id_table(struct ice_pf *pf, const char *name) in ice_ptp_auxbus_create_id_table()
3028 static int ice_ptp_register_auxbus_driver(struct ice_pf *pf) in ice_ptp_register_auxbus_driver()
3071 static void ice_ptp_unregister_auxbus_driver(struct ice_pf *pf) in ice_ptp_unregister_auxbus_driver()
3088 int ice_ptp_clock_index(struct ice_pf *pf) in ice_ptp_clock_index()
3091 struct ice_pf *owner_pf; in ice_ptp_clock_index()
3111 static int ice_ptp_init_owner(struct ice_pf *pf) in ice_ptp_init_owner()
3178 static int ice_ptp_init_work(struct ice_pf *pf, struct ice_ptp *ptp) in ice_ptp_init_work()
3206 static int ice_ptp_init_port(struct ice_pf *pf, struct ice_ptp_port *ptp_port) in ice_ptp_init_port()
3242 static int ice_ptp_create_auxbus_device(struct ice_pf *pf) in ice_ptp_create_auxbus_device()
3289 static void ice_ptp_remove_auxbus_device(struct ice_pf *pf) in ice_ptp_remove_auxbus_device()
3308 static void ice_ptp_init_tx_interrupt_mode(struct ice_pf *pf) in ice_ptp_init_tx_interrupt_mode()
3338 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init()
3403 void ice_ptp_release(struct ice_pf *pf) in ice_ptp_release()