Home
last modified time | relevance | path

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

12

/drivers/misc/eeprom/
Deeprom_93xx46.c46 u16 cmd_addr; in eeprom_93xx46_bin_read() local
58 cmd_addr = OP_READ << edev->addrlen; in eeprom_93xx46_bin_read()
61 cmd_addr |= off & 0x7f; in eeprom_93xx46_bin_read()
64 cmd_addr |= off & 0x3f; in eeprom_93xx46_bin_read()
69 cmd_addr, edev->spi->max_speed_hz); in eeprom_93xx46_bin_read()
74 t[0].tx_buf = (char *)&cmd_addr; in eeprom_93xx46_bin_read()
109 u16 cmd_addr; in eeprom_93xx46_ew() local
111 cmd_addr = OP_START << edev->addrlen; in eeprom_93xx46_ew()
113 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS) << 1; in eeprom_93xx46_ew()
116 cmd_addr |= (is_on ? ADDR_EWEN : ADDR_EWDS); in eeprom_93xx46_ew()
[all …]
/drivers/ata/
Dpata_platform.c61 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << shift); in pata_platform_setup_port()
62 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << shift); in pata_platform_setup_port()
63 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << shift); in pata_platform_setup_port()
64 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << shift); in pata_platform_setup_port()
65 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << shift); in pata_platform_setup_port()
66 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << shift); in pata_platform_setup_port()
67 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << shift); in pata_platform_setup_port()
68 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << shift); in pata_platform_setup_port()
69 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << shift); in pata_platform_setup_port()
70 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << shift); in pata_platform_setup_port()
[all …]
Dpata_imx.c81 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in pata_imx_setup_port()
82 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in pata_imx_setup_port()
83 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in pata_imx_setup_port()
84 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in pata_imx_setup_port()
85 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in pata_imx_setup_port()
86 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in pata_imx_setup_port()
87 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in pata_imx_setup_port()
88 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in pata_imx_setup_port()
89 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in pata_imx_setup_port()
90 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); in pata_imx_setup_port()
[all …]
Dpata_pxa.c295 ap->ioaddr.cmd_addr = devm_ioremap(&pdev->dev, cmd_res->start, in pxa_ata_probe()
306 ap->ioaddr.data_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
308 ap->ioaddr.error_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
310 ap->ioaddr.feature_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
312 ap->ioaddr.nsect_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
314 ap->ioaddr.lbal_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
316 ap->ioaddr.lbam_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
318 ap->ioaddr.lbah_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
320 ap->ioaddr.device_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
322 ap->ioaddr.status_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
[all …]
Dpata_isapnp.c51 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()
Dpata_mpiix.c156 void __iomem *cmd_addr, *ctl_addr; in mpiix_init_one() local
186 cmd_addr = devm_ioport_map(&dev->dev, cmd, 8); in mpiix_init_one()
188 if (!cmd_addr || !ctl_addr) in mpiix_init_one()
203 ap->ioaddr.cmd_addr = cmd_addr; in mpiix_init_one()
Dpata_scc.c1007 ioaddr->cmd_addr = base + SCC_REG_CMD_ADDR; in scc_setup_ports()
1008 ioaddr->altstatus_addr = ioaddr->cmd_addr + SCC_REG_ALTSTATUS; in scc_setup_ports()
1009 ioaddr->ctl_addr = ioaddr->cmd_addr + SCC_REG_ALTSTATUS; in scc_setup_ports()
1011 ioaddr->data_addr = ioaddr->cmd_addr + SCC_REG_DATA; in scc_setup_ports()
1012 ioaddr->error_addr = ioaddr->cmd_addr + SCC_REG_ERR; in scc_setup_ports()
1013 ioaddr->feature_addr = ioaddr->cmd_addr + SCC_REG_FEATURE; in scc_setup_ports()
1014 ioaddr->nsect_addr = ioaddr->cmd_addr + SCC_REG_NSECT; in scc_setup_ports()
1015 ioaddr->lbal_addr = ioaddr->cmd_addr + SCC_REG_LBAL; in scc_setup_ports()
1016 ioaddr->lbam_addr = ioaddr->cmd_addr + SCC_REG_LBAM; in scc_setup_ports()
1017 ioaddr->lbah_addr = ioaddr->cmd_addr + SCC_REG_LBAH; in scc_setup_ports()
[all …]
Dsata_rcar.c770 ioaddr->cmd_addr = base + SDATA_REG; in sata_rcar_setup_port()
775 ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); in sata_rcar_setup_port()
776 ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); in sata_rcar_setup_port()
777 ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); in sata_rcar_setup_port()
778 ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); in sata_rcar_setup_port()
779 ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); in sata_rcar_setup_port()
780 ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); in sata_rcar_setup_port()
781 ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); in sata_rcar_setup_port()
782 ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); in sata_rcar_setup_port()
783 ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); in sata_rcar_setup_port()
[all …]
Dpata_opti.c82 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg()
111 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_set_piomode()
Dsata_promise.c435 void __iomem *ata_ctlstat_mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port()
470 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_pata_cable_detect()
718 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_freeze()
753 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_thaw()
795 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_ata_port_to_ata_no()
895 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_host_intr()
928 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_irq_clear()
1024 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_packet_start()
1112 ap->ioaddr.cmd_addr = base; in pdc_ata_setup_port()
Dpata_optidma.c78 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_unlock()
95 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_lock()
120 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_mode_setup()
Dpata_ixp4xx_cf.c107 ioaddr->cmd_addr = data->cs0; in ixp4xx_setup_port()
120 *(unsigned long *)&ioaddr->cmd_addr ^= 0x03; in ixp4xx_setup_port()
Dsata_sx4.c671 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start()
672 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_packet_start()
753 ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr()
754 readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); in pdc20621_host_intr()
855 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_freeze()
869 void __iomem *mmio = ap->ioaddr.cmd_addr; in pdc_thaw()
886 void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; in pdc_reset_port()
980 port->cmd_addr = base; in pdc_sata_setup_port()
Dsata_uli.c193 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one()
208 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one()
Dpata_cs5520.c187 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one()
198 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
Dpata_atp867x.c325 (unsigned long long)ioaddr->cmd_addr, in atp867x_check_ports()
449 ioaddr->cmd_addr = ATP867X_IO_PORTBASE(ap, i); in atp867x_ata_pci_sff_init_host()
463 (unsigned long)ioaddr->cmd_addr, in atp867x_ata_pci_sff_init_host()
Dlibata-sff.c2244 ioaddr->data_addr = ioaddr->cmd_addr + ATA_REG_DATA; in ata_sff_std_ports()
2245 ioaddr->error_addr = ioaddr->cmd_addr + ATA_REG_ERR; in ata_sff_std_ports()
2246 ioaddr->feature_addr = ioaddr->cmd_addr + ATA_REG_FEATURE; in ata_sff_std_ports()
2247 ioaddr->nsect_addr = ioaddr->cmd_addr + ATA_REG_NSECT; in ata_sff_std_ports()
2248 ioaddr->lbal_addr = ioaddr->cmd_addr + ATA_REG_LBAL; in ata_sff_std_ports()
2249 ioaddr->lbam_addr = ioaddr->cmd_addr + ATA_REG_LBAM; in ata_sff_std_ports()
2250 ioaddr->lbah_addr = ioaddr->cmd_addr + ATA_REG_LBAH; in ata_sff_std_ports()
2251 ioaddr->device_addr = ioaddr->cmd_addr + ATA_REG_DEVICE; in ata_sff_std_ports()
2252 ioaddr->status_addr = ioaddr->cmd_addr + ATA_REG_STATUS; in ata_sff_std_ports()
2253 ioaddr->command_addr = ioaddr->cmd_addr + ATA_REG_CMD; in ata_sff_std_ports()
[all …]
Dpata_sil680.c388 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; in sil680_init_one()
393 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; in sil680_init_one()
Dpata_palmld.c91 ap->ioaddr.cmd_addr = mem + 0x10; in palmld_pata_probe()
Dpata_ninja32.c142 ap->ioaddr.cmd_addr = base + 0x10; in ninja32_init_one()
Dpata_rb532_cf.c95 ap->ioaddr.cmd_addr = info->iobase + RB500_CF_REG_BASE; in rb532_pata_setup_ports()
/drivers/gpu/drm/savage/
Dsavage_state.c995 if (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 …]
/drivers/mtd/chips/
Dcfi_cmdset_0020.c253 unsigned long cmd_addr; in do_read_onechip() local
259 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_read_onechip()
276 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip()
282 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
287 status = map_read(map, cmd_addr); in do_read_onechip()
293 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip()
295 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
310 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
324 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip()
328 status = map_read(map, cmd_addr); in do_read_onechip()
[all …]
Dcfi_cmdset_0001.c1323 unsigned long cmd_addr; in do_point_onechip() local
1330 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_point_onechip()
1334 ret = get_chip(map, chip, cmd_addr, FL_POINT); in do_point_onechip()
1338 map_write(map, CMD(0xff), cmd_addr); in do_point_onechip()
1450 unsigned long cmd_addr; in do_read_onechip() local
1457 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_read_onechip()
1460 ret = get_chip(map, chip, cmd_addr, FL_READY); in do_read_onechip()
1467 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip()
1474 put_chip(map, chip, cmd_addr); in do_read_onechip()
/drivers/gpu/drm/via/
Dvia_dma.c485 uint32_t cmd_addr, addr_lo, addr_hi; in via_align_cmd() local
499 cmd_addr = (addr) ? addr : in via_align_cmd()
502 (cmd_addr & HC_HAGPBpL_MASK)); in via_align_cmd()
503 addr_hi = ((HC_SubA_HAGPBpH << 24) | (cmd_addr >> 24)); in via_align_cmd()

12