Lines Matching full:lan966x

195 	struct lan966x *lan966x;  member
231 struct lan966x *lan966x; member
251 struct lan966x *lan966x; member
265 struct lan966x { struct
390 struct lan966x *lan966x; member
433 bool lan966x_hw_offload(struct lan966x *lan966x, u32 port, struct sk_buff *skb);
442 int lan966x_stats_init(struct lan966x *lan966x);
457 int lan966x_mac_ip_learn(struct lan966x *lan966x,
462 int lan966x_mac_learn(struct lan966x *lan966x, int port,
466 int lan966x_mac_forget(struct lan966x *lan966x,
470 int lan966x_mac_cpu_learn(struct lan966x *lan966x, const char *addr, u16 vid);
471 int lan966x_mac_cpu_forget(struct lan966x *lan966x, const char *addr, u16 vid);
472 void lan966x_mac_init(struct lan966x *lan966x);
473 void lan966x_mac_set_ageing(struct lan966x *lan966x,
475 int lan966x_mac_del_entry(struct lan966x *lan966x,
478 int lan966x_mac_add_entry(struct lan966x *lan966x,
482 void lan966x_mac_lag_replace_port_entry(struct lan966x *lan966x,
485 void lan966x_mac_lag_remove_port_entry(struct lan966x *lan966x,
487 void lan966x_mac_purge_entries(struct lan966x *lan966x);
488 irqreturn_t lan966x_mac_irq_handler(struct lan966x *lan966x);
490 void lan966x_vlan_init(struct lan966x *lan966x);
492 bool lan966x_vlan_cpu_member_cpu_vlan_mask(struct lan966x *lan966x, u16 vid);
504 void lan966x_vlan_cpu_add_vlan(struct lan966x *lan966x, u16 vid);
505 void lan966x_vlan_cpu_del_vlan(struct lan966x *lan966x, u16 vid);
507 void lan966x_fdb_write_entries(struct lan966x *lan966x, u16 vid);
508 void lan966x_fdb_erase_entries(struct lan966x *lan966x, u16 vid);
509 int lan966x_fdb_init(struct lan966x *lan966x);
510 void lan966x_fdb_deinit(struct lan966x *lan966x);
511 void lan966x_fdb_flush_workqueue(struct lan966x *lan966x);
517 void lan966x_mdb_init(struct lan966x *lan966x);
518 void lan966x_mdb_deinit(struct lan966x *lan966x);
523 void lan966x_mdb_erase_entries(struct lan966x *lan966x, u16 vid);
524 void lan966x_mdb_write_entries(struct lan966x *lan966x, u16 vid);
525 void lan966x_mdb_clear_entries(struct lan966x *lan966x);
526 void lan966x_mdb_restore_entries(struct lan966x *lan966x);
528 int lan966x_ptp_init(struct lan966x *lan966x);
529 void lan966x_ptp_deinit(struct lan966x *lan966x);
535 void lan966x_ptp_rxtstamp(struct lan966x *lan966x, struct sk_buff *skb,
551 int lan966x_fdma_change_mtu(struct lan966x *lan966x);
552 void lan966x_fdma_netdev_init(struct lan966x *lan966x, struct net_device *dev);
553 void lan966x_fdma_netdev_deinit(struct lan966x *lan966x, struct net_device *dev);
554 int lan966x_fdma_init(struct lan966x *lan966x);
555 void lan966x_fdma_deinit(struct lan966x *lan966x);
557 int lan966x_fdma_reload_page_pool(struct lan966x *lan966x);
573 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond);
584 void lan966x_update_fwd_mask(struct lan966x *lan966x);
592 void lan966x_taprio_init(struct lan966x *lan966x);
593 void lan966x_taprio_deinit(struct lan966x *lan966x);
652 bool lan966x_xdp_present(struct lan966x *lan966x);
658 int lan966x_vcap_init(struct lan966x *lan966x);
659 void lan966x_vcap_deinit(struct lan966x *lan966x);
686 void lan966x_dcb_init(struct lan966x *lan966x);
688 static inline void lan966x_dcb_init(struct lan966x *lan966x) in lan966x_dcb_init() argument
708 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, in lan_rd() argument
712 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd()
716 static inline void lan_wr(u32 val, struct lan966x *lan966x, in lan_wr() argument
721 writel(val, lan_addr(lan966x->regs, id, tinst, tcnt, in lan_wr()
726 static inline void lan_rmw(u32 val, u32 mask, struct lan966x *lan966x, in lan_rmw() argument
733 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
736 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()