/openbmc/qemu/hw/arm/ |
H A D | msf2-som.c | 51 qemu_irq cs_line; in emcraft_sf2_s2s010_init() local 92 cs_line = qdev_get_gpio_in_named(spi_flash, SSI_GPIO_CS, 0); in emcraft_sf2_s2s010_init() 93 sysbus_connect_irq(SYS_BUS_DEVICE(&soc->spi[0]), 1, cs_line); in emcraft_sf2_s2s010_init()
|
H A D | sabrelite.c | 79 qemu_irq cs_line; in sabrelite_init() local 90 cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0); in sabrelite_init() 91 qdev_connect_gpio_out(DEVICE(&s->gpio[2]), 19, cs_line); in sabrelite_init()
|
H A D | xlnx-zcu102.c | 198 qemu_irq cs_line; in xlnx_zcu102_init() local 213 cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0); in xlnx_zcu102_init() 215 sysbus_connect_irq(SYS_BUS_DEVICE(&s->soc.spi[i]), 1, cs_line); in xlnx_zcu102_init() 221 qemu_irq cs_line; in xlnx_zcu102_init() local 237 cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0); in xlnx_zcu102_init() 239 sysbus_connect_irq(SYS_BUS_DEVICE(&s->soc.qspi), i + 1, cs_line); in xlnx_zcu102_init()
|
H A D | xilinx_zynq.c | 157 qemu_irq cs_line; in zynq_init_spi_flashes() local 173 cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0); in zynq_init_spi_flashes() 174 sysbus_connect_irq(busdev, i * num_ss + j + 1, cs_line); in zynq_init_spi_flashes()
|
H A D | xlnx-versal-virt.c | 754 qemu_irq cs_line; in versal_virt_init() local 779 cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0); in versal_virt_init() 782 i + 1, cs_line); in versal_virt_init()
|
/openbmc/qemu/hw/microblaze/ |
H A D | petalogix_ml605_mmu.c | 186 qemu_irq cs_line; in petalogix_ml605_init() local 197 cs_line = qdev_get_gpio_in_named(dev, SSI_GPIO_CS, 0); in petalogix_ml605_init() 198 sysbus_connect_irq(busdev, i+1, cs_line); in petalogix_ml605_init()
|
/openbmc/qemu/include/hw/ssi/ |
H A D | mss-spi.h | 45 qemu_irq cs_line; member
|
H A D | pnv_spi.h | 38 qemu_irq *cs_line; member
|
/openbmc/qemu/hw/ssi/ |
H A D | pnv_spi.c | 772 qemu_set_irq(s->cs_line[0], 1); in operation_sequencer() 791 qemu_set_irq(s->cs_line[0], 0); in operation_sequencer() 1063 qemu_irq cs_line = qdev_get_gpio_in_named(ssi_dev, SSI_GPIO_CS, 0); in do_reset() local 1064 qdev_connect_gpio_out_named(DEVICE(s), "cs", 0, cs_line); in do_reset() 1079 qemu_set_irq(s->cs_line[0], 1); in do_reset() 1210 s->cs_line = g_new0(qemu_irq, 1); in pnv_spi_realize() 1211 qdev_init_gpio_out_named(DEVICE(s), s->cs_line, "cs", 1); in pnv_spi_realize()
|
H A D | mss-spi.c | 206 qemu_set_irq(s->cs_line, 0); in assert_cs() 211 qemu_set_irq(s->cs_line, 1); in deassert_cs() 379 sysbus_init_irq(sbd, &s->cs_line); in mss_spi_realize()
|
H A D | aspeed_smc.c | 721 qemu_irq cs_line = qdev_get_gpio_in_named(dev, SSI_GPIO_CS, 0); in aspeed_smc_reset() local 722 qdev_connect_gpio_out_named(DEVICE(s), "cs", i, cs_line); in aspeed_smc_reset()
|