Home
last modified time | relevance | path

Searched refs:cmd_addr (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/linux/drivers/ata/
H A Dpata_platform.c56 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()
156 ap->ioaddr.cmd_addr = devm_ioremap(dev, io_res->start, in __pata_platform_probe()
161 ap->ioaddr.cmd_addr = devm_ioport_map(dev, io_res->start, in __pata_platform_probe()
[all …]
H A Dpata_imx.c114 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 …]
H A Dpata_pxa.c224 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 …]
H A Dpata_isapnp.c52 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()
H A Dpata_mpiix.c157 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()
H A Dsata_rcar.c744 ioaddr->cmd_addr = base + SDATA_REG; in sata_rcar_setup_port()
749 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in sata_rcar_setup_port()
750 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in sata_rcar_setup_port()
751 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in sata_rcar_setup_port()
752 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in sata_rcar_setup_port()
753 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in sata_rcar_setup_port()
754 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in sata_rcar_setup_port()
755 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in sata_rcar_setup_port()
756 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in sata_rcar_setup_port()
757 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in sata_rcar_setup_port()
[all …]
H A Dpata_opti.c83 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg()
112 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_set_piomode()
H A Dpata_optidma.c79 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()
H A Dsata_promise.c418 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()
696 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_freeze()
731 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_thaw()
773 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_ata_port_to_ata_no()
873 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_host_intr()
906 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_irq_clear()
991 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_packet_start()
1077 ap->ioaddr.cmd_addr = base; in pdc_ata_setup_port()
H A Dsata_uli.c177 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one()
192 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one()
H A Dpata_cs5520.c176 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one()
187 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
H A Dsata_sx4.c624 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start()
625 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start()
704 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr()
705 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr()
795 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_freeze()
809 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_thaw()
826 void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port()
920 port->cmd_addr = base; in pdc_sata_setup_port()
H A Dpata_atp867x.c313 (unsigned long)ioaddr->cmd_addr, in atp867x_check_ports()
433 ioaddr->cmd_addr = ATP867X_IO_PORTBASE(ap, i); in atp867x_ata_pci_sff_init_host()
446 (unsigned long)ioaddr->cmd_addr, in atp867x_ata_pci_sff_init_host()
H A Dpata_ixp4xx_cf.c201 ioaddr->cmd_addr = ixpp->cmd; in ixp4xx_setup_port()
213 *(unsigned long *)&ioaddr->cmd_addr ^= 0x03; in ixp4xx_setup_port()
H A Dlibata-sff.c2102 ioaddr->data_addr = ioaddr->cmd_addr + ATA_REG_DATA; in ata_sff_std_ports()
2103 ioaddr->error_addr = ioaddr->cmd_addr + ATA_REG_ERR; in ata_sff_std_ports()
2104 ioaddr->feature_addr = ioaddr->cmd_addr + ATA_REG_FEATURE; in ata_sff_std_ports()
2105 ioaddr->nsect_addr = ioaddr->cmd_addr + ATA_REG_NSECT; in ata_sff_std_ports()
2106 ioaddr->lbal_addr = ioaddr->cmd_addr + ATA_REG_LBAL; in ata_sff_std_ports()
2107 ioaddr->lbam_addr = ioaddr->cmd_addr + ATA_REG_LBAM; in ata_sff_std_ports()
2108 ioaddr->lbah_addr = ioaddr->cmd_addr + ATA_REG_LBAH; in ata_sff_std_ports()
2109 ioaddr->device_addr = ioaddr->cmd_addr + ATA_REG_DEVICE; in ata_sff_std_ports()
2110 ioaddr->status_addr = ioaddr->cmd_addr + ATA_REG_STATUS; in ata_sff_std_ports()
2111 ioaddr->command_addr = ioaddr->cmd_addr + ATA_REG_CMD; in ata_sff_std_ports()
[all …]
H A Dpata_sil680.c382 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one()
387 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
/openbmc/linux/drivers/misc/eeprom/
H A Deeprom_93xx46.c113 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 …]
/openbmc/u-boot/drivers/ata/
H A Dsata_sil3114.c355 ioport->data_addr = ioport->cmd_addr + ATA_REG_DATA; in sata_port()
356 ioport->error_addr = ioport->cmd_addr + ATA_REG_ERR; in sata_port()
358 ioport->nsect_addr = ioport->cmd_addr + ATA_REG_NSECT; in sata_port()
359 ioport->lbal_addr = ioport->cmd_addr + ATA_REG_LBAL; in sata_port()
360 ioport->lbam_addr = ioport->cmd_addr + ATA_REG_LBAM; in sata_port()
361 ioport->lbah_addr = ioport->cmd_addr + ATA_REG_LBAH; in sata_port()
364 ioport->command_addr = ioport->cmd_addr + ATA_REG_CMD; in sata_port()
771 port[0].ioaddr.cmd_addr = iobase[5] + VND_TF0_CH0; in scan_sata()
779 port[1].ioaddr.cmd_addr = iobase[5] + VND_TF0_CH1; in scan_sata()
787 port[2].ioaddr.cmd_addr = iobase[5] + VND_TF0_CH2; in scan_sata()
[all …]
H A Dsata_sil3114.h11 unsigned long cmd_addr; member
/openbmc/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c512 u32 cmd_addr; in pl35x_nand_write_page_hwecc() local
520 cmd_addr = PL35X_SMC_CMD_PHASE | in pl35x_nand_write_page_hwecc()
534 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc()
536 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc()
603 u32 cmd_addr; in pl35x_nand_read_page_hwecc() local
610 cmd_addr = PL35X_SMC_CMD_PHASE | in pl35x_nand_read_page_hwecc()
626 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc()
628 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc()
720 cmd_addr |= PL35X_SMC_CMD_PHASE | cmd0 | cmd1 | in pl35x_nand_exec_op()
722 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_exec_op()
[all …]
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c255 unsigned long cmd_addr; in do_read_onechip() local
278 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip()
284 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
289 status = map_read(map, cmd_addr); in do_read_onechip()
295 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
312 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
326 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
330 status = map_read(map, cmd_addr); in do_read_onechip()
332 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
375 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_tmpl.h211 __le32 cmd_addr; member
217 __le32 cmd_addr; member
H A Dqla_tmpl.c749 ulong cmd_addr = le32_to_cpu(ent->t277.cmd_addr); in qla27xx_fwdt_entry_t277() local
756 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); in qla27xx_fwdt_entry_t277()
766 ulong cmd_addr = le32_to_cpu(ent->t278.cmd_addr); in qla27xx_fwdt_entry_t278() local
774 qla27xx_write_reg(ISPREG(vha), cmd_addr, wr_cmd_data, buf); in qla27xx_fwdt_entry_t278()
/openbmc/linux/drivers/net/mdio/
H A Dmdio-i2c.c233 u8 cmd_addr, tmp, *res; in i2c_rollball_mii_poll() local
236 cmd_addr = ROLLBALL_CMD_ADDR; in i2c_rollball_mii_poll()
244 msgs[0].buf = &cmd_addr; in i2c_rollball_mii_poll()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_lpc.c80 const int cmd_addr = EC_LPC_ADDR_HOST_CMD; in cros_ec_lpc_command() local
123 outb(cmd, cmd_addr); in cros_ec_lpc_command()

123