/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k-common.c | 480 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, argument 483 struct qca8k_priv *priv = ds->priv; 493 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, argument 496 struct qca8k_priv *priv = ds->priv; 503 priv->info->ops->autocast_mib(ds, port, data) > 0) 526 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) argument 528 struct qca8k_priv *priv = ds->priv; 536 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, argument 540 struct qca8k_priv *priv = ds->priv; 560 int qca8k_get_mac_eee(struct dsa_switch *ds, in argument 567 qca8k_port_configure_learning(struct dsa_switch *ds, int port, bool learning) argument 582 qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 617 qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 627 qca8k_port_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 643 qca8k_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 679 qca8k_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 707 qca8k_port_fast_age(struct dsa_switch *ds, int port) argument 716 qca8k_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) argument 736 qca8k_port_enable(struct dsa_switch *ds, int port, struct phy_device *phy) argument 750 qca8k_port_disable(struct dsa_switch *ds, int port) argument 758 qca8k_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument 796 qca8k_port_max_mtu(struct dsa_switch *ds, int port) argument 812 qca8k_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 822 qca8k_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 835 qca8k_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 858 qca8k_port_mdb_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 873 qca8k_port_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 887 qca8k_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument 942 qca8k_port_mirror_del(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror) argument 978 qca8k_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument 998 qca8k_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument 1028 qca8k_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 1041 qca8k_lag_can_offload(struct dsa_switch *ds, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 1078 qca8k_lag_setup_hash(struct dsa_switch *ds, struct dsa_lag lag, struct netdev_lag_upper_info *info) argument 1126 qca8k_lag_refresh_portmap(struct dsa_switch *ds, int port, struct dsa_lag lag, bool delete) argument 1195 qca8k_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 1211 qca8k_port_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag) argument [all...] |
H A D | qca8k.h | 378 int (*autocast_mib)(struct dsa_switch *ds, int port, u64 *data); 458 struct dsa_switch *ds; member in struct:qca8k_priv 515 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data); 516 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, 518 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset); 521 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *eee); 522 int qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e); 525 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state); 526 int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port, 529 int qca8k_port_bridge_flags(struct dsa_switch *ds, in [all...] |
H A D | qca8k-8xxx.c | 163 static void qca8k_rw_reg_ack_handler(struct dsa_switch *ds, struct sk_buff *skb) argument 166 struct qca8k_priv *priv = ds->priv; 949 struct dsa_switch *ds = priv->ds; local 950 struct device *dev = ds->dev; 968 ds->dst->index, ds->index); 980 ds->user_mii_bus = bus; 981 bus->phy_mask = ~ds->phys_mii_mask; 1017 if (!dsa_is_user_port(priv->ds, re 1090 qca8k_find_cpu_port(struct dsa_switch *ds) argument 1286 qca8k_phylink_mac_select_pcs(struct dsa_switch *ds, int port, phy_interface_t interface) argument 1314 qca8k_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) argument 1393 qca8k_phylink_get_caps(struct dsa_switch *ds, int port, struct phylink_config *config) argument 1429 qca8k_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument 1438 qca8k_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument 1634 qca8k_mib_autocast_handler(struct dsa_switch *ds, struct sk_buff *skb) argument 1681 qca8k_get_ethtool_stats_eth(struct dsa_switch *ds, int port, u64 *data) argument 1719 qca8k_get_phy_flags(struct dsa_switch *ds, int port) argument 1736 qca8k_get_tag_protocol(struct dsa_switch *ds, int port, enum dsa_tag_protocol mp) argument 1743 qca8k_conduit_change(struct dsa_switch *ds, const struct net_device *conduit, bool operational) argument 1762 qca8k_connect_tag_protocol(struct dsa_switch *ds, enum dsa_tag_protocol proto) argument 1823 qca8k_setup(struct dsa_switch *ds) argument [all...] |
/linux-master/drivers/net/dsa/microchip/ |
H A D | lan937x_main.c | 176 struct dsa_switch *ds = dev->ds; local 201 member = dsa_user_ports(ds); 203 member = BIT(dsa_upstream_port(ds, port)); 208 void lan937x_config_cpu_port(struct dsa_switch *ds) argument 210 struct ksz_device *dev = ds->priv; 213 dsa_switch_for_each_cpu_port(dp, ds) { 222 dsa_switch_for_each_user_port(dp, ds) { 223 ksz_port_stp_state_set(ds, dp->index, BR_STATE_DISABLED); 229 struct dsa_switch *ds local 355 lan937x_setup(struct dsa_switch *ds) argument 392 lan937x_teardown(struct dsa_switch *ds) argument [all...] |
H A D | ksz_common.c | 1732 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, argument 1735 struct ksz_device *dev = ds->priv; 1859 static void ksz_get_stats64(struct dsa_switch *ds, int port, argument 1862 struct ksz_device *dev = ds->priv; 1872 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, argument 1875 struct ksz_device *dev = ds->priv; 1885 static void ksz_get_strings(struct dsa_switch *ds, int port, argument 1888 struct ksz_device *dev = ds->priv; 1926 struct dsa_switch *ds = dev->ds; local 2022 struct dsa_switch *ds = dev->ds; local 2049 struct dsa_switch *ds = dev->ds; local 2059 struct dsa_switch *ds = dev->ds; local 2264 ksz_setup(struct dsa_switch *ds) argument 2373 ksz_teardown(struct dsa_switch *ds) argument 2471 ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) argument 2484 ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) argument 2496 ksz_get_phy_flags(struct dsa_switch *ds, int port) argument 2526 ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument 2539 ksz_sset_count(struct dsa_switch *ds, int port, int sset) argument 2549 ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf) argument 2567 ksz_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 2579 ksz_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 2587 ksz_port_fast_age(struct dsa_switch *ds, int port) argument 2594 ksz_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) argument 2604 ksz_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 2616 ksz_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 2628 ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 2639 ksz_port_mdb_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 2651 ksz_port_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 2663 ksz_port_setup(struct dsa_switch *ds, int port) argument 2680 ksz_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 2726 ksz_port_teardown(struct dsa_switch *ds, int port) argument 2744 ksz_port_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 2754 ksz_port_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 2775 ksz_get_tag_protocol(struct dsa_switch *ds, int port, enum dsa_tag_protocol mp) argument 2806 ksz_connect_tag_protocol(struct dsa_switch *ds, enum dsa_tag_protocol proto) argument 2825 ksz_port_vlan_filtering(struct dsa_switch *ds, int port, bool flag, struct netlink_ext_ack *extack) argument 2836 ksz_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument 2848 ksz_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 2859 ksz_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument 2871 ksz_port_mirror_del(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror) argument 2880 ksz_change_mtu(struct dsa_switch *ds, int port, int mtu) argument 2890 ksz_max_mtu(struct dsa_switch *ds, int port) argument 2920 ksz_validate_eee(struct dsa_switch *ds, int port) argument 2942 ksz_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e) argument 2962 ksz_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e) argument 3068 ksz_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) argument 3212 ksz_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument 3305 ksz_cls_flower_add(struct dsa_switch *ds, int port, struct flow_cls_offload *cls, bool ingress) argument 3325 ksz_cls_flower_del(struct dsa_switch *ds, int port, struct flow_cls_offload *cls, bool ingress) argument 3388 ksz_setup_tc_cbs(struct dsa_switch *ds, int port, struct tc_cbs_qopt_offload *qopt) argument 3613 ksz_tc_setup_qdisc_ets(struct dsa_switch *ds, int port, struct tc_ets_qopt_offload *qopt) argument 3644 ksz_setup_tc(struct dsa_switch *ds, int port, enum tc_setup_type type, void *type_data) argument 3657 ksz_get_wol(struct dsa_switch *ds, int port, struct ethtool_wolinfo *wol) argument 3666 ksz_set_wol(struct dsa_switch *ds, int port, struct ethtool_wolinfo *wol) argument 3677 ksz_port_set_mac_address(struct dsa_switch *ds, int port, const unsigned char *addr) argument 3713 ksz_is_port_mac_global_usable(struct dsa_switch *ds, int port) argument 3744 ksz_switch_macaddr_get(struct dsa_switch *ds, int port, struct netlink_ext_ack *extack) argument 3795 ksz_switch_macaddr_put(struct dsa_switch *ds) argument 3816 ksz_hsr_join(struct dsa_switch *ds, int port, struct net_device *hsr, struct netlink_ext_ack *extack) argument 3858 ksz_hsr_leave(struct dsa_switch *ds, int port, struct net_device *hsr) argument 3932 struct dsa_switch *ds; local [all...] |
H A D | ksz9477.h | 14 int ksz9477_setup(struct dsa_switch *ds); 52 void ksz9477_config_cpu_port(struct dsa_switch *ds); 59 void ksz9477_hsr_join(struct dsa_switch *ds, int port, struct net_device *hsr); 60 void ksz9477_hsr_leave(struct dsa_switch *ds, int port, struct net_device *hsr); 69 int ksz9477_cls_flower_add(struct dsa_switch *ds, int port, 71 int ksz9477_cls_flower_del(struct dsa_switch *ds, int port,
|
/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 18 int hellcreek_get_ts_info(struct dsa_switch *ds, int port, argument 21 struct hellcreek *hellcreek = ds->priv; 112 int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port, argument 115 struct hellcreek *hellcreek = ds->priv; 136 int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port, argument 139 struct hellcreek *hellcreek = ds->priv; 345 struct dsa_switch *ds = hellcreek->ds; local 348 for (i = 0; i < ds->num_ports; i++) { 351 if (!dsa_is_user_port(ds, 365 hellcreek_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) argument 408 hellcreek_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb, unsigned int type) argument 450 struct dsa_switch *ds = hellcreek->ds; local [all...] |
H A D | hellcreek.c | 240 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, argument 247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, argument 250 struct hellcreek *hellcreek = ds->priv; 271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) argument 273 struct hellcreek *hellcreek = ds->priv; 292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, argument 305 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) argument 313 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, argument 316 struct hellcreek *hellcreek = ds->priv; 352 static int hellcreek_vlan_prepare(struct dsa_switch *ds, in argument 459 hellcreek_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument 481 hellcreek_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 493 hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 588 hellcreek_setup_vlan_membership(struct dsa_switch *ds, int port, bool enabled) argument 658 hellcreek_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 668 hellcreek_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 685 hellcreek_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 704 hellcreek_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 839 hellcreek_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 885 hellcreek_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 926 hellcreek_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 973 hellcreek_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument 1173 hellcreek_devlink_info_get(struct dsa_switch *ds, struct devlink_info_req *req, struct netlink_ext_ack *extack) argument 1214 hellcreek_setup_devlink_resources(struct dsa_switch *ds) argument 1268 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local 1295 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local 1339 hellcreek_setup_devlink_regions(struct dsa_switch *ds) argument 1377 hellcreek_teardown_devlink_regions(struct dsa_switch *ds) argument 1385 hellcreek_setup(struct dsa_switch *ds) argument 1462 hellcreek_teardown(struct dsa_switch *ds) argument 1468 hellcreek_phylink_get_caps(struct dsa_switch *ds, int port, struct phylink_config *config) argument 1494 hellcreek_port_prechangeupper(struct dsa_switch *ds, int port, struct netdev_notifier_changeupper_info *info) argument 1742 hellcreek_port_set_schedule(struct dsa_switch *ds, int port, struct tc_taprio_qopt_offload *taprio) argument 1802 hellcreek_port_del_schedule(struct dsa_switch *ds, int port) argument 1876 hellcreek_port_setup_tc(struct dsa_switch *ds, int port, enum tc_setup_type type, void *type_data) argument [all...] |
/linux-master/arch/x86/boot/ |
H A D | copy.S | 50 pushw %ds 52 popw %ds 54 popw %ds
|
H A D | bioscall.S | 42 popw %ds 51 pushw %ds 61 movw %ax, %ds
|
/linux-master/net/dsa/ |
H A D | tag_ocelot_8021q.c | 27 struct ocelot_8021q_tagger_private *priv = dp->ds->tagger_data; 95 static void ocelot_disconnect(struct dsa_switch *ds) argument 97 struct ocelot_8021q_tagger_private *priv = ds->tagger_data; 101 ds->tagger_data = NULL; 104 static int ocelot_connect(struct dsa_switch *ds) argument 120 ds->tagger_data = priv;
|
H A D | tag_sja1105.c | 72 sja1105_tagger_private(struct dsa_switch *ds) argument 74 return ds->tagger_data; 143 struct sja1105_tagger_data *tagger_data = sja1105_tagger_data(dp->ds); 144 struct sja1105_tagger_private *priv = sja1105_tagger_private(dp->ds); 176 struct dsa_switch *ds = dp->ds; local 190 dsa_switch_for_each_port(other_dp, ds) { 334 SJA1110_TX_TRAILER_SWITCHID(dp->ds->index) | 388 struct dsa_switch *ds = dp->ds; local 422 struct dsa_switch *ds = dp->ds; local 578 struct dsa_switch *ds; local 737 sja1105_disconnect(struct dsa_switch *ds) argument 746 sja1105_connect(struct dsa_switch *ds) argument [all...] |
/linux-master/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 95 static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds, argument 187 static void a5psw_port_disable(struct dsa_switch *ds, int port) argument 189 struct a5psw *a5psw = ds->priv; 195 static int a5psw_port_enable(struct dsa_switch *ds, int port, argument 198 struct a5psw *a5psw = ds->priv; 206 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument 208 struct a5psw *a5psw = ds->priv; 216 static int a5psw_port_max_mtu(struct dsa_switch *ds, int port) argument 221 static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port, argument 228 if (dsa_is_cpu_port(ds, por 242 a5psw_phylink_mac_select_pcs(struct dsa_switch *ds, int port, phy_interface_t interface) argument 254 a5psw_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument 266 a5psw_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument 290 a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) argument 347 a5psw_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 369 a5psw_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 383 a5psw_port_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 395 a5psw_port_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 436 a5psw_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 470 a5psw_port_fast_age(struct dsa_switch *ds, int port) argument 496 a5psw_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 547 a5psw_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 606 a5psw_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 642 a5psw_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument 728 a5psw_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument 759 a5psw_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 787 a5psw_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) argument 801 a5psw_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument 811 a5psw_get_sset_count(struct dsa_switch *ds, int port, int sset) argument 819 a5psw_get_eth_mac_stats(struct dsa_switch *ds, int port, struct ethtool_eth_mac_stats *mac_stats) argument 858 a5psw_get_rmon_stats(struct dsa_switch *ds, int port, struct ethtool_rmon_stats *rmon_stats, const struct ethtool_rmon_hist_range **ranges) argument 881 a5psw_get_eth_ctrl_stats(struct dsa_switch *ds, int port, struct ethtool_eth_ctrl_stats *ctrl_stats) argument 914 a5psw_setup(struct dsa_switch *ds) argument 1196 struct dsa_switch *ds; local [all...] |
H A D | lan9303-core.c | 908 static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds, argument 915 static int lan9303_setup(struct dsa_switch *ds) argument 917 struct lan9303 *chip = ds->priv; 922 if (!dsa_is_cpu_port(ds, 0)) { 1007 static void lan9303_get_strings(struct dsa_switch *ds, int port, argument 1021 static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port, argument 1024 struct lan9303 *chip = ds->priv; 1043 static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset) argument 1051 static int lan9303_phy_read(struct dsa_switch *ds, int phy, int regnum) argument 1053 struct lan9303 *chip = ds 1064 lan9303_phy_write(struct dsa_switch *ds, int phy, int regnum, u16 val) argument 1078 lan9303_port_enable(struct dsa_switch *ds, int port, struct phy_device *phy) argument 1092 lan9303_port_disable(struct dsa_switch *ds, int port) argument 1106 lan9303_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 1122 lan9303_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 1134 lan9303_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 1174 lan9303_port_fast_age(struct dsa_switch *ds, int port) argument 1185 lan9303_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 1196 lan9303_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 1208 lan9303_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 1222 lan9303_port_mdb_prepare(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb) argument 1239 lan9303_port_mdb_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 1255 lan9303_port_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 1270 lan9303_phylink_get_caps(struct dsa_switch *ds, int port, struct phylink_config *config) argument 1296 lan9303_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | cl9097.h | 32 __u32 ds[4]; member in struct:fermi_a_zbc_color_v0 42 __u32 ds; member in struct:fermi_a_zbc_depth_v0
|
/linux-master/fs/befs/ |
H A D | datastream.c | 41 * @ds: datastream to find data with 49 befs_read_datastream(struct super_block *sb, const befs_data_stream *ds, argument 61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) { 123 * @ds: Datastream to read from 130 befs_read_lsymlink(struct super_block *sb, const befs_data_stream *ds, argument 140 bh = befs_read_datastream(sb, ds, bytes_read, NULL); 163 * @ds: Datastream of the file 172 befs_count_blocks(struct super_block *sb, const befs_data_stream *ds) argument 181 datablocks = ds->size >> befs_sb->block_shift; 182 if (ds [all...] |
/linux-master/drivers/md/ |
H A D | dm-bio-prison-v1.h | 146 void dm_deferred_set_destroy(struct dm_deferred_set *ds); 148 struct dm_deferred_entry *dm_deferred_entry_inc(struct dm_deferred_set *ds); 150 int dm_deferred_set_add_work(struct dm_deferred_set *ds, struct list_head *work);
|
/linux-master/fs/9p/ |
H A D | fid.c | 152 struct dentry *ds; local 154 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) 161 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) 162 wnames[i] = ds->d_name.name; 173 struct dentry *ds; local [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_mh.c | 126 struct ip_vs_mh_dest_setup *ds; local 139 ds = &s->dest_setup[0]; 143 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr, 146 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr, 149 ds->perm = ds->offset; 152 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); 153 ds++; 165 struct ip_vs_mh_dest_setup *ds; local 188 ds [all...] |
/linux-master/arch/x86/events/intel/ |
H A D | bts.c | 147 struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; local 168 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; 169 ds->bts_index = ds->bts_buffer_base + index; 170 ds->bts_absolute_maximum = ds->bts_buffer_base + end; 171 ds->bts_interrupt_threshold = !buf->snapshot 172 ? ds->bts_buffer_base + thresh 173 : ds 186 struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; local 452 struct debug_store *ds = this_cpu_ptr(&cpu_hw_events)->ds; local [all...] |
/linux-master/drivers/dma/ |
H A D | k3dma.c | 279 struct k3_dma_desc_sw *ds = local 285 list_del(&ds->vd.node); 287 c->phy->ds_run = ds; 290 k3_dma_set_desc(c->phy, &ds->desc_hw[0]); 402 struct k3_dma_desc_sw *ds = p->ds_run; local 407 index = ((clli - ds->desc_hw_lli) / 409 for (; index < ds->desc_num; index++) { 410 bytes += ds->desc_hw[index].count; 412 if (!ds->desc_hw[index].lli) 446 static void k3_dma_fill_desc(struct k3_dma_desc_sw *ds, dma_addr_ argument 464 struct k3_dma_desc_sw *ds; local 493 struct k3_dma_desc_sw *ds; local 535 struct k3_dma_desc_sw *ds; local 593 struct k3_dma_desc_sw *ds; local 711 struct k3_dma_desc_sw *ds = local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gp102.c | 37 nvkm_wr32(device, 0x41815c + zoff, gr->zbc_stencil[zbc].ds); 45 const u32 ds, const u32 l2) 54 if (gr->zbc_stencil[i].ds != ds) 70 gr->zbc_stencil[zbc].ds = ds; 44 gp102_gr_zbc_stencil_get(struct gf100_gr *gr, int format, const u32 ds, const u32 l2) argument
|
/linux-master/drivers/net/dsa/realtek/ |
H A D | realtek.h | 66 struct dsa_switch ds; member in struct:realtek_priv 135 int rtl8366_vlan_add(struct dsa_switch *ds, int port, 138 int rtl8366_vlan_del(struct dsa_switch *ds, int port, 140 void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset, 142 int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset); 143 void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 823 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, argument 826 struct mv88e6xxx_chip *chip = ds->priv; 841 static struct phylink_pcs *mv88e6xxx_mac_select_pcs(struct dsa_switch *ds, argument 845 struct mv88e6xxx_chip *chip = ds->priv; 855 static int mv88e6xxx_mac_prepare(struct dsa_switch *ds, int port, argument 858 struct mv88e6xxx_chip *chip = ds->priv; 877 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, argument 881 struct mv88e6xxx_chip *chip = ds->priv; 897 dev_err(ds->dev, "p%d: failed to configure MAC/PCS\n", port); 900 static int mv88e6xxx_mac_finish(struct dsa_switch *ds, in argument 927 mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument 955 mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument 1177 mv88e6xxx_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) argument 1233 mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) argument 1369 mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument 1382 mv88e6xxx_get_eth_mac_stats(struct dsa_switch *ds, int port, struct ethtool_eth_mac_stats *mac_stats) argument 1420 mv88e6xxx_get_rmon_stats(struct dsa_switch *ds, int port, struct ethtool_rmon_stats *rmon_stats, const struct ethtool_rmon_hist_range **ranges) argument 1461 mv88e6xxx_get_regs_len(struct dsa_switch *ds, int port) argument 1473 mv88e6xxx_get_regs(struct dsa_switch *ds, int port, struct ethtool_regs *regs, void *_p) argument 1501 mv88e6xxx_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e) argument 1508 mv88e6xxx_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e) argument 1518 struct dsa_switch *ds = chip->ds; local 1591 mv88e6xxx_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument 1626 struct dsa_switch *ds = chip->ds; local 1749 struct dsa_switch *ds; local 1817 mv88e6xxx_port_fast_age(struct dsa_switch *ds, int port) argument 2071 mv88e6xxx_port_mst_state_set(struct dsa_switch *ds, int port, const struct switchdev_mst_state *st) argument 2116 mv88e6xxx_port_check_hw_vlan(struct dsa_switch *ds, int port, u16 vid) argument 2182 mv88e6xxx_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument 2211 mv88e6xxx_port_vlan_prepare(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 2421 mv88e6xxx_get_rxnfc(struct dsa_switch *ds, int port, struct ethtool_rxnfc *rxnfc, u32 *rule_locs) argument 2468 mv88e6xxx_set_rxnfc(struct dsa_switch *ds, int port, struct ethtool_rxnfc *rxnfc) argument 2637 mv88e6xxx_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument 2744 mv88e6xxx_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument 2786 mv88e6xxx_port_vlan_fast_age(struct dsa_switch *ds, int port, u16 vid) argument 2806 mv88e6xxx_vlan_msti_set(struct dsa_switch *ds, struct dsa_bridge bridge, const struct switchdev_vlan_msti *msti) argument 2852 mv88e6xxx_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 2867 mv88e6xxx_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 2955 mv88e6xxx_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument 2971 struct dsa_switch *ds = chip->ds; local 3004 mv88e6xxx_map_virtual_bridge_to_pvt(struct dsa_switch *ds, unsigned int bridge_num) argument 3013 mv88e6xxx_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument 3049 mv88e6xxx_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument 3080 mv88e6xxx_crosschip_bridge_join(struct dsa_switch *ds, int tree_index, int sw_index, int port, struct dsa_bridge bridge, struct netlink_ext_ack *extack) argument 3099 mv88e6xxx_crosschip_bridge_leave(struct dsa_switch *ds, int tree_index, int sw_index, int port, struct dsa_bridge bridge) argument 3291 struct dsa_switch *ds = chip->ds; local 3330 struct dsa_switch *ds = chip->ds; local 3552 mv88e6xxx_get_max_mtu(struct dsa_switch *ds, int port) argument 3563 mv88e6xxx_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument 3592 mv88e6xxx_set_ageing_time(struct dsa_switch *ds, unsigned int ageing_time) argument 3877 mv88e6xxx_teardown(struct dsa_switch *ds) argument 3887 mv88e6xxx_setup(struct dsa_switch *ds) argument 4055 mv88e6xxx_port_setup(struct dsa_switch *ds, int port) argument 4070 mv88e6xxx_port_teardown(struct dsa_switch *ds, int port) argument 4081 mv88e6xxx_get_eeprom_len(struct dsa_switch *ds) argument 4088 mv88e6xxx_get_eeprom(struct dsa_switch *ds, struct ethtool_eeprom *eeprom, u8 *data) argument 4109 mv88e6xxx_set_eeprom(struct dsa_switch *ds, struct ethtool_eeprom *eeprom, u8 *data) argument 6448 mv88e6xxx_get_tag_protocol(struct dsa_switch *ds, int port, enum dsa_tag_protocol m) argument 6457 mv88e6xxx_change_tag_protocol(struct dsa_switch *ds, enum dsa_tag_protocol proto) argument 6509 mv88e6xxx_port_mdb_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 6524 mv88e6xxx_port_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument 6538 mv88e6xxx_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument 6578 mv88e6xxx_port_mirror_del(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror) argument 6607 mv88e6xxx_port_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 6629 mv88e6xxx_port_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags flags, struct netlink_ext_ack *extack) argument 6692 mv88e6xxx_lag_can_offload(struct dsa_switch *ds, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6735 mv88e6xxx_lag_sync_map(struct dsa_switch *ds, struct dsa_lag lag) argument 6790 mv88e6xxx_lag_sync_masks(struct dsa_switch *ds) argument 6853 mv88e6xxx_lag_sync_masks_map(struct dsa_switch *ds, struct dsa_lag lag) argument 6866 mv88e6xxx_port_lag_change(struct dsa_switch *ds, int port) argument 6877 mv88e6xxx_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6911 mv88e6xxx_port_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag) argument 6924 mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, int port) argument 6936 mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6960 mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, int port, struct dsa_lag lag) argument 7044 struct dsa_switch *ds; local 7254 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local 7284 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local [all...] |
/linux-master/drivers/tty/ipwireless/ |
H A D | tty.h | 26 #include <pcmcia/ds.h>
|