Lines Matching defs:pf

60 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf)  in ice_get_ctrl_pf()
65 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp()
80 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx()
101 static void ice_ptp_update_sma_data(struct ice_pf *pf, unsigned int sma_pins[], in ice_ptp_update_sma_data()
156 static int ice_ptp_set_sma_cfg(struct ice_pf *pf) in ice_ptp_set_sma_cfg()
197 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt()
234 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
259 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode()
278 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode()
301 u64 ice_ptp_read_src_clk_reg(struct ice_pf *pf, in ice_ptp_read_src_clk_reg()
436 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
480 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp() local
532 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp() local
656 struct ice_pf *pf; in ice_ptp_process_tx_tstamp() local
767 static enum ice_tx_tstamp_work ice_ptp_tx_tstamp_owner(struct ice_pf *pf) in ice_ptp_tx_tstamp_owner()
871 ice_ptp_flush_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_flush_tx_tracker()
942 ice_ptp_flush_all_tx_tracker(struct ice_pf *pf) in ice_ptp_flush_all_tx_tracker()
958 ice_ptp_release_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_release_tx_tracker()
996 static int ice_ptp_init_tx_e82x(struct ice_pf *pf, struct ice_ptp_tx *tx, in ice_ptp_init_tx_e82x()
1018 static int ice_ptp_init_tx(struct ice_pf *pf, struct ice_ptp_tx *tx, u8 port) in ice_ptp_init_tx()
1050 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime()
1111 static void ice_ptp_reset_cached_phctime(struct ice_pf *pf) in ice_ptp_reset_cached_phctime()
1148 static int ice_ptp_write_init(struct ice_pf *pf, struct timespec64 *ts) in ice_ptp_write_init()
1164 static int ice_ptp_write_adj(struct ice_pf *pf, s32 adj) in ice_ptp_write_adj()
1180 static u64 ice_base_incval(struct ice_pf *pf) in ice_base_incval()
1201 struct ice_pf *pf; in ice_ptp_check_tx_fifo() local
1271 struct ice_pf *pf; in ice_ptp_wait_for_offsets() local
1308 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_stop() local
1351 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_restart() local
1413 void ice_ptp_link_change(struct ice_pf *pf, bool linkup) in ice_ptp_link_change()
1457 static int ice_ptp_cfg_phy_interrupt(struct ice_pf *pf, bool ena, u32 threshold) in ice_ptp_cfg_phy_interrupt()
1511 static void ice_ptp_reset_phy_timestamping(struct ice_pf *pf) in ice_ptp_reset_phy_timestamping()
1520 static void ice_ptp_restart_all_phy(struct ice_pf *pf) in ice_ptp_restart_all_phy()
1544 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine() local
1564 void ice_ptp_extts_event(struct ice_pf *pf) in ice_ptp_extts_event()
1618 static int ice_ptp_cfg_extts(struct ice_pf *pf, struct ptp_extts_request *rq, in ice_ptp_cfg_extts()
1694 static void ice_ptp_disable_all_extts(struct ice_pf *pf) in ice_ptp_disable_all_extts()
1710 static void ice_ptp_enable_all_extts(struct ice_pf *pf) in ice_ptp_enable_all_extts()
1797 static int ice_ptp_cfg_perout(struct ice_pf *pf, struct ptp_perout_request *rq, in ice_ptp_cfg_perout()
1863 static void ice_ptp_disable_all_perout(struct ice_pf *pf) in ice_ptp_disable_all_perout()
1880 static void ice_ptp_enable_all_perout(struct ice_pf *pf) in ice_ptp_enable_all_perout()
1897 static int ice_ptp_disable_shared_pin(struct ice_pf *pf, unsigned int pin, in ice_ptp_disable_shared_pin()
1958 struct ice_pf *pf = ptp_info_to_pf(info); in ice_verify_pin() local
2002 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable() local
2051 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64() local
2070 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64() local
2139 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime() local
2243 struct ice_pf *pf; member
2265 struct ice_pf *pf; in ice_capture_crosststamp() local
2346 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_getcrosststamp() local
2376 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
2395 ice_ptp_set_timestamp_mode(struct ice_pf *pf, struct hwtstamp_config *config) in ice_ptp_set_timestamp_mode()
2445 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
2505 static void ice_ptp_setup_pin_cfg(struct ice_pf *pf) in ice_ptp_setup_pin_cfg()
2532 static void ice_ptp_disable_pins(struct ice_pf *pf) in ice_ptp_disable_pins()
2554 static int ice_ptp_parse_sdp_entries(struct ice_pf *pf, __le16 *entries, in ice_ptp_parse_sdp_entries()
2626 static void ice_ptp_set_funcs_e82x(struct ice_pf *pf) in ice_ptp_set_funcs_e82x()
2649 static void ice_ptp_set_funcs_e810(struct ice_pf *pf) in ice_ptp_set_funcs_e810()
2705 static void ice_ptp_set_funcs_e830(struct ice_pf *pf) in ice_ptp_set_funcs_e830()
2722 static void ice_ptp_set_caps(struct ice_pf *pf) in ice_ptp_set_caps()
2765 static long ice_ptp_create_clock(struct ice_pf *pf) in ice_ptp_create_clock()
2844 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
2870 irqreturn_t ice_ptp_ts_irq(struct ice_pf *pf) in ice_ptp_ts_irq()
2935 static void ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf *pf) in ice_ptp_maybe_trigger_tx_interrupt()
2973 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work() local
2993 void ice_ptp_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_prepare_for_reset()
3032 static int ice_ptp_rebuild_owner(struct ice_pf *pf) in ice_ptp_rebuild_owner()
3100 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_rebuild()
3139 static int ice_ptp_setup_adapter(struct ice_pf *pf) in ice_ptp_setup_adapter()
3149 static int ice_ptp_setup_pf(struct ice_pf *pf) in ice_ptp_setup_pf()
3167 static void ice_ptp_cleanup_pf(struct ice_pf *pf) in ice_ptp_cleanup_pf()
3185 int ice_ptp_clock_index(struct ice_pf *pf) in ice_ptp_clock_index()
3205 static int ice_ptp_init_owner(struct ice_pf *pf) in ice_ptp_init_owner()
3264 static int ice_ptp_init_work(struct ice_pf *pf, struct ice_ptp *ptp) in ice_ptp_init_work()
3294 static int ice_ptp_init_port(struct ice_pf *pf, struct ice_ptp_port *ptp_port) in ice_ptp_init_port()
3324 static void ice_ptp_init_tx_interrupt_mode(struct ice_pf *pf) in ice_ptp_init_tx_interrupt_mode()
3354 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init()
3425 void ice_ptp_release(struct ice_pf *pf) in ice_ptp_release()