Searched refs:b47n (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/mtd/nand/raw/bcm47xxnflash/ |
D | ops_bcm4706.c | 89 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_read() local 96 BUG_ON(b47n->curr_page_addr & ~nand_chip->pagemask); in bcm47xxnflash_ops_bcm4706_read() 105 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_COL_ADDR, in bcm47xxnflash_ops_bcm4706_read() 106 b47n->curr_column); in bcm47xxnflash_ops_bcm4706_read() 107 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_ROW_ADDR, in bcm47xxnflash_ops_bcm4706_read() 108 b47n->curr_page_addr); in bcm47xxnflash_ops_bcm4706_read() 114 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_read() 116 if (bcm47xxnflash_ops_bcm4706_poll(b47n->cc)) in bcm47xxnflash_ops_bcm4706_read() 124 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, in bcm47xxnflash_ops_bcm4706_read() 127 *dest = bcma_cc_read32(b47n->cc, BCMA_CC_NFLASH_DATA); in bcm47xxnflash_ops_bcm4706_read() [all …]
|
D | main.c | 25 struct bcm47xxnflash *b47n; in bcm47xxnflash_probe() local 29 b47n = devm_kzalloc(&pdev->dev, sizeof(*b47n), GFP_KERNEL); in bcm47xxnflash_probe() 30 if (!b47n) in bcm47xxnflash_probe() 33 nand_set_controller_data(&b47n->nand_chip, b47n); in bcm47xxnflash_probe() 34 mtd = nand_to_mtd(&b47n->nand_chip); in bcm47xxnflash_probe() 36 b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash); in bcm47xxnflash_probe() 38 if (b47n->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in bcm47xxnflash_probe() 39 err = bcm47xxnflash_ops_bcm4706_init(b47n); in bcm47xxnflash_probe() 49 platform_set_drvdata(pdev, b47n); in bcm47xxnflash_probe()
|
D | bcm47xxnflash.h | 24 int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
|