| /Linux-v5.4/sound/core/ | 
| D | vmaster.c | 3  * Virtual master and slave controls 24  * link master - this contains a list of slave controls that are 41  * link slave - this contains a slave control element 44  * master control.  A slave may have either one or two channels. 54 	struct snd_kcontrol slave; /* the copy of original control entry */  member 57 static int slave_update(struct link_slave *slave)  in slave_update()  argument 65 	uctl->id = slave->slave.id;  in slave_update() 66 	err = slave->slave.get(&slave->slave, uctl);  in slave_update() 69 	for (ch = 0; ch < slave->info.count; ch++)  in slave_update() 70 		slave->vals[ch] = uctl->value.integer.value[ch];  in slave_update() [all …] 
 | 
| /Linux-v5.4/include/net/ | 
| D | bonding.h | 42 	netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 44 	netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 	netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 	netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 52 /* slave list primitives */ 77  * @pos:	current slave 152 struct slave {  struct 162 	u8     backup:1,   /* indicates backup slave. Value corresponds with  argument 164 	       inactive:1, /* indicates inactive slave */  argument 186 	struct slave	*arr[0];  argument [all …] 
 | 
| /Linux-v5.4/drivers/soundwire/ | 
| D | bus.c | 77 	 * Create Slave devices based on Slaves described in  in sdw_add_bus_master() 113 	struct sdw_slave *slave = dev_to_sdw_dev(dev);  in sdw_delete_slave()  local 114 	struct sdw_bus *bus = slave->bus;  in sdw_delete_slave() 116 	sdw_slave_debugfs_exit(slave);  in sdw_delete_slave() 120 	if (slave->dev_num) /* clear dev_num if assigned */  in sdw_delete_slave() 121 		clear_bit(slave->dev_num, bus->assigned);  in sdw_delete_slave() 123 	list_del_init(&slave->node);  in sdw_delete_slave() 224  * sdw_transfer() - Synchronous transfer message to a SDW Slave device 236 		dev_err(bus->dev, "trf on Slave %d failed:%d\n",  in sdw_transfer() 248  * sdw_transfer_defer() - Asynchronously transfer message to a SDW Slave device [all …] 
 | 
| D | bus_type.c | 13  * @slave: SoundWire Slave Device 14  * @drv: SoundWire Slave Driver 20 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv)  in sdw_get_device_id()  argument 25 		if (slave->id.mfg_id == id->mfg_id &&  in sdw_get_device_id() 26 		    slave->id.part_id == id->part_id)  in sdw_get_device_id() 36 	struct sdw_slave *slave = dev_to_sdw_dev(dev);  in sdw_bus_match()  local 39 	return !!sdw_get_device_id(slave, drv);  in sdw_bus_match() 42 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size)  in sdw_slave_modalias()  argument 47 			slave->id.mfg_id, slave->id.part_id);  in sdw_slave_modalias() 52 	struct sdw_slave *slave = dev_to_sdw_dev(dev);  in sdw_uevent()  local [all …] 
 | 
| D | bus.h | 25 void sdw_slave_debugfs_init(struct sdw_slave *slave); 26 void sdw_slave_debugfs_exit(struct sdw_slave *slave); 32 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {}  in sdw_slave_debugfs_init()  argument 33 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {}  in sdw_slave_debugfs_exit()  argument 45  * @addr: Register address accessed in the Slave 47  * @dev_num: Slave device number 48  * @addr_page1: SCP address page 1 Slave register 49  * @addr_page2: SCP address page 2 Slave register 76  * sdw_port_runtime: Runtime port parameters for Master or Slave 83  * @port_node: List node for Master or Slave port_list [all …] 
 | 
