Searched refs:slave (Results 1 – 13 of 13) sorted by relevance
/sound/core/ |
D | vmaster.c | 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() 77 static int slave_init(struct link_slave *slave) in slave_init() argument 82 if (slave->info.count) { in slave_init() 84 if (slave->flags & SND_CTL_SLAVE_NEED_UPDATE) in slave_init() 85 return slave_update(slave); in slave_init() [all …]
|
D | timer.c | 172 static int snd_timer_check_slave(struct snd_timer_instance *slave) in snd_timer_check_slave() argument 180 if (slave->slave_class == master->slave_class && in snd_timer_check_slave() 181 slave->slave_id == master->slave_id) { in snd_timer_check_slave() 185 list_move_tail(&slave->open_list, in snd_timer_check_slave() 189 slave->master = master; in snd_timer_check_slave() 190 slave->timer = master->timer; in snd_timer_check_slave() 207 struct snd_timer_instance *slave, *tmp; in snd_timer_check_master() local 210 list_for_each_entry_safe(slave, tmp, &snd_timer_slave_list, open_list) { in snd_timer_check_master() 211 if (slave->slave_class == master->slave_class && in snd_timer_check_master() 212 slave->slave_id == master->slave_id) { in snd_timer_check_master() [all …]
|
/sound/i2c/ |
D | i2c.c | 36 struct snd_i2c_bus *slave; in snd_i2c_bus_free() local 49 slave = snd_i2c_slave_bus(bus->buses.next); in snd_i2c_bus_free() 50 snd_device_free(bus->card, slave); in snd_i2c_bus_free()
|
/sound/soc/spear/ |
D | spear_pcm.h | 11 bool (*filter)(struct dma_chan *chan, void *slave));
|
D | spear_pcm.c | 42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register() argument
|
/sound/soc/intel/common/ |
D | sst-firmware.c | 220 struct dma_slave_config slave; in sst_dsp_dma_get_channel() local 234 memset(&slave, 0, sizeof(slave)); in sst_dsp_dma_get_channel() 235 slave.direction = DMA_MEM_TO_DEV; in sst_dsp_dma_get_channel() 236 slave.src_addr_width = in sst_dsp_dma_get_channel() 237 slave.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sst_dsp_dma_get_channel() 238 slave.src_maxburst = slave.dst_maxburst = SST_DSP_DMA_MAX_BURST; in sst_dsp_dma_get_channel() 240 ret = dmaengine_slave_config(dma->ch, &slave); in sst_dsp_dma_get_channel()
|
/sound/usb/usx2y/ |
D | us122l.h | 16 struct file *slave; member
|
D | us122l.c | 215 us122l->master = us122l->slave; in usb_stream_hwdep_release() 217 us122l->slave = NULL; in usb_stream_hwdep_release() 419 us122l->slave = file; in usb_stream_hwdep_ioctl()
|
/sound/pci/ice1712/ |
D | juli.c | 426 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local 428 if (slave) { in add_slaves() 430 snd_ctl_add_slave(master, slave); in add_slaves()
|
D | quartet.c | 783 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local 784 if (slave) in add_slaves() 785 snd_ctl_add_slave(master, slave); in add_slaves()
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 768 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local 769 if (slave) in add_slaves() 770 snd_ctl_add_slave(master, slave); in add_slaves()
|
/sound/soc/sh/ |
D | siu_pcm.c | 317 static bool filter(struct dma_chan *chan, void *slave) in filter() argument 319 struct sh_dmae_slave *param = slave; in filter()
|
/sound/pci/hda/ |
D | hda_codec.c | 1855 static int init_slave_0dB(struct snd_kcontrol *slave, in init_slave_0dB() argument 1894 put_kctl_with_value(slave, val); in init_slave_0dB() 1902 static int init_slave_unmute(struct snd_kcontrol *slave, in init_slave_unmute() argument 1906 return put_kctl_with_value(slave, 1); in init_slave_unmute() 1910 void *data, struct snd_kcontrol *slave) in add_slave() argument 1912 return snd_ctl_add_slave(data, slave); in add_slave()
|