Searched refs:ahb_base (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-aspeed-smc.c | 66 void __iomem *ahb_base; member 95 void __iomem *ahb_base; member 193 aspeed_spi_write_to_ahb(chip->ahb_base, &temp, 4); in aspeed_spi_send_cmd_addr() 197 aspeed_spi_write_to_ahb(chip->ahb_base, &opcode, 1); in aspeed_spi_send_cmd_addr() 198 aspeed_spi_write_to_ahb(chip->ahb_base, &temp, 4); in aspeed_spi_send_cmd_addr() 211 aspeed_spi_write_to_ahb(chip->ahb_base, &op->cmd.opcode, 1); in aspeed_spi_read_reg() 213 chip->ahb_base, op->data.nbytes); in aspeed_spi_read_reg() 222 aspeed_spi_write_to_ahb(chip->ahb_base, &op->cmd.opcode, 1); in aspeed_spi_write_reg() 223 aspeed_spi_write_to_ahb(chip->ahb_base, op->data.buf.out, in aspeed_spi_write_reg() 246 aspeed_spi_write_to_ahb(chip->ahb_base, &dummy, sizeof(dummy)); in aspeed_spi_read_user() [all …]
|
D | spi-cadence-quadspi.c | 79 void __iomem *ahb_base; member 724 void __iomem *ahb_base = cqspi->ahb_base; in cqspi_indirect_read_execute() local 785 ioread32_rep(ahb_base, rxbuf, in cqspi_indirect_read_execute() 788 unsigned int temp = ioread32(ahb_base); in cqspi_indirect_read_execute() 1084 iowrite32_rep(cqspi->ahb_base, txbuf, write_words); in cqspi_indirect_write_execute() 1091 iowrite32(temp, cqspi->ahb_base); in cqspi_indirect_write_execute() 1306 memcpy_toio(cqspi->ahb_base + to, buf, len); in cqspi_write() 1334 memcpy_fromio(buf, cqspi->ahb_base + from, len); in cqspi_direct_read_execute() 1794 cqspi->ahb_base = devm_platform_get_and_ioremap_resource(pdev, 1, &res_ahb); in cqspi_probe() 1795 if (IS_ERR(cqspi->ahb_base)) { in cqspi_probe() [all …]
|