Searched refs:ahb_base (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/spi-nor/controllers/ |
D | aspeed-smc.c | 96 void __iomem *ahb_base; /* base of chip window */ member 109 void __iomem *ahb_base; /* per-chip windows resource */ member 329 aspeed_smc_write_to_ahb(chip->ahb_base, &opcode, 1); in aspeed_smc_read_reg() 330 aspeed_smc_read_from_ahb(buf, chip->ahb_base, len); in aspeed_smc_read_reg() 341 aspeed_smc_write_to_ahb(chip->ahb_base, &opcode, 1); in aspeed_smc_write_reg() 342 aspeed_smc_write_to_ahb(chip->ahb_base, buf, len); in aspeed_smc_write_reg() 363 aspeed_smc_write_to_ahb(chip->ahb_base, &temp, 4); in aspeed_smc_send_cmd_addr() 367 aspeed_smc_write_to_ahb(chip->ahb_base, &cmd, 1); in aspeed_smc_send_cmd_addr() 368 aspeed_smc_write_to_ahb(chip->ahb_base, &temp, 4); in aspeed_smc_send_cmd_addr() 383 aspeed_smc_write_to_ahb(chip->ahb_base, &dummy, sizeof(dummy)); in aspeed_smc_read_user() [all …]
|
/drivers/spi/ |
D | spi-cadence-quadspi.c | 68 void __iomem *ahb_base; member 679 void __iomem *ahb_base = cqspi->ahb_base; in cqspi_indirect_read_execute() local 719 ioread32_rep(ahb_base, rxbuf, in cqspi_indirect_read_execute() 722 unsigned int temp = ioread32(ahb_base); in cqspi_indirect_read_execute() 855 iowrite32_rep(cqspi->ahb_base, txbuf, write_words); in cqspi_indirect_write_execute() 862 iowrite32(temp, cqspi->ahb_base); in cqspi_indirect_write_execute() 1088 memcpy_toio(cqspi->ahb_base + to, buf, len); in cqspi_write() 1116 memcpy_fromio(buf, cqspi->ahb_base + from, len); in cqspi_direct_read_execute() 1485 cqspi->ahb_base = devm_ioremap_resource(dev, res_ahb); in cqspi_probe() 1486 if (IS_ERR(cqspi->ahb_base)) { in cqspi_probe() [all …]
|