Home
last modified time | relevance | path

Searched defs:ds (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/openbmc/linux/net/dsa/
H A Dswitch.c23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time()
35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time()
61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu()
82 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join()
113 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave()
162 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_add() local
214 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_del() local
261 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_add() local
311 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_del() local
354 static int dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, in dsa_switch_do_lag_fdb_add()
[all …]
H A Ddevlink.c15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local
27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local
41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local
54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local
69 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local
85 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get() local
103 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set() local
118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot() local
129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear() local
142 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get() local
[all …]
H A Dport.c57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local
70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local
107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local
119 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local
137 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local
171 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local
185 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local
219 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local
251 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local
276 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local
[all …]
H A Ddsa.c291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local
316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local
407 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port()
467 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local
575 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol()
619 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol()
627 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup()
695 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown()
1089 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch()
1135 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local
[all …]
H A Dslave.c68 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering()
75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering()
90 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work() local
279 struct dsa_switch *ds = dp->ds; in dsa_slave_sync_ha() local
300 struct dsa_switch *ds = dp->ds; in dsa_slave_unsync_ha() local
321 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local
331 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local
339 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init()
362 struct dsa_switch *ds = dp->ds; in dsa_slave_open() local
403 struct dsa_switch *ds = dp->ds; in dsa_slave_close() local
[all …]
H A Dtag_8021q.c74 struct dsa_switch *ds; member
146 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local
182 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local
217 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_add()
249 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_del()
288 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_join()
311 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_leave()
336 static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_setup()
366 static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_teardown()
386 static int dsa_tag_8021q_setup(struct dsa_switch *ds) in dsa_tag_8021q_setup()
[all …]
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c45 static int felix_cpu_port_for_master(struct dsa_switch *ds, in felix_cpu_port_for_master()
67 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx()
107 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx()
129 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx()
196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx()
227 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add()
259 static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del()
286 static int felix_trap_get_cpu_port(struct dsa_switch *ds, in felix_trap_get_cpu_port()
305 static int felix_update_trapping_destinations(struct dsa_switch *ds, in felix_update_trapping_destinations()
408 static int felix_tag_npi_setup(struct dsa_switch *ds) in felix_tag_npi_setup()
[all …]
/openbmc/linux/drivers/net/dsa/
H A Ddsa_loop.c50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources()
78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol()
87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup()
101 static void dsa_loop_teardown(struct dsa_switch *ds) in dsa_loop_teardown()
106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count()
114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings()
128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats()
138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read()
153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write()
169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join()
[all …]
H A Dmt7530.c406 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port()
418 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup()
500 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup()
596 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset()
830 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings()
844 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats()
865 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count()
874 mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in mt7530_set_ageing_time()
931 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5()
1216 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable()
[all …]
H A Dbcm_sf2.c116 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports()
131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock()
158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup()
202 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set()
280 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup()
349 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable()
442 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local
454 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local
607 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register()
710 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags()
[all …]
H A Drzn1_a5psw.c95 static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds, in a5psw_get_tag_protocol()
187 static void a5psw_port_disable(struct dsa_switch *ds, int port) in a5psw_port_disable()
195 static int a5psw_port_enable(struct dsa_switch *ds, int port, in a5psw_port_enable()
206 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in a5psw_port_change_mtu()
216 static int a5psw_port_max_mtu(struct dsa_switch *ds, int port) in a5psw_port_max_mtu()
221 static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port, in a5psw_phylink_get_caps()
242 a5psw_phylink_mac_select_pcs(struct dsa_switch *ds, int port, in a5psw_phylink_mac_select_pcs()
254 static void a5psw_phylink_mac_link_down(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_down()
266 static void a5psw_phylink_mac_link_up(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_up()
290 static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in a5psw_set_ageing_time()
[all …]
H A Dmv88e6060.c45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol()
187 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup()
225 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read()
238 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write()
250 static void mv88e6060_phylink_get_caps(struct dsa_switch *ds, int port, in mv88e6060_phylink_get_caps()
306 struct dsa_switch *ds; in mv88e6060_probe() local
339 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_remove() local
349 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_shutdown() local
/openbmc/linux/drivers/acpi/
H A Ddock.c71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device()
132 struct dock_station *ds; in find_dock_station() local
150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device()
164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local
207 static int dock_present(struct dock_station *ds) in dock_present()
224 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices()
251 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices()
281 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event()
314 static void handle_dock(struct dock_station *ds, int dock) in handle_dock()
334 static inline void dock(struct dock_station *ds) in dock()
[all …]
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-common.c480 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, in qca8k_get_strings()
494 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats()
527 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count()
537 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, in qca8k_set_mac_eee()
561 int qca8k_get_mac_eee(struct dsa_switch *ds, int port, in qca8k_get_mac_eee()
568 static int qca8k_port_configure_learning(struct dsa_switch *ds, int port, in qca8k_port_configure_learning()
583 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set()
618 int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_pre_bridge_flags()
628 int qca8k_port_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_bridge_flags()
644 int qca8k_port_bridge_join(struct dsa_switch *ds, int port, in qca8k_port_bridge_join()
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.c502 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup()
566 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port()
610 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port()
625 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup()
735 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged()
742 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan()
870 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16()
885 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16()
955 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device()
968 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings()
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c86 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged()
117 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid()
200 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local
251 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local
414 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local
472 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local
510 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local
644 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local
793 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local
1009 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local
[all …]
H A Dsja1105_devlink.c41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local
77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions()
109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions()
120 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get()
131 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup()
136 void sja1105_devlink_teardown(struct dsa_switch *ds) in sja1105_devlink_teardown()
H A Dsja1105_ptp.c61 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set()
94 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get()
113 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info()
168 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit()
202 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct()
247 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll()
340 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local
375 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1105_rxtstamp()
391 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1110_rxtstamp()
405 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp()
[all …]
/openbmc/linux/drivers/net/dsa/xrs700x/
H A Dxrs700x.c86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings()
100 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count()
161 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats()
174 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64()
228 static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds, in xrs700x_get_tag_protocol()
235 static int xrs700x_reset(struct dsa_switch *ds) in xrs700x_reset()
257 static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port, in xrs700x_port_stp_state_set()
299 static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port) in xrs700x_port_add_bpdu_ipf()
342 static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port, in xrs700x_port_add_hsrsup_ipf()
385 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup()
[all …]
/openbmc/u-boot/drivers/spi/
H A Ddavinci_spi.c139 static inline u32 davinci_spi_xfer_data(struct davinci_spi_slave *ds, u32 data) in davinci_spi_xfer_data()
153 static int davinci_spi_read(struct davinci_spi_slave *ds, unsigned int len, in davinci_spi_read()
183 static int davinci_spi_write(struct davinci_spi_slave *ds, unsigned int len, in davinci_spi_write()
216 static int davinci_spi_read_write(struct davinci_spi_slave *ds, unsigned in davinci_spi_read_write()
245 static int __davinci_spi_claim_bus(struct davinci_spi_slave *ds, int cs) in __davinci_spi_claim_bus()
296 static int __davinci_spi_release_bus(struct davinci_spi_slave *ds) in __davinci_spi_release_bus()
304 static int __davinci_spi_xfer(struct davinci_spi_slave *ds, in __davinci_spi_xfer()
394 struct davinci_spi_slave *ds; in spi_setup_slave() local
429 struct davinci_spi_slave *ds = to_davinci_spi(slave); in spi_free_slave() local
437 struct davinci_spi_slave *ds = to_davinci_spi(slave); in spi_xfer() local
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Ddabtree.c31 struct xchk_da_btree *ds, in xchk_da_process_error()
68 struct xchk_da_btree *ds, in xchk_da_set_corrupt()
83 struct xchk_da_btree *ds, in xchk_da_btree_node_entry()
98 struct xchk_da_btree *ds, in xchk_da_btree_hash()
130 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok()
218 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling()
278 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings()
313 struct xchk_da_btree *ds, in xchk_da_btree_block()
477 struct xchk_da_btree *ds; in xchk_da_btree() local
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1611 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps()
1738 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64()
1751 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats()
1764 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings()
1782 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local
1860 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local
1887 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local
1897 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local
2100 static int ksz_setup(struct dsa_switch *ds) in ksz_setup()
2205 static void ksz_teardown(struct dsa_switch *ds) in ksz_teardown()
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c240 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol()
247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable()
271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable()
292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings()
305 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count()
313 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats()
352 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare()
459 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add()
481 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del()
493 static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, in hellcreek_port_stp_state_set()
[all …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.c31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_get()
53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set()
81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params()
87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params()
176 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources()
270 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_global_snapshot() local
376 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_atu_snapshot() local
450 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_vtu_snapshot() local
533 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_stu_snapshot() local
590 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot() local
[all …]
H A Dchip.c835 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, in mv88e6xxx_get_caps()
853 static struct phylink_pcs *mv88e6xxx_mac_select_pcs(struct dsa_switch *ds, in mv88e6xxx_mac_select_pcs()
867 static int mv88e6xxx_mac_prepare(struct dsa_switch *ds, int port, in mv88e6xxx_mac_prepare()
889 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config()
912 static int mv88e6xxx_mac_finish(struct dsa_switch *ds, int port, in mv88e6xxx_mac_finish()
939 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down()
967 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up()
1171 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings()
1227 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count()
1341 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats()
[all …]

12345678910>>...12