Lines Matching defs:gmac

251 static inline void set_receive_buf_queue_pointer(Gmac *gmac,  in set_receive_buf_queue_pointer()
263 static inline void disable_all_priority_queue_interrupt(Gmac *gmac) in disable_all_priority_queue_interrupt()
273 static int priority_queue_init(Gmac *gmac, struct gmac_queue *queue) in priority_queue_init()
324 static int priority_queue_init_as_idle(Gmac *gmac, struct gmac_queue *queue) in priority_queue_init_as_idle()
356 static int queue_init(Gmac *gmac, struct gmac_queue *queue) in queue_init()
369 static inline void set_receive_buf_queue_pointer(Gmac *gmac, in set_receive_buf_queue_pointer()
375 static int queue_init(Gmac *gmac, struct gmac_queue *queue) in queue_init()
380 #define disable_all_priority_queue_interrupt(gmac) argument
387 static inline void eth_sam_gmac_init_qav(Gmac *gmac) in eth_sam_gmac_init_qav()
398 #define eth_sam_gmac_init_qav(gmac) argument
457 static void mac_addr_set(Gmac *gmac, uint8_t index, in mac_addr_set()
473 static int rx_descriptors_init(Gmac *gmac, struct gmac_queue *queue) in rx_descriptors_init()
514 static void tx_descriptors_init(Gmac *gmac, struct gmac_queue *queue) in tx_descriptors_init()
593 static inline struct net_ptp_time get_ptp_event_rx_ts(Gmac *gmac) in get_ptp_event_rx_ts()
604 static inline struct net_ptp_time get_ptp_peer_event_rx_ts(Gmac *gmac) in get_ptp_peer_event_rx_ts()
615 static inline struct net_ptp_time get_ptp_event_tx_ts(Gmac *gmac) in get_ptp_event_tx_ts()
626 static inline struct net_ptp_time get_ptp_peer_event_tx_ts(Gmac *gmac) in get_ptp_peer_event_tx_ts()
637 static inline struct net_ptp_time get_current_ts(Gmac *gmac) in get_current_ts()
648 static inline void timestamp_tx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_tx_pkt()
668 static inline void timestamp_rx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_rx_pkt()
698 static void tx_completed(Gmac *gmac, struct gmac_queue *queue) in tx_completed()
755 static void tx_error_handler(Gmac *gmac, struct gmac_queue *queue) in tx_error_handler()
812 static void rx_error_handler(Gmac *gmac, struct gmac_queue *queue) in rx_error_handler()
862 static int eth_sam_gmac_setup_qav(Gmac *gmac, int queue_id, bool enable) in eth_sam_gmac_setup_qav()
886 static int eth_sam_gmac_get_qav_status(Gmac *gmac, int queue_id, bool *enabled) in eth_sam_gmac_get_qav_status()
902 static int eth_sam_gmac_setup_qav_idle_slope(Gmac *gmac, int queue_id, in eth_sam_gmac_setup_qav_idle_slope()
927 static uint32_t eth_sam_gmac_get_bandwidth(Gmac *gmac) in eth_sam_gmac_get_bandwidth()
947 static int eth_sam_gmac_get_qav_idle_slope(Gmac *gmac, int queue_id, in eth_sam_gmac_get_qav_idle_slope()
967 static int eth_sam_gmac_get_qav_delta_bandwidth(Gmac *gmac, int queue_id, in eth_sam_gmac_get_qav_delta_bandwidth()
994 static int eth_sam_gmac_setup_qav_delta_bandwidth(Gmac *gmac, int queue_id, in eth_sam_gmac_setup_qav_delta_bandwidth()
1014 static void gmac_setup_ptp_clock_divisors(Gmac *gmac) in gmac_setup_ptp_clock_divisors()
1052 static int gmac_init(Gmac *gmac, uint32_t gmac_ncfgr_val) in gmac_init()
1142 static void link_configure(Gmac *gmac, bool full_duplex, bool speed_100M) in link_configure()
1157 static int nonpriority_queue_init(Gmac *gmac, struct gmac_queue *queue) in nonpriority_queue_init()
1342 Gmac *gmac = cfg->regs; in eth_rx() local
1406 Gmac *gmac = cfg->regs; in eth_tx() local
1579 Gmac *gmac = cfg->regs; in queue0_isr() local
1630 Gmac *gmac = cfg->regs; in priority_queue_isr() local
1943 Gmac *gmac = cfg->regs; in eth_sam_gmac_set_qav_param() local
2029 Gmac *gmac = cfg->regs; in eth_sam_gmac_get_qav_param() local
2354 Gmac *gmac = cfg->regs; in ptp_clock_sam_gmac_set() local
2368 Gmac *gmac = cfg->regs; in ptp_clock_sam_gmac_get() local
2380 Gmac *gmac = cfg->regs; in ptp_clock_sam_gmac_adjust() local