| /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 __rcu *slaves; member 56 spinlock_t slaves_lock; /* serializes writes to ->slaves */ 106 rcu_assign_pointer(dat->m->slaves, sch); in teql_dequeue() 145 prev = rcu_dereference_protected(master->slaves, in teql_destroy() 162 head = rcu_dereference_protected(master->slaves, in teql_destroy() 165 rcu_assign_pointer(master->slaves, next); in teql_destroy() 168 rcu_assign_pointer(master->slaves, NULL); in teql_destroy() 174 } while (prev != rcu_dereference_protected(master->slaves, in teql_destroy() 207 first = rcu_dereference_protected(m->slaves, lockdep_is_held(&m->slaves_lock)); in teql_qdisc_init() 236 rcu_assign_pointer(m->slaves, sch); in teql_qdisc_init() [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_rate_cross_esw.py | 47 raise KsftSkipEx(f"No bond slaves for {bond_ifname}") 48 slaves = [] 53 slaves.append(name) 54 return slaves 58 """Discovers both PFs from bond slaves.""" 59 slaves = get_bond_slaves(cfg.ifname) 60 if len(slaves) != 2: 61 raise KsftSkipEx(f"Need 2 bond slaves, found {len(slaves)}") 63 pf0, pf1 = slaves[0], slaves[1]
|
| /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::
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpsw_priv.c | 328 for (i = 0, speed = 0; i < cpsw->data.slaves; i++) in cpsw_get_common_speed() 329 if (cpsw->slaves[i].phy && cpsw->slaves[i].phy->link) in cpsw_get_common_speed() 330 speed += cpsw->slaves[i].phy->speed; in cpsw_get_common_speed() 503 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_init_common() 504 struct cpsw_slave *slave = &cpsw->slaves[i]; in cpsw_init_common() 575 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v1() 602 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v2() 771 /* update rates for slaves tx queues */ in cpsw_ndo_set_tx_maxrate() 772 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_ndo_set_tx_maxrate() 773 slave = &cpsw->slaves[i]; in cpsw_ndo_set_tx_maxrate() [all …]
|
| /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. 185 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to " 190 "by setting active flag for all slaves; " 202 "each slaves peer switch. The default is 1."); 368 * bond_vlan_rx_add_vid - Propagates adding an id to slaves 402 * bond_vlan_rx_kill_vid - Propagates deleting an id to slaves 751 * slaves. If any slaves are up, the master is up. In 802.3ad mode, 844 /* Push the promiscuity flag down to appropriate slaves */ 5102 bond_skip_slave(struct bond_up_slave * slaves,struct slave * skipslave) bond_skip_slave() argument 5230 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 5248 struct bond_up_slave *slaves; bond_xdp_xmit_3ad_xor_slave_get() local 5300 struct bond_up_slave *slaves; bond_3ad_xor_xmit() local 5319 struct bond_up_slave *slaves; bond_xmit_broadcast() local 5418 struct bond_up_slave *slaves; bond_xmit_get_slave() local 5504 struct bond_up_slave *slaves; __bond_sk_get_lower_dev() local [all...] |
| H A D | bond_alb.c | 148 /* Must be called only after all slaves have been released */ 1051 /* Swap MAC addresses between two slaves. 1158 * addresses of the other slaves. 1161 * permanent hw address with the current address of all the other slaves. 1182 * slaves in the bond. in alb_handle_addr_collision_on_attach() 1236 * In TLB mode all slaves are configured to the bond's hw address, but set 1401 struct bond_up_slave *slaves; in bond_xmit_tlb_slave_get() local 1404 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_tlb_slave_get() 1405 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_tlb_slave_get() 1407 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get() [all …]
|
| /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/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
|
| H A D | sh_dma.h | 51 * @slave: array of slaves 52 * @slave_num: number of slaves in the above array
|
| /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 347 * work queue triggering. If the number of slaves has changed in nfp_fl_lag_do_work() 354 slaves = 0; in nfp_fl_lag_do_work() 361 slaves = 0; in nfp_fl_lag_do_work() 365 slaves++; in nfp_fl_lag_do_work() 366 if (slaves > entry->slave_cnt) in nfp_fl_lag_do_work() 384 if (slaves != entry->slave_cnt || !entry->dirty) { in nfp_fl_lag_do_work()
|
| /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/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/drivers/soundwire/ |
| H A D | bus.c | 89 INIT_LIST_HEAD(&bus->slaves); in sdw_bus_master_add() 134 * Create Slave devices based on Slaves described in in sdw_bus_master_add() 145 dev_err(bus->dev, "Finding slaves failed:%d\n", ret); in sdw_bus_master_add() 156 * Default active bank will be 0 as out of reset the Slaves have in sdw_bus_master_add() 703 list_for_each_entry(slave, &bus->slaves, node) { in sdw_get_slave() 869 list_for_each_entry_safe(slave, _s, &bus->slaves, node) { in sdw_program_device_num() 1072 list_for_each_entry(slave, &bus->slaves, node) { in sdw_bus_prep_clk_stop() 1110 * Don't wait for all Slaves to be ready if they follow the simple in sdw_bus_prep_clk_stop() 1126 /* Inform slaves that prep is done */ in sdw_bus_prep_clk_stop() 1127 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: 117 * Slaves represent typical network interfaces available from userspace. 118 * Each ieee802154 device/transceiver may have several slaves and able 122 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/arch/openrisc/kernel/ |
| H A D | sync-timer.c | 43 * the master and slaves each set their cycle counters to a known in synchronise_count_master() 52 /* slaves loop on '!= 2' */ in synchronise_count_master()
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | bond_options.sh | 247 # Testing correct multicast groups are added to slaves for ns targets 384 # all slaves should have same mac address (with the first port's mac) 433 # backup slaves should use mac[1] or mac[2] 478 log_test "fail_over_mac 0" "all slaves have same mac" 481 log_test "fail_over_mac 0" "failover: all slaves have same mac"
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm2166x-common.dtsi | 62 /* Slaves bus */ 63 slaves: slaves-bus@3e000000 { label
|
| /linux/drivers/w1/slaves/ |
| H A D | Kconfig | 3 # 1-wire slaves configuration 6 menu "1-wire Slaves"
|
| /linux/block/ |
| H A D | holder.c | 43 * - from "slaves" directory of the holder @disk to the claimed @bdev 49 * /sys/block/dm-0/slaves/sda --> /sys/block/sda
|