/linux/drivers/ata/ |
A D | pata_platform.c | 56 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << shift); in pata_platform_setup_port() 57 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << shift); in pata_platform_setup_port() 59 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << shift); in pata_platform_setup_port() 60 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << shift); in pata_platform_setup_port() 61 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << shift); in pata_platform_setup_port() 62 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << shift); in pata_platform_setup_port() 63 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << shift); in pata_platform_setup_port() 64 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << shift); in pata_platform_setup_port() 154 ap->ioaddr.cmd_addr = devm_ioremap(dev, io_res->start, in __pata_platform_probe() 159 ap->ioaddr.cmd_addr = devm_ioport_map(dev, io_res->start, in __pata_platform_probe() [all …]
|
A D | pata_imx.c | 114 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in pata_imx_setup_port() 115 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in pata_imx_setup_port() 116 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in pata_imx_setup_port() 117 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in pata_imx_setup_port() 118 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in pata_imx_setup_port() 119 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in pata_imx_setup_port() 120 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in pata_imx_setup_port() 121 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in pata_imx_setup_port() 122 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in pata_imx_setup_port() 123 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); in pata_imx_setup_port() [all …]
|
A D | pata_pxa.c | 224 ap->ioaddr.cmd_addr = devm_ioremap(&pdev->dev, cmd_res->start, in pxa_ata_probe() 235 ap->ioaddr.data_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 237 ap->ioaddr.error_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 239 ap->ioaddr.feature_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 241 ap->ioaddr.nsect_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 243 ap->ioaddr.lbal_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 245 ap->ioaddr.lbam_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 247 ap->ioaddr.lbah_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 249 ap->ioaddr.device_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 251 ap->ioaddr.status_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() [all …]
|
A D | pata_isapnp.c | 52 void __iomem *cmd_addr, *ctl_addr; in isapnp_init_one() local 70 cmd_addr = devm_ioport_map(&idev->dev, pnp_port_start(idev, 0), 8); in isapnp_init_one() 71 if (!cmd_addr) in isapnp_init_one() 80 ap->ioaddr.cmd_addr = cmd_addr; in isapnp_init_one()
|
A D | pata_mpiix.c | 157 void __iomem *cmd_addr, *ctl_addr; in mpiix_init_one() local 187 cmd_addr = devm_ioport_map(&dev->dev, cmd, 8); in mpiix_init_one() 189 if (!cmd_addr || !ctl_addr) in mpiix_init_one() 204 ap->ioaddr.cmd_addr = cmd_addr; in mpiix_init_one()
|
A D | sata_rcar.c | 771 ioaddr->cmd_addr = base + SDATA_REG; in sata_rcar_setup_port() 776 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in sata_rcar_setup_port() 777 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in sata_rcar_setup_port() 778 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in sata_rcar_setup_port() 779 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in sata_rcar_setup_port() 780 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in sata_rcar_setup_port() 781 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in sata_rcar_setup_port() 782 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in sata_rcar_setup_port() 783 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in sata_rcar_setup_port() 784 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in sata_rcar_setup_port() [all …]
|
A D | pata_opti.c | 83 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg() 112 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_set_piomode()
|
A D | sata_promise.c | 418 void __iomem *ata_ctlstat_mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port() 453 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_pata_cable_detect() 698 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_freeze() 733 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_thaw() 775 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_ata_port_to_ata_no() 875 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_host_intr() 908 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_irq_clear() 1004 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_packet_start() 1092 ap->ioaddr.cmd_addr = base; in pdc_ata_setup_port()
|
A D | pata_optidma.c | 79 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_unlock() 96 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_lock() 121 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_mode_setup()
|
A D | sata_sx4.c | 657 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start() 658 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start() 739 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr() 740 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr() 841 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_freeze() 855 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_thaw() 872 void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port() 966 port->cmd_addr = base; in pdc_sata_setup_port()
|
A D | sata_uli.c | 177 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one() 192 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one()
|
A D | pata_cs5520.c | 176 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one() 187 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
|
A D | pata_atp867x.c | 313 (unsigned long long)ioaddr->cmd_addr, in atp867x_check_ports() 437 ioaddr->cmd_addr = ATP867X_IO_PORTBASE(ap, i); in atp867x_ata_pci_sff_init_host() 451 (unsigned long)ioaddr->cmd_addr, in atp867x_ata_pci_sff_init_host()
|
A D | libata-sff.c | 2193 ioaddr->data_addr = ioaddr->cmd_addr + ATA_REG_DATA; in ata_sff_std_ports() 2194 ioaddr->error_addr = ioaddr->cmd_addr + ATA_REG_ERR; in ata_sff_std_ports() 2195 ioaddr->feature_addr = ioaddr->cmd_addr + ATA_REG_FEATURE; in ata_sff_std_ports() 2196 ioaddr->nsect_addr = ioaddr->cmd_addr + ATA_REG_NSECT; in ata_sff_std_ports() 2197 ioaddr->lbal_addr = ioaddr->cmd_addr + ATA_REG_LBAL; in ata_sff_std_ports() 2198 ioaddr->lbam_addr = ioaddr->cmd_addr + ATA_REG_LBAM; in ata_sff_std_ports() 2199 ioaddr->lbah_addr = ioaddr->cmd_addr + ATA_REG_LBAH; in ata_sff_std_ports() 2200 ioaddr->device_addr = ioaddr->cmd_addr + ATA_REG_DEVICE; in ata_sff_std_ports() 2201 ioaddr->status_addr = ioaddr->cmd_addr + ATA_REG_STATUS; in ata_sff_std_ports() 2202 ioaddr->command_addr = ioaddr->cmd_addr + ATA_REG_CMD; in ata_sff_std_ports() [all …]
|
A D | pata_ixp4xx_cf.c | 200 ioaddr->cmd_addr = ixpp->cmd; in ixp4xx_setup_port() 212 *(unsigned long *)&ioaddr->cmd_addr ^= 0x03; in ixp4xx_setup_port()
|
A D | pata_sil680.c | 387 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one() 392 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
|
A D | pata_palmld.c | 93 ap->ioaddr.cmd_addr = mem + 0x10; in palmld_pata_probe()
|
/linux/drivers/misc/eeprom/ |
A D | eeprom_93xx46.c | 113 cmd_addr |= off; in eeprom_93xx46_read() 126 cmd_addr <<= 1; in eeprom_93xx46_read() 170 u16 cmd_addr; in eeprom_93xx46_ew() local 182 cmd_addr <<= 2; in eeprom_93xx46_ew() 192 t.tx_buf = &cmd_addr; in eeprom_93xx46_ew() 223 u16 cmd_addr; in eeprom_93xx46_write_word() local 234 cmd_addr |= off; in eeprom_93xx46_write_word() 317 u16 cmd_addr; in eeprom_93xx46_eral() local 326 cmd_addr |= ADDR_ERAL; in eeprom_93xx46_eral() 329 cmd_addr <<= 2; in eeprom_93xx46_eral() [all …]
|
/linux/drivers/gpu/drm/savage/ |
A D | savage_state.c | 1006 if (copy_from_user(kcmd_addr, cmdbuf->cmd_addr, in savage_bci_cmdbuf() 1012 cmdbuf->cmd_addr = kcmd_addr; in savage_bci_cmdbuf() 1052 cmdbuf->cmd_addr++; in savage_bci_cmdbuf() 1073 first_draw_cmd = cmdbuf->cmd_addr - 1; in savage_bci_cmdbuf() 1074 cmdbuf->cmd_addr += j; in savage_bci_cmdbuf() 1081 cmdbuf->cmd_addr - 1, in savage_bci_cmdbuf() 1104 (const uint32_t *)cmdbuf->cmd_addr); in savage_bci_cmdbuf() 1105 cmdbuf->cmd_addr += j; in savage_bci_cmdbuf() 1117 cmdbuf->cmd_addr, in savage_bci_cmdbuf() 1120 cmdbuf->cmd_addr++; in savage_bci_cmdbuf() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | pl35x-nand-controller.c | 514 u32 cmd_addr; in pl35x_nand_write_page_hwecc() local 521 cmd_addr = PL35X_SMC_CMD_PHASE | in pl35x_nand_write_page_hwecc() 535 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc() 537 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc() 596 u32 cmd_addr; in pl35x_nand_read_page_hwecc() local 603 cmd_addr = PL35X_SMC_CMD_PHASE | in pl35x_nand_read_page_hwecc() 619 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc() 621 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc() 713 cmd_addr |= PL35X_SMC_CMD_PHASE | cmd0 | cmd1 | in pl35x_nand_exec_op() 715 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_exec_op() [all …]
|
/linux/drivers/mtd/chips/ |
A D | cfi_cmdset_0020.c | 254 unsigned long cmd_addr; in do_read_onechip() local 277 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip() 283 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 288 status = map_read(map, cmd_addr); in do_read_onechip() 294 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip() 311 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip() 325 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 329 status = map_read(map, cmd_addr); in do_read_onechip() 331 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip() 374 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_tmpl.h | 211 __le32 cmd_addr; member 217 __le32 cmd_addr; member
|
A D | qla_tmpl.c | 744 ulong cmd_addr = le32_to_cpu(ent->t277.cmd_addr); in qla27xx_fwdt_entry_t277() local 751 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); in qla27xx_fwdt_entry_t277() 761 ulong cmd_addr = le32_to_cpu(ent->t278.cmd_addr); in qla27xx_fwdt_entry_t278() local 769 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); in qla27xx_fwdt_entry_t278()
|
/linux/drivers/gpu/drm/via/ |
A D | via_dma.c | 491 uint32_t cmd_addr, addr_lo, addr_hi; in via_align_cmd() local 505 cmd_addr = (addr) ? addr : in via_align_cmd() 508 (cmd_addr & HC_HAGPBpL_MASK)); in via_align_cmd() 509 addr_hi = ((HC_SubA_HAGPBpH << 24) | (cmd_addr >> 24)); in via_align_cmd()
|
/linux/include/uapi/drm/ |
A D | savage_drm.h | 112 drm_savage_cmd_header_t __user *cmd_addr; member
|