Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.12.1/tools/lib/api/
Dio.h17 struct io { struct
34 static inline void io__init(struct io *io, int fd, in io__init()
47 static inline int io__fill_buffer(struct io *io) in io__fill_buffer()
86 static inline int io__get_char(struct io *io) in io__get_char()
102 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex()
131 static inline int io__get_dec(struct io *io, __u64 *dec) in io__get_dec()
152 static inline ssize_t io__getdelim(struct io *io, char **line_out, size_t *line_len_out, int delim) in io__getdelim()
195 static inline ssize_t io__getline(struct io *io, char **line_out, size_t *line_len_out) in io__getline()
/linux-6.12.1/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()
103 static void ipmi_set_addr_data_and_space(struct resource *r, struct si_sm_io *io) in ipmi_set_addr_data_and_space()
114 struct si_sm_io *io) in ipmi_get_info_from_resources()
137 struct si_sm_io io; in platform_ipmi_probe() local
228 struct si_sm_io io; in of_ipmi_probe() local
295 static int find_slave_address(struct si_sm_io *io, int slave_addr) in find_slave_address()
310 struct si_sm_io io; in acpi_ipmi_probe() local
/linux-6.12.1/drivers/scsi/elx/efct/
Defct_scsi.c15 #define scsi_io_printf(io, fmt, ...) \ argument
23 #define scsi_io_trace(io, fmt, ...) \ argument
34 struct efct_io *io; in efct_scsi_io_alloc() local
77 struct efct_io *io = container_of(arg, struct efct_io, ref); in _efct_scsi_io_free() local
99 efct_scsi_io_free(struct efct_io *io) in efct_scsi_io_free()
111 struct efct_io *io = app; in efct_target_io_cb() local
229 static void efc_log_sgl(struct efct_io *io) in efc_log_sgl()
256 struct efct_io *io = arg; in efct_scsi_check_pending_async_cb() local
270 efct_scsi_io_dispatch_hw_io(struct efct_io *io, struct efct_hw_io *hio) in efct_scsi_io_dispatch_hw_io()
331 efct_scsi_io_dispatch_no_hw_io(struct efct_io *io) in efct_scsi_io_dispatch_no_hw_io()
[all …]
Defct_io.c25 struct efct_io *io; in efct_io_pool_create() local
80 struct efct_io *io; in efct_io_pool_free() local
107 struct efct_io *io = NULL; in efct_io_pool_io_alloc() local
147 efct_io_pool_io_free(struct efct_io_pool *io_pool, struct efct_io *io) in efct_io_pool_io_free()
175 struct efct_io *io = NULL; in efct_io_find_tgt_io() local
/linux-6.12.1/sound/soc/sh/rcar/
Dcore.c127 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io, in rsnd_mod_dma_req()
168 struct rsnd_dai_stream *io, in rsnd_mod_get_status()
224 struct rsnd_dai_stream *io)) in rsnd_mod_interrupt()
231 struct rsnd_dai_stream *io = &rdai->playback; in rsnd_mod_interrupt() local
242 int rsnd_io_is_working(struct rsnd_dai_stream *io) in rsnd_io_is_working()
251 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_original_with_params()
269 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_after_ctu_with_params()
310 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_for_ssi_with_params()
325 int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io) in rsnd_runtime_is_multi_ssi()
336 int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io) in rsnd_runtime_is_tdm()
[all …]
Dssi.c115 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument
116 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument
118 #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()
344 struct rsnd_dai_stream *io) in rsnd_ssi_master_clk_stop()
366 struct rsnd_dai_stream *io) in rsnd_ssi_config_init()
[all …]
Dsrc.c79 static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io, in rsnd_src_dma_req()
90 static u32 rsnd_src_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_convert_rate()
115 struct rsnd_dai_stream *io, in rsnd_src_get_rate()
201 static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_set_convert_rate()
358 struct rsnd_dai_stream *io, in rsnd_src_irq()
435 struct rsnd_dai_stream *io, in rsnd_src_start()
454 struct rsnd_dai_stream *io, in rsnd_src_stop()
463 struct rsnd_dai_stream *io, in rsnd_src_init()
486 struct rsnd_dai_stream *io, in rsnd_src_quit()
502 struct rsnd_dai_stream *io) in __rsnd_src_interrupt()
[all …]
Ddma.c68 static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io, in rsnd_dmaen_request_channel()
83 struct rsnd_dai_stream *io, in rsnd_dmaen_stop()
90 struct rsnd_dai_stream *io, in rsnd_dmaen_cleanup()
110 struct rsnd_dai_stream *io, in rsnd_dmaen_prepare()
139 struct rsnd_dai_stream *io, in rsnd_dmaen_start()
219 static int rsnd_dmaen_attach(struct rsnd_dai_stream *io, in rsnd_dmaen_attach()
258 struct rsnd_dai_stream *io, in rsnd_dmaen_pointer()
318 static u32 rsnd_dmapp_get_id(struct rsnd_dai_stream *io, in rsnd_dmapp_get_id()
358 static u32 rsnd_dmapp_get_chcr(struct rsnd_dai_stream *io, in rsnd_dmapp_get_chcr()
405 struct rsnd_dai_stream *io, in rsnd_dmapp_stop()
[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()
294 struct rsnd_dai_stream *io, in rsnd_dvc_debug_info()
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()
259 struct rsnd_dai_stream *io, in rsnd_mix_debug_info()
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()
284 struct rsnd_dai_stream *io, in rsnd_ctu_debug_info()
Dcmd.c24 struct rsnd_dai_stream *io, in rsnd_cmd_init()
100 struct rsnd_dai_stream *io, in rsnd_cmd_start()
109 struct rsnd_dai_stream *io, in rsnd_cmd_stop()
119 struct rsnd_dai_stream *io, in rsnd_cmd_debug_info()
146 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id) in rsnd_cmd_attach()
Dssiu.c133 struct rsnd_dai_stream *io, in rsnd_ssiu_get_status()
143 struct rsnd_dai_stream *io, in rsnd_ssiu_init()
227 struct rsnd_dai_stream *io, in rsnd_ssiu_quit()
244 struct rsnd_dai_stream *io, in rsnd_ssiu_init_gen2()
334 struct rsnd_dai_stream *io, in rsnd_ssiu_start_gen2()
351 struct rsnd_dai_stream *io, in rsnd_ssiu_stop_gen2()
387 static struct dma_chan *rsnd_ssiu_dma_req(struct rsnd_dai_stream *io, in rsnd_ssiu_dma_req()
413 struct rsnd_dai_stream *io, in rsnd_ssiu_debug_info()
444 struct rsnd_dai_stream *io) in rsnd_parse_connect_ssiu_compatible()
Drsnd.h442 #define for_each_rsnd_mod(iterator, pos, io) \ argument
445 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument
448 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument
460 #define rsnd_runtime_channel_original(io) \ argument
464 #define rsnd_runtime_channel_after_ctu(io) \ argument
468 #define rsnd_runtime_channel_for_ssi(io) \ argument
512 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) argument
513 #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) argument
514 #define rsnd_io_to_mod_ssiu(io) rsnd_io_to_mod((io), RSND_MOD_SSIU) argument
515 #define rsnd_io_to_mod_ssip(io) rsnd_io_to_mod((io), RSND_MOD_SSIP) argument
[all …]
/linux-6.12.1/drivers/md/
Ddm-io.c34 struct io { struct
37 struct dm_io_client *client; argument
38 io_notify_fn callback; argument
44 static struct kmem_cache *_dm_io_cache; argument
93 static void store_io_and_region_in_bio(struct bio *bio, struct io *io, in store_io_and_region_in_bio()
104 static void retrieve_io_and_region_from_bio(struct bio *bio, struct io **io, in retrieve_io_and_region_from_bio()
119 static void complete_io(struct io *io) in complete_io()
133 static void dec_count(struct io *io, unsigned int region, blk_status_t error) in dec_count()
144 struct io *io; in endio() local
308 struct io *io, unsigned short ioprio) 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()
89 #define fec_for_each_extra_buffer(io, __i) \ argument
93 #define fec_for_each_buffer(io, __i) \ argument
97 #define fec_for_each_buffer_rs_block(io, __i, __j) \ argument
125 static int fec_decode_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_decode_bufs()
186 static int fec_is_erasure(struct dm_verity *v, struct dm_verity_io *io, in fec_is_erasure()
201 static int fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_read_bufs()
363 static int fec_decode_rsb(struct dm_verity *v, struct dm_verity_io *io, in fec_decode_rsb()
406 int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io, in verity_fec_decode()
467 void verity_fec_finish_io(struct dm_verity_io *io) in verity_fec_finish_io()
[all …]
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_nestedv2.c395 struct kvmhv_nestedv2_io *io; in gs_msg_ops_vcpu_refresh_info() local
634 struct kvmhv_nestedv2_io *io) in kvmhv_nestedv2_host_create()
750 struct kvmhv_nestedv2_io *io; in __kvmhv_nestedv2_mark_dirty() local
778 struct kvmhv_nestedv2_io *io; in __kvmhv_nestedv2_cached_reload() local
816 struct kvmhv_nestedv2_io *io; in kvmhv_nestedv2_flush_vcpu() local
906 struct kvmhv_nestedv2_io *io; in kvmhv_nestedv2_set_vpa() local
936 struct kvmhv_nestedv2_io *io; in kvmhv_nestedv2_parse_output() local
954 struct kvmhv_nestedv2_io *io) in kvmhv_nestedv2_host_free()
964 struct kvmhv_nestedv2_io *io; in __kvmhv_nestedv2_reload_ptregs() local
1029 struct kvmhv_nestedv2_io *io) in kvmhv_nestedv2_vcpu_create()
[all …]
/linux-6.12.1/sound/soc/sh/
Dfsi.c276 #define fsi_stream_handler_call(io, func, args...) \ argument
300 struct fsi_stream *io) in fsi_stream_is_play()
428 static u32 fsi_get_port_shift(struct fsi_priv *fsi, struct fsi_stream *io) in fsi_get_port_shift()
453 struct fsi_stream *io) in fsi_get_current_fifo_samples()
499 struct fsi_stream *io) in fsi_stream_is_working()
512 static struct fsi_priv *fsi_stream_to_priv(struct fsi_stream *io) in fsi_stream_to_priv()
518 struct fsi_stream *io, in fsi_stream_init()
539 static void fsi_stream_quit(struct fsi_priv *fsi, struct fsi_stream *io) in fsi_stream_quit()
566 static int fsi_stream_transfer(struct fsi_stream *io) in fsi_stream_transfer()
575 #define fsi_stream_start(fsi, io)\ argument
[all …]
/linux-6.12.1/fs/erofs/
Dfscache.c45 static bool erofs_fscache_io_put(struct erofs_fscache_io *io) in erofs_fscache_io_put()
97 static void erofs_fscache_req_io_put(struct erofs_fscache_io *io) in erofs_fscache_req_io_put()
108 struct erofs_fscache_io *io = priv; in erofs_fscache_req_end_io() local
118 struct erofs_fscache_io *io = kzalloc(sizeof(*io), GFP_KERNEL); in erofs_fscache_req_io_alloc() local
134 loff_t pstart, struct erofs_fscache_io *io) in erofs_fscache_read_io_async()
178 struct erofs_fscache_io io; member
186 struct erofs_fscache_bio *io = priv; in erofs_fscache_bio_endio() local
197 struct erofs_fscache_bio *io; in erofs_fscache_bio_alloc() local
209 struct erofs_fscache_bio *io = container_of(bio, in erofs_fscache_submit_bio() local
229 struct erofs_fscache_io *io; in erofs_fscache_meta_read_folio() local
[all …]
/linux-6.12.1/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()
/linux-6.12.1/tools/perf/tests/
Dapi-io.c59 size_t buf_size, struct io *io) in setup_test()
81 static void cleanup_test(char path[PATH_MAX], struct io *io) in cleanup_test()
91 struct io io; in do_test_get_char() local
138 struct io io; in do_test_get_hex() local
219 struct io io; in do_test_get_dec() local
296 struct io io; in test_get_line() local
/linux-6.12.1/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()

12345678910>>...13