/linux/drivers/staging/vme_user/ |
H A 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 …]
|
/linux/net/sched/ |
H A D | sch_teql.c | 55 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 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 …]
|
H A 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() 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[priv->emac_port].port_vlan; in cpsw_set_mc() [all …]
|
H A D | cpsw_new.c | 92 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 D | cpsw_priv.c | 313 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 tx queues */ in cpsw_ndo_set_tx_maxrate() 770 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_set_tx_maxrate() [all …]
|
/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi.txt | 4 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 69 Slaves are identified by a (link-index, slave-id) pair, so require two cells 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/networking/ |
H A D | ipvlan.rst | 13 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 D | bonding.rst | 220 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 …]
|
/linux/net/ax25/ |
H A D | Kconfig | 58 from clients (called "slaves") and redistributes it to other slaves. 73 from clients (called "slaves") and redistributes it to other slaves.
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | cpsw.txt | 19 - slaves : Specifies number for slaves 81 slaves = <2>; 112 slaves = <2>;
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-w1_ds2438 | 5 see Documentation/w1/slaves/w1_ds2438.rst for detailed information 12 see Documentation/w1/slaves/w1_ds2438.rst for detailed information
|
H A D | sysfs-driver-w1_ds28e04 | 5 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information 14 see Documentation/w1/slaves/w1_ds28e04.rst for detailed information
|
/linux/drivers/net/bonding/ |
H A D | bond_main.c | 21 * 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 758 * slaves. If any slaves are up, the master is up. In 802.3ad mode, 911 /* Push the promiscuity flag down to appropriate slaves */ 934 /* Push the allmulti flag down to all slaves */ [all …]
|
H A D | bond_alb.c | 148 /* 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->count) : 0; in bond_xmit_tlb_slave_get() 1401 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get() [all …]
|
/linux/include/linux/ |
H A D | w1.h | 122 * @dev_id: Optional device id string, which w1 slaves could use for 177 * @slist: linked list of slaves 179 * @max_slave_count: maximum number of slaves to search for at a time 180 * @slave_count: current number of slaves known 204 /* list_mutex protects just slist and async_list so slaves can be
|
/linux/Documentation/w1/ |
H A D | w1-generic.rst | 12 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
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | lag_conf.c | 58 * @slave_cnt: Number of slaves in group 311 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local 348 * work queue triggering. If the number of slaves has changed in nfp_fl_lag_do_work() 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/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bond.c | 31 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()
|
/linux/include/linux/i3c/ |
H A D | ccc.h | 125 * @slaves: array of descriptors describing slaves controlled by the 129 * information to all masters currently acting as slaves on the bus. 135 struct i3c_ccc_dev_desc slaves[]; member 238 * @count: number of bridged slaves
|
/linux/drivers/soundwire/ |
H A D | bus.c | 87 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add() 128 * Create Slave devices based on Slaves described in in sdw_bus_master_add() 139 dev_err(bus->dev, "Finding slaves failed:%d\n", ret); in sdw_bus_master_add() 149 * Default active bank will be 0 as out of reset the Slaves have 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() 1061 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop() 1099 * Don't wait for all Slaves to be ready if they follow the simple in sdw_bus_prep_clk_stop() 1115 /* Inform slaves that prep is done */ in sdw_bus_prep_clk_stop() 1116 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop() [all …]
|
H A D | amd_init.c | 202 /* Calculate number of slaves */ in sdw_amd_get_slave_info() 203 list_for_each(node, &bus->slaves) in sdw_amd_get_slave_info() 217 list_for_each_entry(slave, &bus->slaves, node) { in sdw_amd_get_slave_info()
|
/linux/net/mac802154/ |
H A D | ieee802154_i.h | 42 /* As in mac80211 slaves list is modified: 108 * Slaves represent typical network interfaces available from userspace. 109 * Each ieee802154 device/transceiver may have several slaves and able 113 struct list_head list; /* the ieee802154_priv->slaves list */
|
/linux/drivers/base/regmap/ |
H A D | regmap-w1.c | 18 * 1-Wire slaves registers with addess 8 bit and data 8 bit 66 * 1-Wire slaves registers with addess 8 bit and data 16 bit 118 * 1-Wire slaves registers with addess 16 bit and data 16 bit
|
/linux/Documentation/w1/masters/ |
H A D | omap-hdq.rst | 40 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
|