Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/vme/bridges/
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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dcpsw_ethtool.c322 if (cpsw->slaves[slave_no].phy) in cpsw_get_wol()
323 phy_ethtool_get_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_get_wol()
332 if (cpsw->slaves[slave_no].phy) in cpsw_set_wol()
333 return phy_ethtool_set_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_set_wol()
403 if (!cpsw->slaves[slave_no].phy) in cpsw_get_link_ksettings()
406 phy_ethtool_ksettings_get(cpsw->slaves[slave_no].phy, ecmd); in cpsw_get_link_ksettings()
417 if (!cpsw->slaves[slave_no].phy) in cpsw_set_link_ksettings()
420 return phy_ethtool_ksettings_set(cpsw->slaves[slave_no].phy, ecmd); in cpsw_set_link_ksettings()
429 if (cpsw->slaves[slave_no].phy) in cpsw_get_eee()
430 return phy_ethtool_get_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_get_eee()
[all …]
H A Dcpsw_new.c90 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious()
91 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious()
92 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious()
131 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
306 ndev = cpsw->slaves[--port].ndev; in cpsw_rx_handler()
469 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_vlan_rx_add_vid()
470 if (cpsw->slaves[i].ndev && in cpsw_ndo_vlan_rx_add_vid()
471 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid()
504 cpsw_mqprio_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore()
507 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()
670 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_add_default_vlan()
[all …]
H A Dcpsw_priv.c312 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 …]
/OK3568_Linux_fs/kernel/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 wont 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
335 Validation is performed only for backup slaves.
339 Validation is performed for all slaves.
343 Filtering is applied to all slaves. No validation is
348 Filtering is applied to all slaves, validation is performed
353 Filtering is applied to all slaves, validation is performed
354 only for backup slaves.
363 that they were generated by an arp_ip_target. Since backup slaves
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/board/gdsys/common/
H A Dmclink.c27 int slaves = 0; in mclink_probe() local
55 slaves++; in mclink_probe()
58 return slaves; in mclink_probe()
/OK3568_Linux_fs/u-boot/board/gdsys/mpc8308/
H A Dstrider.c128 int slaves; in last_stage_init() local
205 slaves = mclink_probe(); in last_stage_init()
231 if (slaves <= 0) in last_stage_init()
234 mclink_fpgacount = slaves; in last_stage_init()
238 for (k = 1; k <= slaves; ++k) in last_stage_init()
244 for (k = 1; k <= slaves; ++k) { in last_stage_init()
H A Dhrcon.c125 int slaves; in last_stage_init() local
188 slaves = mclink_probe(); in last_stage_init()
197 if (slaves <= 0) in last_stage_init()
200 mclink_fpgacount = slaves; in last_stage_init()
202 for (k = 1; k <= slaves; ++k) { in last_stage_init()
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
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
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dcpsw.c249 slave = (priv)->slaves + (priv)->data.active_slave; if (slave)
251 for (slave = (priv)->slaves; slave != (priv)->slaves + \
252 (priv)->data.slaves; slave++)
272 struct cpsw_slave *slaves; member
1009 priv->slaves = malloc(sizeof(struct cpsw_slave) * data->slaves); in _cpsw_register()
1010 if (!priv->slaves) { in _cpsw_register()
1323 priv->data.slaves = fdtdec_get_int(fdt, node, "slaves", -1); in cpsw_eth_ofdata_to_platdata()
1324 if (priv->data.slaves <= 0) { in cpsw_eth_ofdata_to_platdata()
1329 priv->data.slaves); in cpsw_eth_ofdata_to_platdata()
1380 if (slave_index >= priv->data.slaves) in cpsw_eth_ofdata_to_platdata()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dcpsw.txt19 - slaves : Specifies number for slaves
81 slaves = <2>;
112 slaves = <2>;
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c281 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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_alb.c1360 struct bond_up_slave *slaves; in bond_xmit_tlb_slave_get() local
1363 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_tlb_slave_get()
1364 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_tlb_slave_get()
1366 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get()
1503 struct bond_up_slave *slaves; in bond_xmit_alb_slave_get() local
1506 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_alb_slave_get()
1507 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_alb_slave_get()
1509 tx_slave = slaves->arr[bond_xmit_hash(bond, skb) % in bond_xmit_alb_slave_get()
/OK3568_Linux_fs/kernel/Documentation/ia64/
H A Dmca.rst25 to all the other cpus, the slaves.
58 * Once all slaves have rendezvoused and are spinning disabled, the
102 slaves. All the OS INIT handlers are entered at approximately the same
104 which the slaves return and the system resumes.
108 drive them all as slaves. Some drive one cpu as monarch, wait for that
109 cpu to return from the OS then drive the rest as slaves. Some versions
/OK3568_Linux_fs/kernel/drivers/w1/
H A DMakefile9 obj-y += masters/ slaves/
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dbus.c72 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add()
596 list_for_each_entry(slave, &bus->slaves, node) { in sdw_get_slave()
740 list_for_each_entry_safe(slave, _s, &bus->slaves, node) { in sdw_program_device_num()
933 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop()
979 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop()
1059 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop()
1101 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop()

123456