Lines Matching refs:wval
497 int gpmc_cs_configure(int cs, int cmd, int wval) in gpmc_cs_configure() argument
504 gpmc_write_reg(GPMC_IRQENABLE, wval); in gpmc_cs_configure()
508 gpmc_write_reg(GPMC_IRQSTATUS, wval); in gpmc_cs_configure()
513 if (wval) in gpmc_cs_configure()
522 if (wval) in gpmc_cs_configure()
536 regval |= GPMC_CONFIG1_DEVICESIZE(wval); in gpmc_cs_configure()
543 regval |= GPMC_CONFIG1_DEVICETYPE(wval); in gpmc_cs_configure()
544 if (wval == GPMC_DEVICETYPE_NOR) in gpmc_cs_configure()
585 int gpmc_nand_write(int cs, int cmd, int wval) in gpmc_nand_write() argument
591 gpmc_cs_write_byte(cs, GPMC_CS_NAND_COMMAND, wval); in gpmc_nand_write()
595 gpmc_cs_write_byte(cs, GPMC_CS_NAND_ADDRESS, wval); in gpmc_nand_write()
599 gpmc_cs_write_byte(cs, GPMC_CS_NAND_DATA, wval); in gpmc_nand_write()