Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v6.6/tools/lib/api/
Dio.h16 struct io { struct
33 static inline void io__init(struct io *io, int fd, in io__init()
46 static inline int io__get_char(struct io *io) in io__get_char()
94 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex()
123 static inline int io__get_dec(struct io *io, __u64 *dec) in io__get_dec()
144 static inline ssize_t io__getline(struct io *io, char **line_out, size_t *line_len_out) in io__getline()
/Linux-v6.6/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.c60 struct si_sm_io *io = context; in ipmi_acpi_gpe() local
66 static void acpi_gpe_irq_cleanup(struct si_sm_io *io) in acpi_gpe_irq_cleanup()
75 static int acpi_gpe_irq_setup(struct si_sm_io *io) in acpi_gpe_irq_setup()
102 static void ipmi_set_addr_data_and_space(struct resource *r, struct si_sm_io *io) in ipmi_set_addr_data_and_space()
113 struct si_sm_io *io) in ipmi_get_info_from_resources()
136 struct si_sm_io io; in platform_ipmi_probe() local
228 struct si_sm_io io; in of_ipmi_probe() local
299 static int find_slave_address(struct si_sm_io *io, int slave_addr) in find_slave_address()
314 struct si_sm_io io; in acpi_ipmi_probe() local
/Linux-v6.6/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-v6.6/sound/soc/sh/rcar/
Dcore.c126 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io, in rsnd_mod_dma_req()
167 struct rsnd_dai_stream *io, in rsnd_mod_get_status()
223 struct rsnd_dai_stream *io)) in rsnd_mod_interrupt()
230 struct rsnd_dai_stream *io = &rdai->playback; in rsnd_mod_interrupt() local
241 int rsnd_io_is_working(struct rsnd_dai_stream *io) in rsnd_io_is_working()
250 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_original_with_params()
268 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_after_ctu_with_params()
309 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io, in rsnd_runtime_channel_for_ssi_with_params()
324 int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io) in rsnd_runtime_is_multi_ssi()
335 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
120 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io) in rsnd_ssi_use_busif()
166 static u32 rsnd_ssi_multi_secondaries(struct rsnd_dai_stream *io) in rsnd_ssi_multi_secondaries()
188 static u32 rsnd_ssi_run_mods(struct rsnd_dai_stream *io) in rsnd_ssi_run_mods()
203 u32 rsnd_ssi_multi_secondaries_runtime(struct rsnd_dai_stream *io) in rsnd_ssi_multi_secondaries_runtime()
265 struct rsnd_dai_stream *io) in rsnd_ssi_master_clk_start()
342 struct rsnd_dai_stream *io) in rsnd_ssi_master_clk_stop()
364 struct rsnd_dai_stream *io) in rsnd_ssi_config_init()
[all …]
Dsrc.c78 static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io, in rsnd_src_dma_req()
89 static u32 rsnd_src_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_convert_rate()
114 struct rsnd_dai_stream *io, in rsnd_src_get_rate()
200 static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, in rsnd_src_set_convert_rate()
357 struct rsnd_dai_stream *io, in rsnd_src_irq()
434 struct rsnd_dai_stream *io, in rsnd_src_start()
453 struct rsnd_dai_stream *io, in rsnd_src_stop()
462 struct rsnd_dai_stream *io, in rsnd_src_init()
485 struct rsnd_dai_stream *io, in rsnd_src_quit()
501 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()
294 struct rsnd_dai_stream *io, in rsnd_dvc_debug_info()
Ddma.c70 struct rsnd_dai_stream *io) in __rsnd_dmaen_complete()
83 static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io, in rsnd_dmaen_request_channel()
98 struct rsnd_dai_stream *io, in rsnd_dmaen_stop()
111 struct rsnd_dai_stream *io, in rsnd_dmaen_cleanup()
131 struct rsnd_dai_stream *io, in rsnd_dmaen_prepare()
160 struct rsnd_dai_stream *io, in rsnd_dmaen_start()
268 static int rsnd_dmaen_attach(struct rsnd_dai_stream *io, in rsnd_dmaen_attach()
307 struct rsnd_dai_stream *io, in rsnd_dmaen_pointer()
379 static u32 rsnd_dmapp_get_id(struct rsnd_dai_stream *io, in rsnd_dmapp_get_id()
419 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()
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.h454 #define for_each_rsnd_mod(iterator, pos, io) \ argument
457 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument
460 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument
472 #define rsnd_runtime_channel_original(io) \ argument
476 #define rsnd_runtime_channel_after_ctu(io) \ argument
480 #define rsnd_runtime_channel_for_ssi(io) \ argument
524 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) argument
525 #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) argument
526 #define rsnd_io_to_mod_ssiu(io) rsnd_io_to_mod((io), RSND_MOD_SSIU) argument
527 #define rsnd_io_to_mod_ssip(io) rsnd_io_to_mod((io), RSND_MOD_SSIP) argument
[all …]
/Linux-v6.6/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) 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.c286 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
369 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block()
406 static int verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_io_block()
450 int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_bv_block()
484 static int verity_bv_zero(struct dm_verity *v, struct dm_verity_io *io, in verity_bv_zero()
495 struct dm_verity_io *io, in verity_bv_skip_block()
506 static int verity_verify_io(struct dm_verity_io *io) in verity_verify_io()
624 static void verity_finish_io(struct dm_verity_io *io, blk_status_t status) in verity_finish_io()
640 struct dm_verity_io *io = container_of(w, struct dm_verity_io, work); in verity_work() local
650 struct dm_verity_io *io = (struct dm_verity_io *)data; in verity_tasklet() local
[all …]
/Linux-v6.6/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
/Linux-v6.6/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 …]
/Linux-v6.6/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-v6.6/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-v6.6/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>>...12