Lines Matching refs:bnxt

22 static int bnxt_ptp_cfg_settime(struct bnxt *bp, u64 time)  in bnxt_ptp_cfg_settime()
75 static int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read()
99 static void bnxt_ptp_get_current_time(struct bnxt *bp) in bnxt_ptp_get_current_time()
111 static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts) in bnxt_hwrm_port_ts_query()
161 void bnxt_ptp_update_current_time(struct bnxt *bp) in bnxt_ptp_update_current_time()
212 struct bnxt *bp = ptp->bp; in bnxt_ptp_adjfreq()
228 void bnxt_ptp_pps_event(struct bnxt *bp, u32 data1, u32 data2) in bnxt_ptp_pps_event()
255 static int bnxt_ptp_cfg_pin(struct bnxt *bp, u8 pin, u8 usage) in bnxt_ptp_cfg_pin()
293 static int bnxt_ptp_cfg_event(struct bnxt *bp, u8 event) in bnxt_ptp_cfg_event()
307 void bnxt_ptp_cfg_tstamp_filters(struct bnxt *bp) in bnxt_ptp_cfg_tstamp_filters()
341 void bnxt_ptp_reapply_pps(struct bnxt *bp) in bnxt_ptp_reapply_pps()
390 struct bnxt *bp = ptp->bp; in bnxt_ptp_perout_cfg()
427 struct bnxt *bp = ptp->bp; in bnxt_ptp_enable()
478 static int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg()
524 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_set()
600 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_get()
616 static int bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) in bnxt_map_regs()
631 static int bnxt_map_ptp_regs(struct bnxt *bp) in bnxt_map_ptp_regs()
650 static void bnxt_unmap_ptp_regs(struct bnxt *bp) in bnxt_unmap_ptp_regs()
665 static void bnxt_stamp_tx_skb(struct bnxt *bp, struct sk_buff *skb) in bnxt_stamp_tx_skb()
695 struct bnxt *bp = ptp->bp; in bnxt_ptp_ts_aux_work()
714 int bnxt_get_tx_ts_p5(struct bnxt *bp, struct sk_buff *skb) in bnxt_get_tx_ts_p5()
727 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) in bnxt_get_rx_ts_p5()
773 static int bnxt_ptp_pps_init(struct bnxt *bp) in bnxt_ptp_pps_init()
834 static bool bnxt_pps_config_ok(struct bnxt *bp) in bnxt_pps_config_ok()
841 static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) in bnxt_ptp_timecounter_init()
865 int bnxt_ptp_init_rtc(struct bnxt *bp, bool phc_cfg) in bnxt_ptp_init_rtc()
892 static void bnxt_ptp_free(struct bnxt *bp) in bnxt_ptp_free()
904 int bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) in bnxt_ptp_init()
961 void bnxt_ptp_clear(struct bnxt *bp) in bnxt_ptp_clear()