Home
last modified time | relevance | path

Searched refs:FPGA_NAND_DATA_SHIFT (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dsocrates_nand.c23 #define FPGA_NAND_DATA_SHIFT 16 macro
47 (buf[i] << FPGA_NAND_DATA_SHIFT)); in socrates_nand_write_buf()
69 FPGA_NAND_DATA_SHIFT) & 0xff; in socrates_nand_read_buf()
104 val |= (cmd & 0xff) << FPGA_NAND_DATA_SHIFT; in socrates_nand_cmd_ctrl()
/openbmc/u-boot/board/socrates/
H A Dnand.c29 #define FPGA_NAND_DATA_SHIFT 16 macro
54 state | (buf[i] << FPGA_NAND_DATA_SHIFT)); in sc_nand_write_buf()
97 buf[i] = (in_be32(this->IO_ADDR_R) >> FPGA_NAND_DATA_SHIFT) & 0xff; in sc_nand_read_buf()