Home
last modified time | relevance | path

Searched refs:cs_line (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/hw/arm/
H A Dmsf2-som.c51 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 Dsabrelite.c79 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 Dxlnx-zcu102.c198 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 Dxilinx_zynq.c157 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 Dxlnx-versal-virt.c754 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 Dpetalogix_ml605_mmu.c186 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 Dmss-spi.h45 qemu_irq cs_line; member
H A Dpnv_spi.h38 qemu_irq *cs_line; member
/openbmc/qemu/hw/ssi/
H A Dpnv_spi.c772 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 Dmss-spi.c206 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 Daspeed_smc.c721 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()