Lines Matching refs:mtk_eth
571 struct mtk_eth;
1068 struct mtk_eth { struct
1138 struct mtk_eth *hw; argument
1156 static inline u32 mtk_get_ib1_ts_mask(struct mtk_eth *eth) in mtk_get_ib1_ts_mask()
1164 static inline u32 mtk_get_ib1_ppoe_mask(struct mtk_eth *eth) in mtk_get_ib1_ppoe_mask()
1172 static inline u32 mtk_get_ib1_vlan_tag_mask(struct mtk_eth *eth) in mtk_get_ib1_vlan_tag_mask()
1180 static inline u32 mtk_get_ib1_vlan_layer_mask(struct mtk_eth *eth) in mtk_get_ib1_vlan_layer_mask()
1188 static inline u32 mtk_prep_ib1_vlan_layer(struct mtk_eth *eth, u32 val) in mtk_prep_ib1_vlan_layer()
1196 static inline u32 mtk_get_ib1_vlan_layer(struct mtk_eth *eth, u32 val) in mtk_get_ib1_vlan_layer()
1204 static inline u32 mtk_get_ib1_pkt_type_mask(struct mtk_eth *eth) in mtk_get_ib1_pkt_type_mask()
1212 static inline u32 mtk_get_ib1_pkt_type(struct mtk_eth *eth, u32 val) in mtk_get_ib1_pkt_type()
1220 static inline u32 mtk_get_ib2_multicast_mask(struct mtk_eth *eth) in mtk_get_ib2_multicast_mask()
1231 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
1232 u32 mtk_r32(struct mtk_eth *eth, unsigned reg);
1238 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id);
1239 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id);
1240 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id);
1242 int mtk_eth_offload_init(struct mtk_eth *eth);
1245 void mtk_eth_set_dma_device(struct mtk_eth *eth, struct device *dma_dev);