/linux/drivers/net/dsa/sja1105/ |
A D | sja1105.h | 97 struct sja1105_private *priv; 151 int (*clocking_setup)(struct sja1105_private *priv); 154 int (*disable_microcontroller)(struct sja1105_private *priv); 244 struct sja1105_private { struct 295 int sja1105_static_config_reload(struct sja1105_private *priv, argument 317 int sja1105_xfer_buf(const struct sja1105_private *priv, 320 int sja1105_xfer_u32(const struct sja1105_private *priv, 323 int sja1105_xfer_u64(const struct sja1105_private *priv, 329 int sja1105_inhibit_tx(const struct sja1105_private *priv, 360 int sja1105_clocking_setup(struct sja1105_private *priv); [all …]
|
A D | sja1105_vl.h | 11 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()
|
A D | sja1105_ptp.c | 91 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_set() 139 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_get() 159 struct sja1105_private *priv = ds->priv; in sja1105_get_ts_info() 248 struct sja1105_private *priv = ds->priv; in sja1105_tstamp_reconstruct() 292 struct sja1105_private *priv = ds->priv; in sja1105_ptpegr_ts_poll() 420 struct sja1105_private *priv = ds->priv; in sja1105_rxtstamp() 451 struct sja1105_private *priv = ds->priv; in sja1105_port_rxtstamp() 463 struct sja1105_private *priv = ds->priv; in sja1110_txtstamp() 488 struct sja1105_private *priv = ds->priv; in sja1105_port_txtstamp() 507 struct sja1105_private *priv = ds->priv; in sja1105_ptp_reset() [all …]
|
A D | sja1105_main.c | 89 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged() 121 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid() 1378 struct sja1105_private *priv = ds->priv; in sja1105_mac_config() 1407 struct sja1105_private *priv = ds->priv; in sja1105_mac_link_up() 1423 struct sja1105_private *priv = ds->priv; in sja1105_phylink_validate() 1576 struct sja1105_private *priv = ds->priv; in sja1105et_fdb_add() 1661 struct sja1105_private *priv = ds->priv; in sja1105et_fdb_del() 1696 struct sja1105_private *priv = ds->priv; in sja1105pqrs_fdb_add() 1787 struct sja1105_private *priv = ds->priv; in sja1105pqrs_fdb_del() 1823 struct sja1105_private *priv = ds->priv; in sja1105_fdb_add() [all …]
|
A D | sja1105_mdio.c | 13 struct sja1105_private *priv = mdio_priv->priv; in sja1105_pcs_mdio_read() 43 struct sja1105_private *priv = mdio_priv->priv; in sja1105_pcs_mdio_write() 64 struct sja1105_private *priv = mdio_priv->priv; in sja1110_pcs_mdio_read() 114 struct sja1105_private *priv = mdio_priv->priv; in sja1110_pcs_mdio_write() 161 static u64 sja1105_base_t1_encode_addr(struct sja1105_private *priv, in sja1105_base_t1_encode_addr() 173 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_read() 214 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_t1_mdio_write() 254 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_tx_mdio_read() 271 struct sja1105_private *priv = mdio_priv->priv; in sja1105_base_tx_mdio_write() 491 struct sja1105_private *priv = ds->priv; in sja1105_mdiobus_register() [all …]
|
A D | sja1105_devlink.c | 14 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() 110 struct sja1105_private *priv = ds->priv; in sja1105_teardown_devlink_regions() 122 struct sja1105_private *priv = ds->priv; in sja1105_devlink_info_get()
|
A D | sja1105_clocking.c | 113 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() 338 static int sja1105_cgu_rgmii_tx_clk_config(struct sja1105_private *priv, in sja1105_cgu_rgmii_tx_clk_config() 510 const struct sja1105_private *priv = ctx; in sja1105pqrs_setup_rgmii_delay() 552 const struct sja1105_private *priv = ctx; in sja1110_setup_rgmii_delay() 682 static int sja1105_cgu_rmii_pll_config(struct sja1105_private *priv) in sja1105_cgu_rmii_pll_config() 805 int sja1105_clocking_setup(struct sja1105_private *priv) in sja1105_clocking_setup() [all …]
|
A D | sja1105_tas.c | 15 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() 512 struct sja1105_private *priv = ds->priv; in sja1105_setup_tc_taprio() 627 static int sja1105_tas_start(struct sja1105_private *priv) in sja1105_tas_start() 654 static int sja1105_tas_stop(struct sja1105_private *priv) in sja1105_tas_stop() 724 struct sja1105_private *priv = tas_to_sja1105(tas_data); in sja1105_tas_state_machine() 844 struct sja1105_private *priv = ds->priv; in sja1105_tas_clockstep() 856 struct sja1105_private *priv = ds->priv; in sja1105_tas_adjfreq() 872 struct sja1105_private *priv = ds->priv; in sja1105_tas_setup() [all …]
|
A D | sja1105_tas.h | 11 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()
|
A D | sja1105_flower.c | 7 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() 308 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_add() 425 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_del() 465 struct sja1105_private *priv = ds->priv; in sja1105_cls_flower_stats() 485 struct sja1105_private *priv = ds->priv; in sja1105_flower_setup() [all …]
|
A D | sja1105_spi.c | 34 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 …]
|
A D | sja1105_vl.c | 91 static int sja1105_compose_gating_subschedule(struct sja1105_private *priv, in sja1105_compose_gating_subschedule() 299 static int sja1105_init_virtual_links(struct sja1105_private *priv, in sja1105_init_virtual_links() 492 int sja1105_vl_redirect(struct sja1105_private *priv, int port, in sja1105_vl_redirect() 541 int sja1105_vl_delete(struct sja1105_private *priv, int port, in sja1105_vl_delete() 567 int sja1105_vl_gate(struct sja1105_private *priv, int port, in sja1105_vl_gate() 717 static int sja1105_find_vlid(struct sja1105_private *priv, int port, in sja1105_find_vlid() 748 int sja1105_vl_stats(struct sja1105_private *priv, int port, in sja1105_vl_stats()
|
A D | sja1105_ethtool.c | 541 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()
|
A D | sja1105_dynamic_config.c | 1177 sja1105_dynamic_config_poll_valid(struct sja1105_private *priv, in sja1105_dynamic_config_poll_valid() 1210 sja1105_dynamic_config_wait_complete(struct sja1105_private *priv, in sja1105_dynamic_config_wait_complete() 1241 int sja1105_dynamic_config_read(struct sja1105_private *priv, in sja1105_dynamic_config_read() 1310 int sja1105_dynamic_config_write(struct sja1105_private *priv, in sja1105_dynamic_config_write() 1399 u8 sja1105et_fdb_hash(struct sja1105_private *priv, const u8 *addr, u16 vid) in sja1105et_fdb_hash()
|