Home
last modified time | relevance | path

Searched refs:data_addr (Results 1 – 25 of 62) sorted by relevance

123

/drivers/ide/
Dfalconide.c69 unsigned long data_addr = drive->hwif->io_ports.data_addr; in falconide_input_data() local
72 __ide_mm_insw(data_addr, buf, (len + 1) / 2); in falconide_input_data()
76 raw_insw_swapw((u16 *)data_addr, buf, (len + 1) / 2); in falconide_input_data()
82 unsigned long data_addr = drive->hwif->io_ports.data_addr; in falconide_output_data() local
85 __ide_mm_outsw(data_addr, buf, (len + 1) / 2); in falconide_output_data()
89 raw_outsw_swapw((u16 *)data_addr, buf, (len + 1) / 2); in falconide_output_data()
123 hw->io_ports.data_addr = ATA_HD_BASE; in falconide_setup_ports()
Dq40ide.c60 hw->io_ports.data_addr = Q40_ISA_IO_W(base); in q40_ide_setup_ports()
76 unsigned long data_addr = drive->hwif->io_ports.data_addr; in q40ide_input_data() local
79 __ide_mm_insw(data_addr, buf, (len + 1) / 2); in q40ide_input_data()
83 raw_insw_swapw((u16 *)data_addr, buf, (len + 1) / 2); in q40ide_input_data()
89 unsigned long data_addr = drive->hwif->io_ports.data_addr; in q40ide_output_data() local
92 __ide_mm_outsw(data_addr, buf, (len + 1) / 2); in q40ide_output_data()
96 raw_outsw_swapw((u16 *)data_addr, buf, (len + 1) / 2); in q40ide_output_data()
Dide-io-std.c169 unsigned long data_addr = io_ports->data_addr; in ide_input_data() local
184 __ide_mm_insl((void __iomem *)data_addr, buf, words); in ide_input_data()
186 insl(data_addr, buf, words); in ide_input_data()
199 __ide_mm_insw((void __iomem *)data_addr, buf, words); in ide_input_data()
201 insw(data_addr, buf, words); in ide_input_data()
213 unsigned long data_addr = io_ports->data_addr; in ide_output_data() local
228 __ide_mm_outsl((void __iomem *)data_addr, buf, words); in ide_output_data()
230 outsl(data_addr, buf, words); in ide_output_data()
243 __ide_mm_outsw((void __iomem *)data_addr, buf, words); in ide_output_data()
245 outsw(data_addr, buf, words); in ide_output_data()
Dscc_pata.c685 unsigned long data_addr = drive->hwif->io_ports.data_addr; in scc_input_data() local
690 scc_ide_insl(data_addr, buf, len / 4); in scc_input_data()
693 scc_ide_insw(data_addr, (u8 *)buf + (len & ~3), 1); in scc_input_data()
695 scc_ide_insw(data_addr, buf, len / 2); in scc_input_data()
701 unsigned long data_addr = drive->hwif->io_ports.data_addr; in scc_output_data() local
706 scc_ide_outsl(data_addr, buf, len / 4); in scc_output_data()
709 scc_ide_outsw(data_addr, (u8 *)buf + (len & ~3), 1); in scc_output_data()
711 scc_ide_outsw(data_addr, buf, len / 2); in scc_output_data()
Dide-cs.c259 unsigned long data_addr, ctl_addr; in ide_release() local
261 data_addr = hwif->io_ports.data_addr; in ide_release()
268 release_region(data_addr, 8); in ide_release()
Dide-h8300.c42 mm_insw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); in h8300_input_data()
48 mm_outsw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2); in h8300_output_data()
Dtx4938ide.c77 unsigned long port = drive->hwif->io_ports.data_addr; in tx4938ide_input_data_swap()
89 unsigned long port = drive->hwif->io_ports.data_addr; in tx4938ide_output_data_swap()
Dtx4939ide.c452 unsigned long port = drive->hwif->io_ports.data_addr; in tx4939ide_input_data_swap()
464 unsigned long port = drive->hwif->io_ports.data_addr; in tx4939ide_output_data_swap()
561 hw.io_ports.data_addr = in tx4939ide_probe()
Dopti621.c93 reg_base = hwif->io_ports.data_addr; in opti621_set_pio_mode()
Dide_platform.c32 hw->io_ports.data_addr = port; in plat_ide_setup_ports()
Dgayle.c86 hw->io_ports.data_addr = base; in gayle_setup_ports()
Dbuddha.c128 hw->io_ports.data_addr = base; in buddha_setup_ports()
/drivers/ata/
Dpata_octeon_cf.c308 void __iomem *data_addr = ap->ioaddr.data_addr; in octeon_cf_data_xfer8() local
316 iowrite8(*buffer, data_addr); in octeon_cf_data_xfer8()
328 ioread8_rep(data_addr, buffer, words); in octeon_cf_data_xfer8()
347 void __iomem *data_addr = ap->ioaddr.data_addr; in octeon_cf_data_xfer16() local
355 iowrite16(*(uint16_t *)buffer, data_addr); in octeon_cf_data_xfer16()
368 *(uint16_t *)buffer = ioread16(data_addr); in octeon_cf_data_xfer16()
377 align_buf[0] = cpu_to_le16(ioread16(data_addr)); in octeon_cf_data_xfer16()
381 iowrite16(le16_to_cpu(align_buf[0]), data_addr); in octeon_cf_data_xfer16()
395 void __iomem *base = ap->ioaddr.data_addr; in octeon_cf_tf_read16()
438 void __iomem *base = ap->ioaddr.data_addr; in octeon_cf_check_status16()
[all …]
Dpata_legacy.c326 ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); in pdc_data_xfer_vlb()
328 iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); in pdc_data_xfer_vlb()
333 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in pdc_data_xfer_vlb()
337 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in pdc_data_xfer_vlb()
509 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c611a_set_piomode()
588 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c46x_set_piomode()
714 iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); in vlb32_data_xfer()
716 ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); in vlb32_data_xfer()
722 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in vlb32_data_xfer()
724 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in vlb32_data_xfer()
Dsata_rcar.c399 void __iomem *data_addr = ap->ioaddr.data_addr; in sata_rcar_data_xfer() local
404 sata_rcar_ioread16_rep(data_addr, buf, words); in sata_rcar_data_xfer()
406 sata_rcar_iowrite16_rep(data_addr, buf, words); in sata_rcar_data_xfer()
420 sata_rcar_ioread16_rep(data_addr, pad, 1); in sata_rcar_data_xfer()
424 sata_rcar_iowrite16_rep(data_addr, pad, 1); in sata_rcar_data_xfer()
445 ioread32(ap->ioaddr.data_addr); in sata_rcar_drain_fifo()
716 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in sata_rcar_setup_port()
Dlibata-sff.c562 void __iomem *data_addr = ap->ioaddr.data_addr; in ata_sff_data_xfer() local
567 ioread16_rep(data_addr, buf, words); in ata_sff_data_xfer()
569 iowrite16_rep(data_addr, buf, words); in ata_sff_data_xfer()
583 ioread16_rep(data_addr, pad, 1); in ata_sff_data_xfer()
587 iowrite16_rep(data_addr, pad, 1); in ata_sff_data_xfer()
617 void __iomem *data_addr = ap->ioaddr.data_addr; in ata_sff_data_xfer32() local
626 ioread32_rep(data_addr, buf, words); in ata_sff_data_xfer32()
628 iowrite32_rep(data_addr, buf, words); in ata_sff_data_xfer32()
643 ioread16_rep(data_addr, pad, 1); in ata_sff_data_xfer32()
645 ioread32_rep(data_addr, pad, 1); in ata_sff_data_xfer32()
[all …]
Dpata_pcmcia.c111 ioread8_rep(ap->ioaddr.data_addr, buf, buflen); in ata_data_xfer_8bit()
113 iowrite8_rep(ap->ioaddr.data_addr, buf, buflen); in ata_data_xfer_8bit()
142 ioread8(ap->ioaddr.data_addr); in pcmcia_8bit_drain_fifo()
Dpata_samsung_cf.c249 void __iomem *data_addr = ap->ioaddr.data_addr; in pata_s3c_data_xfer() local
257 (void) readw(data_addr); in pata_s3c_data_xfer()
265 writew(*data_ptr, data_addr); in pata_s3c_data_xfer()
560 ap->ioaddr.data_addr = info->ide_addr + S3C_ATA_PIO_DTR; in pata_s3c_probe()
Dpata_ixp4xx_cf.c50 void __iomem *mmio = ap->ioaddr.data_addr; in ixp4xx_mmio_data_xfer()
119 *(unsigned long *)&ioaddr->data_addr ^= 0x02; in ixp4xx_setup_port()
Dpata_rb532_cf.c101 ap->ioaddr.data_addr = info->iobase + RB500_CF_REG_DBUF32; in rb532_pata_setup_ports()
/drivers/s390/block/
Dscm_blk_cluster.c138 msb->data_addr = (u64) aidaw; in scm_prepare_cluster_request()
150 aidaw->data_addr = (u64) scmrq->cluster.buf[i]; in scm_prepare_cluster_request()
161 aidaw->data_addr = (u64) scmrq->cluster.buf[i]; in scm_prepare_cluster_request()
166 aidaw->data_addr = (u64) page_address(bv->bv_page); in scm_prepare_cluster_request()
171 aidaw->data_addr = (u64) scmrq->cluster.buf[i]; in scm_prepare_cluster_request()
/drivers/input/serio/
Darc_ps2.c36 void __iomem *data_addr; member
61 data = ioread32(port->data_addr) & 0xff; in arc_ps2_check_rx()
101 iowrite32(val & 0xff, port->data_addr); in arc_ps2_write()
175 port->data_addr = arc_ps2_calc_addr(arc_ps2, index, false); in arc_ps2_create_port()
179 index, port->data_addr, port->status_addr); in arc_ps2_create_port()
/drivers/acpi/
Dec.c140 u8 x = inb(ec->data_addr); in acpi_ec_read_data()
154 outb(data, ec->data_addr); in acpi_ec_write_data()
735 ec->command_addr = ec->data_addr = 0; in ec_parse_device()
838 ret = !!request_region(ec->data_addr, 1, "EC data"); in acpi_ec_add()
839 WARN(!ret, "Could not request EC data io port 0x%lx", ec->data_addr); in acpi_ec_add()
844 ec->gpe, ec->command_addr, ec->data_addr); in acpi_ec_add()
869 release_region(ec->data_addr, 1); in acpi_ec_remove()
891 if (ec->data_addr == 0) in ec_parse_io_ports()
892 ec->data_addr = resource->data.io.minimum; in ec_parse_io_ports()
1007 boot_ec->data_addr = ecdt_ptr->data.address; in acpi_ec_ecdt_probe()
[all …]
Dinternal.h111 unsigned long data_addr; member
/drivers/firmware/
Ddmi-sysfs.c254 u16 data_addr; member
323 ret = inb(sel->io.data_addr); in read_sel_8bit_indexed_io()
336 ret = inb(sel->io.data_addr); in read_sel_2x8bit_indexed_io()
348 ret = inb(sel->io.data_addr); in read_sel_16bit_indexed_io()

123