| D | slave.c | 12 	struct sdw_slave *slave = dev_to_sdw_dev(dev);  in sdw_slave_release()  local 14 	kfree(slave);  in sdw_slave_release() 20 	struct sdw_slave *slave;  in sdw_slave_add()  local 23 	slave = kzalloc(sizeof(*slave), GFP_KERNEL);  in sdw_slave_add() 24 	if (!slave)  in sdw_slave_add() 28 	memcpy(&slave->id, id, sizeof(*id));  in sdw_slave_add() 29 	slave->dev.parent = bus->dev;  in sdw_slave_add() 30 	slave->dev.fwnode = fwnode;  in sdw_slave_add() 33 	dev_set_name(&slave->dev, "sdw:%x:%x:%x:%x:%x",  in sdw_slave_add() 37 	slave->dev.release = sdw_slave_release;  in sdw_slave_add() [all …] 
 | 
| D | stream.c | 59 					  struct sdw_slave *slave,  in _sdw_program_slave_port_params()  argument 80 	ret = sdw_write(slave, addr1, t_params->offset2);  in _sdw_program_slave_port_params() 87 	ret = sdw_write(slave, addr2, t_params->blk_pkg_mode);  in _sdw_program_slave_port_params() 106 	ret = sdw_write(slave, addr3, wbuf);  in _sdw_program_slave_port_params() 117 	ret = sdw_write(slave, addr4, wbuf);  in _sdw_program_slave_port_params() 130 	struct sdw_slave_prop *slave_prop = &s_rt->slave->prop;  in sdw_program_slave_port_params() 136 	dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave,  in sdw_program_slave_port_params() 162 	ret = sdw_update(s_rt->slave, addr1, 0xF, wbuf);  in sdw_program_slave_port_params() 164 		dev_err(&s_rt->slave->dev,  in sdw_program_slave_port_params() 171 	ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1));  in sdw_program_slave_port_params() [all …] 
 | 
| D | debugfs.c | 33 static ssize_t sdw_sprintf(struct sdw_slave *slave,  in sdw_sprintf()  argument 38 	value = sdw_read(slave, reg);  in sdw_sprintf() 49 	struct sdw_slave *slave = s_file->private;  in sdw_slave_reg_show()  local 63 		ret += sdw_sprintf(slave, buf, ret, i);  in sdw_slave_reg_show() 67 	ret += sdw_sprintf(slave, buf, ret, SDW_DP0_CHANNELEN);  in sdw_slave_reg_show() 69 		ret += sdw_sprintf(slave, buf, ret, i);  in sdw_slave_reg_show() 73 	ret += sdw_sprintf(slave, buf, ret,  in sdw_slave_reg_show() 77 		ret += sdw_sprintf(slave, buf, ret, i);  in sdw_slave_reg_show() 82 		ret += sdw_sprintf(slave, buf, ret, i);  in sdw_slave_reg_show() 84 		ret += sdw_sprintf(slave, buf, ret, i);  in sdw_slave_reg_show() [all …] 
 | 
| /Linux-v5.4/drivers/net/bonding/ | 
| D | bond_sysfs_slave.c | 15 	ssize_t (*show)(struct slave *, char *); 27 static ssize_t state_show(struct slave *slave, char *buf)  in state_show()  argument 29 	switch (bond_slave_state(slave)) {  in state_show() 40 static ssize_t mii_status_show(struct slave *slave, char *buf)  in mii_status_show()  argument 42 	return sprintf(buf, "%s\n", bond_slave_link_status(slave->link));  in mii_status_show() 46 static ssize_t link_failure_count_show(struct slave *slave, char *buf)  in link_failure_count_show()  argument 48 	return sprintf(buf, "%d\n", slave->link_failure_count);  in link_failure_count_show() 52 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf)  in perm_hwaddr_show()  argument 55 		       slave->dev->addr_len,  in perm_hwaddr_show() 56 		       slave->perm_hwaddr);  in perm_hwaddr_show() [all …] 
 | 
| D | bond_main.c | 20  *	the first slave bonded to the channel.  All slaves will then use 27  *	will attach eth0 to bond0 as a slave.  eth0 hw mac address will either 143 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " 148 				   "2 for only on active slave " 187 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr " 188 				    "mode; 0 for a random slave, 1 packet per " 189 				    "slave (default), >1 packets per slave."); 241  * @slave_dev: slave that is supposed to xmit this skbuff 259  * We don't protect the slave list iteration with a lock because: 283 	struct slave *slave, *rollback_slave;  in bond_vlan_rx_add_vid()  local [all …] 
 | 
