Lines Matching defs:ksz_chip_data
50 struct ksz_chip_data { struct
51 u32 chip_id;
52 const char *dev_name;
53 int num_vlans;
54 int num_alus;
55 int num_statics;
56 int cpu_ports;
57 int port_cnt;
58 u8 port_nirqs;
59 u8 num_tx_queues;
60 bool tc_cbs_supported;
61 bool tc_ets_supported;
62 const struct ksz_dev_ops *ops;
63 bool ksz87xx_eee_link_erratum;
64 const struct ksz_mib_names *mib_names;
65 int mib_cnt;
66 u8 reg_mib_cnt;
67 const u16 *regs;
68 const u32 *masks;
69 const u8 *shifts;
70 const u8 *xmii_ctrl0;
71 const u8 *xmii_ctrl1;
72 int stp_ctrl_reg;
73 int broadcast_ctrl_reg;
74 int multicast_ctrl_reg;
75 int start_ctrl_reg;
76 bool supports_mii[KSZ_MAX_NUM_PORTS];
77 bool supports_rmii[KSZ_MAX_NUM_PORTS];
78 bool supports_rgmii[KSZ_MAX_NUM_PORTS];
79 bool internal_phy[KSZ_MAX_NUM_PORTS];
80 bool gbit_capable[KSZ_MAX_NUM_PORTS];
81 const struct regmap_access_table *wr_table;
82 const struct regmap_access_table *rd_table;