Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1071 u16 offset0, offset10, reg_offs; in oob_reg_read() local
1080 reg_offs = offset10 + ((offs - 0x10) & ~0x03); in oob_reg_read()
1082 reg_offs = offset0 + (offs & ~0x03); in oob_reg_read()
1084 return nand_readreg(ctrl, reg_offs) >> (24 - ((offs & 0x03) << 3)); in oob_reg_read()
1090 u16 offset0, offset10, reg_offs; in oob_reg_write() local
1099 reg_offs = offset10 + ((offs - 0x10) & ~0x03); in oob_reg_write()
1101 reg_offs = offset0 + (offs & ~0x03); in oob_reg_write()
1103 nand_writereg(ctrl, reg_offs, data); in oob_reg_write()