Lines Matching refs:bcmasp_intf

229 struct bcmasp_intf;
268 unsigned long (*rx_desc_read)(struct bcmasp_intf *intf);
269 void (*rx_buffer_write)(struct bcmasp_intf *intf, dma_addr_t addr);
270 void (*rx_desc_write)(struct bcmasp_intf *intf, dma_addr_t addr);
271 unsigned long (*tx_read)(struct bcmasp_intf *intf);
272 void (*tx_write)(struct bcmasp_intf *intf, dma_addr_t addr);
277 struct bcmasp_intf { struct
373 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
391 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
413 static inline unsigned long bcmasp_intf_rx_desc_read(struct bcmasp_intf *intf) in bcmasp_intf_rx_desc_read()
418 static inline void bcmasp_intf_rx_buffer_write(struct bcmasp_intf *intf, in bcmasp_intf_rx_buffer_write()
424 static inline void bcmasp_intf_rx_desc_write(struct bcmasp_intf *intf, in bcmasp_intf_rx_desc_write()
430 static inline unsigned long bcmasp_intf_tx_read(struct bcmasp_intf *intf) in bcmasp_intf_tx_read()
435 static inline void bcmasp_intf_tx_write(struct bcmasp_intf *intf, in bcmasp_intf_tx_write()
442 static inline u32 name##_rl(struct bcmasp_intf *intf, u32 off) \
447 static inline void name##_wl(struct bcmasp_intf *intf, u32 val, u32 off)\
467 static inline u64 name##_rq(struct bcmasp_intf *intf, u32 off) \
472 static inline void name##_wq(struct bcmasp_intf *intf, u64 val, u32 off)\
535 struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv,
538 void bcmasp_interface_destroy(struct bcmasp_intf *intf);
540 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en);
542 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en);
544 void bcmasp_flush_rx_port(struct bcmasp_intf *intf);
548 int bcmasp_interface_suspend(struct bcmasp_intf *intf);
550 int bcmasp_interface_resume(struct bcmasp_intf *intf);
552 void bcmasp_set_promisc(struct bcmasp_intf *intf, bool en);
554 void bcmasp_set_allmulti(struct bcmasp_intf *intf, bool en);
556 void bcmasp_set_broad(struct bcmasp_intf *intf, bool en);
558 void bcmasp_set_oaddr(struct bcmasp_intf *intf, const unsigned char *addr,
561 int bcmasp_set_en_mda_filter(struct bcmasp_intf *intf, unsigned char *addr,
564 void bcmasp_disable_all_filters(struct bcmasp_intf *intf);
566 void bcmasp_core_clock_set_intf(struct bcmasp_intf *intf, bool en);
568 struct bcmasp_net_filter *bcmasp_netfilt_get_init(struct bcmasp_intf *intf,
572 bool bcmasp_netfilt_check_dup(struct bcmasp_intf *intf,
575 void bcmasp_netfilt_release(struct bcmasp_intf *intf,
578 int bcmasp_netfilt_get_active(struct bcmasp_intf *intf);
580 int bcmasp_netfilt_get_all_active(struct bcmasp_intf *intf, u32 *rule_locs,
583 void bcmasp_netfilt_suspend(struct bcmasp_intf *intf);
585 void bcmasp_eee_enable_set(struct bcmasp_intf *intf, bool enable);