/Linux-v4.19/drivers/ide/ |
D | ide-io-std.c | 44 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr); in ide_exec_command() 46 outb(cmd, hwif->io_ports.command_addr); in ide_exec_command() 53 return readb((void __iomem *)hwif->io_ports.status_addr); in ide_read_status() 55 return inb(hwif->io_ports.status_addr); in ide_read_status() 62 return readb((void __iomem *)hwif->io_ports.ctl_addr); in ide_read_altstatus() 64 return inb(hwif->io_ports.ctl_addr); in ide_read_altstatus() 71 writeb(ctl, (void __iomem *)hwif->io_ports.ctl_addr); in ide_write_devctl() 73 outb(ctl, hwif->io_ports.ctl_addr); in ide_write_devctl() 83 writeb(select, (void __iomem *)hwif->io_ports.device_addr); in ide_dev_select() 85 outb(select, hwif->io_ports.device_addr); in ide_dev_select() [all …]
|
D | q40ide.c | 60 hw->io_ports.data_addr = Q40_ISA_IO_W(base); in q40_ide_setup_ports() 61 hw->io_ports.error_addr = Q40_ISA_IO_B(base + 1); in q40_ide_setup_ports() 62 hw->io_ports.nsect_addr = Q40_ISA_IO_B(base + 2); in q40_ide_setup_ports() 63 hw->io_ports.lbal_addr = Q40_ISA_IO_B(base + 3); in q40_ide_setup_ports() 64 hw->io_ports.lbam_addr = Q40_ISA_IO_B(base + 4); in q40_ide_setup_ports() 65 hw->io_ports.lbah_addr = Q40_ISA_IO_B(base + 5); in q40_ide_setup_ports() 66 hw->io_ports.device_addr = Q40_ISA_IO_B(base + 6); in q40_ide_setup_ports() 67 hw->io_ports.status_addr = Q40_ISA_IO_B(base + 7); in q40_ide_setup_ports() 68 hw->io_ports.ctl_addr = Q40_ISA_IO_B(base + 0x206); in q40_ide_setup_ports() 76 unsigned long data_addr = drive->hwif->io_ports.data_addr; in q40ide_input_data() [all …]
|
D | ns87415.c | 56 return superio_ide_inb(hwif->io_ports.status_addr); in superio_read_status() 67 struct ide_io_ports *io_ports = &drive->hwif->io_ports; in superio_tf_read() local 70 tf->error = inb(io_ports->feature_addr); in superio_tf_read() 72 tf->nsect = inb(io_ports->nsect_addr); in superio_tf_read() 74 tf->lbal = inb(io_ports->lbal_addr); in superio_tf_read() 76 tf->lbam = inb(io_ports->lbam_addr); in superio_tf_read() 78 tf->lbah = inb(io_ports->lbah_addr); in superio_tf_read() 80 tf->device = superio_ide_inb(io_ports->device_addr); in superio_tf_read() 175 outb(drive->select | ATA_DEVICE_OBS, drive->hwif->io_ports.device_addr); in ns87415_dev_select() 250 outb(12, hwif->io_ports.ctl_addr); in init_hwif_ns87415() [all …]
|
D | gayle.c | 65 ch = z_readb(hwif->io_ports.irq_addr); in gayle_test_irq() 75 (void)z_readb(hwif->io_ports.status_addr); in gayle_a1200_clear_irq() 76 z_writeb(0x7c, hwif->io_ports.irq_addr); in gayle_a1200_clear_irq() 86 hw->io_ports.data_addr = base; in gayle_setup_ports() 91 hw->io_ports.ctl_addr = ctl; in gayle_setup_ports() 92 hw->io_ports.irq_addr = irq_port; in gayle_setup_ports()
|
D | buddha.c | 107 ch = z_readb(hwif->io_ports.irq_addr); in buddha_test_irq() 118 z_writeb(0, drive->hwif->io_ports.irq_addr); in xsurf_clear_irq() 128 hw->io_ports.data_addr = base; in buddha_setup_ports() 133 hw->io_ports.ctl_addr = ctl; in buddha_setup_ports() 134 hw->io_ports.irq_addr = irq_port; in buddha_setup_ports()
|
D | siimage.c | 555 struct ide_io_ports *io_ports = &hwif->io_ports; in init_mmio_iops_siimage() local 569 memset(io_ports, 0, sizeof(*io_ports)); in init_mmio_iops_siimage() 581 io_ports->data_addr = base; in init_mmio_iops_siimage() 582 io_ports->error_addr = base + 1; in init_mmio_iops_siimage() 583 io_ports->nsect_addr = base + 2; in init_mmio_iops_siimage() 584 io_ports->lbal_addr = base + 3; in init_mmio_iops_siimage() 585 io_ports->lbam_addr = base + 4; in init_mmio_iops_siimage() 586 io_ports->lbah_addr = base + 5; in init_mmio_iops_siimage() 587 io_ports->device_addr = base + 6; in init_mmio_iops_siimage() 588 io_ports->status_addr = base + 7; in init_mmio_iops_siimage() [all …]
|
D | falconide.c | 69 unsigned long data_addr = drive->hwif->io_ports.data_addr; in falconide_input_data() 82 unsigned long data_addr = drive->hwif->io_ports.data_addr; in falconide_output_data() 123 hw->io_ports.data_addr = ATA_HD_BASE; in falconide_setup_ports() 128 hw->io_ports.ctl_addr = ATA_HD_BASE + ATA_HD_CONTROL; in falconide_setup_ports()
|
D | sgiioc4.c | 104 hw->io_ports.ctl_addr = ctrl_port; in sgiioc4_init_hwif_ports() 105 hw->io_ports.irq_addr = irq_port; in sgiioc4_init_hwif_ports() 110 unsigned long intr_addr = hwif->io_ports.irq_addr + IOC4_INTR_REG * 4; in sgiioc4_checkirq() 124 struct ide_io_ports *io_ports = &hwif->io_ports; in sgiioc4_clearirq() local 125 unsigned long other_ir = io_ports->irq_addr + (IOC4_INTR_REG << 2); in sgiioc4_clearirq() 153 readl((void __iomem *)io_ports->irq_addr); in sgiioc4_clearirq() 155 readl((void __iomem *)(io_ports->irq_addr + 4)); in sgiioc4_clearirq() 292 unsigned long port = hwif->io_ports.status_addr; in sgiioc4_read_status() 326 hwif->dma_base = (unsigned long)hwif->io_ports.irq_addr + in ide_dma_sgiioc4()
|
D | tx4939ide.c | 452 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() 563 hw.io_ports.error_addr = in tx4939ide_probe() 565 hw.io_ports.nsect_addr = in tx4939ide_probe() 567 hw.io_ports.lbal_addr = in tx4939ide_probe() 569 hw.io_ports.lbam_addr = in tx4939ide_probe() 571 hw.io_ports.lbah_addr = in tx4939ide_probe() 573 hw.io_ports.device_addr = in tx4939ide_probe() 575 hw.io_ports.command_addr = in tx4939ide_probe() [all …]
|
D | icside.c | 390 hw->io_ports.data_addr = port; in icside_setup_ports() 391 hw->io_ports.error_addr = port + (1 << info->stepping); in icside_setup_ports() 392 hw->io_ports.nsect_addr = port + (2 << info->stepping); in icside_setup_ports() 393 hw->io_ports.lbal_addr = port + (3 << info->stepping); in icside_setup_ports() 394 hw->io_ports.lbam_addr = port + (4 << info->stepping); in icside_setup_ports() 395 hw->io_ports.lbah_addr = port + (5 << info->stepping); in icside_setup_ports() 396 hw->io_ports.device_addr = port + (6 << info->stepping); in icside_setup_ports() 397 hw->io_ports.status_addr = port + (7 << info->stepping); in icside_setup_ports() 398 hw->io_ports.ctl_addr = (unsigned long)base + info->ctrloffset; in icside_setup_ports()
|
D | ide-probe.c | 254 struct ide_io_ports *io_ports = &hwif->io_ports; in ide_dev_read_id() local 264 if (io_ports->ctl_addr) in ide_dev_read_id() 273 if (io_ports->ctl_addr && in ide_dev_read_id() 851 if (hwif->io_ports.ctl_addr) in ide_host_enable_irqs() 861 struct ide_io_ports *io_ports = &hwif->io_ports; in init_irq() local 875 io_ports->data_addr, io_ports->status_addr, in init_irq() 876 io_ports->ctl_addr, hwif->irq); in init_irq() 879 io_ports->data_addr, hwif->irq); in init_irq() 1196 memcpy(&hwif->io_ports, &hw->io_ports, sizeof(hwif->io_ports)); in ide_init_port_hw()
|
D | ht6560b.c | 146 outb(timing, hwif->io_ports.device_addr); in ht6560b_dev_select() 147 (void)inb(hwif->io_ports.status_addr); in ht6560b_dev_select() 155 outb(drive->select | ATA_DEVICE_OBS, hwif->io_ports.device_addr); in ht6560b_dev_select()
|
D | tx4938ide.c | 77 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() 172 hw.io_ports.ctl_addr = ctl; in tx4938ide_probe()
|
D | ide_platform.c | 32 hw->io_ports.data_addr = port; in plat_ide_setup_ports() 39 hw->io_ports.ctl_addr = (unsigned long)ctrl; in plat_ide_setup_ports()
|
D | trm290.c | 178 outb(drive->select | ATA_DEVICE_OBS, drive->hwif->io_ports.device_addr); in trm290_dev_select() 292 hwif->io_ports.ctl_addr = compat + 2; in init_hwif_trm290()
|
D | pmac.c | 408 ((void __iomem *)((drive)->hwif->io_ports.data_addr + (x))) 469 (void __iomem *)drive->hwif->io_ports.device_addr); in pmac_dev_select() 477 (void __iomem *)drive->hwif->io_ports.device_addr); in pmac_kauai_dev_select() 482 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr); in pmac_exec_command() 483 (void)readl((void __iomem *)(hwif->io_ports.data_addr in pmac_exec_command() 489 writeb(ctl, (void __iomem *)hwif->io_ports.ctl_addr); in pmac_write_devctl() 490 (void)readl((void __iomem *)(hwif->io_ports.data_addr in pmac_write_devctl() 1128 hw->io_ports.ctl_addr = base + 0x160; in pmac_ide_init_ports()
|
D | ide-eh.c | 337 struct ide_io_ports *io_ports = &hwif->io_ports; in do_reset1() local 393 if (io_ports->ctl_addr == 0) { in do_reset1()
|
D | macide.c | 79 hw->io_ports.ctl_addr = base + IDE_CONTROL; in macide_setup_ports()
|
D | ide-cs.c | 261 data_addr = hwif->io_ports.data_addr; in ide_release() 262 ctl_addr = hwif->io_ports.ctl_addr; in ide_release()
|
D | rapide.c | 28 hw->io_ports.ctl_addr = (unsigned long)ctrl; in rapide_setup_ports()
|
D | palm_bk3710.c | 292 hwif->dma_base = hwif->io_ports.data_addr - IDE_PALM_ATA_PRI_REG_OFFSET; in palm_bk3710_init_dma() 366 hw.io_ports.ctl_addr = (unsigned long) in palm_bk3710_probe()
|
/Linux-v4.19/drivers/media/radio/ |
D | radio-isa.c | 185 if (drv->io_ports[i] == io) in radio_isa_valid_io() 318 int io = drv->io_ports[i]; in radio_isa_probe() 338 drv->io_ports[0]); in radio_isa_probe() 340 printk(KERN_CONT "/0x%03x", drv->io_ports[i]); in radio_isa_probe()
|
D | radio-isa.h | 86 const int *io_ports; member
|
D | radio-rtrack2.c | 122 .io_ports = rtrack2_ioports,
|
/Linux-v4.19/drivers/block/mtip32xx/ |
D | mtip32xx.c | 127 __u8 io_ports[8]; member 1915 fis.command = req_task->io_ports[7]; in exec_drive_taskfile() 1916 fis.features = req_task->io_ports[1]; in exec_drive_taskfile() 1917 fis.sect_count = req_task->io_ports[2]; in exec_drive_taskfile() 1918 fis.lba_low = req_task->io_ports[3]; in exec_drive_taskfile() 1919 fis.lba_mid = req_task->io_ports[4]; in exec_drive_taskfile() 1920 fis.lba_hi = req_task->io_ports[5]; in exec_drive_taskfile() 1922 fis.device = req_task->io_ports[6] & ~0x10; in exec_drive_taskfile() 1997 req_task->io_ports[7] = reply->control; in exec_drive_taskfile() 2000 req_task->io_ports[7] = reply->command; in exec_drive_taskfile() [all …]
|