Home
last modified time | relevance | path

Searched refs:sja1105_private (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/net/dsa/sja1105/
Dsja1105.h97 struct sja1105_private *priv;
153 int (*clocking_setup)(struct sja1105_private *priv);
158 int (*disable_microcontroller)(struct sja1105_private *priv);
248 struct sja1105_private { struct
303 int sja1105_static_config_reload(struct sja1105_private *priv, argument
307 void sja1105_frame_memory_partitioning(struct sja1105_private *priv);
327 int sja1105_xfer_buf(const struct sja1105_private *priv,
330 int sja1105_xfer_u32(const struct sja1105_private *priv,
333 int sja1105_xfer_u64(const struct sja1105_private *priv,
336 int static_config_buf_prepare_for_upload(struct sja1105_private *priv,
[all …]
Dsja1105_vl.h11 int sja1105_vl_redirect(struct sja1105_private *priv, int port,
16 int sja1105_vl_delete(struct sja1105_private *priv, int port,
20 int sja1105_vl_gate(struct sja1105_private *priv, int port,
26 int sja1105_vl_stats(struct sja1105_private *priv, int port,
32 static inline int sja1105_vl_redirect(struct sja1105_private *priv, int port, in sja1105_vl_redirect()
43 static inline int sja1105_vl_delete(struct sja1105_private *priv, in sja1105_vl_delete()
51 static inline int sja1105_vl_gate(struct sja1105_private *priv, int port, in sja1105_vl_gate()
63 static inline int sja1105_vl_stats(struct sja1105_private *priv, int port, in sja1105_vl_stats()
Dsja1105_ptp.c59 container_of((d), struct sja1105_private, ptp_data)
63 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_set()
96 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_get()
116 struct sja1105_private *priv = ds->priv; in sja1105_get_ts_info()
171 const struct sja1105_private *priv = ds->priv; in sja1105_ptp_commit()
205 struct sja1105_private *priv = ds->priv; in sja1105_tstamp_reconstruct()
249 struct sja1105_private *priv = ds->priv; in sja1105_ptpegr_ts_poll()
293 static int sja1105_ptpclkval_read(struct sja1105_private *priv, u64 *ticks, in sja1105_ptpclkval_read()
303 static int sja1105_ptpclkval_write(struct sja1105_private *priv, u64 ticks, in sja1105_ptpclkval_write()
312 static void sja1105_extts_poll(struct sja1105_private *priv) in sja1105_extts_poll()
[all …]
Dsja1105_mdio.c13 struct sja1105_private *priv = mdio_priv->priv; in sja1105_pcs_mdio_read_c45()
39 struct sja1105_private *priv = mdio_priv->priv; in sja1105_pcs_mdio_write_c45()
55 struct sja1105_private *priv = mdio_priv->priv; in sja1110_pcs_mdio_read_c45()
101 struct sja1105_private *priv = mdio_priv->priv; in sja1110_pcs_mdio_write_c45()
143 static u64 sja1105_base_t1_encode_addr(struct sja1105_private *priv, in sja1105_base_t1_encode_addr()
155 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_read_c22()
173 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_read_c45()
197 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_write_c22()
212 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_write_c45()
233 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_tx_mdio_read()
[all …]
Dsja1105_main.c72 static int sja1105_is_vlan_configured(struct sja1105_private *priv, u16 vid) in sja1105_is_vlan_configured()
90 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged()
104 static int sja1105_pvid_apply(struct sja1105_private *priv, int port, u16 pvid) in sja1105_pvid_apply()
123 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid()
160 static int sja1105_init_mac_settings(struct sja1105_private *priv) in sja1105_init_mac_settings()
249 static int sja1105_init_mii_settings(struct sja1105_private *priv) in sja1105_init_mii_settings()
344 static int sja1105_init_static_fdb(struct sja1105_private *priv) in sja1105_init_static_fdb()
386 static int sja1105_init_l2_lookup_params(struct sja1105_private *priv) in sja1105_init_l2_lookup_params()
462 static int sja1105_init_static_vlan(struct sja1105_private *priv) in sja1105_init_static_vlan()
509 static int sja1105_init_l2_forwarding(struct sja1105_private *priv) in sja1105_init_l2_forwarding()
[all …]
Dsja1105_devlink.c14 static size_t sja1105_static_config_get_max_size(struct sja1105_private *priv) in sja1105_static_config_get_max_size()
42 struct sja1105_private *priv = ds->priv; in sja1105_region_static_config_snapshot()
67 size_t (*get_size)(struct sja1105_private *priv);
80 struct sja1105_private *priv = ds->priv; in sja1105_setup_devlink_regions()
112 struct sja1105_private *priv = ds->priv; in sja1105_teardown_devlink_regions()
124 struct sja1105_private *priv = ds->priv; in sja1105_devlink_info_get()
Dsja1105_tas.h11 struct sja1105_private;
64 bool sja1105_gating_check_conflicts(struct sja1105_private *priv, int port,
67 int sja1105_init_scheduling(struct sja1105_private *priv);
97 static inline int sja1105_init_scheduling(struct sja1105_private *priv) in sja1105_init_scheduling()
Dsja1105_clocking.c113 static int sja1105_cgu_idiv_config(struct sja1105_private *priv, int port, in sja1105_cgu_idiv_config()
151 static int sja1105_cgu_mii_tx_clk_config(struct sja1105_private *priv, in sja1105_cgu_mii_tx_clk_config()
192 sja1105_cgu_mii_rx_clk_config(struct sja1105_private *priv, int port) in sja1105_cgu_mii_rx_clk_config()
219 sja1105_cgu_mii_ext_tx_clk_config(struct sja1105_private *priv, int port) in sja1105_cgu_mii_ext_tx_clk_config()
246 sja1105_cgu_mii_ext_rx_clk_config(struct sja1105_private *priv, int port) in sja1105_cgu_mii_ext_rx_clk_config()
272 static int sja1105_mii_clocking_setup(struct sja1105_private *priv, int port, in sja1105_mii_clocking_setup()
338 static int sja1105_cgu_rgmii_tx_clk_config(struct sja1105_private *priv, in sja1105_cgu_rgmii_tx_clk_config()
395 static int sja1105_rgmii_cfg_pad_tx_config(struct sja1105_private *priv, in sja1105_rgmii_cfg_pad_tx_config()
425 static int sja1105_cfg_pad_rx_config(struct sja1105_private *priv, int port) in sja1105_cfg_pad_rx_config()
515 const struct sja1105_private *priv = ctx; in sja1105pqrs_setup_rgmii_delay()
[all …]
Dsja1105_tas.c15 container_of((d), struct sja1105_private, tas_data)
17 static int sja1105_tas_set_runtime_params(struct sja1105_private *priv) in sja1105_tas_set_runtime_params()
158 int sja1105_init_scheduling(struct sja1105_private *priv) in sja1105_init_scheduling()
383 sja1105_tas_check_conflicts(struct sja1105_private *priv, int port, in sja1105_tas_check_conflicts()
466 bool sja1105_gating_check_conflicts(struct sja1105_private *priv, int port, in sja1105_gating_check_conflicts()
512 struct sja1105_private *priv = ds->priv; in sja1105_setup_tc_taprio()
584 static int sja1105_tas_check_running(struct sja1105_private *priv) in sja1105_tas_check_running()
609 static int sja1105_tas_adjust_drift(struct sja1105_private *priv, in sja1105_tas_adjust_drift()
620 static int sja1105_tas_set_base_time(struct sja1105_private *priv, in sja1105_tas_set_base_time()
630 static int sja1105_tas_start(struct sja1105_private *priv) in sja1105_tas_start()
[all …]
Dsja1105_flower.c7 struct sja1105_rule *sja1105_rule_find(struct sja1105_private *priv, in sja1105_rule_find()
19 static int sja1105_find_free_l2_policer(struct sja1105_private *priv) in sja1105_find_free_l2_policer()
30 static int sja1105_setup_bcast_policer(struct sja1105_private *priv, in sja1105_setup_bcast_policer()
102 static int sja1105_setup_tc_policer(struct sja1105_private *priv, in sja1105_setup_tc_policer()
174 static int sja1105_flower_policer(struct sja1105_private *priv, int port, in sja1105_flower_policer()
195 static int sja1105_flower_parse_key(struct sja1105_private *priv, in sja1105_flower_parse_key()
351 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_add()
465 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_del()
505 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_stats()
525 struct sja1105_private *priv = ds->priv; in sja1105_flower_setup()
[all …]
Dsja1105_spi.c34 static int sja1105_xfer(const struct sja1105_private *priv, in sja1105_xfer()
115 int sja1105_xfer_buf(const struct sja1105_private *priv, in sja1105_xfer_buf()
131 int sja1105_xfer_u64(const struct sja1105_private *priv, in sja1105_xfer_u64()
150 int sja1105_xfer_u32(const struct sja1105_private *priv, in sja1105_xfer_u32()
178 struct sja1105_private *priv = ds->priv; in sja1105et_reset_cmd()
188 struct sja1105_private *priv = ds->priv; in sja1105pqrs_reset_cmd()
198 struct sja1105_private *priv = ds->priv; in sja1110_reset_cmd()
210 int sja1105_inhibit_tx(const struct sja1105_private *priv, in sja1105_inhibit_tx()
259 static int sja1105_status_get(struct sja1105_private *priv, in sja1105_status_get()
279 int static_config_buf_prepare_for_upload(struct sja1105_private *priv, in static_config_buf_prepare_for_upload()
[all …]
Dsja1105_vl.c91 static int sja1105_compose_gating_subschedule(struct sja1105_private *priv, in sja1105_compose_gating_subschedule()
312 static int sja1105_init_virtual_links(struct sja1105_private *priv, in sja1105_init_virtual_links()
506 int sja1105_vl_redirect(struct sja1105_private *priv, int port, in sja1105_vl_redirect()
555 int sja1105_vl_delete(struct sja1105_private *priv, int port, in sja1105_vl_delete()
581 int sja1105_vl_gate(struct sja1105_private *priv, int port, in sja1105_vl_gate()
731 static int sja1105_find_vlid(struct sja1105_private *priv, int port, in sja1105_find_vlid()
762 int sja1105_vl_stats(struct sja1105_private *priv, int port, in sja1105_vl_stats()
Dsja1105_ethtool.c541 static int sja1105_port_counter_read(struct sja1105_private *priv, int port, in sja1105_port_counter_read()
563 struct sja1105_private *priv = ds->priv; in sja1105_get_ethtool_stats()
587 struct sja1105_private *priv = ds->priv; in sja1105_get_strings()
608 struct sja1105_private *priv = ds->priv; in sja1105_get_sset_count()
Dsja1105_dynamic_config.c1177 sja1105_dynamic_config_poll_valid(struct sja1105_private *priv, in sja1105_dynamic_config_poll_valid()
1221 sja1105_dynamic_config_wait_complete(struct sja1105_private *priv, in sja1105_dynamic_config_wait_complete()
1255 int sja1105_dynamic_config_read(struct sja1105_private *priv, in sja1105_dynamic_config_read()
1313 int sja1105_dynamic_config_write(struct sja1105_private *priv, in sja1105_dynamic_config_write()
1394 u8 sja1105et_fdb_hash(struct sja1105_private *priv, const u8 *addr, u16 vid) in sja1105et_fdb_hash()