Home
last modified time | relevance | path

Searched refs:slaves (Results 1 - 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/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[ in fake_slave_get()
[all...]
/kernel/linux/linux-6.6/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[ in fake_slave_get()
[all...]
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/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_n 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[pri 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()
130 /* Disable Learn for all ports (host is port 0 and slaves are port 1 and up */ in cpsw_set_promiscious()
131 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious()
158 /* Enable Learn for all ports (host is port 0 and slaves are port 1 and up */ in cpsw_set_promiscious()
159 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious()
187 vid = cpsw->slaves[pri in cpsw_set_mc()
[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_n in cpsw_ndo_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
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[pri in cpsw_restore()
[all...]
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_n in cpsw_get_eee()
[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()
130 /* Disable Learn for all ports (host is port 0 and slaves are port 1 and up */ in cpsw_set_promiscious()
131 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious()
158 /* Enable Learn for all ports (host is port 0 and slaves are port 1 and up */ in cpsw_set_promiscious()
159 for (i = 0; i <= cpsw->data.slaves; i++) { in cpsw_set_promiscious()
187 vid = cpsw->slaves[pri in cpsw_set_mc()
[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()
769 /* update rates for slaves t in cpsw_ndo_set_tx_maxrate()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c58 * @slave_cnt: Number of slaves in group
281 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local
314 * work queue triggering. If the number of slaves has changed in nfp_fl_lag_do_work()
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c31 struct list_head slaves_list; /* slaves list */
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c31 struct list_head slaves_list; /* slaves list */
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()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c58 * @slave_cnt: Number of slaves in group
311 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local
349 * work queue triggering. If the number of slaves has changed in nfp_fl_lag_do_work()
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()
/kernel/linux/linux-5.10/drivers/w1/
H A DMakefile9 obj-y += masters/ slaves/
/kernel/linux/linux-6.6/drivers/w1/
H A DMakefile9 obj-y += masters/ slaves/
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c21 * the first slave bonded to the channel. All slaves will then use
25 * will release all slaves, marking them as down.
187 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to "
192 "by setting active flag for all slaves; "
204 "each slaves peer switch. The default is 1.");
363 * bond_vlan_rx_add_vid - Propagates adding an id to slaves
397 * bond_vlan_rx_kill_vid - Propagates deleting an id to slaves
642 * slaves. If any slaves are up, the master is up. In 802.3ad mode,
795 /* Push the promiscuity flag down to appropriate slaves */
5017 bond_skip_slave(struct bond_up_slave *slaves, struct slave *skipslave) bond_skip_slave() argument
5138 bond_xmit_3ad_xor_slave_get(struct bonding *bond, struct sk_buff *skb, struct bond_up_slave *slaves) bond_xmit_3ad_xor_slave_get() argument
5158 struct bond_up_slave *slaves; bond_xdp_xmit_3ad_xor_slave_get() local
5179 struct bond_up_slave *slaves; bond_3ad_xor_xmit() local
5287 struct bond_up_slave *slaves; bond_xmit_get_slave() local
5373 struct bond_up_slave *slaves; __bond_sk_get_lower_dev() local
[all...]
H A Dbond_alb.c148 /* Must be called only after all slaves have been released */
1045 /* Swap MAC addresses between two slaves.
1152 * addresses of the other slaves.
1155 * permanent hw address with the current address of all the other slaves.
1176 * slaves in the bond. in alb_handle_addr_collision_on_attach()
1230 * In TLB mode all slaves are configured to the bond's hw address, but set
1395 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 in bond_xmit_tlb_slave_get()
1511 struct bond_up_slave *slaves; bond_xmit_alb_slave_get() local
[all...]
/kernel/linux/linux-5.10/drivers/soundwire/
H A Dbus.c72 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add()
125 dev_err(bus->dev, "Finding slaves failed:%d\n", ret); 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()
974 /* Don't need to inform slaves if there is no slave attached */ in sdw_bus_prep_clk_stop()
978 /* Inform slaves that prep is done */ 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, nod in sdw_bus_exit_clk_stop()
[all...]
/kernel/linux/linux-6.6/drivers/soundwire/
H A Dbus.c87 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add()
139 dev_err(bus->dev, "Finding slaves failed:%d\n", ret); in sdw_bus_master_add()
700 list_for_each_entry(slave, &bus->slaves, node) { in sdw_get_slave()
858 list_for_each_entry_safe(slave, _s, &bus->slaves, node) { in sdw_program_device_num()
1059 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop()
1113 /* Inform slaves that prep is done */ in sdw_bus_prep_clk_stop()
1114 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop()
1185 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop()
1227 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_exit_clk_stop()
/kernel/linux/linux-5.10/drivers/parport/
H A Dshare.c543 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()
/kernel/linux/linux-6.6/drivers/parport/
H A Dshare.c543 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()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_alb.c147 /* Must be called only after all slaves have been released */
1031 /* Swap MAC addresses between two slaves.
1138 * addresses of the other slaves.
1141 * permanent hw address with the current address of all the other slaves.
1162 * slaves in the bond. in alb_handle_addr_collision_on_attach()
1216 * In TLB mode all slaves are configured to the bond's hw address, but set
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 in bond_xmit_tlb_slave_get()
1504 struct bond_up_slave *slaves; bond_xmit_alb_slave_get() local
[all...]

Completed in 31 milliseconds

123