Searched refs:sr_cr (Results 1 – 2 of 2) sorted by relevance
/u-boot/drivers/mtd/spi/ |
A D | spi-nor-tiny.c | 481 static int write_sr_cr(struct spi_nor *nor, u8 *sr_cr) in write_sr_cr() argument 487 ret = spi_nor_write_reg(nor, SPINOR_OP_WRSR, sr_cr, 2); in write_sr_cr() 519 u8 sr_cr[2]; in spansion_read_cr_quad_enable() local 533 sr_cr[1] = ret | CR_QUAD_EN_SPAN; in spansion_read_cr_quad_enable() 541 sr_cr[0] = ret; in spansion_read_cr_quad_enable() 543 ret = write_sr_cr(nor, sr_cr); in spansion_read_cr_quad_enable()
|
A D | spi-nor-core.c | 1344 static int write_sr_cr(struct spi_nor *nor, u8 *sr_cr) in write_sr_cr() argument 1350 ret = nor->write_reg(nor, SPINOR_OP_WRSR, sr_cr, 2); in write_sr_cr() 1382 u8 sr_cr[2]; in spansion_read_cr_quad_enable() local 1396 sr_cr[1] = ret | CR_QUAD_EN_SPAN; in spansion_read_cr_quad_enable() 1404 sr_cr[0] = ret; in spansion_read_cr_quad_enable() 1406 ret = write_sr_cr(nor, sr_cr); in spansion_read_cr_quad_enable() 1436 u8 sr_cr[2]; in spansion_no_read_cr_quad_enable() local 1445 sr_cr[0] = ret; in spansion_no_read_cr_quad_enable() 1446 sr_cr[1] = CR_QUAD_EN_SPAN; in spansion_no_read_cr_quad_enable() 1448 return write_sr_cr(nor, sr_cr); in spansion_no_read_cr_quad_enable()
|
Completed in 7 milliseconds