| D | bond_alb.c | 59 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[], 92 static inline void tlb_init_slave(struct slave *slave)  in tlb_init_slave()  argument 94 	SLAVE_TLB_INFO(slave).load = 0;  in tlb_init_slave() 95 	SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX;  in tlb_init_slave() 98 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave,  in __tlb_clear_slave()  argument 104 	/* clear slave from tx_hashtbl */  in __tlb_clear_slave() 109 		index = SLAVE_TLB_INFO(slave).head;  in __tlb_clear_slave() 117 	tlb_init_slave(slave);  in __tlb_clear_slave() 120 static void tlb_clear_slave(struct bonding *bond, struct slave *slave,  in tlb_clear_slave()  argument 124 	__tlb_clear_slave(bond, slave, save_load);  in tlb_clear_slave() [all …] 
 | 
| D | bond_3ad.c | 135 	if (port->slave == NULL)  in __get_bond_by_port() 138 	return bond_get_bond_by_slave(port->slave);  in __get_bond_by_port() 145  * Return the aggregator of the first slave in @bond, or %NULL if it can't be 152 	struct slave *first_slave;  in __get_first_agg() 180  * __disable_port - disable the port's slave 185 	bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER);  in __disable_port() 189  * __enable_port - enable the port's slave, if it's up 194 	struct slave *slave = port->slave;  in __enable_port()  local 196 	if ((slave->link == BOND_LINK_UP) && bond_slave_is_up(slave))  in __enable_port() 197 		bond_set_slave_active_flags(slave, BOND_SLAVE_NOTIFY_LATER);  in __enable_port() [all …] 
 | 
| /Linux-v5.4/drivers/fsi/ | 
| D | fsi-core.c | 48  * FSI slave engine control register offsets 52 #define FSI_SSTAT		0x14	/* R  : Slave status */ 87 	uint32_t		size;	/* size of slave address space */ 134 	return fsi_slave_read(dev->slave, dev->addr + addr, val, size);  in fsi_device_read() 144 	return fsi_slave_write(dev->slave, dev->addr + addr, val, size);  in fsi_device_write() 152 	return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t));  in fsi_device_peek() 163 static struct fsi_device *fsi_create_device(struct fsi_slave *slave)  in fsi_create_device()  argument 171 	dev->dev.parent = &slave->dev;  in fsi_create_device() 178 /* FSI slave support */ 179 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp,  in fsi_slave_calc_addr()  argument [all …] 
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ | 
| D | resource_tracker.c | 306 static void rem_slave_vlans(struct mlx4_dev *dev, int slave); 307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave,  in mlx4_grant_resource()  argument 318 	if (slave > dev->persist->num_vfs)  in mlx4_grant_resource() 324 		(dev->persist->num_vfs + 1) + slave] :  in mlx4_grant_resource() 325 		res_alloc->allocated[slave];  in mlx4_grant_resource() 330 	guaranteed = res_alloc->guaranteed[slave];  in mlx4_grant_resource() 332 	if (allocated + count > res_alloc->quota[slave]) {  in mlx4_grant_resource() 334 			  slave, port, resource_str(res_type), count,  in mlx4_grant_resource() 335 			  allocated, res_alloc->quota[slave]);  in mlx4_grant_resource() 355 				  slave, port, resource_str(res_type), free,  in mlx4_grant_resource() [all …] 
 | 
