Lines Matching refs: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 { struct
385 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
388 void (*eee_fixup)(struct bcmasp_intf *priv, bool en);
405 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
408 void (*eee_fixup)(struct bcmasp_intf *intf, bool en);
429 static inline unsigned long bcmasp_intf_rx_desc_read(struct bcmasp_intf *intf) in bcmasp_intf_rx_desc_read()
434 static inline void bcmasp_intf_rx_buffer_write(struct bcmasp_intf *intf, in bcmasp_intf_rx_buffer_write()
440 static inline void bcmasp_intf_rx_desc_write(struct bcmasp_intf *intf, in bcmasp_intf_rx_desc_write()
446 static inline unsigned long bcmasp_intf_tx_read(struct bcmasp_intf *intf) in bcmasp_intf_tx_read()
451 static inline void bcmasp_intf_tx_write(struct bcmasp_intf *intf, in bcmasp_intf_tx_write()
458 static inline u32 name##_rl(struct bcmasp_intf *intf, u32 off) \
463 static inline void name##_wl(struct bcmasp_intf *intf, u32 val, u32 off)\
483 static inline u64 name##_rq(struct bcmasp_intf *intf, u32 off) \
488 static inline void name##_wq(struct bcmasp_intf *intf, u64 val, u32 off)\
552 struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv,
555 void bcmasp_interface_destroy(struct bcmasp_intf *intf);
557 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en);
559 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en);
561 void bcmasp_enable_phy_irq(struct bcmasp_intf *intf, int en);
563 void bcmasp_flush_rx_port(struct bcmasp_intf *intf);
567 int bcmasp_interface_suspend(struct bcmasp_intf *intf);
569 int bcmasp_interface_resume(struct bcmasp_intf *intf);
571 void bcmasp_set_promisc(struct bcmasp_intf *intf, bool en);
573 void bcmasp_set_allmulti(struct bcmasp_intf *intf, bool en);
575 void bcmasp_set_broad(struct bcmasp_intf *intf, bool en);
577 void bcmasp_set_oaddr(struct bcmasp_intf *intf, const unsigned char *addr,
580 int bcmasp_set_en_mda_filter(struct bcmasp_intf *intf, unsigned char *addr,
583 void bcmasp_disable_all_filters(struct bcmasp_intf *intf);
585 void bcmasp_core_clock_set_intf(struct bcmasp_intf *intf, bool en);
587 struct bcmasp_net_filter *bcmasp_netfilt_get_init(struct bcmasp_intf *intf,
591 bool bcmasp_netfilt_check_dup(struct bcmasp_intf *intf,
594 void bcmasp_netfilt_release(struct bcmasp_intf *intf,
597 int bcmasp_netfilt_get_active(struct bcmasp_intf *intf);
599 int bcmasp_netfilt_get_all_active(struct bcmasp_intf *intf, u32 *rule_locs,
602 void bcmasp_netfilt_suspend(struct bcmasp_intf *intf);
604 void bcmasp_eee_enable_set(struct bcmasp_intf *intf, bool enable);