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 int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read()
115 static int bnxt_refclk_read_low(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read_low()
137 static void bnxt_ptp_get_current_time(struct bnxt *bp) in bnxt_ptp_get_current_time()
147 static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts, in bnxt_hwrm_port_ts_query()
202 void bnxt_ptp_update_current_time(struct bnxt *bp) in bnxt_ptp_update_current_time()
247 static int bnxt_ptp_adjfine_rtc(struct bnxt *bp, long scaled_ppm) in bnxt_ptp_adjfine_rtc()
270 struct bnxt *bp = ptp->bp; in bnxt_ptp_adjfine()
283 void bnxt_ptp_pps_event(struct bnxt *bp, u32 data1, u32 data2) in bnxt_ptp_pps_event()
308 static int bnxt_ptp_cfg_pin(struct bnxt *bp, u8 pin, u8 usage) in bnxt_ptp_cfg_pin()
346 static int bnxt_ptp_cfg_event(struct bnxt *bp, u8 event) in bnxt_ptp_cfg_event()
360 int bnxt_ptp_cfg_tstamp_filters(struct bnxt *bp) in bnxt_ptp_cfg_tstamp_filters()
398 void bnxt_ptp_reapply_pps(struct bnxt *bp) in bnxt_ptp_reapply_pps()
444 struct bnxt *bp = ptp->bp; in bnxt_ptp_perout_cfg()
481 struct bnxt *bp = ptp->bp; in bnxt_ptp_enable()
532 static int bnxt_hwrm_ptp_cfg(struct bnxt *bp) in bnxt_hwrm_ptp_cfg()
565 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_set()
641 struct bnxt *bp = netdev_priv(dev); in bnxt_hwtstamp_get()
657 static int bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) in bnxt_map_regs()
672 static int bnxt_map_ptp_regs(struct bnxt *bp) in bnxt_map_ptp_regs()
699 static void bnxt_unmap_ptp_regs(struct bnxt *bp) in bnxt_unmap_ptp_regs()
714 static int bnxt_stamp_tx_skb(struct bnxt *bp, int slot) in bnxt_stamp_tx_skb()
757 struct bnxt *bp = ptp->bp; in bnxt_ptp_ts_aux_work()
833 void bnxt_get_tx_ts_p5(struct bnxt *bp, struct sk_buff *skb, u16 prod) in bnxt_get_tx_ts_p5()
846 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) in bnxt_get_rx_ts_p5()
858 void bnxt_tx_ts_cmp(struct bnxt *bp, struct bnxt_napi *bnapi, in bnxt_tx_ts_cmp()
918 static int bnxt_ptp_pps_init(struct bnxt *bp) in bnxt_ptp_pps_init()
979 static bool bnxt_pps_config_ok(struct bnxt *bp) in bnxt_pps_config_ok()
986 static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) in bnxt_ptp_timecounter_init()
1021 int bnxt_ptp_init_rtc(struct bnxt *bp, bool phc_cfg) in bnxt_ptp_init_rtc()
1050 static void bnxt_ptp_free(struct bnxt *bp) in bnxt_ptp_free()
1062 int bnxt_ptp_init(struct bnxt *bp) in bnxt_ptp_init()
1126 void bnxt_ptp_clear(struct bnxt *bp) in bnxt_ptp_clear()