Home
last modified time | relevance | path

Searched refs:aspeed_spi_write_to_ahb (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-aspeed-smc.c167 static int aspeed_spi_write_to_ahb(void __iomem *dst, const void *buf, size_t len) in aspeed_spi_write_to_ahb() function
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()
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()
265 aspeed_spi_write_to_ahb(chip->ahb_base, op->data.buf.out, op->data.nbytes); in aspeed_spi_write_user()
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c753 static int aspeed_spi_write_to_ahb(void __iomem *ahb_base, const void *buf, in aspeed_spi_write_to_ahb() function
807 aspeed_spi_write_to_ahb(flash->ahb_base, &opcode, 1); in aspeed_spi_read_reg()
843 aspeed_spi_write_to_ahb(flash->ahb_base, &opcode, 1); in aspeed_spi_write_reg()
844 aspeed_spi_write_to_ahb(flash->ahb_base, write_buf, len); in aspeed_spi_write_reg()
875 aspeed_spi_write_to_ahb(flash->ahb_base, &cmdbuf[0], 1); in aspeed_spi_send_cmd_addr()
884 aspeed_spi_write_to_ahb(flash->ahb_base, &cmdbuf[i], 1); in aspeed_spi_send_cmd_addr()
915 aspeed_spi_write_to_ahb(flash->ahb_base, &dummy, 1); in aspeed_spi_read_user()
957 aspeed_spi_write_to_ahb(flash->ahb_base, &dummy, 1); in aspeed_spi_read_sfdp()
993 aspeed_spi_write_to_ahb(flash->ahb_base, write_buf, len); in aspeed_spi_write_user()