/linux-master/drivers/watchdog/ |
H A D | wd501p.h | 19 #define WDT_COUNT0 (io+0) 20 #define WDT_COUNT1 (io+1) 21 #define WDT_COUNT2 (io+2) 22 #define WDT_CR (io+3) 23 #define WDT_SR (io+4) /* Start buzzer on PCI write */ 24 #define WDT_RT (io+5) /* Stop buzzer on PCI write */ 25 #define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */ 26 #define WDT_DC (io+7) 30 #define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */ 32 #define WDT_OPTONOTRST (io [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_si_mem_io.c | 3 #include <linux/io.h> 6 static unsigned char intf_mem_inb(const struct si_sm_io *io, argument 9 return readb((io->addr)+(offset * io->regspacing)); 12 static void intf_mem_outb(const struct si_sm_io *io, unsigned int offset, argument 15 writeb(b, (io->addr)+(offset * io->regspacing)); 18 static unsigned char intf_mem_inw(const struct si_sm_io *io, argument 21 return (readw((io->addr)+(offset * io 25 intf_mem_outw(const struct si_sm_io *io, unsigned int offset, unsigned char b) argument 31 intf_mem_inl(const struct si_sm_io *io, unsigned int offset) argument 38 intf_mem_outl(const struct si_sm_io *io, unsigned int offset, unsigned char b) argument 45 mem_inq(const struct si_sm_io *io, unsigned int offset) argument 51 mem_outq(const struct si_sm_io *io, unsigned int offset, unsigned char b) argument 58 mem_region_cleanup(struct si_sm_io *io, int num) argument 68 mem_cleanup(struct si_sm_io *io) argument 76 ipmi_si_mem_setup(struct si_sm_io *io) argument [all...] |
H A D | ipmi_si_port_io.c | 3 #include <linux/io.h> 6 static unsigned char port_inb(const struct si_sm_io *io, unsigned int offset) argument 8 unsigned int addr = io->addr_data; 10 return inb(addr + (offset * io->regspacing)); 13 static void port_outb(const struct si_sm_io *io, unsigned int offset, argument 16 unsigned int addr = io->addr_data; 18 outb(b, addr + (offset * io->regspacing)); 21 static unsigned char port_inw(const struct si_sm_io *io, unsigned int offset) argument 23 unsigned int addr = io->addr_data; 25 return (inw(addr + (offset * io 28 port_outw(const struct si_sm_io *io, unsigned int offset, unsigned char b) argument 36 port_inl(const struct si_sm_io *io, unsigned int offset) argument 43 port_outl(const struct si_sm_io *io, unsigned int offset, unsigned char b) argument 51 port_cleanup(struct si_sm_io *io) argument 63 ipmi_si_port_setup(struct si_sm_io *io) argument [all...] |
H A D | ipmi_si_pci.c | 24 static int ipmi_pci_probe_regspacing(struct si_sm_io *io) argument 26 if (io->si_type == SI_KCS) { 30 io->regsize = DEFAULT_REGSIZE; 31 io->regshift = 0; 35 io->regspacing = regspacing; 36 if (io->io_setup(io)) { 37 dev_err(io->dev, "Could not setup I/O space\n"); 41 io->outputb(io, 66 struct si_sm_io io; local [all...] |
H A D | ipmi_si_parisc.c | 12 struct si_sm_io io; local 14 memset(&io, 0, sizeof(io)); 16 io.si_type = SI_KCS; 17 io.addr_source = SI_DEVICETREE; 18 io.addr_space = IPMI_MEM_ADDR_SPACE; 19 io.addr_data = dev->hpa.start; 20 io.regsize = 1; 21 io.regspacing = 1; 22 io [all...] |
H A D | ipmi_si_platform.c | 61 struct si_sm_io *io = context; local 63 ipmi_si_irq_handler(io->irq, io->irq_handler_data); 67 static void acpi_gpe_irq_cleanup(struct si_sm_io *io) argument 69 if (!io->irq) 72 ipmi_irq_start_cleanup(io); 73 acpi_remove_gpe_handler(NULL, io->irq, &ipmi_acpi_gpe); 76 static int acpi_gpe_irq_setup(struct si_sm_io *io) argument 80 if (!io->irq) 84 io 103 ipmi_set_addr_data_and_space(struct resource *r, struct si_sm_io *io) argument 113 ipmi_get_info_from_resources(struct platform_device *pdev, struct si_sm_io *io) argument 137 struct si_sm_io io; local 228 struct si_sm_io io; local 295 find_slave_address(struct si_sm_io *io, int slave_addr) argument 310 struct si_sm_io io; local [all...] |
H A D | ipmi_si.h | 39 unsigned char (*inputb)(const struct si_sm_io *io, unsigned int offset); 40 void (*outputb)(const struct si_sm_io *io, 62 int (*irq_setup)(struct si_sm_io *io); 64 void (*irq_cleanup)(struct si_sm_io *io); 71 int ipmi_si_add_smi(struct si_sm_io *io); 73 void ipmi_irq_start_cleanup(struct si_sm_io *io); 74 int ipmi_std_irq_setup(struct si_sm_io *io); 75 void ipmi_irq_finish_setup(struct si_sm_io *io); 104 int ipmi_si_port_setup(struct si_sm_io *io); 105 int ipmi_si_mem_setup(struct si_sm_io *io); [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_scsi.c | 15 #define scsi_io_printf(io, fmt, ...) \ 16 efc_log_debug(io->efct, "[%s]" SCSI_IOFMT fmt, \ 17 io->node->display_name, io->instance_index,\ 18 io->init_task_tag, io->tgt_task_tag, io->hw_tag, ##__VA_ARGS__) 23 #define scsi_io_trace(io, fmt, ...) \ 25 if (EFCT_LOG_ENABLE_SCSI_TRACE(io->efct)) \ 26 scsi_io_printf(io, fm 34 struct efct_io *io; local 77 struct efct_io *io = container_of(arg, struct efct_io, ref); local 99 efct_scsi_io_free(struct efct_io *io) argument 111 struct efct_io *io = app; local 229 efc_log_sgl(struct efct_io *io) argument 256 struct efct_io *io = arg; local 270 efct_scsi_io_dispatch_hw_io(struct efct_io *io, struct efct_hw_io *hio) argument 331 efct_scsi_io_dispatch_no_hw_io(struct efct_io *io) argument 392 struct efct_io *io = NULL; local 461 struct efct_io *io = NULL; local 517 efct_scsi_io_dispatch(struct efct_io *io, void *cb) argument 585 efct_scsi_io_dispatch_abort(struct efct_io *io, void *cb) argument 618 efct_scsi_xfer_data(struct efct_io *io, u32 flags, struct efct_scsi_sgl *sgl, u32 sgl_count, u64 xwire_len, enum efct_hw_io_type type, int enable_ar, efct_scsi_io_cb_t cb, void *arg) argument 711 efct_scsi_send_rd_data(struct efct_io *io, u32 flags, struct efct_scsi_sgl *sgl, u32 sgl_count, u64 len, efct_scsi_io_cb_t cb, void *arg) argument 721 efct_scsi_recv_wr_data(struct efct_io *io, u32 flags, struct efct_scsi_sgl *sgl, u32 sgl_count, u64 len, efct_scsi_io_cb_t cb, void *arg) argument 731 efct_scsi_send_resp(struct efct_io *io, u32 flags, struct efct_scsi_cmd_resp *rsp, efct_scsi_io_cb_t cb, void *arg) argument 840 struct efct_io *io = app; local 870 efct_target_send_bls_resp(struct efct_io *io, efct_scsi_io_cb_t cb, void *arg) argument 912 struct efct_io *io = app; local 919 efct_bls_send_rjt(struct efct_io *io, struct fc_frame_header *hdr) argument 958 efct_scsi_send_tmf_resp(struct efct_io *io, enum efct_scsi_tmf_resp rspcode, u8 addl_rsp_info[3], efct_scsi_io_cb_t cb, void *arg) argument 1041 struct efct_io *io = app; local 1097 efct_scsi_tgt_abort_io(struct efct_io *io, efct_scsi_io_cb_t cb, void *arg) argument 1147 efct_scsi_io_complete(struct efct_io *io) argument [all...] |
H A D | efct_io.c | 25 struct efct_io *io; local 38 io = kzalloc(sizeof(*io), GFP_KERNEL); 39 if (!io) 43 io_pool->ios[i] = io; 44 io->tag = i; 45 io->instance_index = i; 48 io->rspbuf.size = SCSI_RSP_BUF_LENGTH; 49 io->rspbuf.virt = dma_alloc_coherent(&efct->pci->dev, 50 io 80 struct efct_io *io; local 107 struct efct_io *io = NULL; local 147 efct_io_pool_io_free(struct efct_io_pool *io_pool, struct efct_io *io) argument 175 struct efct_io *io = NULL; local [all...] |
/linux-master/tools/lib/symbol/ |
H A D | kallsyms.c | 3 #include "api/io.h" 20 static void read_to_eol(struct io *io) argument 25 ch = io__get_char(io); 35 struct io io; local 39 io.fd = open(filename, O_RDONLY, 0); 41 if (io.fd < 0) 44 io__init(&io, io [all...] |
/linux-master/arch/um/include/asm/ |
H A D | dma.h | 5 #include <asm/io.h>
|
/linux-master/arch/s390/include/asm/ |
H A D | dma.h | 5 #include <linux/io.h>
|
/linux-master/tools/lib/api/ |
H A D | io.h | 17 struct io { struct 34 static inline void io__init(struct io *io, int fd, argument 37 io->fd = fd; 38 io->buf_len = buf_len; 39 io->buf = buf; 40 io->end = buf; 41 io->data = buf; 42 io->timeout_ms = 0; 43 io 47 io__get_char(struct io *io) argument 95 io__get_hex(struct io *io, __u64 *hex) argument 124 io__get_dec(struct io *io, __u64 *dec) argument 145 io__getdelim(struct io *io, char **line_out, size_t *line_len_out, int delim) argument 188 io__getline(struct io *io, char **line_out, size_t *line_len_out) argument [all...] |
/linux-master/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_io.c | 12 int cxd2880_io_common_write_one_reg(struct cxd2880_io *io, argument 16 if (!io) 19 return io->write_regs(io, tgt, sub_address, &data, 1); 22 int cxd2880_io_set_reg_bits(struct cxd2880_io *io, argument 28 if (!io) 37 ret = io->read_regs(io, tgt, sub_address, &rdata, 1); 44 return io->write_reg(io, tg 47 cxd2880_io_write_multi_regs(struct cxd2880_io *io, enum cxd2880_io_tgt tgt, const struct cxd2880_reg_value reg_value[], u8 size) argument [all...] |
H A D | cxd2880_tnrdmd_mon.c | 29 ret = tnr_dmd->io->write_reg(tnr_dmd->io, 35 ret = tnr_dmd->io->write_reg(tnr_dmd->io, 41 ret = tnr_dmd->io->write_reg(tnr_dmd->io, 47 ret = tnr_dmd->io->write_regs(tnr_dmd->io, 55 ret = tnr_dmd->io->write_reg(tnr_dmd->io, [all...] |
H A D | cxd2880_devio_spi.h | 19 int cxd2880_io_spi_create(struct cxd2880_io *io,
|
H A D | cxd2880_devio_spi.c | 14 static int cxd2880_io_spi_read_reg(struct cxd2880_io *io, argument 24 if (!io || !io->if_object || !data) 30 spi = io->if_object; 62 static int cxd2880_io_spi_write_reg(struct cxd2880_io *io, argument 72 if (!io || !io->if_object || !data) 81 spi = io->if_object; 114 int cxd2880_io_spi_create(struct cxd2880_io *io, argument 117 if (!io || !sp [all...] |
H A D | cxd2880_io.h | 26 int (*read_regs)(struct cxd2880_io *io, 29 int (*write_regs)(struct cxd2880_io *io, 32 int (*write_reg)(struct cxd2880_io *io, 42 int cxd2880_io_common_write_one_reg(struct cxd2880_io *io, 46 int cxd2880_io_set_reg_bits(struct cxd2880_io *io, 50 int cxd2880_io_write_multi_regs(struct cxd2880_io *io,
|
/linux-master/arch/hexagon/include/asm/ |
H A D | dma.h | 9 #include <asm/io.h>
|
/linux-master/include/linux/fpga/ |
H A D | altera-pr-ip-core.h | 13 #include <linux/io.h>
|
/linux-master/include/asm-generic/ |
H A D | agp.h | 5 #include <asm/io.h>
|
/linux-master/tools/perf/tests/ |
H A D | api-io.c | 13 #include <api/io.h> 59 size_t buf_size, struct io *io) 64 io->fd = open(path, O_RDONLY); 65 if (io->fd < 0) { 70 io->buf = malloc(buf_size); 71 if (io->buf == NULL) { 73 close(io->fd); 77 io__init(io, io 58 setup_test(char path[PATH_MAX], const char *contents, size_t buf_size, struct io *io) argument 81 cleanup_test(char path[PATH_MAX], struct io *io) argument 91 struct io io; local 138 struct io io; local 219 struct io io; local 296 struct io io; local [all...] |
/linux-master/drivers/md/bcache/ |
H A D | movinggc.c | 40 closure_type(io, struct moving_io, cl); 42 kfree(io); 47 closure_type(io, struct moving_io, cl); 48 struct bio *bio = &io->bio.bio; 52 if (io->op.replace_collision) 53 trace_bcache_gc_copy_collision(&io->w->key); 55 bch_keybuf_del(&io->op.c->moving_gc_keys, io->w); 57 up(&io->op.c->moving_in_flight); 65 struct moving_io *io local 78 moving_init(struct moving_io *io) argument 129 struct moving_io *io; local [all...] |
/linux-master/drivers/media/radio/ |
H A D | radio-rtrack2.c | 22 #include <linux/io.h> /* outb, outb_p */ 39 static int io[RTRACK2_MAX] = { [0] = CONFIG_RADIO_RTRACK2_PORT, variable 43 module_param_array(io, int, NULL, 0444); 44 MODULE_PARM_DESC(io, "I/O addresses of the RadioTrack card (0x20f or 0x30f)"); 55 outb_p(1, isa->io); 56 outb_p(3, isa->io); 57 outb_p(1, isa->io); 62 outb_p(5, isa->io); 63 outb_p(7, isa->io); 64 outb_p(5, isa->io); [all...] |
/linux-master/arch/mips/include/asm/mach-rc32434/ |
H A D | rc32434.h | 10 #include <linux/io.h>
|