Lines Matching refs:bnxt

23 static int bnxt_ptp_cfg_settime(struct bnxt *bp, u64 time)  in bnxt_ptp_cfg_settime()
77 static int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read()
101 static void bnxt_ptp_get_current_time(struct bnxt *bp) in bnxt_ptp_get_current_time()
114 static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts, in bnxt_hwrm_port_ts_query()
172 void bnxt_ptp_update_current_time(struct bnxt *bp) in bnxt_ptp_update_current_time()
220 static int bnxt_ptp_adjfine_rtc(struct bnxt *bp, long scaled_ppm) in bnxt_ptp_adjfine_rtc()
243 struct bnxt *bp = ptp->bp; in bnxt_ptp_adjfine()
256 void bnxt_ptp_pps_event(struct bnxt *bp, u32 data1, u32 data2) in bnxt_ptp_pps_event()
284 static int bnxt_ptp_cfg_pin(struct bnxt *bp, u8 pin, u8 usage) in bnxt_ptp_cfg_pin()
322 static int bnxt_ptp_cfg_event(struct bnxt *bp, u8 event) in bnxt_ptp_cfg_event()
336 int bnxt_ptp_cfg_tstamp_filters(struct bnxt *bp) in bnxt_ptp_cfg_tstamp_filters()
374 void bnxt_ptp_reapply_pps(struct bnxt *bp) in bnxt_ptp_reapply_pps()
424 struct bnxt *bp = ptp->bp; in bnxt_ptp_perout_cfg()
461 struct bnxt *bp = ptp->bp; in bnxt_ptp_enable()
512 static int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg()
545 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_set()
621 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_get()
637 static int bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) in bnxt_map_regs()
652 static int bnxt_map_ptp_regs(struct bnxt *bp) in bnxt_map_ptp_regs()
679 static void bnxt_unmap_ptp_regs(struct bnxt *bp) in bnxt_unmap_ptp_regs()
694 static int bnxt_stamp_tx_skb(struct bnxt *bp, int slot) in bnxt_stamp_tx_skb()
740 struct bnxt *bp = ptp->bp; in bnxt_ptp_ts_aux_work()
795 void bnxt_get_tx_ts_p5(struct bnxt *bp, struct sk_buff *skb, u16 prod) in bnxt_get_tx_ts_p5()
808 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) in bnxt_get_rx_ts_p5()
824 void bnxt_tx_ts_cmp(struct bnxt *bp, struct bnxt_napi *bnapi, in bnxt_tx_ts_cmp()
887 static int bnxt_ptp_pps_init(struct bnxt *bp) in bnxt_ptp_pps_init()
948 static bool bnxt_pps_config_ok(struct bnxt *bp) in bnxt_pps_config_ok()
955 static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) in bnxt_ptp_timecounter_init()
986 int bnxt_ptp_init_rtc(struct bnxt *bp, bool phc_cfg) in bnxt_ptp_init_rtc()
1015 static void bnxt_ptp_free(struct bnxt *bp) in bnxt_ptp_free()
1027 int bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) in bnxt_ptp_init()
1095 void bnxt_ptp_clear(struct bnxt *bp) in bnxt_ptp_clear()