Home
last modified time | relevance | path

Searched refs:ssi_transfer (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/hw/ssi/
H A Dnpcm7xx_fiu.c165 ssi_transfer(fiu->spi, FIU_DRD_CFG_RDCMD(drd_cfg)); in npcm7xx_fiu_flash_read()
173 ssi_transfer(fiu->spi, extract32(addr, 8, 8)); in npcm7xx_fiu_flash_read()
174 ssi_transfer(fiu->spi, extract32(addr, 0, 8)); in npcm7xx_fiu_flash_read()
187 ssi_transfer(fiu->spi, 0); in npcm7xx_fiu_flash_read()
232 ssi_transfer(fiu->spi, extract32(addr, 8, 8)); in npcm7xx_fiu_flash_write()
233 ssi_transfer(fiu->spi, extract32(addr, 0, 8)); in npcm7xx_fiu_flash_write()
287 ssi_transfer(spi, extract32(addr, 24, 8)); in send_address()
290 ssi_transfer(spi, extract32(addr, 16, 8)); in send_address()
293 ssi_transfer(spi, extract32(addr, 8, 8)); in send_address()
296 ssi_transfer(spi, extract32(addr, 0, 8)); in send_address()
[all …]
H A Dnpcm_pspi.c80 value = ssi_transfer(s->spi, extract16(data, 8, 8)) << 8; in npcm_pspi_write_data()
82 value |= ssi_transfer(s->spi, extract16(data, 0, 8)); in npcm_pspi_write_data()
H A Dstm32f2xx_spi.c62 s->spi_dr = ssi_transfer(s->ssi, s->spi_dr); in stm32f2xx_spi_transfer()
H A Dssi.c157 uint32_t ssi_transfer(SSIBus *bus, uint32_t val) in ssi_transfer() function
H A Daspeed_smc.c476 ssi_transfer(s->spi, cmd); in aspeed_smc_flash_setup()
479 ssi_transfer(s->spi, (addr >> (i * 8)) & 0xff); in aspeed_smc_flash_setup()
491 ssi_transfer(fl->controller->spi, s->regs[R_DUMMY_DATA] & 0xff); in aspeed_smc_flash_setup()
506 ret |= (uint64_t) ssi_transfer(s->spi, 0x0) << (8 * i); in aspeed_smc_flash_read()
515 ret |= (uint64_t) ssi_transfer(s->spi, 0x0) << (8 * i); in aspeed_smc_flash_read()
606 ssi_transfer(s->spi, s->regs[R_DUMMY_DATA] & 0xff); in aspeed_smc_do_snoop()
649 ssi_transfer(s->spi, (data >> (8 * i)) & 0xff); in aspeed_smc_flash_write()
657 ssi_transfer(s->spi, (data >> (8 * i)) & 0xff); in aspeed_smc_flash_write()
H A Dbcm2835_spi.c94 rx_byte = ssi_transfer(s->bus, tx_byte); in bcm2835_spi_flush_tx_fifo()
H A Dsifive_spi.c137 rx = ssi_transfer(s->spi, tx); in sifive_spi_flush_txfifo()
H A Dpl022.c106 val = ssi_transfer(s->ssi, val); in pl022_xfer()
H A Dxilinx_spi.c182 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
H A Dimx_spi.c197 byte = ssi_transfer(s->bus, byte); in imx_spi_flush_txfifo()
H A Dmss-spi.c237 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
H A Dxilinx_spips.c524 tx_rx[i] = ssi_transfer(XILINX_SPIPS(s)->spi[i], tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g()
645 tx_rx[0] = ssi_transfer(s->spi[bus], (uint32_t)tx_rx[0]); in xilinx_spips_flush_txfifo()
649 tx_rx[i] = ssi_transfer(s->spi[bus], (uint32_t)tx_rx[i]); in xilinx_spips_flush_txfifo()
H A Dibex_spi_host.c258 rx = ssi_transfer(s->ssi, tx); in ibex_spi_host_transfer()
H A Dpnv_spi.c232 rx = ssi_transfer(s->ssi_bus, tx); in transfer()
H A Dxlnx-versal-ospi.c636 tx_rx = ssi_transfer(s->spi, tx_rx); in ospi_flush_txfifo()
/openbmc/qemu/include/hw/ssi/
H A Dssi.h113 uint32_t ssi_transfer(SSIBus *bus, uint32_t val);
/openbmc/linux/drivers/hsi/controllers/
H A Domap_ssi_port.c635 static void ssi_transfer(struct omap_ssi_port *omap_port, in ssi_transfer() function
851 ssi_transfer(omap_port, &omap_port->rxqueue[i]); in ssi_error()
948 ssi_transfer(omap_port, queue); in ssi_pio_complete()
/openbmc/qemu/hw/arm/
H A Dspitz.c682 return ssi_transfer(s->bus[i], value); in corgi_ssp_transfer()
H A Dstrongarm.c1519 readval = ssi_transfer(s->bus, value); in strongarm_ssp_write()
H A Dpxa2xx.c730 readval = ssi_transfer(s->bus, value); in pxa2xx_ssp_write()