/drivers/vme/bridges/ |
D | vme_fake.c | 64 struct fake_slave_window slaves[FAKE_MAX_SLAVE]; member 208 bridge->slaves[i].enabled = enabled; in fake_slave_set() 209 bridge->slaves[i].vme_base = vme_base; in fake_slave_set() 210 bridge->slaves[i].size = size; in fake_slave_set() 211 bridge->slaves[i].buf_base = fake_pci_to_ptr(buf_base); in fake_slave_set() 212 bridge->slaves[i].aspace = aspace; in fake_slave_set() 213 bridge->slaves[i].cycle = cycle; in fake_slave_set() 236 *enabled = bridge->slaves[i].enabled; in fake_slave_get() 237 *vme_base = bridge->slaves[i].vme_base; in fake_slave_get() 238 *size = bridge->slaves[i].size; in fake_slave_get() [all …]
|
/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 326 if (cpsw->slaves[slave_no].phy) in cpsw_get_wol() 327 phy_ethtool_get_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_get_wol() 336 if (cpsw->slaves[slave_no].phy) in cpsw_set_wol() 337 return phy_ethtool_set_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_set_wol() 405 if (!cpsw->slaves[slave_no].phy) in cpsw_get_link_ksettings() 408 phy_ethtool_ksettings_get(cpsw->slaves[slave_no].phy, ecmd); in cpsw_get_link_ksettings() 419 if (!cpsw->slaves[slave_no].phy) in cpsw_set_link_ksettings() 422 return phy_ethtool_ksettings_set(cpsw->slaves[slave_no].phy, ecmd); in cpsw_set_link_ksettings() 431 if (cpsw->slaves[slave_no].phy) in cpsw_get_eee() 432 return phy_ethtool_get_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_get_eee() [all …]
|
D | cpsw_new.c | 91 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious() 92 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious() 93 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious() 132 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc() 307 ndev = cpsw->slaves[--port].ndev; in cpsw_rx_handler() 462 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_vlan_rx_add_vid() 463 if (cpsw->slaves[i].ndev && in cpsw_ndo_vlan_rx_add_vid() 464 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid() 497 cpsw_mqprio_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore() 500 cpsw_cbs_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore() [all …]
|
D | cpsw.c | 72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\ 74 for (n = cpsw->data.slaves, \ 75 slave = cpsw->slaves; \ 107 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious() 108 if (cpsw->slaves[i].ndev->flags & IFF_PROMISC) in cpsw_set_promiscious() 131 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious() 159 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious() 187 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc() 363 ndev = cpsw->slaves[--port].ndev; in cpsw_rx_handler() 664 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_add_default_vlan() [all …]
|
D | cpsw_priv.c | 312 for (i = 0, speed = 0; i < cpsw->data.slaves; i++) in cpsw_get_common_speed() 313 if (cpsw->slaves[i].phy && cpsw->slaves[i].phy->link) in cpsw_get_common_speed() 314 speed += cpsw->slaves[i].phy->speed; in cpsw_get_common_speed() 485 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_init_common() 486 struct cpsw_slave *slave = &cpsw->slaves[i]; in cpsw_init_common() 555 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v1() 582 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v2() 724 if (!cpsw->slaves[slave_no].phy) in cpsw_ndo_ioctl() 726 return phy_mii_ioctl(cpsw->slaves[slave_no].phy, req, cmd); in cpsw_ndo_ioctl() 768 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_set_tx_maxrate() [all …]
|
D | cpsw_priv.h | 295 u32 slaves; /* number of slave cpgmac ports */ member 343 struct cpsw_slave *slaves; member
|
D | cpsw_switchdev.c | 130 pvid = slave_read(cpsw->slaves + (priv->emac_port - 1), reg); in cpsw_get_pvid() 157 slave_write(cpsw->slaves + (priv->emac_port - 1), pvid, reg); in cpsw_set_pvid()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bond.c | 32 int slaves; member 128 mdata->slaves++; in mlx5e_rep_bond_enslave() 138 if (!mdata->slaves) in mlx5e_rep_bond_enslave() 179 if (--mdata->slaves == 0) in mlx5e_rep_bond_unslave()
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | lag_conf.c | 281 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local 321 slaves = 0; in nfp_fl_lag_do_work() 328 slaves = 0; in nfp_fl_lag_do_work() 332 slaves++; in nfp_fl_lag_do_work() 333 if (slaves > entry->slave_cnt) in nfp_fl_lag_do_work() 351 if (slaves != entry->slave_cnt || !entry->dirty) { in nfp_fl_lag_do_work()
|
/drivers/net/bonding/ |
D | bond_alb.c | 1361 struct bond_up_slave *slaves; in bond_xmit_tlb_slave_get() local 1364 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_tlb_slave_get() 1365 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_tlb_slave_get() 1367 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get() 1475 struct bond_up_slave *slaves; in bond_xmit_alb_slave_get() local 1478 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_alb_slave_get() 1479 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_alb_slave_get() 1481 tx_slave = slaves->arr[bond_xmit_hash(bond, skb) % in bond_xmit_alb_slave_get()
|
D | bond_main.c | 4715 static void bond_skip_slave(struct bond_up_slave *slaves, in bond_skip_slave() argument 4728 for (idx = 0; slaves && idx < slaves->count; idx++) { in bond_skip_slave() 4729 if (skipslave == slaves->arr[idx]) { in bond_skip_slave() 4730 slaves->arr[idx] = in bond_skip_slave() 4731 slaves->arr[slaves->count - 1]; in bond_skip_slave() 4732 slaves->count--; in bond_skip_slave() 4850 struct bond_up_slave *slaves) in bond_xmit_3ad_xor_slave_get() argument 4857 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_3ad_xor_slave_get() 4861 slave = slaves->arr[hash % count]; in bond_xmit_3ad_xor_slave_get() 4868 struct bond_up_slave *slaves; in bond_xdp_xmit_3ad_xor_slave_get() local [all …]
|
D | bond_sysfs.c | 194 static DEVICE_ATTR(slaves, 0644, bonding_show_slaves,
|
/drivers/w1/ |
D | Makefile | 9 obj-y += masters/ slaves/
|
D | Kconfig | 30 source "drivers/w1/slaves/Kconfig"
|
/drivers/parport/ |
D | share.c | 543 struct parport *slave = port->slaves[i-1]; in parport_announce_port() 552 struct parport *slave = port->slaves[i-1]; in parport_announce_port() 592 struct parport *slave = port->slaves[i-1]; in parport_remove_port() 604 struct parport *slave = port->slaves[i-1]; in parport_remove_port() 615 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
|
D | daisy.c | 79 real->slaves[muxport-1] = extra; in clone_parport()
|
/drivers/soundwire/ |
D | bus.c | 73 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add() 620 list_for_each_entry(slave, &bus->slaves, node) { in sdw_get_slave() 766 list_for_each_entry_safe(slave, _s, &bus->slaves, node) { in sdw_program_device_num() 955 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop() 1010 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop() 1081 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop() 1123 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop()
|
D | intel_init.c | 261 list_for_each(node, &bus->slaves) in sdw_intel_probe_controller() 273 list_for_each_entry(slave, &bus->slaves, node) { in sdw_intel_probe_controller()
|
D | slave.c | 70 list_add_tail(&slave->node, &bus->slaves); in sdw_slave_add()
|
/drivers/thermal/intel/int340x_thermal/ |
D | Kconfig | 19 as the master, and INT3401~INT340B ACPI device objects as the slaves.
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 1119 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_slave_num_gids() 1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 1156 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_base_gid_ix() 1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 1871 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid() 1915 slaves_pport_actv.slaves, in mlx4_get_slave_from_roce_gid() 1945 slaves_pport_actv.slaves, in mlx4_get_slave_from_roce_gid()
|
D | eq.c | 353 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state() 618 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int() 662 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int()
|
D | cmd.c | 2838 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport() 2847 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport() 2861 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport_actv() 2868 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport_actv()
|
/drivers/w1/slaves/ |
D | Kconfig | 3 # 1-wire slaves configuration
|
/drivers/tty/ |
D | Kconfig | 111 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme 134 for masters and /dev/ttyxx for slaves of pseudo
|