Lines Matching refs:wval
481 * @wval: value to write
484 int gpmc_cs_configure(int cs, int cmd, int wval)
491 gpmc_write_reg(GPMC_IRQSTATUS, wval);
496 if (wval)
505 if (wval)
514 regval |= GPMC_CONFIG1_DEVICESIZE(wval);
520 regval |= GPMC_CONFIG1_DEVICETYPE(wval);
521 if (wval == GPMC_DEVICETYPE_NOR)
560 * @wval: value to write
562 int gpmc_nand_write(int cs, int cmd, int wval)
568 gpmc_cs_write_byte(cs, GPMC_CS_NAND_COMMAND, wval);
572 gpmc_cs_write_byte(cs, GPMC_CS_NAND_ADDRESS, wval);
576 gpmc_cs_write_byte(cs, GPMC_CS_NAND_DATA, wval);