Home
last modified time | relevance | path

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

/linux-4.4.14/arch/cris/arch-v32/drivers/mach-a3/
Dnandflash.c67 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol()
71 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol()
75 this->IO_ADDR_W = (void __iomem *)REG_ADDR(pio, in crisv32_hwcontrol()
88 writeb(cmd, this->IO_ADDR_W); in crisv32_hwcontrol()
158 this->IO_ADDR_W = write_cs; in crisv32_nand_flash_probe()
/linux-4.4.14/drivers/mtd/nand/
Dcmx270_nand.c67 writel((*buf++ << 16), this->IO_ADDR_W); in cmx270_write_buf()
98 unsigned int nandaddr = (unsigned int)this->IO_ADDR_W; in cmx270_hwcontrol()
118 this->IO_ADDR_W = (void __iomem*)nandaddr; in cmx270_hwcontrol()
120 writel((dat << 16), this->IO_ADDR_W); in cmx270_hwcontrol()
187 this->IO_ADDR_W = cmx270_nand_io; in cmx270_init()
Dxway_nand.c59 unsigned long nandaddr = (unsigned long) chip->IO_ADDR_W; in xway_reset_chip()
93 unsigned long nandaddr = (unsigned long) this->IO_ADDR_W; in xway_cmd_ctrl()
102 this->IO_ADDR_W = (void __iomem *) nandaddr; in xway_cmd_ctrl()
107 writeb(cmd, this->IO_ADDR_W); in xway_cmd_ctrl()
136 unsigned long nandaddr = (unsigned long) this->IO_ADDR_W; in xway_nand_probe()
Dau1550nd.c58 writeb(byte, this->IO_ADDR_W); in au_write_byte()
86 writew(le16_to_cpu((u16) byte), this->IO_ADDR_W); in au_write_byte16()
118 writeb(buf[i], this->IO_ADDR_W); in au_write_buf()
158 writew(p[i], this->IO_ADDR_W); in au_write_buf16()
206 this->IO_ADDR_W = ctx->base + MEM_STNAND_CMD; in au1550_hwcontrol()
210 this->IO_ADDR_W = ctx->base + MEM_STNAND_DATA; in au1550_hwcontrol()
214 this->IO_ADDR_W = ctx->base + MEM_STNAND_ADDR; in au1550_hwcontrol()
218 this->IO_ADDR_W = ctx->base + MEM_STNAND_DATA; in au1550_hwcontrol()
235 this->IO_ADDR_R = this->IO_ADDR_W; in au1550_hwcontrol()
Dpasemi_nand.c79 out_8(chip->IO_ADDR_W + (1 << CLE_PIN_CTL), cmd); in pasemi_hwcontrol()
81 out_8(chip->IO_ADDR_W + (1 << ALE_PIN_CTL), cmd); in pasemi_hwcontrol()
130 chip->IO_ADDR_W = chip->IO_ADDR_R; in pasemi_nand_probe()
Dsharpsl.c82 writeb(cmd, chip->IO_ADDR_W); in sharpsl_nand_hwcontrol()
158 this->IO_ADDR_W = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
Dorion_nand.c45 writeb(cmd, nc->IO_ADDR_W + offs); in orion_nand_cmd_ctrl()
130 nc->IO_ADDR_R = nc->IO_ADDR_W = io_base; in orion_nand_probe()
Dams-delta.c71 writew(byte, this->IO_ADDR_W); in ams_delta_write_byte()
219 this->IO_ADDR_W = io_base + OMAP_MPUIO_OUTPUT; in ams_delta_init()
Dfsl_upm.c120 chip->IO_ADDR_W = chip->IO_ADDR_R; in fun_select_chip()
148 out_8(fun->chip.IO_ADDR_W, buf[i]); in fun_write_buf()
165 fun->chip.IO_ADDR_W = fun->io_base; in fun_chip_init()
Ddavinci_nand.c118 nand->IO_ADDR_W = (void __iomem __force *)addr; in nand_davinci_hwcontrol()
122 iowrite8(cmd, nand->IO_ADDR_W); in nand_davinci_hwcontrol()
135 info->chip.IO_ADDR_W = (void __iomem __force *)addr; in nand_davinci_select_chip()
136 info->chip.IO_ADDR_R = info->chip.IO_ADDR_W; in nand_davinci_select_chip()
689 info->chip.IO_ADDR_W = vaddr; in nand_davinci_probe()
Dfsmc_nand.c372 this->IO_ADDR_W = host->cmd_va; in fsmc_cmd_ctrl()
375 this->IO_ADDR_W = host->addr_va; in fsmc_cmd_ctrl()
378 this->IO_ADDR_W = host->data_va; in fsmc_cmd_ctrl()
392 writeb_relaxed(cmd, this->IO_ADDR_W); in fsmc_cmd_ctrl()
639 writel_relaxed(p[i], chip->IO_ADDR_W); in fsmc_write_buf()
642 writeb_relaxed(buf[i], chip->IO_ADDR_W); in fsmc_write_buf()
1022 nand->IO_ADDR_W = host->data_va; in fsmc_nand_probe()
Dcs553x_nand.c137 writeb(byte, this->IO_ADDR_W + 0x801); in cs553x_write_byte()
214 this->IO_ADDR_R = this->IO_ADDR_W = ioremap(adr, 4096); in cs553x_init_one()
Ds3c2410.c660 writesb(this->IO_ADDR_W, buf, len); in s3c2410_nand_write_buf()
801 chip->IO_ADDR_W = regs + S3C2410_NFDATA; in s3c2410_nand_init_chip()
809 chip->IO_ADDR_W = regs + S3C2440_NFDATA; in s3c2410_nand_init_chip()
819 chip->IO_ADDR_W = regs + S3C2440_NFDATA; in s3c2410_nand_init_chip()
831 chip->IO_ADDR_R = chip->IO_ADDR_W; in s3c2410_nand_init_chip()
Dgpio.c87 writeb(cmd, gpiomtd->nand_chip.IO_ADDR_W); in gpio_nand_cmd_ctrl()
271 chip->IO_ADDR_W = chip->IO_ADDR_R; in gpio_nand_probe()
Djz4740_nand.c97 chip->IO_ADDR_W = nand->bank_base[banknr]; in jz_nand_select_chip()
119 chip->IO_ADDR_W = bank_base; in jz_nand_cmd_ctrl()
129 writeb(dat, chip->IO_ADDR_W); in jz_nand_cmd_ctrl()
Dtmio_nand.c157 tmio_iowrite8(cmd, chip->IO_ADDR_W); in tmio_nand_hwcontrol()
402 nand_chip->IO_ADDR_W = tmio->fcr; in tmio_probe()
Dplat_nand.c65 data->chip.IO_ADDR_W = data->io_base; in plat_nand_probe()
Dsocrates_nand.c175 nand_chip->IO_ADDR_W = (void *)0xdeadbeef; in socrates_nand_probe()
Domap2.c292 iowrite8(*p++, info->nand.IO_ADDR_W); in omap_write_buf8()
330 iowrite16(*p++, info->nand.IO_ADDR_W); in omap_write_buf16()
405 writeb(*buf, info->nand.IO_ADDR_W); in omap_write_buf_pref()
425 iowrite16(*p++, info->nand.IO_ADDR_W); in omap_write_buf_pref()
593 iowrite32_rep(info->nand.IO_ADDR_W, in omap_nand_irq()
1701 nand_chip->IO_ADDR_W = nand_chip->IO_ADDR_R; in omap_nand_probe()
Dndfc.c154 chip->IO_ADDR_W = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init()
Ddocg4.c261 writew(p[i], nand->IO_ADDR_W); in docg4_write_buf16()
1228 nand->IO_ADDR_R = nand->IO_ADDR_W = doc->virtadr + DOC_IOSPACE_DATA; in init_mtd_structs()
Dbf5xx_nand.c779 chip->IO_ADDR_W = (void __iomem *) NFC_DATA_WR; in bf5xx_nand_probe()
Datmel_nand.c298 __raw_writesb(nand_chip->IO_ADDR_W, buf, len); in atmel_write_buf8()
305 __raw_writesw(nand_chip->IO_ADDR_W, buf, len / 2); in atmel_write_buf16()
2135 nand_chip->IO_ADDR_W = host->io_base; in atmel_nand_probe()
Dlpc32xx_mlc.c701 nand_chip->IO_ADDR_W = MLC_DATA(host->io_base); in lpc32xx_nand_probe()
Dlpc32xx_slc.c821 chip->IO_ADDR_W = SLC_DATA(host->io_base); in lpc32xx_nand_probe()
Dnand_base.c262 iowrite8_rep(chip->IO_ADDR_W, buf, len); in nand_write_buf()
293 iowrite16_rep(chip->IO_ADDR_W, p, len >> 1); in nand_write_buf16()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dsnappercl15.c47 #define NAND_CTRL_ADDR(chip) (chip->IO_ADDR_W + 0x40)
74 __raw_writew((cmd & 0xff) | nand_state, chip->IO_ADDR_W); in snappercl15_nand_cmd_ctrl()
Dts72xx.c94 __raw_writeb(cmd, chip->IO_ADDR_W); in ts72xx_nand_hwcontrol()
/linux-4.4.14/arch/cris/arch-v32/drivers/mach-fs/
Dnandflash.c83 writeb(cmd, this->IO_ADDR_W); in crisv32_hwcontrol()
149 this->IO_ADDR_W = write_cs; in crisv32_nand_flash_probe()
/linux-4.4.14/arch/arm/mach-omap1/
Dboard-nand.c35 writeb(cmd, this->IO_ADDR_W + mask); in omap1_nand_cmd_ctl()
/linux-4.4.14/arch/arm/mach-imx/
Dmach-qong.c140 writeb(cmd, nand_chip->IO_ADDR_W + (1 << 24)); in qong_nand_cmd_ctrl()
142 writeb(cmd, nand_chip->IO_ADDR_W + (1 << 23)); in qong_nand_cmd_ctrl()
/linux-4.4.14/arch/mips/alchemy/devboards/
Ddb1550.c132 unsigned long ioaddr = (unsigned long)this->IO_ADDR_W; in au1550_nand_cmd_ctrl()
144 this->IO_ADDR_R = this->IO_ADDR_W = (void __iomem *)ioaddr; in au1550_nand_cmd_ctrl()
146 __raw_writeb(cmd, this->IO_ADDR_W); in au1550_nand_cmd_ctrl()
Ddb1300.c154 unsigned long ioaddr = (unsigned long)this->IO_ADDR_W; in au1300_nand_cmd_ctrl()
166 this->IO_ADDR_R = this->IO_ADDR_W = (void __iomem *)ioaddr; in au1300_nand_cmd_ctrl()
168 __raw_writeb(cmd, this->IO_ADDR_W); in au1300_nand_cmd_ctrl()
Ddb1200.c204 unsigned long ioaddr = (unsigned long)this->IO_ADDR_W; in au1200_nand_cmd_ctrl()
216 this->IO_ADDR_R = this->IO_ADDR_W = (void __iomem *)ioaddr; in au1200_nand_cmd_ctrl()
218 __raw_writeb(cmd, this->IO_ADDR_W); in au1200_nand_cmd_ctrl()
/linux-4.4.14/arch/sh/boards/mach-migor/
Dsetup.c176 writeb(cmd, chip->IO_ADDR_W + 0x00400000); in migor_nand_flash_cmd_ctl()
178 writeb(cmd, chip->IO_ADDR_W + 0x00800000); in migor_nand_flash_cmd_ctl()
180 writeb(cmd, chip->IO_ADDR_W); in migor_nand_flash_cmd_ctl()
/linux-4.4.14/arch/blackfin/mach-bf561/boards/
Dacvilon.c276 writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_CLE)); in bfin_plat_nand_cmd_ctrl()
278 writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_ALE)); in bfin_plat_nand_cmd_ctrl()
/linux-4.4.14/arch/mips/pnx833x/common/
Dplatform.c184 unsigned long nandaddr = (unsigned long)this->IO_ADDR_W; in pnx833x_flash_nand_cmd_ctrl()
/linux-4.4.14/arch/arm/mach-orion5x/
Dts78xx-setup.c192 writeb(cmd, this->IO_ADDR_W); in ts78xx_ts_nand_cmd_ctrl()
204 void __iomem *io_base = chip->IO_ADDR_W; in ts78xx_ts_nand_write_buf()
/linux-4.4.14/arch/arm/mach-pxa/
Dem-x270.c293 unsigned long nandaddr = (unsigned long)this->IO_ADDR_W; in em_x270_nand_cmd_ctl()
313 this->IO_ADDR_W = (void __iomem *)nandaddr; in em_x270_nand_cmd_ctl()
315 writel(dat, this->IO_ADDR_W); in em_x270_nand_cmd_ctl()
Dpalmtx.c254 char __iomem *nandaddr = this->IO_ADDR_W; in palmtx_nand_cmd_ctl()
Dballoon3.c599 writeb(cmd, this->IO_ADDR_W); in balloon3_nand_cmd_ctl()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dixdp425-setup.c95 writeb(cmd, this->IO_ADDR_W + offset); in ixdp425_flash_nand_cmd_ctrl()
/linux-4.4.14/arch/mips/rb532/
Ddevices.c164 writeb(cmd, chip->IO_ADDR_W); in rb532_cmd_ctrl()
/linux-4.4.14/include/linux/mtd/
Dnand.h644 void __iomem *IO_ADDR_W; member
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c413 writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_CLE)); in bfin_plat_nand_cmd_ctrl()
415 writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_ALE)); in bfin_plat_nand_cmd_ctrl()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
Dbrcmnand.c1969 chip->IO_ADDR_W = (void __iomem *)0xdeadbeef; in brcmnand_init_cs()