Lines Matching defs:value
150 static inline void s3c_write_reg(int value, int offset)
152 writel(value, onenand->base + offset);
160 static inline void s3c_write_cmd(int value, unsigned int cmd)
162 writel(value, onenand->ahb_addr + cmd);
222 int value;
260 value = s3c_read_cmd(CMD_MAP_11(onenand, word_addr)) & 0xffff;
261 dev_info(dev, "%s: Illegal access at reg 0x%x, value 0x%x\n", __func__,
262 word_addr, value);
263 return value;
266 static void s3c_onenand_writew(unsigned short value, void __iomem *addr)
276 s3c_write_reg(value, MEM_CFG_OFFSET);
293 if (value == ONENAND_CMD_READID) {
297 if (value == ONENAND_CMD_RESET) {
304 dev_info(dev, "%s: Illegal access at reg 0x%x, value 0x%x\n", __func__,
305 word_addr, value);
307 s3c_write_cmd(value, CMD_MAP_11(onenand, word_addr));
781 /* No need to check return value */