| D | cmd.c | 136 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, 318 		/* check if the slave is trying to boot in the middle of  in mlx4_comm_cmd_poll() 813 			   int slave, u64 slave_addr,  in mlx4_ACCESS_MEM()  argument 820 	    (slave & ~0x7f) | (size & 0xff)) {  in mlx4_ACCESS_MEM() 822 			 slave_addr, master_addr, slave, size);  in mlx4_ACCESS_MEM() 827 		in_param = (u64) slave | slave_addr;  in mlx4_ACCESS_MEM() 831 		out_param = (u64) slave | slave_addr;  in mlx4_ACCESS_MEM() 891 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave,  in mlx4_MAD_IFC_wrapper()  argument 912 	port = mlx4_slave_convert_port(dev, slave, slave_port);  in mlx4_MAD_IFC_wrapper() 938 						pidx = priv->virt2phys_pkey[slave][port - 1][vidx];  in mlx4_MAD_IFC_wrapper() [all …] 
 | 
| /Linux-v5.4/drivers/mtd/ | 
| D | mtdpart.c | 326 	struct mtd_part *slave;  in allocate_partition()  local 332 	slave = kzalloc(sizeof(*slave), GFP_KERNEL);  in allocate_partition() 334 	if (!name || !slave) {  in allocate_partition() 338 		kfree(slave);  in allocate_partition() 343 	slave->mtd.type = parent->type;  in allocate_partition() 344 	slave->mtd.flags = parent->orig_flags & ~part->mask_flags;  in allocate_partition() 345 	slave->mtd.orig_flags = slave->mtd.flags;  in allocate_partition() 346 	slave->mtd.size = part->size;  in allocate_partition() 347 	slave->mtd.writesize = parent->writesize;  in allocate_partition() 348 	slave->mtd.writebufsize = parent->writebufsize;  in allocate_partition() [all …] 
 | 
| /Linux-v5.4/arch/arm/mach-omap2/ | 
| D | omap_hwmod_33xx_43xx_interconnect_data.c | 24 	.slave		= &am33xx_l3_main_hwmod, 32 	.slave		= &am33xx_l3_s_hwmod, 40 	.slave		= &am33xx_l4_ls_hwmod, 48 	.slave		= &am33xx_l4_wkup_hwmod, 56 	.slave		= &am33xx_l3_instr_hwmod, 64 	.slave		= &am33xx_prcm_hwmod, 72 	.slave		= &am33xx_l3_main_hwmod, 80 	.slave		= &am33xx_l3_main_hwmod, 88 	.slave		= &am33xx_l3_main_hwmod, 96 	.slave		= &am33xx_gfx_hwmod, [all …] 
 | 
| D | omap_hwmod_2xxx_interconnect_data.c | 27 	.slave	= &omap2xxx_l4_core_hwmod, 34 	.slave	= &omap2xxx_l3_main_hwmod, 41 	.slave		= &omap2xxx_l3_main_hwmod, 54 	.slave	= &omap2xxx_l4_wkup_hwmod, 61 	.slave		= &omap2xxx_uart1_hwmod, 69 	.slave		= &omap2xxx_uart2_hwmod, 77 	.slave		= &omap2xxx_uart3_hwmod, 85 	.slave		= &omap2xxx_mcspi1_hwmod, 93 	.slave		= &omap2xxx_mcspi2_hwmod, 101 	.slave		= &omap2xxx_timer2_hwmod, [all …] 
 | 
| /Linux-v5.4/drivers/i2c/busses/ | 
| D | i2c-at91-slave.c | 3  *  i2c slave support for Atmel's AT91 Two-Wire Interface (TWI) 25 	/* slave address has been detected on I2C bus */  in atmel_twi_interrupt_slave() 28 			i2c_slave_event(dev->slave,  in atmel_twi_interrupt_slave() 34 			i2c_slave_event(dev->slave,  in atmel_twi_interrupt_slave() 44 		i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value);  in atmel_twi_interrupt_slave() 51 		i2c_slave_event(dev->slave, I2C_SLAVE_WRITE_RECEIVED, &value);  in atmel_twi_interrupt_slave() 59 		i2c_slave_event(dev->slave, I2C_SLAVE_STOP, &value);  in atmel_twi_interrupt_slave() 65 static int at91_reg_slave(struct i2c_client *slave)  in at91_reg_slave()  argument 67 	struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter);  in at91_reg_slave() 69 	if (dev->slave)  in at91_reg_slave() [all …] 
 | 
| D | i2c-designware-slave.c | 3  * Synopsys DesignWare I2C adapter driver (slave only). 26 	/* Configure the I2C slave. */  in i2c_dw_configure_fifo_slave() 32  * i2c_dw_init_slave() - Initialize the designware i2c slave hardware 35  * This function configures and enables the I2C in slave mode. 60 static int i2c_dw_reg_slave(struct i2c_client *slave)  in i2c_dw_reg_slave()  argument 62 	struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter);  in i2c_dw_reg_slave() 64 	if (dev->slave)  in i2c_dw_reg_slave() 66 	if (slave->flags & I2C_CLIENT_TEN)  in i2c_dw_reg_slave() 71 	 * Set slave address in the IC_SAR register,  in i2c_dw_reg_slave() 75 	dw_writel(dev, slave->addr, DW_IC_SAR);  in i2c_dw_reg_slave() [all …] 
 | 
