Searched refs:b47s (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/mtd/devices/ |
H A D | bcm47xxsflash.c | 28 if (!(b47s->cc_read(b47s, BCMA_CC_FLASHCTL) & in bcm47xxsflash_cmd() 44 if (!(b47s->cc_read(b47s, BCMA_CC_FLASHDATA) & in bcm47xxsflash_poll() 50 if (b47s->cc_read(b47s, BCMA_CC_FLASHDATA) & in bcm47xxsflash_poll() 118 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, from++); in bcm47xxsflash_read() 120 *buf++ = b47s->cc_read(b47s, BCMA_CC_FLASHDATA); in bcm47xxsflash_read() 138 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, offset); in bcm47xxsflash_write_st() 139 b47s->cc_write(b47s, BCMA_CC_FLASHDATA, *buf++); in bcm47xxsflash_write_st() 165 b47s->cc_write(b47s, BCMA_CC_FLASHCTL, 0); in bcm47xxsflash_write_st() 186 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, page); in bcm47xxsflash_write_at() 202 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, byte++); in bcm47xxsflash_write_at() [all …]
|
H A D | bcm47xxsflash.h | 67 int (*cc_read)(struct bcm47xxsflash *b47s, u16 offset); 68 void (*cc_write)(struct bcm47xxsflash *b47s, u16 offset, u32 value);
|