Home
last modified time | relevance | path

Searched defs:io (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/tools/lib/api/
Dio.h13 struct io { struct
28 static inline void io__init(struct io *io, int fd, in io__init()
40 static inline int io__get_char(struct io *io) in io__get_char()
66 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex()
95 static inline int io__get_dec(struct io *io, __u64 *dec) in io__get_dec()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_si_mem_io.c6 static unsigned char intf_mem_inb(const struct si_sm_io *io, in intf_mem_inb()
12 static void intf_mem_outb(const struct si_sm_io *io, unsigned int offset, in intf_mem_outb()
18 static unsigned char intf_mem_inw(const struct si_sm_io *io, in intf_mem_inw()
25 static void intf_mem_outw(const struct si_sm_io *io, unsigned int offset, in intf_mem_outw()
31 static unsigned char intf_mem_inl(const struct si_sm_io *io, in intf_mem_inl()
38 static void intf_mem_outl(const struct si_sm_io *io, unsigned int offset, in intf_mem_outl()
45 static unsigned char mem_inq(const struct si_sm_io *io, unsigned int offset) in mem_inq()
51 static void mem_outq(const struct si_sm_io *io, unsigned int offset, in mem_outq()
58 static void mem_region_cleanup(struct si_sm_io *io, int num) in mem_region_cleanup()
68 static void mem_cleanup(struct si_sm_io *io) in mem_cleanup()
[all …]
Dipmi_si_port_io.c6 static unsigned char port_inb(const struct si_sm_io *io, unsigned int offset) in port_inb()
13 static void port_outb(const struct si_sm_io *io, unsigned int offset, in port_outb()
21 static unsigned char port_inw(const struct si_sm_io *io, unsigned int offset) in port_inw()
28 static void port_outw(const struct si_sm_io *io, unsigned int offset, in port_outw()
36 static unsigned char port_inl(const struct si_sm_io *io, unsigned int offset) in port_inl()
43 static void port_outl(const struct si_sm_io *io, unsigned int offset, in port_outl()
51 static void port_cleanup(struct si_sm_io *io) in port_cleanup()
63 int ipmi_si_port_setup(struct si_sm_io *io) in ipmi_si_port_setup()
Dipmi_si_platform.c61 struct si_sm_io *io = context; in ipmi_acpi_gpe() local
67 static void acpi_gpe_irq_cleanup(struct si_sm_io *io) in acpi_gpe_irq_cleanup()
76 static int acpi_gpe_irq_setup(struct si_sm_io *io) in acpi_gpe_irq_setup()
105 struct si_sm_io *io) in ipmi_get_info_from_resources()
138 struct si_sm_io io; in platform_ipmi_probe() local
230 struct si_sm_io io; in of_ipmi_probe() local
306 static int find_slave_address(struct si_sm_io *io, int slave_addr) in find_slave_address()
320 struct si_sm_io io; in acpi_ipmi_probe() local
Dipmi_si_pci.c24 static void ipmi_pci_cleanup(struct si_sm_io *io) in ipmi_pci_cleanup()
31 static int ipmi_pci_probe_regspacing(struct si_sm_io *io) in ipmi_pci_probe_regspacing()
73 struct si_sm_io io; in ipmi_pci_probe() local
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
Dcore.c133 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io, in rsnd_mod_dma_req()
174 struct rsnd_dai_stream *io, in rsnd_mod_get_status()
230 struct rsnd_dai_stream *io)) in rsnd_mod_interrupt()
233 struct rsnd_dai_stream *io; in rsnd_mod_interrupt() local
248 int rsnd_io_is_working(struct rsnd_dai_stream *io) in rsnd_io_is_working()
257 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_original_with_params()
274 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_after_ctu_with_params()
315 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_for_ssi_with_params()
330 int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io) in rsnd_runtime_is_multi_ssi()
341 int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io) in rsnd_runtime_is_tdm()
[all …]
Dssi.c113 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument
114 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument
116 #define rsnd_ssi_is_run_mods(mod, io) \ argument
122 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io) in rsnd_ssi_use_busif()
168 static u32 rsnd_ssi_multi_secondaries(struct rsnd_dai_stream *io) in rsnd_ssi_multi_secondaries()
190 static u32 rsnd_ssi_run_mods(struct rsnd_dai_stream *io) in rsnd_ssi_run_mods()
205 u32 rsnd_ssi_multi_secondaries_runtime(struct rsnd_dai_stream *io) in rsnd_ssi_multi_secondaries_runtime()
267 struct rsnd_dai_stream *io) in rsnd_ssi_master_clk_start()
341 struct rsnd_dai_stream *io) in rsnd_ssi_master_clk_stop()
363 struct rsnd_dai_stream *io) in rsnd_ssi_config_init()
[all …]
Dsrc.c69 static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io, in rsnd_src_dma_req()
80 static u32 rsnd_src_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_convert_rate()
105 struct rsnd_dai_stream *io, in rsnd_src_get_rate()
191 static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_set_convert_rate()
348 struct rsnd_dai_stream *io, in rsnd_src_irq()
425 struct rsnd_dai_stream *io, in rsnd_src_start()
444 struct rsnd_dai_stream *io, in rsnd_src_stop()
453 struct rsnd_dai_stream *io, in rsnd_src_init()
476 struct rsnd_dai_stream *io, in rsnd_src_quit()
492 struct rsnd_dai_stream *io) in __rsnd_src_interrupt()
[all …]
Ddvc.c73 static void rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io, in rsnd_dvc_volume_parameter()
93 static void rsnd_dvc_volume_init(struct rsnd_dai_stream *io, in rsnd_dvc_volume_init()
143 static void rsnd_dvc_volume_update(struct rsnd_dai_stream *io, in rsnd_dvc_volume_update()
179 struct rsnd_dai_stream *io, in rsnd_dvc_probe_()
186 struct rsnd_dai_stream *io, in rsnd_dvc_init()
205 struct rsnd_dai_stream *io, in rsnd_dvc_quit()
216 struct rsnd_dai_stream *io, in rsnd_dvc_pcm_new()
283 static struct dma_chan *rsnd_dvc_dma_req(struct rsnd_dai_stream *io, in rsnd_dvc_dma_req()
Ddma.c69 struct rsnd_dai_stream *io) in __rsnd_dmaen_complete()
82 static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io, in rsnd_dmaen_request_channel()
97 struct rsnd_dai_stream *io, in rsnd_dmaen_stop()
110 struct rsnd_dai_stream *io, in rsnd_dmaen_cleanup()
130 struct rsnd_dai_stream *io, in rsnd_dmaen_prepare()
159 struct rsnd_dai_stream *io, in rsnd_dmaen_start()
258 static int rsnd_dmaen_attach(struct rsnd_dai_stream *io, in rsnd_dmaen_attach()
297 struct rsnd_dai_stream *io, in rsnd_dmaen_pointer()
369 static u32 rsnd_dmapp_get_id(struct rsnd_dai_stream *io, in rsnd_dmapp_get_id()
409 static u32 rsnd_dmapp_get_chcr(struct rsnd_dai_stream *io, in rsnd_dmapp_get_chcr()
[all …]
Dmix.c84 static void rsnd_mix_volume_parameter(struct rsnd_dai_stream *io, in rsnd_mix_volume_parameter()
104 static void rsnd_mix_volume_init(struct rsnd_dai_stream *io, in rsnd_mix_volume_init()
125 static void rsnd_mix_volume_update(struct rsnd_dai_stream *io, in rsnd_mix_volume_update()
139 struct rsnd_dai_stream *io, in rsnd_mix_probe_()
146 struct rsnd_dai_stream *io, in rsnd_mix_init()
165 struct rsnd_dai_stream *io, in rsnd_mix_quit()
176 struct rsnd_dai_stream *io, in rsnd_mix_pcm_new()
Dctu.c108 struct rsnd_dai_stream *io, in rsnd_ctu_probe_()
114 static void rsnd_ctu_value_init(struct rsnd_dai_stream *io, in rsnd_ctu_value_init()
151 static void rsnd_ctu_value_reset(struct rsnd_dai_stream *io, in rsnd_ctu_value_reset()
171 struct rsnd_dai_stream *io, in rsnd_ctu_init()
188 struct rsnd_dai_stream *io, in rsnd_ctu_quit()
199 struct rsnd_dai_stream *io, in rsnd_ctu_pcm_new()
Dssiu.c49 struct rsnd_dai_stream *io, in rsnd_ssiu_get_status()
59 struct rsnd_dai_stream *io, in rsnd_ssiu_init()
150 struct rsnd_dai_stream *io, in rsnd_ssiu_init_gen2()
239 struct rsnd_dai_stream *io, in rsnd_ssiu_start_gen2()
256 struct rsnd_dai_stream *io, in rsnd_ssiu_stop_gen2()
292 static struct dma_chan *rsnd_ssiu_dma_req(struct rsnd_dai_stream *io, in rsnd_ssiu_dma_req()
334 struct rsnd_dai_stream *io) in rsnd_parse_connect_ssiu_compatible()
Dcmd.c24 struct rsnd_dai_stream *io, in rsnd_cmd_init()
101 struct rsnd_dai_stream *io, in rsnd_cmd_start()
110 struct rsnd_dai_stream *io, in rsnd_cmd_stop()
133 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id) in rsnd_cmd_attach()
/kernel/linux/linux-5.10/drivers/md/
Ddm-io.c33 struct io { struct
36 struct dm_io_client *client; argument
37 io_notify_fn callback; argument
43 static struct kmem_cache *_dm_io_cache; argument
90 static void store_io_and_region_in_bio(struct bio *bio, struct io *io, in store_io_and_region_in_bio()
101 static void retrieve_io_and_region_from_bio(struct bio *bio, struct io **io, in retrieve_io_and_region_from_bio()
114 static void complete_io(struct io *io) in complete_io()
128 static void dec_count(struct io *io, unsigned int region, blk_status_t error) in dec_count()
139 struct io *io; in endio() local
298 struct io *io) in do_region()
[all …]
Ddm-verity-fec.c25 static inline struct dm_verity_fec_io *fec_io(struct dm_verity_io *io) in fec_io()
87 #define fec_for_each_extra_buffer(io, __i) \ argument
91 #define fec_for_each_buffer(io, __i) \ argument
95 #define fec_for_each_buffer_rs_block(io, __i, __j) \ argument
183 static int fec_is_erasure(struct dm_verity *v, struct dm_verity_io *io, in fec_is_erasure()
199 static int fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_read_bufs()
360 static int fec_decode_rsb(struct dm_verity *v, struct dm_verity_io *io, in fec_decode_rsb()
403 static int fec_bv_copy(struct dm_verity *v, struct dm_verity_io *io, u8 *data, in fec_bv_copy()
418 int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io, in verity_fec_decode()
485 void verity_fec_finish_io(struct dm_verity_io *io) in verity_fec_finish_io()
[all …]
Ddm-verity-target.c275 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
334 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block()
371 static int verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_io_block()
415 int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_bv_block()
449 static int verity_bv_zero(struct dm_verity *v, struct dm_verity_io *io, in verity_bv_zero()
460 struct dm_verity_io *io, in verity_bv_skip_block()
471 static int verity_verify_io(struct dm_verity_io *io) in verity_verify_io()
552 static void verity_finish_io(struct dm_verity_io *io, blk_status_t status) in verity_finish_io()
567 struct dm_verity_io *io = container_of(w, struct dm_verity_io, work); in verity_work() local
574 struct dm_verity_io *io = bio->bi_private; in verity_end_io() local
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dmovinggc.c40 struct moving_io *io = container_of(cl, struct moving_io, cl); in moving_io_destructor() local
47 struct moving_io *io = container_of(cl, struct moving_io, cl); in write_moving_finish() local
65 struct moving_io *io = container_of(bio->bi_private, in read_moving_endio() local
78 static void moving_init(struct moving_io *io) in moving_init()
94 struct moving_io *io = container_of(cl, struct moving_io, cl); in write_moving() local
118 struct moving_io *io = container_of(cl, struct moving_io, cl); in read_moving_submit() local
129 struct moving_io *io; in read_moving() local
Dwriteback.c285 struct dirty_io *io = w->private; in dirty_init() local
300 struct dirty_io *io = container_of(cl, struct dirty_io, cl); in dirty_io_destructor() local
307 struct dirty_io *io = container_of(cl, struct dirty_io, cl); in write_dirty_finish() local
347 struct dirty_io *io = w->private; in dirty_endio() local
359 struct dirty_io *io = container_of(cl, struct dirty_io, cl); in write_dirty() local
409 struct dirty_io *io = w->private; in read_dirty_endio() local
421 struct dirty_io *io = container_of(cl, struct dirty_io, cl); in read_dirty_submit() local
434 struct dirty_io *io; in read_dirty() local
/kernel/linux/linux-5.10/drivers/input/serio/
Dambakmi.c27 struct serio *io; member
50 static int amba_kmi_write(struct serio *io, unsigned char val) in amba_kmi_write()
64 static int amba_kmi_open(struct serio *io) in amba_kmi_open()
96 static void amba_kmi_close(struct serio *io) in amba_kmi_close()
110 struct serio *io; in amba_kmi_probe() local
Daltera_ps2.c23 struct serio *io; member
48 static int altera_ps2_write(struct serio *io, unsigned char val) in altera_ps2_write()
56 static int altera_ps2_open(struct serio *io) in altera_ps2_open()
68 static void altera_ps2_close(struct serio *io) in altera_ps2_close()
/kernel/linux/linux-5.10/sound/soc/sh/
Dfsi.c277 #define fsi_stream_handler_call(io, func, args...) \ argument
301 struct fsi_stream *io) in fsi_stream_is_play()
429 static u32 fsi_get_port_shift(struct fsi_priv *fsi, struct fsi_stream *io) in fsi_get_port_shift()
454 struct fsi_stream *io) in fsi_get_current_fifo_samples()
500 struct fsi_stream *io) in fsi_stream_is_working()
513 static struct fsi_priv *fsi_stream_to_priv(struct fsi_stream *io) in fsi_stream_to_priv()
519 struct fsi_stream *io, in fsi_stream_init()
540 static void fsi_stream_quit(struct fsi_priv *fsi, struct fsi_stream *io) in fsi_stream_quit()
567 static int fsi_stream_transfer(struct fsi_stream *io) in fsi_stream_transfer()
576 #define fsi_stream_start(fsi, io)\ argument
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_io.c12 int cxd2880_io_common_write_one_reg(struct cxd2880_io *io, in cxd2880_io_common_write_one_reg()
22 int cxd2880_io_set_reg_bits(struct cxd2880_io *io, in cxd2880_io_set_reg_bits()
47 int cxd2880_io_write_multi_regs(struct cxd2880_io *io, in cxd2880_io_write_multi_regs()
Dcxd2880_devio_spi.c14 static int cxd2880_io_spi_read_reg(struct cxd2880_io *io, in cxd2880_io_spi_read_reg()
62 static int cxd2880_io_spi_write_reg(struct cxd2880_io *io, in cxd2880_io_spi_write_reg()
114 int cxd2880_io_spi_create(struct cxd2880_io *io, in cxd2880_io_spi_create()
/kernel/linux/linux-5.10/tools/perf/tests/
Dapi-io.c58 size_t buf_size, struct io *io) in setup_test()
80 static void cleanup_test(char path[PATH_MAX], struct io *io) in cleanup_test()
90 struct io io; in do_test_get_char() local
137 struct io io; in do_test_get_hex() local
218 struct io io; in do_test_get_dec() local

12345678910>>...12