Home
last modified time | relevance | path

Searched refs:slave (Results 1 – 15 of 15) sorted by relevance

/sound/core/
Dvmaster.c58 struct snd_kcontrol slave; /* the copy of original control entry */ member
61 static int slave_update(struct link_slave *slave) in slave_update() argument
69 uctl->id = slave->slave.id; in slave_update()
70 err = slave->slave.get(&slave->slave, uctl); in slave_update()
71 for (ch = 0; ch < slave->info.count; ch++) in slave_update()
72 slave->vals[ch] = uctl->value.integer.value[ch]; in slave_update()
78 static int slave_init(struct link_slave *slave) in slave_init() argument
83 if (slave->info.count) { in slave_init()
85 if (slave->flags & SND_CTL_SLAVE_NEED_UPDATE) in slave_init()
86 return slave_update(slave); in slave_init()
[all …]
Dtimer.c182 static void snd_timer_check_slave(struct snd_timer_instance *slave) in snd_timer_check_slave() argument
190 if (slave->slave_class == master->slave_class && in snd_timer_check_slave()
191 slave->slave_id == master->slave_id) { in snd_timer_check_slave()
192 list_move_tail(&slave->open_list, in snd_timer_check_slave()
195 slave->master = master; in snd_timer_check_slave()
196 slave->timer = master->timer; in snd_timer_check_slave()
212 struct snd_timer_instance *slave, *tmp; in snd_timer_check_master() local
215 list_for_each_entry_safe(slave, tmp, &snd_timer_slave_list, open_list) { in snd_timer_check_master()
216 if (slave->slave_class == master->slave_class && in snd_timer_check_master()
217 slave->slave_id == master->slave_id) { in snd_timer_check_master()
[all …]
/sound/soc/spear/
Dspear_pcm.h22 bool (*filter)(struct dma_chan *chan, void *slave));
Dspear_pcm.c42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register() argument
/sound/i2c/
Di2c.c50 struct snd_i2c_bus *slave; in snd_i2c_bus_free() local
63 slave = snd_i2c_slave_bus(bus->buses.next); in snd_i2c_bus_free()
64 snd_device_free(bus->card, slave); in snd_i2c_bus_free()
/sound/soc/intel/common/
Dsst-firmware.c228 struct dma_slave_config slave; in sst_dsp_dma_get_channel() local
242 memset(&slave, 0, sizeof(slave)); in sst_dsp_dma_get_channel()
243 slave.direction = DMA_MEM_TO_DEV; in sst_dsp_dma_get_channel()
244 slave.src_addr_width = in sst_dsp_dma_get_channel()
245 slave.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sst_dsp_dma_get_channel()
246 slave.src_maxburst = slave.dst_maxburst = SST_DSP_DMA_MAX_BURST; in sst_dsp_dma_get_channel()
248 ret = dmaengine_slave_config(dma->ch, &slave); in sst_dsp_dma_get_channel()
/sound/usb/usx2y/
Dus122l.h15 struct file *slave; member
Dus122l.c229 us122l->master = us122l->slave; in usb_stream_hwdep_release()
231 us122l->slave = NULL; in usb_stream_hwdep_release()
438 us122l->slave = file; in usb_stream_hwdep_ioctl()
/sound/pci/ice1712/
Djuli.c441 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local
443 if (slave) { in add_slaves()
445 snd_ctl_add_slave(master, slave); in add_slaves()
Dquartet.c800 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local
801 if (slave) in add_slaves()
802 snd_ctl_add_slave(master, slave); in add_slaves()
/sound/pci/ca0106/
Dca0106_mixer.c782 struct snd_kcontrol *slave = ctl_find(card, *list); in add_slaves() local
783 if (slave) in add_slaves()
784 snd_ctl_add_slave(master, slave); in add_slaves()
/sound/atmel/
Dabdac.c339 static bool filter(struct dma_chan *chan, void *slave) in filter() argument
341 struct dw_dma_slave *dws = slave; in filter()
Dac97c.c878 static bool filter(struct dma_chan *chan, void *slave) in filter() argument
880 struct dw_dma_slave *dws = slave; in filter()
/sound/soc/sh/
Dsiu_pcm.c329 static bool filter(struct dma_chan *chan, void *slave) in filter() argument
331 struct sh_dmae_slave *param = slave; in filter()
/sound/pci/hda/
Dhda_codec.c1783 void *data, struct snd_kcontrol *slave) in init_slave_0dB() argument
1785 int offset = get_kctl_0dB_offset(codec, slave, data); in init_slave_0dB()
1787 put_kctl_with_value(slave, offset); in init_slave_0dB()
1793 void *data, struct snd_kcontrol *slave) in init_slave_unmute() argument
1795 return put_kctl_with_value(slave, 1); in init_slave_unmute()
1799 void *data, struct snd_kcontrol *slave) in add_slave() argument
1801 return snd_ctl_add_slave(data, slave); in add_slave()