/linux-master/drivers/clk/ti/ |
H A D | clk.c | 15 #include <linux/io.h> 45 struct clk_iomap *io = clk_memmaps[reg->index]; local 49 else if (io->regmap) 50 regmap_write(io->regmap, reg->offset, val); 52 writel_relaxed(val, io->mem + reg->offset); 67 struct clk_iomap *io = clk_memmaps[reg->index]; local 71 } else if (io->regmap) { 72 regmap_update_bits(io->regmap, reg->offset, mask, val); 74 _clk_rmw(val, mask, io->mem + reg->offset); 81 struct clk_iomap *io local 417 struct clk_iomap *io; local 450 struct clk_iomap *io; local [all...] |
/linux-master/drivers/media/radio/ |
H A D | radio-trust.c | 23 #include <linux/io.h> 42 static int io[TRUST_MAX] = { [0] = CONFIG_RADIO_TRUST_PORT, variable 46 module_param_array(io, int, NULL, 0444); 47 MODULE_PARM_DESC(io, "I/O addresses of the Trust FM Radio card (0x350 or 0x358)"); 67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0) 68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io) 69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io) 70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io) [all...] |
H A D | radio-sf16fmr2.c | 15 #include <linux/io.h> /* outb, outb_p */ 32 int io; member in struct:fmr2 70 outb(bits, fmr2->io); 76 u8 bits = inb(fmr2->io); 121 outb(pins, fmr2->io); 189 if (!fmr2->is_fmd2 && inb(fmr2->io) & FMR2_HASVOL) { 207 static int fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io) argument 214 if (io == fmr2_cards[i]->io) 219 fmr2->io [all...] |
/linux-master/arch/arm/mm/ |
H A D | pmsa-v8.c | 78 static struct range __initdata io[MPU_MAX_REGIONS]; variable in typeref:struct:__initdata 252 add_range(io, ARRAY_SIZE(io), 0, 0, 0xffffffff); 256 subtract_range(io, ARRAY_SIZE(io), __pa(KERNEL_START), __pa(KERNEL_END)); 261 subtract_range(io, ARRAY_SIZE(io), CONFIG_XIP_PHYS_ADDR, __pa(_exiprom)); 267 subtract_range(io, ARRAY_SIZE(io), vectors_base, vectors_base + 2 * PAGE_SIZE); 271 subtract_range(io, ARRAY_SIZ [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_smic_sm.c | 92 struct si_sm_io *io; member in struct:si_sm_data 105 struct si_sm_io *io) 108 smic->io = io; 132 dev_warn(smic->io->dev, 138 dev_dbg(smic->io->dev, "%s -", __func__); 160 dev_dbg(smic->io->dev, "smic_get result -"); 184 return smic->io->inputb(smic->io, 2); 189 return smic->io 104 init_smic_data(struct si_sm_data *smic, struct si_sm_io *io) argument [all...] |
H A D | ipmi_kcs_sm.c | 110 struct si_sm_io *io; member in struct:si_sm_data 126 struct si_sm_io *io, enum kcs_states state) 129 kcs->io = io; 144 struct si_sm_io *io) 146 return init_kcs_data_with_state(kcs, io, KCS_IDLE); 151 return kcs->io->inputb(kcs->io, 1); 156 return kcs->io->inputb(kcs->io, 125 init_kcs_data_with_state(struct si_sm_data *kcs, struct si_sm_io *io, enum kcs_states state) argument 143 init_kcs_data(struct si_sm_data *kcs, struct si_sm_io *io) argument [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_lio.c | 292 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 294 efct_set_lio_io_state(io, EFCT_LIO_STATE_TFO_CHK_STOP_FREE); 299 efct_lio_abort_tgt_cb(struct efct_io *io, argument 303 efct_lio_io_printf(io, "Abort done, status:%d\n", scsi_status); 312 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 314 efct_set_lio_io_state(io, EFCT_LIO_STATE_TFO_ABORTED_TASK); 323 efct_scsi_tgt_abort_io(io, efct_lio_abort_tgt_cb, NULL); 330 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 331 struct efct *efct = io->efct; 333 efct_set_lio_io_state(io, EFCT_LIO_STATE_TFO_RELEASE_CM 357 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 363 efct_lio_sg_map(struct efct_io *io) argument 376 efct_lio_sg_unmap(struct efct_io *io) argument 390 efct_lio_status_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) argument 422 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 467 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 531 efct_lio_send_resp(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags) argument 570 efct_lio_datamove_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) argument 627 efct_lio_tmf_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) argument 657 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); local 1320 efct_scsi_recv_cmd(struct efct_io *io, uint64_t lun, u8 *cdb, u32 cdb_len, u32 flags) argument [all...] |
/linux-master/drivers/scsi/arm/ |
H A D | oak.c | 14 #include <asm/io.h> 20 #define NCR5380_read(reg) readb(hostdata->io + ((reg) << 2)) 21 #define NCR5380_write(reg, value) writeb(value, hostdata->io + ((reg) << 2)) 44 u8 __iomem *base = hostdata->io; 59 u8 __iomem *base = hostdata->io; 135 priv(host)->io = ioremap(ecard_resource_start(ec, ECARD_RES_MEMC), 137 if (!priv(host)->io) { 160 iounmap(priv(host)->io); 172 void __iomem *base = priv(host)->io;
|
/linux-master/drivers/comedi/drivers/ |
H A D | comedi_8255.c | 37 int (*io)(struct comedi_device *dev, int dir, int port, int data, member in struct:subdev_8255_private 78 spriv->io(dev, 1, I8255_DATA_A_REG, 81 spriv->io(dev, 1, I8255_DATA_B_REG, 84 spriv->io(dev, 1, I8255_DATA_C_REG, 88 v = spriv->io(dev, 0, I8255_DATA_A_REG, 0, context); 89 v |= (spriv->io(dev, 0, I8255_DATA_B_REG, 0, context) << 8); 90 v |= (spriv->io(dev, 0, I8255_DATA_C_REG, 0, context) << 16); 115 spriv->io(dev, 1, I8255_CTRL_REG, config, context); 147 int (*io)(struct comedi_device *dev, 154 if (!io) [all...] |
/linux-master/fs/bcachefs/ |
H A D | move.c | 26 #include "super-io.h" 112 static void move_free(struct moving_io *io) argument 114 struct moving_context *ctxt = io->write.ctxt; 116 if (io->b) 117 atomic_dec(&io->b->count); 119 bch2_data_update_exit(&io->write); 122 list_del(&io->io_list); 126 kfree(io); 131 struct moving_io *io = container_of(op, struct moving_io, write.op); local 132 struct moving_context *ctxt = io 143 move_write(struct moving_io *io) argument 168 struct moving_io *io = local 176 struct moving_io *io = container_of(bio, struct moving_io, rbio.bio); local 189 struct moving_io *io; local 283 struct moving_io *io; local 1165 struct moving_io *io; local [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | rsio.c | 31 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.io.io_decode), 32 AML_OFFSET(io.flags), 41 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.io.alignment), 42 AML_OFFSET(io.alignment), 45 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.io.minimum), 46 AML_OFFSET(io.minimum),
|
/linux-master/drivers/media/platform/st/sti/c8sectpfe/ |
H A D | c8sectpfe-core.c | 25 #include <linux/io.h> 187 tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); 189 writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); 218 fei->io + C8SECTPFE_IB_BUFF_STRT(channel->tsin_id)); 220 fei->io + C8SECTPFE_IB_BUFF_END(channel->tsin_id)); 223 fei->io + C8SECTPFE_IB_READ_PNT(channel->tsin_id)); 225 fei->io + C8SECTPFE_IB_WRT_PNT(channel->tsin_id)); 240 , fei->io + C8SECTPFE_IB_SYS(channel->tsin_id)); 282 tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); 284 writel(tmp, fei->io [all...] |
/linux-master/sound/isa/msnd/ |
H A D | msnd_pinnacle.c | 45 #include <linux/io.h> 162 /* inb(chip->io + HP_RXL); */ 178 inb(chip->io + HP_RXL); 183 static int snd_msnd_reset_dsp(long io, unsigned char *info) argument 187 outb(HPDSPRESET_ON, io + HP_DSPR); 191 *info = inb(io + HP_INFO); 193 outb(HPDSPRESET_OFF, io + HP_DSPR); 196 if (inb(io + HP_CVR) == HP_CVR_DEF) 215 if (!request_region(chip->io, DSP_NUMIO, "probing")) { 220 if (snd_msnd_reset_dsp(chip->io, 618 snd_msnd_write_cfg_io0(int cfg, int num, u16 io) argument 629 snd_msnd_write_cfg_io1(int cfg, int num, u16 io) argument 718 static long io[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable [all...] |
/linux-master/drivers/md/ |
H A D | dm-crypt.c | 243 static void kcryptd_queue_crypt(struct dm_crypt_io *io); 1145 static int dm_crypt_integrity_io_alloc(struct dm_crypt_io *io, struct bio *bio) argument 1151 if (!bio_sectors(bio) || !io->cc->on_disk_tag_size) 1158 tag_len = io->cc->on_disk_tag_size * (bio_sectors(bio) >> io->cc->sector_shift); 1160 bip->bip_iter.bi_sector = io->cc->start + io->sector; 1162 ret = bio_integrity_add_page(bio, virt_to_page(io->integrity_metadata), 1163 tag_len, offset_in_page(io->integrity_metadata)); 1281 struct dm_crypt_io *io local 1532 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); local 1541 struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size); local 1674 crypt_alloc_buffer(struct dm_crypt_io *io, unsigned int size) argument 1761 crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, struct bio *bio, sector_t sector) argument 1776 crypt_inc_pending(struct dm_crypt_io *io) argument 1787 crypt_dec_pending(struct dm_crypt_io *io) argument 1837 struct dm_crypt_io *io = clone->bi_private; local 1868 kcryptd_io_read(struct dm_crypt_io *io, gfp_t gfp) argument 1917 struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work); local 1925 kcryptd_queue_read(struct dm_crypt_io *io) argument 1933 kcryptd_io_write(struct dm_crypt_io *io) argument 1945 struct dm_crypt_io *io; local 1994 kcryptd_crypt_write_io_submit(struct dm_crypt_io *io, int async) argument 2061 struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work); local 2090 kcryptd_crypt_write_convert(struct dm_crypt_io *io) argument 2154 kcryptd_crypt_read_done(struct dm_crypt_io *io) argument 2169 struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work); local 2186 kcryptd_crypt_read_convert(struct dm_crypt_io *io) argument 2226 struct dm_crypt_io *io = container_of(ctx, struct dm_crypt_io, ctx); local 2280 struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work); local 2288 kcryptd_queue_crypt(struct dm_crypt_io *io) argument 3446 struct dm_crypt_io *io; local [all...] |
H A D | raid5-cache.c | 204 * block. The io unit's the meta data block tracks data/parity followed it. io 207 * write io unit with FLUSH/FUA 233 * io isn't sent yet, flush/fua request can only be submitted till it's 283 static void __r5l_set_io_unit_state(struct r5l_io_unit *io, argument 286 if (WARN_ON(io->state >= state)) 288 io->state = state; 516 static void r5l_io_run_stripes(struct r5l_io_unit *io) argument 520 list_for_each_entry_safe(sh, next, &io->stripe_list, log_list) { 532 struct r5l_io_unit *io, *nex local 548 struct r5l_io_unit *io, *next; local 563 struct r5l_io_unit *io = bio->bi_private; local 627 r5l_do_submit_io(struct r5l_log *log, struct r5l_io_unit *io) argument 666 struct r5l_io_unit *io = NULL; local 710 struct r5l_io_unit *io = log->current_io; local 748 r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io) argument 768 struct r5l_io_unit *io; local 828 struct r5l_io_unit *io = log->current_io; local 847 struct r5l_io_unit *io = log->current_io; local 867 struct r5l_io_unit *io; local 909 struct r5l_io_unit *io; local 1201 struct r5l_io_unit *io, *next; local 1223 __r5l_stripe_write_finished(struct r5l_io_unit *io) argument 1247 struct r5l_io_unit *io; local 1261 struct r5l_io_unit *io; local [all...] |
/linux-master/drivers/scsi/snic/ |
H A D | snic_debugfs.c | 108 u64 *io_stats_p = (u64 *) &stats->io; 134 atomic64_read(&stats->io.active)); 179 maxio_tm = (u64) atomic64_read(&stats->io.max_time); 195 (u64) atomic64_read(&stats->io.active), 196 (u64) atomic64_read(&stats->io.max_active), 197 (u64) atomic64_read(&stats->io.num_ios), 198 (u64) atomic64_read(&stats->io.compl), 199 (u64) atomic64_read(&stats->io.fail), 200 (u64) atomic64_read(&stats->io.io_not_found), 201 (u64) atomic64_read(&stats->io [all...] |
/linux-master/drivers/watchdog/ |
H A D | eurotechwdt.c | 57 #include <linux/io.h> 70 static int io = 0x3f0; variable 96 module_param_hw(io, int, ioport, 0); 97 MODULE_PARM_DESC(io, "Eurotech WDT io port (default=0x3f0)"); 110 outb(index, io); 111 outb(data, io+1); 116 outb(0xaa, io); 121 outb(0x55, io); 411 release_region(io, [all...] |
/linux-master/drivers/usb/core/ |
H A D | message.c | 394 static void sg_clean(struct usb_sg_request *io) argument 396 if (io->urbs) { 397 while (io->entries--) 398 usb_free_urb(io->urbs[io->entries]); 399 kfree(io->urbs); 400 io->urbs = NULL; 402 io->dev = NULL; 408 struct usb_sg_request *io = urb->context; local 411 spin_lock_irqsave(&io 502 usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, unsigned pipe, unsigned period, struct scatterlist *sg, int nents, size_t length, gfp_t mem_flags) argument 651 usb_sg_wait(struct usb_sg_request *io) argument 721 usb_sg_cancel(struct usb_sg_request *io) argument [all...] |
/linux-master/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_evtchnl.h | 17 #include <xen/interface/io/ring.h> 18 #include <xen/interface/io/displif.h>
|
/linux-master/drivers/platform/mellanox/ |
H A D | Makefile | 10 obj-$(CONFIG_MLXREG_IO) += mlxreg-io.o
|
/linux-master/fs/ext4/ |
H A D | page-io.c | 3 * linux/fs/ext4/page-io.c 126 * to avoid races with other end io clearing async_write flags 207 ext4_debug("Dump inode %lu completed io list\n", inode->i_ino); 215 ext4_debug("io 0x%p from inode %lu,prev 0x%p,next 0x%p\n", 371 void ext4_io_submit(struct ext4_io_submit *io) argument 373 struct bio *bio = io->io_bio; 376 if (io->io_wbc->sync_mode == WB_SYNC_ALL) 377 io->io_bio->bi_opf |= REQ_SYNC; 378 submit_bio(io->io_bio); 380 io 383 ext4_io_submit_init(struct ext4_io_submit *io, struct writeback_control *wbc) argument 391 io_submit_init_bio(struct ext4_io_submit *io, struct buffer_head *bh) argument 410 io_submit_add_bh(struct ext4_io_submit *io, struct inode *inode, struct folio *folio, struct folio *io_folio, struct buffer_head *bh) argument 429 ext4_bio_write_folio(struct ext4_io_submit *io, struct folio *folio, size_t len) argument [all...] |
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 16 #include <linux/io.h> 42 bool test_mem, u##size val, void __iomem *io) \ 52 vfio_iowrite##size(val, io); \ 70 bool test_mem, u##size *val, void __iomem *io) \ 80 *val = vfio_ioread##size(io); \ 100 void __iomem *io, char __user *buf, 125 val, io + off); 130 &val, io + off); 147 val, io + off); 152 &val, io 99 vfio_pci_core_do_io_rw(struct vfio_pci_core_device *vdev, bool test_mem, void __iomem *io, char __user *buf, loff_t off, size_t count, size_t x_start, size_t x_end, bool iswrite) argument 210 void __iomem *io; local 239 void __iomem *io; local [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | dmi.h | 7 #include <linux/io.h>
|
/linux-master/arch/sh/boards/mach-sh7763rdp/ |
H A D | irq.c | 13 #include <asm/io.h>
|
/linux-master/arch/sh/drivers/pci/ |
H A D | fixups-titan.c | 16 #include <linux/io.h>
|