Searched refs:b47s (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/mtd/devices/ |
D | bcm47xxsflash.c | 20 static void bcm47xxsflash_cmd(struct bcm47xxsflash *b47s, u32 opcode) in bcm47xxsflash_cmd() argument 24 b47s->cc_write(b47s, BCMA_CC_FLASHCTL, BCMA_CC_FLASHCTL_START | opcode); in bcm47xxsflash_cmd() 26 if (!(b47s->cc_read(b47s, BCMA_CC_FLASHCTL) & in bcm47xxsflash_cmd() 34 static int bcm47xxsflash_poll(struct bcm47xxsflash *b47s, int timeout) in bcm47xxsflash_poll() argument 39 switch (b47s->type) { in bcm47xxsflash_poll() 41 bcm47xxsflash_cmd(b47s, OPCODE_ST_RDSR); in bcm47xxsflash_poll() 42 if (!(b47s->cc_read(b47s, BCMA_CC_FLASHDATA) & in bcm47xxsflash_poll() 47 bcm47xxsflash_cmd(b47s, OPCODE_AT_STATUS); in bcm47xxsflash_poll() 48 if (b47s->cc_read(b47s, BCMA_CC_FLASHDATA) & in bcm47xxsflash_poll() 69 struct bcm47xxsflash *b47s = mtd->priv; in bcm47xxsflash_erase() local [all …]
|
D | bcm47xxsflash.h | 63 int (*cc_read)(struct bcm47xxsflash *b47s, u16 offset); 64 void (*cc_write)(struct bcm47xxsflash *b47s, u16 offset, u32 value);
|