Home
last modified time | relevance | path

Searched refs:cs_lines (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/hw/ssi/
H A Dxilinx_spi.c92 qemu_irq *cs_lines; member
123 qemu_set_irq(s->cs_lines[i], !(~s->regs[R_SPISSR] & 1 << i)); in xlx_spi_update_cs()
337 s->cs_lines = g_new0(qemu_irq, s->num_cs); in xilinx_spi_realize()
339 sysbus_init_irq(sbd, &s->cs_lines[i]); in xilinx_spi_realize()
H A Dsifive_spi.c84 qemu_set_irq(s->cs_lines[i], !(s->regs[R_CSMODE])); in sifive_spi_update_cs()
318 s->cs_lines = g_new0(qemu_irq, s->num_cs); in sifive_spi_realize()
320 sysbus_init_irq(sbd, &s->cs_lines[i]); in sifive_spi_realize()
H A Dnpcm7xx_fiu.c122 qemu_irq_lower(s->cs_lines[cs_id]); in npcm7xx_fiu_select()
141 qemu_irq_raise(s->cs_lines[s->active_cs]); in npcm7xx_fiu_deselect()
494 qemu_irq_raise(s->cs_lines[i]); in npcm7xx_fiu_hold_reset()
511 s->cs_lines = g_new0(qemu_irq, s->cs_count); in npcm7xx_fiu_realize()
512 qdev_init_gpio_out_named(DEVICE(s), s->cs_lines, "cs", s->cs_count); in npcm7xx_fiu_realize()
H A Dimx_spi.c268 qemu_set_irq(s->cs_lines[i], 1); in imx_spi_soft_reset()
408 qemu_set_irq(s->cs_lines[i], in imx_spi_write()
471 sysbus_init_irq(SYS_BUS_DEVICE(dev), &s->cs_lines[i]); in imx_spi_realize()
H A Dallwinner-a10-spi.c464 s->cs_lines[i], in allwinner_a10_spi_write()
532 sysbus_init_irq(SYS_BUS_DEVICE(dev), &s->cs_lines[i]); in allwinner_a10_spi_realize()
H A Dibex_spi_host.c597 s->cs_lines = g_new0(qemu_irq, s->num_cs); in ibex_spi_host_realize()
600 sysbus_init_irq(SYS_BUS_DEVICE(dev), &s->cs_lines[i]); in ibex_spi_host_realize()
H A Dxlnx-versal-ospi.c569 qemu_set_irq(s->cs_lines[i], cs != i); in ospi_ahb_decoder_enable_cs()
609 qemu_set_irq(s->cs_lines[i], cs); in ospi_update_cs_lines()
627 qemu_set_irq(s->cs_lines[i], 1); in ospi_disable_cs()
1742 s->cs_lines = g_new0(qemu_irq, s->num_cs); in xlnx_versal_ospi_realize()
1744 sysbus_init_irq(sbd, &s->cs_lines[i]); in xlnx_versal_ospi_realize()
H A Dxilinx_spips.c236 qemu_set_irq(s->cs_lines[i], !new_state); in xilinx_spips_update_cs()
1297 s->cs_lines = g_new0(qemu_irq, s->num_cs * s->num_busses); in xilinx_spips_realize()
1302 sysbus_init_irq(sbd, &s->cs_lines[i]); in xilinx_spips_realize()
H A Daspeed_smc.c423 qemu_set_irq(s->cs_lines[fl->cs], unselect); in aspeed_smc_flash_do_select()
744 qemu_set_irq(s->cs_lines[i], true); in aspeed_smc_reset()
1288 s->cs_lines = g_new0(qemu_irq, asc->cs_num_max); in aspeed_smc_realize()
1289 qdev_init_gpio_out_named(DEVICE(s), s->cs_lines, "cs", asc->cs_num_max); in aspeed_smc_realize()
/openbmc/qemu/include/hw/ssi/
H A Dsifive_spi.h40 qemu_irq *cs_lines; member
H A Dallwinner-a10-spi.h49 qemu_irq cs_lines[AW_A10_SPI_CS_LINES_NR]; member
H A Dnpcm7xx_fiu.h62 qemu_irq *cs_lines; member
H A Dxlnx-versal-ospi.h83 qemu_irq *cs_lines; member
H A Dibex_spi_host.h85 qemu_irq *cs_lines; member
H A Dimx_spi.h95 qemu_irq cs_lines[ECSPI_NUM_CS]; member
H A Dxilinx_spips.h76 qemu_irq *cs_lines; member
H A Daspeed_smc.h62 qemu_irq *cs_lines; member