/sound/soc/sh/rcar/ |
D | rsnd.h | 253 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io); 254 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io); 255 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod); 260 int rsnd_dma_attach(struct rsnd_dai_stream *io, 288 struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io, 291 struct rsnd_dai_stream *io, 294 struct rsnd_dai_stream *io, 297 struct rsnd_dai_stream *io, 300 struct rsnd_dai_stream *io, 303 struct rsnd_dai_stream *io, [all …]
|
D | ssi.c | 113 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument 114 #define rsnd_ssi_is_multi_slave(mod, io) \ argument 115 (rsnd_ssi_multi_slaves(io) & (1 << rsnd_mod_id(mod))) 116 #define rsnd_ssi_is_run_mods(mod, io) \ argument 117 (rsnd_ssi_run_mods(io) & (1 << rsnd_mod_id(mod))) 122 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io) in rsnd_ssi_use_busif() argument 124 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() 133 if (rsnd_io_to_mod_src(io)) in rsnd_ssi_use_busif() 168 static u32 rsnd_ssi_multi_slaves(struct rsnd_dai_stream *io) in rsnd_ssi_multi_slaves() argument 180 mod = rsnd_io_to_mod(io, types[i]); in rsnd_ssi_multi_slaves() [all …]
|
D | core.c | 133 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io, in rsnd_mod_dma_req() argument 139 return mod->ops->dma_req(io, mod); in rsnd_mod_dma_req() 174 struct rsnd_dai_stream *io, in rsnd_mod_get_status() argument 230 struct rsnd_dai_stream *io)) in rsnd_mod_interrupt() argument 233 struct rsnd_dai_stream *io; in rsnd_mod_interrupt() local 238 io = &rdai->playback; in rsnd_mod_interrupt() 239 if (mod == io->mod[mod->type]) in rsnd_mod_interrupt() 240 callback(mod, io); in rsnd_mod_interrupt() 242 io = &rdai->capture; in rsnd_mod_interrupt() 243 if (mod == io->mod[mod->type]) in rsnd_mod_interrupt() [all …]
|
D | dma.c | 69 struct rsnd_dai_stream *io) in __rsnd_dmaen_complete() argument 71 if (rsnd_io_is_working(io)) in __rsnd_dmaen_complete() 72 rsnd_dai_period_elapsed(io); in __rsnd_dmaen_complete() 82 static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io, in rsnd_dmaen_request_channel() argument 91 return rsnd_mod_dma_req(io, mod_from); in rsnd_dmaen_request_channel() 93 return rsnd_mod_dma_req(io, mod_to); in rsnd_dmaen_request_channel() 97 struct rsnd_dai_stream *io, in rsnd_dmaen_stop() argument 110 struct rsnd_dai_stream *io, in rsnd_dmaen_cleanup() argument 130 struct rsnd_dai_stream *io, in rsnd_dmaen_prepare() argument 146 dmaen->chan = rsnd_dmaen_request_channel(io, in rsnd_dmaen_prepare() [all …]
|
D | src.c | 69 static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io, in rsnd_src_dma_req() argument 73 int is_play = rsnd_io_is_play(io); in rsnd_src_dma_req() 80 static u32 rsnd_src_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_convert_rate() argument 83 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_convert_rate() 91 return rsnd_io_converted_rate(io); in rsnd_src_convert_rate() 96 convert_rate = rsnd_io_converted_rate(io); in rsnd_src_convert_rate() 105 struct rsnd_dai_stream *io, in rsnd_src_get_rate() argument 108 struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io); in rsnd_src_get_rate() 109 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_src_get_rate() 111 int is_play = rsnd_io_is_play(io); in rsnd_src_get_rate() [all …]
|
D | ssiu.c | 49 struct rsnd_dai_stream *io, in rsnd_ssiu_get_status() argument 59 struct rsnd_dai_stream *io, in rsnd_ssiu_init() argument 62 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssiu_init() 63 u32 ssis = rsnd_ssi_multi_slaves_runtime(io); in rsnd_ssiu_init() 64 int use_busif = rsnd_ssi_use_busif(io); in rsnd_ssiu_init() 99 if (rsnd_ssi_is_pin_sharing(io)) { in rsnd_ssiu_init() 150 struct rsnd_dai_stream *io, in rsnd_ssiu_init_gen2() argument 154 u32 has_hdmi0 = rsnd_flags_has(io, RSND_STREAM_HDMI0); in rsnd_ssiu_init_gen2() 155 u32 has_hdmi1 = rsnd_flags_has(io, RSND_STREAM_HDMI1); in rsnd_ssiu_init_gen2() 159 ret = rsnd_ssiu_init(mod, io, priv); in rsnd_ssiu_init_gen2() [all …]
|
D | dvc.c | 73 static void rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io, in rsnd_dvc_volume_parameter() argument 93 static void rsnd_dvc_volume_init(struct rsnd_dai_stream *io, in rsnd_dvc_volume_init() argument 103 adinr = rsnd_get_adinr_bit(mod, io) | in rsnd_dvc_volume_init() 104 rsnd_runtime_channel_after_ctu(io); in rsnd_dvc_volume_init() 137 rsnd_dvc_volume_parameter(io, mod); in rsnd_dvc_volume_init() 143 static void rsnd_dvc_volume_update(struct rsnd_dai_stream *io, in rsnd_dvc_volume_update() argument 172 rsnd_dvc_volume_parameter(io, mod); in rsnd_dvc_volume_update() 179 struct rsnd_dai_stream *io, in rsnd_dvc_probe_() argument 182 return rsnd_cmd_attach(io, rsnd_mod_id(mod)); in rsnd_dvc_probe_() 186 struct rsnd_dai_stream *io, in rsnd_dvc_init() argument [all …]
|
D | mix.c | 84 static void rsnd_mix_volume_parameter(struct rsnd_dai_stream *io, in rsnd_mix_volume_parameter() argument 104 static void rsnd_mix_volume_init(struct rsnd_dai_stream *io, in rsnd_mix_volume_init() argument 112 rsnd_mod_write(mod, MIX_ADINR, rsnd_runtime_channel_after_ctu(io)); in rsnd_mix_volume_init() 120 rsnd_mix_volume_parameter(io, mod); in rsnd_mix_volume_init() 125 static void rsnd_mix_volume_update(struct rsnd_dai_stream *io, in rsnd_mix_volume_update() argument 132 rsnd_mix_volume_parameter(io, mod); in rsnd_mix_volume_update() 139 struct rsnd_dai_stream *io, in rsnd_mix_probe_() argument 142 return rsnd_cmd_attach(io, rsnd_mod_id(mod)); in rsnd_mix_probe_() 146 struct rsnd_dai_stream *io, in rsnd_mix_init() argument 153 rsnd_mix_volume_init(io, mod); in rsnd_mix_init() [all …]
|
D | cmd.c | 24 struct rsnd_dai_stream *io, in rsnd_cmd_init() argument 27 struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io); in rsnd_cmd_init() 28 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_cmd_init() 69 struct rsnd_mod *src = rsnd_io_to_mod_src(io); in rsnd_cmd_init() 92 rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1); in rsnd_cmd_init() 93 rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io)); in rsnd_cmd_init() 95 rsnd_adg_set_cmd_timsel_gen2(mod, io); in rsnd_cmd_init() 101 struct rsnd_dai_stream *io, in rsnd_cmd_start() argument 110 struct rsnd_dai_stream *io, in rsnd_cmd_stop() argument 133 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id) in rsnd_cmd_attach() argument [all …]
|
D | ctu.c | 108 struct rsnd_dai_stream *io, in rsnd_ctu_probe_() argument 111 return rsnd_cmd_attach(io, rsnd_mod_id(mod)); in rsnd_ctu_probe_() 114 static void rsnd_ctu_value_init(struct rsnd_dai_stream *io, in rsnd_ctu_value_init() argument 133 rsnd_mod_write(mod, CTU_ADINR, rsnd_runtime_channel_original(io)); in rsnd_ctu_value_init() 151 static void rsnd_ctu_value_reset(struct rsnd_dai_stream *io, in rsnd_ctu_value_reset() argument 171 struct rsnd_dai_stream *io, in rsnd_ctu_init() argument 178 rsnd_ctu_value_init(io, mod); in rsnd_ctu_init() 184 struct rsnd_dai_stream *io, in rsnd_ctu_quit() argument 195 struct rsnd_dai_stream *io, in rsnd_ctu_pcm_new() argument 205 ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU Pass", in rsnd_ctu_pcm_new() [all …]
|
D | adg.c | 81 static u32 rsnd_adg_ssi_ws_timing_gen2(struct rsnd_dai_stream *io) in rsnd_adg_ssi_ws_timing_gen2() argument 83 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_adg_ssi_ws_timing_gen2() 87 if (rsnd_ssi_is_pin_sharing(io)) { in rsnd_adg_ssi_ws_timing_gen2() 107 struct rsnd_dai_stream *io, in __rsnd_adg_get_timesel_ratio() argument 168 struct rsnd_dai_stream *io, in rsnd_adg_get_timesel_ratio() argument 173 struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io); in rsnd_adg_get_timesel_ratio() 182 _out = rsnd_adg_ssi_ws_timing_gen2(io); in rsnd_adg_get_timesel_ratio() 196 __rsnd_adg_get_timesel_ratio(priv, io, in rsnd_adg_get_timesel_ratio() 209 struct rsnd_dai_stream *io) in rsnd_adg_set_cmd_timsel_gen2() argument 218 rsnd_adg_get_timesel_ratio(priv, io, in rsnd_adg_set_cmd_timsel_gen2() [all …]
|
/sound/soc/sh/ |
D | fsi.c | 269 int (*init)(struct fsi_priv *fsi, struct fsi_stream *io); 270 int (*quit)(struct fsi_priv *fsi, struct fsi_stream *io); 271 int (*probe)(struct fsi_priv *fsi, struct fsi_stream *io, struct device *dev); 272 int (*transfer)(struct fsi_priv *fsi, struct fsi_stream *io); 273 int (*remove)(struct fsi_priv *fsi, struct fsi_stream *io); 274 int (*start_stop)(struct fsi_priv *fsi, struct fsi_stream *io, 277 #define fsi_stream_handler_call(io, func, args...) \ argument 278 (!(io) ? -ENODEV : \ 279 !((io)->handler->func) ? 0 : \ 280 (io)->handler->func(args)) [all …]
|
/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 59 value = readl(priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt() 62 writel(value, priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt() 64 value = readl(priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt() 67 writel(value, priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt() 72 static inline void kirkwood_set_dco(void __iomem *io, unsigned long rate) in kirkwood_set_dco() argument 89 writel(value, io + KIRKWOOD_DCO_CTL); in kirkwood_set_dco() 94 value = readl(io + KIRKWOOD_DCO_SPCR_STATUS); in kirkwood_set_dco() 109 kirkwood_set_dco(priv->io, rate); in kirkwood_set_rate() 121 writel(clks_ctrl, priv->io + KIRKWOOD_CLOCKS_CTRL); in kirkwood_set_rate() 150 i2s_value = readl(priv->io+i2s_reg); in kirkwood_i2s_hw_params() [all …]
|
D | kirkwood-dma.c | 46 mask = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_dma_irq() 47 status = readl(priv->io + KIRKWOOD_INT_CAUSE) & mask; in kirkwood_dma_irq() 49 cause = readl(priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq() 53 writel(cause, priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq() 65 writel(status, priv->io + KIRKWOOD_INT_CAUSE); in kirkwood_dma_irq() 141 writel((unsigned int)-1, priv->io + KIRKWOOD_ERR_MASK); in kirkwood_dma_open() 150 kirkwood_dma_conf_mbus_windows(priv->io, in kirkwood_dma_open() 156 kirkwood_dma_conf_mbus_windows(priv->io, in kirkwood_dma_open() 176 writel(0, priv->io + KIRKWOOD_ERR_MASK); in kirkwood_dma_close() 212 writel(count, priv->io + KIRKWOOD_PLAY_BYTE_INT_COUNT); in kirkwood_dma_prepare() [all …]
|
D | kirkwood.h | 133 void __iomem *io; member
|
/sound/isa/msnd/ |
D | msnd_pinnacle.c | 178 inb(chip->io + HP_RXL); in snd_msnd_interrupt() 183 static int snd_msnd_reset_dsp(long io, unsigned char *info) in snd_msnd_reset_dsp() argument 187 outb(HPDSPRESET_ON, io + HP_DSPR); in snd_msnd_reset_dsp() 191 *info = inb(io + HP_INFO); in snd_msnd_reset_dsp() 193 outb(HPDSPRESET_OFF, io + HP_DSPR); in snd_msnd_reset_dsp() 196 if (inb(io + HP_CVR) == HP_CVR_DEF) in snd_msnd_reset_dsp() 215 if (!request_region(chip->io, DSP_NUMIO, "probing")) { in snd_msnd_probe() 220 if (snd_msnd_reset_dsp(chip->io, &info) < 0) { in snd_msnd_probe() 221 release_region(chip->io, DSP_NUMIO); in snd_msnd_probe() 231 chip->io, chip->io + DSP_NUMIO - 1, in snd_msnd_probe() [all …]
|
D | msnd.c | 55 unsigned int io = dev->io; in snd_msnd_wait_TXDE() local 59 if (inb(io + HP_ISR) & HPISR_TXDE) in snd_msnd_wait_TXDE() 67 unsigned int io = dev->io; in snd_msnd_wait_HC0() local 71 if (!(inb(io + HP_CVR) & HPCVR_HC)) in snd_msnd_wait_HC0() 83 outb(cmd, dev->io + HP_CVR); in snd_msnd_send_dsp_cmd() 98 unsigned int io = dev->io; in snd_msnd_send_word() local 101 outb(high, io + HP_TXH); in snd_msnd_send_word() 102 outb(mid, io + HP_TXM); in snd_msnd_send_word() 103 outb(low, io + HP_TXL); in snd_msnd_send_word() 127 inb(dev->io + HP_RXL); in snd_msnd_upload_host() [all …]
|
/sound/pci/ |
D | sis7019.c | 300 unsigned long io = sis->ioport; in sis_interrupt() local 310 intr = inl(io + SIS_GISR); in sis_interrupt() 317 status = inl(io + SIS_PISR_A); in sis_interrupt() 320 outl(status, io + SIS_PISR_A); in sis_interrupt() 323 status = inl(io + SIS_PISR_B); in sis_interrupt() 326 outl(status, io + SIS_PISR_B); in sis_interrupt() 329 status = inl(io + SIS_RISR); in sis_interrupt() 335 outl(status, io + SIS_RISR); in sis_interrupt() 338 outl(intr, io + SIS_GISR); in sis_interrupt() 339 intr = inl(io + SIS_GISR); in sis_interrupt() [all …]
|
D | maestro3.c | 1932 int io = chip->iobase; in snd_m3_remote_codec_config() local 1937 tmp = inw(io + RING_BUS_CTRL_B) & ~SECOND_CODEC_ID_MASK; in snd_m3_remote_codec_config() 1942 outw(tmp | isremote, io + RING_BUS_CTRL_B); in snd_m3_remote_codec_config() 1943 outw((inw(io + SDO_OUT_DEST_CTRL) & ~COMMAND_ADDR_OUT) | isremote, in snd_m3_remote_codec_config() 1944 io + SDO_OUT_DEST_CTRL); in snd_m3_remote_codec_config() 1945 outw((inw(io + SDO_IN_DEST_CTRL) & ~STATUS_ADDR_IN) | isremote, in snd_m3_remote_codec_config() 1946 io + SDO_IN_DEST_CTRL); in snd_m3_remote_codec_config() 1973 int io = chip->iobase; in snd_m3_ac97_reset() local 1990 dir = inw(io + GPIO_DIRECTION); in snd_m3_ac97_reset() 1996 outw(IO_SRAM_ENABLE, io + RING_BUS_CTRL_A); in snd_m3_ac97_reset() [all …]
|
D | cs5530.c | 87 static u8 snd_cs5530_mixer_read(unsigned long io, u8 reg) in snd_cs5530_mixer_read() argument 89 outb(reg, io + 4); in snd_cs5530_mixer_read() 91 reg = inb(io + 5); in snd_cs5530_mixer_read()
|
/sound/core/oss/ |
D | Makefile | 11 io.o copy.o linear.o mulaw.o route.o rate.o
|
/sound/pci/emu10k1/ |
D | Makefile | 8 irq.o memory.o voice.o emumpu401.o emupcm.o io.o \
|
/sound/usb/usx2y/ |
D | usb_stream.c | 278 struct urb *io; in usb_stream_prepare_playback() local 282 io = sk->idle_outurb; in usb_stream_prepare_playback() 283 od = io->iso_frame_desc; in usb_stream_prepare_playback() 326 io->number_of_packets = p; in usb_stream_prepare_playback() 327 io->transfer_buffer_length = lb; in usb_stream_prepare_playback()
|
/sound/pci/au88x0/ |
D | au88x0.c | 171 chip->io = pci_resource_start(pci, 0); in snd_vortex_create() 267 card->shortname, chip->io, chip->irq); in snd_vortex_probe()
|
/sound/soc/ |
D | Makefile | 3 snd-soc-core-objs += soc-pcm.o soc-io.o soc-devres.o soc-ops.o
|