/linux/tools/lib/api/ |
A D | io.h | 13 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()
|
/linux/drivers/char/ipmi/ |
A D | ipmi_si_mem_io.c | 6 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 …]
|
A D | ipmi_si_port_io.c | 6 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()
|
A D | ipmi_si_platform.c | 60 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/drivers/scsi/elx/efct/ |
A D | efct_scsi.c | 15 #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 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 256 struct efct_io *io = arg; in efct_scsi_check_pending_async_cb() local 392 struct efct_io *io = NULL; in efct_scsi_dispatch_pending() local 461 struct efct_io *io = NULL; in efct_scsi_check_pending() local 840 struct efct_io *io = app; in efct_target_bls_resp_cb() local 912 struct efct_io *io = app; in efct_bls_send_rjt_cb() local [all …]
|
A D | efct_io.c | 25 struct efct_io *io; in efct_io_pool_create() local 81 struct efct_io *io; in efct_io_pool_free() local 108 struct efct_io *io = NULL; in efct_io_pool_io_alloc() local 148 efct_io_pool_io_free(struct efct_io_pool *io_pool, struct efct_io *io) in efct_io_pool_io_free() 176 struct efct_io *io = NULL; in efct_io_find_tgt_io() local
|
/linux/sound/soc/sh/rcar/ |
A D | core.c | 166 struct rsnd_dai_stream *io, in rsnd_mod_get_status() 222 struct rsnd_dai_stream *io)) in rsnd_mod_interrupt() 478 struct rsnd_dai_stream *io, in rsnd_mod_next() 576 struct rsnd_dai_stream *io, in rsnd_dai_connect() 604 struct rsnd_dai_stream *io, in rsnd_dai_disconnect() 1079 struct rsnd_dai_stream *io, in rsnd_parse_tdm_split_mode() 1117 struct rsnd_dai_stream *io, in rsnd_parse_connect_simple() 1127 struct rsnd_dai_stream *io, in rsnd_parse_connect_graph() 1278 struct rsnd_dai_stream *io, in rsnd_preallocate_pages() 1748 struct rsnd_dai_stream *io, in rsnd_kctrl_new() [all …]
|
A D | ssi.c | 361 struct rsnd_dai_stream *io) in rsnd_ssi_config_init() 468 struct rsnd_dai_stream *io, in rsnd_ssi_init() 496 struct rsnd_dai_stream *io, in rsnd_ssi_quit() 545 struct rsnd_dai_stream *io, in rsnd_ssi_start() 578 struct rsnd_dai_stream *io, in rsnd_ssi_stop() 622 struct rsnd_dai_stream *io, in rsnd_ssi_irq() 666 struct rsnd_dai_stream *io) in __rsnd_ssi_interrupt() 719 struct rsnd_dai_stream *io, in rsnd_ssi_get_status() 801 struct rsnd_dai_stream *io, in rsnd_ssi_common_probe() 844 struct rsnd_dai_stream *io, in rsnd_ssi_common_remove() [all …]
|
A D | src.c | 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() 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() 482 struct rsnd_dai_stream *io, in rsnd_src_quit() 498 struct rsnd_dai_stream *io) in __rsnd_src_interrupt() 531 struct rsnd_dai_stream *io, in rsnd_src_probe_() 559 struct rsnd_dai_stream *io, in rsnd_src_pcm_new() [all …]
|
A D | dvc.c | 73 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() 201 struct rsnd_dai_stream *io, in rsnd_dvc_quit() 212 struct rsnd_dai_stream *io, in rsnd_dvc_pcm_new() 279 static struct dma_chan *rsnd_dvc_dma_req(struct rsnd_dai_stream *io, in rsnd_dvc_dma_req() 290 struct rsnd_dai_stream *io, in rsnd_dvc_debug_info()
|
A D | dma.c | 70 struct rsnd_dai_stream *io) in __rsnd_dmaen_complete() 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() 300 struct rsnd_dai_stream *io, in rsnd_dmaen_pointer() 459 struct rsnd_dai_stream *io, in rsnd_dmapp_stop() 477 struct rsnd_dai_stream *io, in rsnd_dmapp_start() 512 struct rsnd_dai_stream *io, in rsnd_dmapp_debug_info() 575 rsnd_gen2_dma_addr(struct rsnd_dai_stream *io, in rsnd_gen2_dma_addr() [all …]
|
A D | mix.c | 84 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() 161 struct rsnd_dai_stream *io, in rsnd_mix_quit() 172 struct rsnd_dai_stream *io, in rsnd_mix_pcm_new() 255 struct rsnd_dai_stream *io, in rsnd_mix_debug_info()
|
A D | ctu.c | 108 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() 184 struct rsnd_dai_stream *io, in rsnd_ctu_quit() 195 struct rsnd_dai_stream *io, in rsnd_ctu_pcm_new() 280 struct rsnd_dai_stream *io, in rsnd_ctu_debug_info()
|
A D | cmd.c | 24 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()
|
A D | ssiu.c | 128 struct rsnd_dai_stream *io, in rsnd_ssiu_get_status() 138 struct rsnd_dai_stream *io, in rsnd_ssiu_init() 217 struct rsnd_dai_stream *io, in rsnd_ssiu_quit() 234 struct rsnd_dai_stream *io, in rsnd_ssiu_init_gen2() 324 struct rsnd_dai_stream *io, in rsnd_ssiu_start_gen2() 341 struct rsnd_dai_stream *io, in rsnd_ssiu_stop_gen2() 377 static struct dma_chan *rsnd_ssiu_dma_req(struct rsnd_dai_stream *io, in rsnd_ssiu_dma_req() 403 struct rsnd_dai_stream *io, in rsnd_ssiu_debug_info() 433 struct rsnd_dai_stream *io) in rsnd_parse_connect_ssiu_compatible()
|
/linux/drivers/md/ |
A D | dm-io.c | 33 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() 114 static void complete_io(struct io *io) in complete_io() 139 struct io *io; in endio() local 298 struct io *io) in do_region() 392 struct io *io, int sync) in dispatch_io() 436 struct io *io; in sync_io() local [all …]
|
A D | dm-verity-fec.c | 25 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 …]
|
A D | dm-verity-target.c | 276 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level() 335 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block() 372 static int verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_io_block() 416 int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_bv_block() 450 static int verity_bv_zero(struct dm_verity *v, struct dm_verity_io *io, in verity_bv_zero() 461 struct dm_verity_io *io, in verity_bv_skip_block() 472 static int verity_verify_io(struct dm_verity_io *io) in verity_verify_io() 562 static void verity_finish_io(struct dm_verity_io *io, blk_status_t status) in verity_finish_io() 577 struct dm_verity_io *io = container_of(w, struct dm_verity_io, work); in verity_work() local 584 struct dm_verity_io *io = bio->bi_private; in verity_end_io() local [all …]
|
/linux/drivers/md/bcache/ |
A D | movinggc.c | 40 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/sound/soc/sh/ |
A D | fsi.c | 301 struct fsi_stream *io) in fsi_stream_is_play() 454 struct fsi_stream *io) in fsi_get_current_fifo_samples() 500 struct fsi_stream *io) in fsi_stream_is_working() 519 struct fsi_stream *io, in fsi_stream_init() 579 #define fsi_stream_stop(fsi, io)\ argument 584 struct fsi_stream *io; in fsi_stream_probe() local 603 struct fsi_stream *io; in fsi_stream_remove() local 1433 struct fsi_stream *io, in fsi_fifo_init() 1488 struct fsi_stream *io, in fsi_hw_startup() 2035 struct fsi_stream *io, in __fsi_suspend() [all …]
|
/linux/drivers/input/serio/ |
A D | ambakmi.c | 27 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
|
A D | altera_ps2.c | 23 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/drivers/media/dvb-frontends/cxd2880/ |
A D | cxd2880_io.c | 12 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()
|
A D | cxd2880_devio_spi.c | 14 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()
|
/linux/tools/perf/tests/ |
A D | api-io.c | 58 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
|