Home
last modified time | relevance | path

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

12345

/openbmc/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 …]
/openbmc/qemu/hw/intc/
H A Dslavio_intctl.c71 SLAVIO_CPUINTCTLState slaves[MAX_CPUS]; member
242 s->slaves[i].intreg_pending &= CPU_SOFTIRQ_MASK | CPU_IRQ_INT15_IN | in slavio_check_interrupts()
247 s->slaves[i].intreg_pending |= 1 << intbit_to_level[j]; in slavio_check_interrupts()
255 pil_pending |= s->slaves[i].intreg_pending & in slavio_check_interrupts()
260 pil_pending |= (s->slaves[i].intreg_pending & CPU_SOFTIRQ_MASK) >> 16; in slavio_check_interrupts()
270 if (!(s->slaves[i].irl_out & (1 << j))) { in slavio_check_interrupts()
274 if (s->slaves[i].irl_out & (1 << j)) { in slavio_check_interrupts()
280 s->slaves[i].irl_out = pil_pending; in slavio_check_interrupts()
304 s->slaves[i].intreg_pending |= 1 << pil; in slavio_set_irq()
311 s->slaves[i].intreg_pending &= ~(1 << pil); in slavio_set_irq()
[all …]
/openbmc/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 …]
/openbmc/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.c72 (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 …]
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 …]
/openbmc/u-boot/board/gdsys/common/
H A Dmclink.c26 int slaves = 0; in mclink_probe() local
54 slaves++; in mclink_probe()
57 return slaves; in mclink_probe()
/openbmc/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::
H A Dbonding.rst220 slaves of the active aggregator are down or the active
221 aggregator has no slaves.
241 ports (slaves). Reselection occurs as described under the
346 Validation is performed only for backup slaves.
350 Validation is performed for all slaves.
354 Filtering is applied to all slaves. No validation is
359 Filtering is applied to all slaves, validation is performed
364 Filtering is applied to all slaves, validation is performed
365 only for backup slaves.
374 that they were generated by an arp_ip_target. Since backup slaves
[all …]
/openbmc/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
/openbmc/u-boot/board/gdsys/mpc8308/
H A Dstrider.c125 int slaves; in last_stage_init() local
202 slaves = mclink_probe(); in last_stage_init()
228 if (slaves <= 0) in last_stage_init()
231 mclink_fpgacount = slaves; in last_stage_init()
235 for (k = 1; k <= slaves; ++k) in last_stage_init()
241 for (k = 1; k <= slaves; ++k) { in last_stage_init()
H A Dhrcon.c122 int slaves; in last_stage_init() local
185 slaves = mclink_probe(); in last_stage_init()
194 if (slaves <= 0) in last_stage_init()
197 mclink_fpgacount = slaves; in last_stage_init()
199 for (k = 1; k <= slaves; ++k) { in last_stage_init()
/openbmc/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
/openbmc/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()
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dcpsw.txt19 - slaves : Specifies number for slaves
81 slaves = <2>;
112 slaves = <2>;
/openbmc/u-boot/drivers/net/ti/
H A Dcpsw.c212 slave = (priv)->slaves + (priv)->data.active_slave; if (slave)
214 for (slave = (priv)->slaves; slave != (priv)->slaves + \
215 (priv)->data.slaves; slave++)
235 struct cpsw_slave *slaves; member
905 priv->slaves = malloc(sizeof(struct cpsw_slave) * data->slaves); in _cpsw_register()
906 if (!priv->slaves) { in _cpsw_register()
1223 priv->data.slaves = fdtdec_get_int(fdt, node, "slaves", -1); in cpsw_eth_ofdata_to_platdata()
1224 if (priv->data.slaves <= 0) { in cpsw_eth_ofdata_to_platdata()
1229 priv->data.slaves); in cpsw_eth_ofdata_to_platdata()
1280 if (slave_index >= priv->data.slaves) in cpsw_eth_ofdata_to_platdata()
[all …]
/openbmc/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
356 slaves = 0; in nfp_fl_lag_do_work()
363 slaves = 0; in nfp_fl_lag_do_work()
367 slaves++; in nfp_fl_lag_do_work()
368 if (slaves > entry->slave_cnt) in nfp_fl_lag_do_work()
386 if (slaves != entry->slave_cnt || !entry->dirty) { in nfp_fl_lag_do_work()
/openbmc/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
/openbmc/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.
/openbmc/linux/drivers/w1/
H A DMakefile9 obj-y += masters/ slaves/
/openbmc/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()

12345