Lines Matching defs:pf
192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() local
265 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt()
302 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
327 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode()
346 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode()
370 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg()
494 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
536 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp() local
578 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp() local
692 struct ice_pf *pf; in ice_ptp_process_tx_tstamp() local
800 static enum ice_tx_tstamp_work ice_ptp_tx_tstamp_owner(struct ice_pf *pf) in ice_ptp_tx_tstamp_owner()
904 ice_ptp_flush_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_flush_tx_tracker()
975 ice_ptp_release_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_release_tx_tracker()
1012 ice_ptp_init_tx_e82x(struct ice_pf *pf, struct ice_ptp_tx *tx, u8 port) in ice_ptp_init_tx_e82x()
1031 ice_ptp_init_tx_e810(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_init_tx_e810()
1062 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime()
1123 static void ice_ptp_reset_cached_phctime(struct ice_pf *pf) in ice_ptp_reset_cached_phctime()
1165 ice_ptp_read_time(struct ice_pf *pf, struct timespec64 *ts, in ice_ptp_read_time()
1180 static int ice_ptp_write_init(struct ice_pf *pf, struct timespec64 *ts) in ice_ptp_write_init()
1196 static int ice_ptp_write_adj(struct ice_pf *pf, s32 adj) in ice_ptp_write_adj()
1212 static u64 ice_base_incval(struct ice_pf *pf) in ice_base_incval()
1238 struct ice_pf *pf; in ice_ptp_check_tx_fifo() local
1308 struct ice_pf *pf; in ice_ptp_wait_for_offsets() local
1345 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_stop() local
1378 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_restart() local
1428 void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change()
1466 static int ice_ptp_tx_ena_intr(struct ice_pf *pf, bool ena, u32 threshold) in ice_ptp_tx_ena_intr()
1506 static void ice_ptp_reset_phy_timestamping(struct ice_pf *pf) in ice_ptp_reset_phy_timestamping()
1515 static void ice_ptp_restart_all_phy(struct ice_pf *pf) in ice_ptp_restart_all_phy()
1539 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine() local
1559 void ice_ptp_extts_event(struct ice_pf *pf) in ice_ptp_extts_event()
1597 ice_ptp_cfg_extts(struct ice_pf *pf, bool ena, unsigned int chan, u32 gpio_pin, in ice_ptp_cfg_extts()
1658 static int ice_ptp_cfg_clkout(struct ice_pf *pf, unsigned int chan, in ice_ptp_cfg_clkout()
1764 static void ice_ptp_disable_all_clkout(struct ice_pf *pf) in ice_ptp_disable_all_clkout()
1781 static void ice_ptp_enable_all_clkout(struct ice_pf *pf) in ice_ptp_enable_all_clkout()
1801 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e810() local
1875 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e823() local
1912 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64() local
1937 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64() local
2003 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime() local
2059 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime() local
2147 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_getcrosststamp_e82x() local
2161 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
2180 ice_ptp_set_timestamp_mode(struct ice_pf *pf, struct hwtstamp_config *config) in ice_ptp_set_timestamp_mode()
2230 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
2296 ice_ptp_disable_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_disable_sma_pins_e810t()
2319 ice_ptp_setup_sma_pins_e810t(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_sma_pins_e810t()
2344 ice_ptp_setup_pins_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e810()
2369 ice_ptp_setup_pins_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_setup_pins_e823()
2387 ice_ptp_set_funcs_e82x(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e82x()
2407 ice_ptp_set_funcs_e810(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e810()
2424 ice_ptp_set_funcs_e823(struct ice_pf *pf, struct ptp_clock_info *info) in ice_ptp_set_funcs_e823()
2436 static void ice_ptp_set_caps(struct ice_pf *pf) in ice_ptp_set_caps()
2467 static long ice_ptp_create_clock(struct ice_pf *pf) in ice_ptp_create_clock()
2546 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
2578 static void ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf *pf) in ice_ptp_maybe_trigger_tx_interrupt()
2616 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work() local
2635 void ice_ptp_reset(struct ice_pf *pf) in ice_ptp_reset()
2831 ice_ptp_auxbus_create_id_table(struct ice_pf *pf, const char *name) in ice_ptp_auxbus_create_id_table()
2850 static int ice_ptp_register_auxbus_driver(struct ice_pf *pf) in ice_ptp_register_auxbus_driver()
2893 static void ice_ptp_unregister_auxbus_driver(struct ice_pf *pf) in ice_ptp_unregister_auxbus_driver()
2910 int ice_ptp_clock_index(struct ice_pf *pf) in ice_ptp_clock_index()
2929 void ice_ptp_prepare_for_reset(struct ice_pf *pf) in ice_ptp_prepare_for_reset()
2966 static int ice_ptp_init_owner(struct ice_pf *pf) in ice_ptp_init_owner()
3035 static int ice_ptp_init_work(struct ice_pf *pf, struct ice_ptp *ptp) in ice_ptp_init_work()
3063 static int ice_ptp_init_port(struct ice_pf *pf, struct ice_ptp_port *ptp_port) in ice_ptp_init_port()
3096 static int ice_ptp_create_auxbus_device(struct ice_pf *pf) in ice_ptp_create_auxbus_device()
3143 static void ice_ptp_remove_auxbus_device(struct ice_pf *pf) in ice_ptp_remove_auxbus_device()
3162 static void ice_ptp_init_tx_interrupt_mode(struct ice_pf *pf) in ice_ptp_init_tx_interrupt_mode()
3192 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init()
3251 void ice_ptp_release(struct ice_pf *pf) in ice_ptp_release()