Home
last modified time | relevance | path

Searched refs:slaves (Results 1 – 25 of 68) sorted by relevance

123

/linux/drivers/staging/vme_user/
H A Dvme_fake.c64 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 …]
/linux/net/sched/
H A Dsch_teql.c55 struct Qdisc *slaves; member
104 dat->m->slaves = sch; in teql_dequeue()
139 prev = master->slaves; in teql_destroy()
145 if (q == master->slaves) { in teql_destroy()
146 master->slaves = NEXT_SLAVE(q); in teql_destroy()
147 if (q == master->slaves) { in teql_destroy()
152 master->slaves = NULL; in teql_destroy()
164 } while ((prev = q) != master->slaves); in teql_destroy()
185 if (m->slaves) { in teql_qdisc_init()
205 q->next = NEXT_SLAVE(m->slaves); in teql_qdisc_init()
[all …]
/linux/drivers/net/ethernet/ti/
H A Dcpsw_ethtool.c326 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 …]
H A Dcpsw_new.c92 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious()
93 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious()
94 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious()
133 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
308 ndev = cpsw->slaves[--port].ndev; in cpsw_rx_handler()
461 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_vlan_rx_add_vid()
462 if (cpsw->slaves[i].ndev && in cpsw_ndo_vlan_rx_add_vid()
463 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid()
496 cpsw_mqprio_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore()
499 cpsw_cbs_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore()
[all …]
H A Dcpsw_priv.c313 for (i = 0, speed = 0; i < cpsw->data.slaves; i++) in cpsw_get_common_speed()
314 if (cpsw->slaves[i].phy && cpsw->slaves[i].phy->link) in cpsw_get_common_speed()
315 speed += cpsw->slaves[i].phy->speed; in cpsw_get_common_speed()
486 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_init_common()
487 struct cpsw_slave *slave = &cpsw->slaves[i]; in cpsw_init_common()
557 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v1()
584 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v2()
716 phy = cpsw->slaves[slave_no].phy; in cpsw_ndo_ioctl()
770 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_set_tx_maxrate()
771 slave = &cpsw->slaves[i]; in cpsw_ndo_set_tx_maxrate()
[all …]
/linux/Documentation/networking/
H A Dipvlan.rst13 exception of using L3 for mux-ing /demux-ing among slaves. This property makes
62 you can select one of these two modes and all slaves on that master will
64 that in L3 mode the slaves won't receive any multicast / broadcast traffic.
73 out. In this mode the slaves will RX/TX multicast and broadcast (if applicable)
82 used before packets are queued on the outbound device. In this mode the slaves
102 anything. This is the traditional mode where slaves can cross-talk among
108 mode. i.e. port won't allow cross communication between slaves.
161 (b) Create two ipvlan slaves on eth0 (master device)::
166 (c) Assign slaves to the respective network namespaces::
/linux/Documentation/devicetree/bindings/fsi/
H A Dfsi.txt4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and
5 engines within those slaves. However, we have a facility to match devicetree
16 represent the FSI slaves and their slave engines. As a basic outline:
66 FSI slaves
94 Engines are identified by their address under the slaves' address spaces. We
115 The FSI master may be connected to additional slaves, and slaves may have
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-w1_ds24385 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
12 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
H A Dsysfs-driver-w1_ds28e045 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information
14 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information
H A Dsysfs-driver-w1_ds28ea005 see Documentation/w1/slaves/w1_therm.rst for detailed information
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c32 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()
/linux/Documentation/devicetree/bindings/net/
H A Dcpsw.txt19 - slaves : Specifies number for slaves
81 slaves = <2>;
112 slaves = <2>;
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c311 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local
355 slaves = 0; in nfp_fl_lag_do_work()
362 slaves = 0; in nfp_fl_lag_do_work()
366 slaves++; in nfp_fl_lag_do_work()
367 if (slaves > entry->slave_cnt) in nfp_fl_lag_do_work()
385 if (slaves != entry->slave_cnt || !entry->dirty) { in nfp_fl_lag_do_work()
/linux/Documentation/w1/
H A Dw1-generic.rst12 communication with slaves.
95 w1_master_max_slave_count (rw) maximum number of slaves to search for at a time
101 w1_master_slave_count (ro) the number of slaves found
102 w1_master_slaves (ro) the names of the slaves, one per line
H A Dindex.rst14 slaves/index
/linux/net/ax25/
H A DKconfig58 from clients (called "slaves") and redistributes it to other slaves.
73 from clients (called "slaves") and redistributes it to other slaves.
/linux/drivers/w1/
H A DMakefile9 obj-y += masters/ slaves/
H A DKconfig30 source "drivers/w1/slaves/Kconfig"
/linux/drivers/net/bonding/
H A Dbond_alb.c1395 struct bond_up_slave *slaves; in bond_xmit_tlb_slave_get() local
1398 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_tlb_slave_get()
1399 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_tlb_slave_get()
1401 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get()
1511 struct bond_up_slave *slaves; in bond_xmit_alb_slave_get() local
1514 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_alb_slave_get()
1515 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_alb_slave_get()
1517 tx_slave = slaves->arr[bond_xmit_hash(bond, skb) % in bond_xmit_alb_slave_get()
H A Dbond_main.c5155 static void bond_skip_slave(struct bond_up_slave *slaves, in bond_skip_slave() argument
5168 for (idx = 0; slaves && idx < slaves->count; idx++) { in bond_skip_slave()
5169 if (skipslave == slaves->arr[idx]) { in bond_skip_slave()
5170 slaves->arr[idx] = in bond_skip_slave()
5171 slaves->arr[slaves->count - 1]; in bond_skip_slave()
5172 slaves->count--; in bond_skip_slave()
5278 struct bond_up_slave *slaves) in bond_xmit_3ad_xor_slave_get() argument
5285 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_3ad_xor_slave_get()
5289 slave = slaves->arr[hash % count]; in bond_xmit_3ad_xor_slave_get()
5296 struct bond_up_slave *slaves; in bond_xdp_xmit_3ad_xor_slave_get() local
[all …]
/linux/Documentation/w1/masters/
H A Domap-hdq.rst40 driver(drivers/w1/slaves/w1_bq27000.c) sets the ID to 1.
50 pass slave ID as parameter. The driver will auto-detect slaves connected
/linux/drivers/soundwire/
H A Damd_init.c204 list_for_each(node, &bus->slaves) in sdw_amd_get_slave_info()
219 list_for_each_entry(slave, &bus->slaves, node) { in sdw_amd_get_slave_info()
H A Dintel_init.c251 list_for_each(node, &bus->slaves) in sdw_intel_probe_controller()
263 list_for_each_entry(slave, &bus->slaves, node) { in sdw_intel_probe_controller()
/linux/drivers/parport/
H A Dshare.c522 struct parport *slave = port->slaves[i-1]; in parport_announce_port()
531 struct parport *slave = port->slaves[i-1]; in parport_announce_port()
571 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
583 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
594 struct parport *slave = port->slaves[i-1]; in parport_remove_port()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2166x-common.dtsi58 slaves: slaves-bus@3e000000 { label

123