Lines Matching defs:sja1105_info
115 struct sja1105_info { struct
116 u64 device_id;
121 u64 part_no;
126 int ptp_ts_bits;
130 int ptpegr_ts_bytes;
131 int num_cbs_shapers;
132 int max_frame_mem;
133 int num_ports;
134 bool multiple_cascade_ports;
136 bool fixed_cbs_mapping;
137 enum dsa_tag_protocol tag_proto;
138 const struct sja1105_dynamic_table_ops *dyn_ops;
139 const struct sja1105_table_ops *static_ops;
140 const struct sja1105_regs *regs;
141 bool can_limit_mcast_flood;
142 int (*reset_cmd)(struct dsa_switch *ds);
143 int (*setup_rgmii_delay)(const void *ctx, int port);
145 int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
147 int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
149 void (*ptp_cmd_packing)(u8 *buf, struct sja1105_ptp_cmd *cmd,
151 bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
152 void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
153 int (*clocking_setup)(struct sja1105_private *priv);
154 int (*pcs_mdio_read_c45)(struct mii_bus *bus, int phy, int mmd,
156 int (*pcs_mdio_write_c45)(struct mii_bus *bus, int phy, int mmd,
158 int (*disable_microcontroller)(struct sja1105_private *priv);
159 const char *name;
160 bool supports_mii[SJA1105_MAX_NUM_PORTS];
161 bool supports_rmii[SJA1105_MAX_NUM_PORTS];
162 bool supports_rgmii[SJA1105_MAX_NUM_PORTS];
163 bool supports_sgmii[SJA1105_MAX_NUM_PORTS];
164 bool supports_2500basex[SJA1105_MAX_NUM_PORTS];
165 enum sja1105_internal_phy_t internal_phy[SJA1105_MAX_NUM_PORTS];
166 const u64 port_speed[SJA1105_SPEED_MAX];