Home
last modified time | relevance | path

Searched refs:io_ops (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_io.c41 return hdl->io_ops._read8(hdl, addr); in r8712_read8()
48 return hdl->io_ops._read16(hdl, addr); in r8712_read16()
55 return hdl->io_ops._read32(hdl, addr); in r8712_read32()
62 hdl->io_ops._write8(hdl, addr, val); in r8712_write8()
69 hdl->io_ops._write16(hdl, addr, val); in r8712_write16()
76 hdl->io_ops._write32(hdl, addr, val); in r8712_write32()
86 hdl->io_ops._read_mem(hdl, addr, cnt, pmem); in r8712_read_mem()
93 hdl->io_ops._write_mem(hdl, addr, cnt, pmem); in r8712_write_mem()
103 hdl->io_ops._read_port(hdl, addr, cnt, pmem); in r8712_read_port()
110 hdl->io_ops._write_port(hdl, addr, cnt, pmem); in r8712_write_port()
Drtl871x_io.c70 set_intf_ops(&pintf_hdl->io_ops); in _init_intf_hdl()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_io.c46 _read8 = pintfhdl->io_ops._read8; in _rtw_read8()
60 _read16 = pintfhdl->io_ops._read16; in _rtw_read16()
74 _read32 = pintfhdl->io_ops._read32; in _rtw_read32()
89 _write8 = pintfhdl->io_ops._write8; in _rtw_write8()
103 _write16 = pintfhdl->io_ops._write16; in _rtw_write16()
116 _write32 = pintfhdl->io_ops._write32; in _rtw_write32()
130 _sd_f0_read8 = pintfhdl->io_ops._sd_f0_read8; in _rtw_sd_f0_read8()
147 _write_port = pintfhdl->io_ops._write_port; in _rtw_write_port()
166 set_intf_ops(padapter, &pintf->io_ops); in rtw_init_io_priv()
/Linux-v4.19/drivers/staging/speakup/
Dspeakup_audptr.c98 .io_ops = &spk_ttyio_ops,
122 synth->io_ops->flush_buffer(); in synth_flush()
123 synth->io_ops->send_xchar(SYNTH_CLEAR); in synth_flush()
124 synth->io_ops->synth_out(synth, PROCSPEECH); in synth_flush()
133 synth_id[test] = synth->io_ops->synth_in(); in synth_version()
137 synth_id[++test] = synth->io_ops->synth_in(); in synth_version()
Dspeakup_dectlk.c124 .io_ops = &spk_ttyio_ops,
246 if (synth_full_val || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
260 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
263 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
278 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
285 synth->io_ops->synth_out(synth, ']'); in synth_flush()
288 synth->io_ops->flush_buffer(); in synth_flush()
289 synth->io_ops->synth_out(synth, SYNTH_CLEAR); in synth_flush()
Dspeakup_apollo.c103 .io_ops = &spk_ttyio_ops,
165 if (!synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
166 synth->io_ops->tiocmset(0, UART_MCR_RTS); in do_catch_up()
167 synth->io_ops->tiocmset(UART_MCR_RTS, 0); in do_catch_up()
177 if (synth->io_ops->synth_out(synth, synth->procspeech)) in do_catch_up()
190 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
Dspeakup_decext.c118 .io_ops = &spk_ttyio_ops,
178 if (synth_full() || !synth->io_ops->synth_out(synth, ch)) { in do_catch_up()
192 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
195 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
210 synth->io_ops->synth_out(synth, PROCSPEECH); in do_catch_up()
216 synth->io_ops->flush_buffer(); in synth_flush()
Dsynth.c97 ret = synth->io_ops->synth_out_unicode(synth, ch); in _spk_do_catch_up()
99 ret = synth->io_ops->synth_out(synth, ch); in _spk_do_catch_up()
110 if (synth->io_ops->synth_out(synth, synth->procspeech)) in _spk_do_catch_up()
123 synth->io_ops->synth_out(synth, synth->procspeech); in _spk_do_catch_up()
140 synth->io_ops->flush_buffer(); in spk_synth_flush()
141 synth->io_ops->synth_out(synth, synth->clear); in spk_synth_flush()
147 return synth->io_ops->synth_in_nowait(); in spk_synth_get_index()
Dspeakup_spkout.c96 .io_ops = &spk_ttyio_ops,
120 synth->io_ops->flush_buffer(); in synth_flush()
121 synth->io_ops->send_xchar(SYNTH_CLEAR); in synth_flush()
Dspeakup_ltlk.c105 .io_ops = &spk_ttyio_ops,
135 buf[i] = synth->io_ops->synth_in(); in synth_interrogate()
Dspeakup_dummy.c94 .io_ops = &spk_ttyio_ops,
Dspeakup_bns.c91 .io_ops = &spk_ttyio_ops,
Dspeakup_txprt.c90 .io_ops = &spk_ttyio_ops,
Dspeakup_acntsa.c94 .io_ops = &spk_ttyio_ops,
Dspk_types.h183 struct spk_io_ops *io_ops; member
/Linux-v4.19/include/linux/usb/
Dphy.h99 struct usb_phy_io_ops *io_ops; member
168 if (x && x->io_ops && x->io_ops->read) in usb_phy_io_read()
169 return x->io_ops->read(x, reg); in usb_phy_io_read()
176 if (x && x->io_ops && x->io_ops->write) in usb_phy_io_write()
177 return x->io_ops->write(x, val, reg); in usb_phy_io_write()
/Linux-v4.19/include/sound/
Dhdaudio.h303 const struct hdac_io_ops *io_ops; member
381 const struct hdac_io_ops *io_ops);
429 ((chip)->io_ops->reg_writeb(value, (chip)->remap_addr + (reg)))
431 ((chip)->io_ops->reg_readb((chip)->remap_addr + (reg)))
433 ((chip)->io_ops->reg_writew(value, (chip)->remap_addr + (reg)))
435 ((chip)->io_ops->reg_readw((chip)->remap_addr + (reg)))
437 ((chip)->io_ops->reg_writel(value, (chip)->remap_addr + (reg)))
439 ((chip)->io_ops->reg_readl((chip)->remap_addr + (reg)))
542 ((dev)->bus->io_ops->reg_write ## type(value, (dev)->sd_addr + (reg)))
544 ((dev)->bus->io_ops->reg_read ## type((dev)->sd_addr + (reg)))
Dsoc-topology.h162 const struct snd_soc_tplg_kcontrol_ops *io_ops; member
Dhdaudio_ext.h9 const struct hdac_io_ops *io_ops,
/Linux-v4.19/sound/hda/ext/
Dhdac_ext_bus.c92 const struct hdac_io_ops *io_ops, in snd_hdac_ext_bus_init() argument
99 if (io_ops == NULL) in snd_hdac_ext_bus_init()
100 io_ops = &hdac_ext_default_io; in snd_hdac_ext_bus_init()
102 ret = snd_hdac_bus_init(bus, dev, ops, io_ops); in snd_hdac_ext_bus_init()
/Linux-v4.19/sound/hda/
Dhdac_bus.c29 const struct hdac_io_ops *io_ops) in snd_hdac_bus_init() argument
37 bus->io_ops = io_ops; in snd_hdac_bus_init()
Dhdac_controller.c578 err = bus->io_ops->dma_alloc_pages(bus, SNDRV_DMA_TYPE_DEV, in snd_hdac_bus_alloc_stream_pages()
588 err = bus->io_ops->dma_alloc_pages(bus, SNDRV_DMA_TYPE_DEV, in snd_hdac_bus_alloc_stream_pages()
596 return bus->io_ops->dma_alloc_pages(bus, SNDRV_DMA_TYPE_DEV, in snd_hdac_bus_alloc_stream_pages()
611 bus->io_ops->dma_free_pages(bus, &s->bdl); in snd_hdac_bus_free_stream_pages()
615 bus->io_ops->dma_free_pages(bus, &bus->rb); in snd_hdac_bus_free_stream_pages()
617 bus->io_ops->dma_free_pages(bus, &bus->posbuf); in snd_hdac_bus_free_stream_pages()
Dhdac_stream.c637 err = bus->io_ops->dma_alloc_pages(bus, SNDRV_DMA_TYPE_DEV_SG, in snd_hdac_dsp_prepare()
664 bus->io_ops->dma_free_pages(bus, bufp); in snd_hdac_dsp_prepare()
711 bus->io_ops->dma_free_pages(bus, dmab); in snd_hdac_dsp_cleanup()
/Linux-v4.19/sound/pci/hda/
Dhda_controller.h231 const struct hdac_io_ops *io_ops);
/Linux-v4.19/sound/soc/intel/skylake/
Dskl.c136 bus->io_ops->reg_writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in skl_init_chip()
786 const struct hdac_io_ops *io_ops, in skl_create() argument
807 snd_hdac_ext_bus_init(bus, &pci->dev, &bus_core_ops, io_ops, NULL); in skl_create()

12