Lines Matching defs:bcmasp_intf
240 struct bcmasp_intf;
279 unsigned long (*rx_desc_read)(struct bcmasp_intf *intf);
280 void (*rx_buffer_write)(struct bcmasp_intf *intf, dma_addr_t addr);
281 void (*rx_desc_write)(struct bcmasp_intf *intf, dma_addr_t addr);
282 unsigned long (*tx_read)(struct bcmasp_intf *intf);
283 void (*tx_write)(struct bcmasp_intf *intf, dma_addr_t addr);
288 struct bcmasp_intf {
383 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
386 void (*eee_fixup)(struct bcmasp_intf *priv, bool en);
403 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
406 void (*eee_fixup)(struct bcmasp_intf *intf, bool en);
427 static inline unsigned long bcmasp_intf_rx_desc_read(struct bcmasp_intf *intf)
432 static inline void bcmasp_intf_rx_buffer_write(struct bcmasp_intf *intf,
438 static inline void bcmasp_intf_rx_desc_write(struct bcmasp_intf *intf,
444 static inline unsigned long bcmasp_intf_tx_read(struct bcmasp_intf *intf)
449 static inline void bcmasp_intf_tx_write(struct bcmasp_intf *intf,
456 static inline u32 name##_rl(struct bcmasp_intf *intf, u32 off) \
461 static inline void name##_wl(struct bcmasp_intf *intf, u32 val, u32 off)\
481 static inline u64 name##_rq(struct bcmasp_intf *intf, u32 off) \
486 static inline void name##_wq(struct bcmasp_intf *intf, u64 val, u32 off)\
550 struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv,
553 void bcmasp_interface_destroy(struct bcmasp_intf *intf);
555 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en);
557 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en);
559 void bcmasp_enable_phy_irq(struct bcmasp_intf *intf, int en);
561 void bcmasp_flush_rx_port(struct bcmasp_intf *intf);
565 int bcmasp_interface_suspend(struct bcmasp_intf *intf);
567 int bcmasp_interface_resume(struct bcmasp_intf *intf);
569 void bcmasp_set_promisc(struct bcmasp_intf *intf, bool en);
571 void bcmasp_set_allmulti(struct bcmasp_intf *intf, bool en);
573 void bcmasp_set_broad(struct bcmasp_intf *intf, bool en);
575 void bcmasp_set_oaddr(struct bcmasp_intf *intf, const unsigned char *addr,
578 int bcmasp_set_en_mda_filter(struct bcmasp_intf *intf, unsigned char *addr,
581 void bcmasp_disable_all_filters(struct bcmasp_intf *intf);
583 void bcmasp_core_clock_set_intf(struct bcmasp_intf *intf, bool en);
585 struct bcmasp_net_filter *bcmasp_netfilt_get_init(struct bcmasp_intf *intf,
589 bool bcmasp_netfilt_check_dup(struct bcmasp_intf *intf,
592 void bcmasp_netfilt_release(struct bcmasp_intf *intf,
595 int bcmasp_netfilt_get_active(struct bcmasp_intf *intf);
597 int bcmasp_netfilt_get_all_active(struct bcmasp_intf *intf, u32 *rule_locs,
600 void bcmasp_netfilt_suspend(struct bcmasp_intf *intf);