Lines Matching refs:lan966x

220 	struct lan966x *lan966x;  member
276 struct lan966x *lan966x; member
303 struct lan966x *lan966x; member
317 struct lan966x { struct
442 struct lan966x *lan966x; member
485 bool lan966x_hw_offload(struct lan966x *lan966x, u32 port, struct sk_buff *skb);
494 int lan966x_stats_init(struct lan966x *lan966x);
509 int lan966x_mac_ip_learn(struct lan966x *lan966x,
514 int lan966x_mac_learn(struct lan966x *lan966x, int port,
518 int lan966x_mac_forget(struct lan966x *lan966x,
522 int lan966x_mac_cpu_learn(struct lan966x *lan966x, const char *addr, u16 vid);
523 int lan966x_mac_cpu_forget(struct lan966x *lan966x, const char *addr, u16 vid);
524 void lan966x_mac_init(struct lan966x *lan966x);
525 void lan966x_mac_set_ageing(struct lan966x *lan966x,
527 int lan966x_mac_del_entry(struct lan966x *lan966x,
530 int lan966x_mac_add_entry(struct lan966x *lan966x,
534 void lan966x_mac_lag_replace_port_entry(struct lan966x *lan966x,
537 void lan966x_mac_lag_remove_port_entry(struct lan966x *lan966x,
539 void lan966x_mac_purge_entries(struct lan966x *lan966x);
540 irqreturn_t lan966x_mac_irq_handler(struct lan966x *lan966x);
542 void lan966x_vlan_init(struct lan966x *lan966x);
544 bool lan966x_vlan_cpu_member_cpu_vlan_mask(struct lan966x *lan966x, u16 vid);
556 void lan966x_vlan_cpu_add_vlan(struct lan966x *lan966x, u16 vid);
557 void lan966x_vlan_cpu_del_vlan(struct lan966x *lan966x, u16 vid);
559 void lan966x_fdb_write_entries(struct lan966x *lan966x, u16 vid);
560 void lan966x_fdb_erase_entries(struct lan966x *lan966x, u16 vid);
561 int lan966x_fdb_init(struct lan966x *lan966x);
562 void lan966x_fdb_deinit(struct lan966x *lan966x);
563 void lan966x_fdb_flush_workqueue(struct lan966x *lan966x);
569 void lan966x_mdb_init(struct lan966x *lan966x);
570 void lan966x_mdb_deinit(struct lan966x *lan966x);
575 void lan966x_mdb_erase_entries(struct lan966x *lan966x, u16 vid);
576 void lan966x_mdb_write_entries(struct lan966x *lan966x, u16 vid);
577 void lan966x_mdb_clear_entries(struct lan966x *lan966x);
578 void lan966x_mdb_restore_entries(struct lan966x *lan966x);
580 int lan966x_ptp_init(struct lan966x *lan966x);
581 void lan966x_ptp_deinit(struct lan966x *lan966x);
587 void lan966x_ptp_rxtstamp(struct lan966x *lan966x, struct sk_buff *skb,
603 int lan966x_fdma_change_mtu(struct lan966x *lan966x);
604 void lan966x_fdma_netdev_init(struct lan966x *lan966x, struct net_device *dev);
605 void lan966x_fdma_netdev_deinit(struct lan966x *lan966x, struct net_device *dev);
606 int lan966x_fdma_init(struct lan966x *lan966x);
607 void lan966x_fdma_deinit(struct lan966x *lan966x);
609 int lan966x_fdma_reload_page_pool(struct lan966x *lan966x);
625 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond);
636 void lan966x_update_fwd_mask(struct lan966x *lan966x);
644 void lan966x_taprio_init(struct lan966x *lan966x);
645 void lan966x_taprio_deinit(struct lan966x *lan966x);
704 bool lan966x_xdp_present(struct lan966x *lan966x);
710 int lan966x_vcap_init(struct lan966x *lan966x);
711 void lan966x_vcap_deinit(struct lan966x *lan966x);
738 void lan966x_dcb_init(struct lan966x *lan966x);
740 static inline void lan966x_dcb_init(struct lan966x *lan966x) in lan966x_dcb_init() argument
760 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, in lan_rd() argument
764 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd()
768 static inline void lan_wr(u32 val, struct lan966x *lan966x, in lan_wr() argument
773 writel(val, lan_addr(lan966x->regs, id, tinst, tcnt, in lan_wr()
778 static inline void lan_rmw(u32 val, u32 mask, struct lan966x *lan966x, in lan_rmw() argument
785 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
788 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()