| /Linux-v5.4/drivers/net/ethernet/ti/ | 
| D | netcp_ethss.c | 453 /* Some hw stat regs are applicable to slave port only. 461 	u32	rx_pause_frames;		/* slave */ 463 	u32	rx_align_code_errors;		/* slave */ 465 	u32	rx_jabber_frames;		/* slave */ 467 	u32	rx_fragments;			/* slave */ 474 	u32	tx_pause_frames;		/* slave */ 475 	u32	tx_deferred_frames;		/* slave */ 476 	u32	tx_collision_frames;		/* slave */ 477 	u32	tx_single_coll_frames;		/* slave */ 478 	u32	tx_mult_coll_frames;		/* slave */ [all …] 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/clock/ | 
| D | brcm,kona-ccu.txt | 32 		compatible = "brcm,bcm11351-slave-ccu"; 63     "brcm,bcm11351-slave-ccu" 90     slave   uartb           peri      0     BCM281XX_SLAVE_CCU_UARTB 91     slave   uartb2          peri      1     BCM281XX_SLAVE_CCU_UARTB2 92     slave   uartb3          peri      2     BCM281XX_SLAVE_CCU_UARTB3 93     slave   uartb4          peri      3     BCM281XX_SLAVE_CCU_UARTB4 94     slave   ssp0            peri      4     BCM281XX_SLAVE_CCU_SSP0 95     slave   ssp2            peri      5     BCM281XX_SLAVE_CCU_SSP2 96     slave   bsc1            peri      6     BCM281XX_SLAVE_CCU_BSC1 97     slave   bsc2            peri      7     BCM281XX_SLAVE_CCU_BSC2 [all …] 
 | 
| /Linux-v5.4/Documentation/driver-api/soundwire/ | 
| D | summary.rst | 25 The SoundWire protocol supports up to eleven Slave interfaces. All the 36 two Slave devices. :: 40         |    Master     |-------+-------------------------------|    Slave      | 49                              |   Slave     | 59 or Slave interface, which of course can be confusing. In this summary and 61 Linux device model by mapping each Slave interface connected on the bus as a 63 a framework to implement a SoundWire Slave driver with an API allowing 69 Programs all the MIPI-defined Slave registers. Represents a SoundWire 72 Slave: 73 Registers as SoundWire Slave device (Linux Device). Multiple Slave devices [all …] 
 | 
| /Linux-v5.4/drivers/net/ | 
| D | eql.c | 140 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave); 150 		slave_t *slave = list_entry(this, slave_t, list);  in eql_timer()  local 152 		if ((slave->dev->flags & IFF_UP) == IFF_UP) {  in eql_timer() 153 			slave->bytes_queued -= slave->priority_Bps;  in eql_timer() 154 			if (slave->bytes_queued < 0)  in eql_timer() 155 				slave->bytes_queued = 0;  in eql_timer() 157 			eql_kill_one_slave(&eql->queue, slave);  in eql_timer() 209 		    "remember to turn off Van-Jacobson compression on your slave devices\n");  in eql_open() 221 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave)  in eql_kill_one_slave()  argument 223 	list_del(&slave->list);  in eql_kill_one_slave() [all …] 
 | 
| /Linux-v5.4/drivers/net/wan/ | 
| D | dlci.c | 193 		netdev_start_xmit(skb, dlp->slave, txq, false);  in dlci_transmit() 207 	flp = netdev_priv(dlp->slave);  in dlci_config() 219 	err = (*flp->dlci_conf)(dlp->slave, dev, get);  in dlci_config() 247 			strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave));  in dlci_dev_ioctl() 267 	return dev_set_mtu(dlp->slave, new_mtu);  in dlci_change_mtu() 281 	if (!netif_running(dlp->slave))  in dlci_open() 284 	flp = netdev_priv(dlp->slave);  in dlci_open() 285 	err = (*flp->activate)(dlp->slave, dev);  in dlci_open() 304 	flp = netdev_priv(dlp->slave);  in dlci_close() 305 	err = (*flp->deactivate)(dlp->slave, dev);  in dlci_close() [all …] 
 |