Lines Matching defs:sja1105_info
94 struct sja1105_info { struct
95 u64 device_id;
100 u64 part_no;
105 int ptp_ts_bits;
109 int ptpegr_ts_bytes;
110 int num_cbs_shapers;
111 int max_frame_mem;
112 int num_ports;
113 bool multiple_cascade_ports;
114 enum dsa_tag_protocol tag_proto;
115 const struct sja1105_dynamic_table_ops *dyn_ops;
116 const struct sja1105_table_ops *static_ops;
117 const struct sja1105_regs *regs;
118 bool can_limit_mcast_flood;
119 int (*reset_cmd)(struct dsa_switch *ds);
120 int (*setup_rgmii_delay)(const void *ctx, int port);
122 int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
124 int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
126 void (*ptp_cmd_packing)(u8 *buf, struct sja1105_ptp_cmd *cmd,
128 bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
129 void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
130 int (*clocking_setup)(struct sja1105_private *priv);
131 int (*pcs_mdio_read)(struct mii_bus *bus, int phy, int reg);
132 int (*pcs_mdio_write)(struct mii_bus *bus, int phy, int reg, u16 val);
133 int (*disable_microcontroller)(struct sja1105_private *priv);
134 const char *name;
135 bool supports_mii[SJA1105_MAX_NUM_PORTS];
136 bool supports_rmii[SJA1105_MAX_NUM_PORTS];
137 bool supports_rgmii[SJA1105_MAX_NUM_PORTS];
138 bool supports_sgmii[SJA1105_MAX_NUM_PORTS];
139 bool supports_2500basex[SJA1105_MAX_NUM_PORTS];
140 enum sja1105_internal_phy_t internal_phy[SJA1105_MAX_NUM_PORTS];
141 const u64 port_speed[SJA1105_SPEED_MAX];