/linux-3.4.99/drivers/misc/eeprom/ |
D | eeprom_93xx46.c | 47 u16 cmd_addr; in eeprom_93xx46_bin_read() local 59 cmd_addr = OP_READ << edev->addrlen; in eeprom_93xx46_bin_read() 62 cmd_addr |= off & 0x7f; in eeprom_93xx46_bin_read() 65 cmd_addr |= off & 0x3f; in eeprom_93xx46_bin_read() 70 cmd_addr, edev->spi->max_speed_hz); in eeprom_93xx46_bin_read() 75 t[0].tx_buf = (char *)&cmd_addr; in eeprom_93xx46_bin_read() 110 u16 cmd_addr; in eeprom_93xx46_ew() local 112 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_ew() 114 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS) << 1; in eeprom_93xx46_ew() 117 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS); in eeprom_93xx46_ew() [all …]
|
/linux-3.4.99/drivers/ata/ |
D | pata_platform.c | 62 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << shift); in pata_platform_setup_port() 63 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << shift); in pata_platform_setup_port() 64 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << shift); in pata_platform_setup_port() 65 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << shift); in pata_platform_setup_port() 66 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << shift); in pata_platform_setup_port() 67 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << shift); in pata_platform_setup_port() 68 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << shift); in pata_platform_setup_port() 69 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << shift); in pata_platform_setup_port() 70 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << shift); in pata_platform_setup_port() 71 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << shift); in pata_platform_setup_port() [all …]
|
D | pata_imx.c | 82 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in pata_imx_setup_port() 83 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in pata_imx_setup_port() 84 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in pata_imx_setup_port() 85 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in pata_imx_setup_port() 86 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in pata_imx_setup_port() 87 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in pata_imx_setup_port() 88 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in pata_imx_setup_port() 89 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in pata_imx_setup_port() 90 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in pata_imx_setup_port() 91 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); in pata_imx_setup_port() [all …]
|
D | pata_pxa.c | 296 ap->ioaddr.cmd_addr = devm_ioremap(&pdev->dev, cmd_res->start, in pxa_ata_probe() 307 ap->ioaddr.data_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 309 ap->ioaddr.error_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 311 ap->ioaddr.feature_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 313 ap->ioaddr.nsect_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 315 ap->ioaddr.lbal_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 317 ap->ioaddr.lbam_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 319 ap->ioaddr.lbah_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 321 ap->ioaddr.device_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() 323 ap->ioaddr.status_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe() [all …]
|
D | pata_isapnp.c | 51 void __iomem *cmd_addr, *ctl_addr; in isapnp_init_one() local 69 cmd_addr = devm_ioport_map(&idev->dev, pnp_port_start(idev, 0), 8); in isapnp_init_one() 70 if (!cmd_addr) in isapnp_init_one() 79 ap->ioaddr.cmd_addr = cmd_addr; in isapnp_init_one()
|
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()
|
D | pata_scc.c | 1009 ioaddr->cmd_addr = base + SCC_REG_CMD_ADDR; in scc_setup_ports() 1010 ioaddr->altstatus_addr = ioaddr->cmd_addr + SCC_REG_ALTSTATUS; in scc_setup_ports() 1011 ioaddr->ctl_addr = ioaddr->cmd_addr + SCC_REG_ALTSTATUS; in scc_setup_ports() 1013 ioaddr->data_addr = ioaddr->cmd_addr + SCC_REG_DATA; in scc_setup_ports() 1014 ioaddr->error_addr = ioaddr->cmd_addr + SCC_REG_ERR; in scc_setup_ports() 1015 ioaddr->feature_addr = ioaddr->cmd_addr + SCC_REG_FEATURE; in scc_setup_ports() 1016 ioaddr->nsect_addr = ioaddr->cmd_addr + SCC_REG_NSECT; in scc_setup_ports() 1017 ioaddr->lbal_addr = ioaddr->cmd_addr + SCC_REG_LBAL; in scc_setup_ports() 1018 ioaddr->lbam_addr = ioaddr->cmd_addr + SCC_REG_LBAM; in scc_setup_ports() 1019 ioaddr->lbah_addr = ioaddr->cmd_addr + SCC_REG_LBAH; in scc_setup_ports() [all …]
|
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()
|
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()
|
D | sata_promise.c | 436 void __iomem *ata_ctlstat_mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port() 471 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_pata_cable_detect() 719 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_freeze() 754 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_thaw() 796 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_ata_port_to_ata_no() 896 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_host_intr() 929 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_irq_clear() 1025 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_packet_start() 1113 ap->ioaddr.cmd_addr = base; in pdc_ata_setup_port()
|
D | pata_ixp4xx_cf.c | 107 ioaddr->cmd_addr = data->cs0; in ixp4xx_setup_port() 120 *(unsigned long *)&ioaddr->cmd_addr ^= 0x03; in ixp4xx_setup_port()
|
D | sata_uli.c | 194 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one() 209 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one()
|
D | pata_cs5520.c | 188 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one() 199 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
|
D | sata_sx4.c | 674 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start() 675 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start() 756 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr() 757 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr() 858 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_freeze() 872 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_thaw() 889 void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port() 983 port->cmd_addr = base; in pdc_sata_setup_port()
|
D | pata_atp867x.c | 326 (unsigned long long)ioaddr->cmd_addr, in atp867x_check_ports() 450 ioaddr->cmd_addr = ATP867X_IO_PORTBASE(ap, i); in atp867x_ata_pci_sff_init_host() 464 (unsigned long)ioaddr->cmd_addr, in atp867x_ata_pci_sff_init_host()
|
D | pata_palmld.c | 91 ap->ioaddr.cmd_addr = mem + 0x10; in palmld_pata_probe()
|
D | libata-sff.c | 2245 ioaddr->data_addr = ioaddr->cmd_addr + ATA_REG_DATA; in ata_sff_std_ports() 2246 ioaddr->error_addr = ioaddr->cmd_addr + ATA_REG_ERR; in ata_sff_std_ports() 2247 ioaddr->feature_addr = ioaddr->cmd_addr + ATA_REG_FEATURE; in ata_sff_std_ports() 2248 ioaddr->nsect_addr = ioaddr->cmd_addr + ATA_REG_NSECT; in ata_sff_std_ports() 2249 ioaddr->lbal_addr = ioaddr->cmd_addr + ATA_REG_LBAL; in ata_sff_std_ports() 2250 ioaddr->lbam_addr = ioaddr->cmd_addr + ATA_REG_LBAM; in ata_sff_std_ports() 2251 ioaddr->lbah_addr = ioaddr->cmd_addr + ATA_REG_LBAH; in ata_sff_std_ports() 2252 ioaddr->device_addr = ioaddr->cmd_addr + ATA_REG_DEVICE; in ata_sff_std_ports() 2253 ioaddr->status_addr = ioaddr->cmd_addr + ATA_REG_STATUS; in ata_sff_std_ports() 2254 ioaddr->command_addr = ioaddr->cmd_addr + ATA_REG_CMD; in ata_sff_std_ports() [all …]
|
D | pata_sil680.c | 390 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one() 395 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
|
D | pata_ninja32.c | 143 ap->ioaddr.cmd_addr = base + 0x10; in ninja32_init_one()
|
/linux-3.4.99/arch/arm/mach-msm/ |
D | scm.c | 171 static u32 smc(u32 cmd_addr) in smc() argument 176 register u32 r2 asm("r2") = cmd_addr; in smc() 198 u32 cmd_addr = virt_to_phys(cmd); in __scm_call() local 206 ret = smc(cmd_addr); in __scm_call()
|
/linux-3.4.99/drivers/gpu/drm/savage/ |
D | savage_state.c | 995 if (DRM_COPY_FROM_USER(kcmd_addr, cmdbuf->cmd_addr, in savage_bci_cmdbuf() 1001 cmdbuf->cmd_addr = kcmd_addr; in savage_bci_cmdbuf() 1045 cmd_header = *(drm_savage_cmd_header_t *)cmdbuf->cmd_addr; in savage_bci_cmdbuf() 1046 cmdbuf->cmd_addr++; in savage_bci_cmdbuf() 1067 first_draw_cmd = cmdbuf->cmd_addr - 1; in savage_bci_cmdbuf() 1068 cmdbuf->cmd_addr += j; in savage_bci_cmdbuf() 1075 cmdbuf->cmd_addr - 1, in savage_bci_cmdbuf() 1098 (const uint32_t *)cmdbuf->cmd_addr); in savage_bci_cmdbuf() 1099 cmdbuf->cmd_addr += j; in savage_bci_cmdbuf() 1111 cmdbuf->cmd_addr, in savage_bci_cmdbuf() [all …]
|
/linux-3.4.99/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 256 unsigned long cmd_addr; in do_read_onechip() local 262 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_read_onechip() 279 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip() 285 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 290 status = map_read(map, cmd_addr); in do_read_onechip() 296 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip() 298 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 313 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip() 327 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 331 status = map_read(map, cmd_addr); in do_read_onechip() [all …]
|
/linux-3.4.99/drivers/gpu/drm/via/ |
D | via_dma.c | 486 uint32_t cmd_addr, addr_lo, addr_hi; in via_align_cmd() local 500 cmd_addr = (addr) ? addr : in via_align_cmd() 503 (cmd_addr & HC_HAGPBpL_MASK)); in via_align_cmd() 504 addr_hi = ((HC_SubA_HAGPBpH << 24) | (cmd_addr >> 24)); in via_align_cmd()
|
/linux-3.4.99/include/drm/ |
D | savage_drm.h | 106 drm_savage_cmd_header_t __user *cmd_addr; member
|
/linux-3.4.99/include/linux/mtd/ |
D | cfi.h | 461 static inline uint32_t cfi_send_gen_cmd(u_char cmd, uint32_t cmd_addr, uint32_t base, in cfi_send_gen_cmd() argument 466 uint32_t addr = base + cfi_build_cmd_addr(cmd_addr, map, cfi); in cfi_send_gen_cmd()
|