Lines Matching defs:mac_ops
55 struct mac_ops { struct
56 char *name;
62 u64 csr_offset;
68 u64 int_register;
69 u64 int_set_reg;
71 u8 lmac_offset;
72 u8 irq_offset;
73 u8 int_ena_bit;
74 u8 lmac_fwi;
75 u32 fifo_len;
76 bool non_contiguous_serdes_lane;
78 u8 rx_stats_cnt;
79 u8 tx_stats_cnt;
83 u64 rxid_map_offset;
84 u8 dmac_filter_count;
88 int (*get_nr_lmacs)(void *cgx);
89 u8 (*get_lmac_type)(void *cgx, int lmac_id);
90 u32 (*lmac_fifo_len)(void *cgx, int lmac_id);
91 int (*mac_lmac_intl_lbk)(void *cgx, int lmac_id,
94 int (*mac_get_rx_stats)(void *cgx, int lmac_id,
96 int (*mac_get_tx_stats)(void *cgx, int lmac_id,
100 void (*mac_enadis_rx_pause_fwding)(void *cgxd,
104 int (*mac_get_pause_frm_status)(void *cgxd,
109 int (*mac_enadis_pause_frm)(void *cgxd,
114 void (*mac_pause_frm_config)(void *cgxd,
119 void (*mac_enadis_ptp_config)(void *cgxd,
123 int (*mac_rx_tx_enable)(void *cgxd, int lmac_id, bool enable);
124 int (*mac_tx_enable)(void *cgxd, int lmac_id, bool enable);
125 int (*pfc_config)(void *cgxd, int lmac_id,
151 struct mac_ops *mac_ops; argument