Home
last modified time | relevance | path

Searched refs:irq_pin (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/openrisc/
H A Dopenrisc_sim.c103 static qemu_irq get_cpu_irq(OpenRISCCPU *cpus[], int cpunum, int irq_pin) in get_cpu_irq() argument
105 return qdev_get_gpio_in_named(DEVICE(cpus[cpunum]), "IRQ", irq_pin); in get_cpu_irq()
173 int irq_pin) in openrisc_sim_net_init() argument
197 sysbus_connect_irq(s, 0, get_cpu_irq(cpus, 0, irq_pin)); in openrisc_sim_net_init()
207 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_sim_net_init()
216 OpenRISCCPU *cpus[], int irq_pin) in openrisc_sim_ompic_init() argument
230 sysbus_connect_irq(s, i, get_cpu_irq(cpus, i, irq_pin)); in openrisc_sim_ompic_init()
241 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_sim_ompic_init()
247 OpenRISCCPU *cpus[], int irq_pin, in openrisc_sim_serial_init() argument
265 serial_irq = get_cpu_irq(cpus, 0, irq_pin); in openrisc_sim_serial_init()
[all …]
H A Dvirt.c121 return get_cpu_irq(cpus, 0, irq_pin); in get_per_cpu_irq()
201 OpenRISCCPU *cpus[], int irq_pin) in openrisc_virt_ompic_init() argument
215 sysbus_connect_irq(s, i, get_cpu_irq(cpus, i, irq_pin)); in openrisc_virt_ompic_init()
226 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_virt_ompic_init()
236 qemu_irq serial_irq = get_per_cpu_irq(cpus, num_cpus, irq_pin); in openrisc_virt_serial_init()
246 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_virt_serial_init()
296 OpenRISCCPU *cpus[], int irq_pin) in openrisc_virt_rtc_init() argument
300 qemu_irq rtc_irq = get_per_cpu_irq(cpus, num_cpus, irq_pin); in openrisc_virt_rtc_init()
311 qemu_fdt_setprop_cell(fdt, nodename, "interrupts", irq_pin); in openrisc_virt_rtc_init()
451 qemu_irq virtio_irq = get_per_cpu_irq(cpus, num_cpus, irq_pin); in openrisc_virt_virtio_init()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dcardbus.c34 u8 irq_pin; in cardbus_config_irq_and_cls() local
41 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq_pin); in cardbus_config_irq_and_cls()
42 if (irq_pin) { in cardbus_config_irq_and_cls()
/openbmc/linux/drivers/parisc/
H A Ddino.c557 u32 irq_pin; in dino_card_fixup() local
584 dino_cfg_read(dev->bus, dev->devfn, PCI_INTERRUPT_PIN, 1, &irq_pin); in dino_card_fixup()
585 dev->irq = pci_swizzle_interrupt_pin(dev, irq_pin) - 1; in dino_card_fixup()
673 u32 irq_pin; in dino_fixup_bus() local
676 PCI_INTERRUPT_PIN, 1, &irq_pin); in dino_fixup_bus()
677 irq_pin = pci_swizzle_interrupt_pin(dev, irq_pin) - 1; in dino_fixup_bus()
679 "setting to %d\n", pci_name(dev), irq_pin); in dino_fixup_bus()
681 PCI_INTERRUPT_LINE, 1, irq_pin); in dino_fixup_bus()
682 dino_assign_irq(dino_dev, irq_pin, &dev->irq); in dino_fixup_bus()
/openbmc/linux/drivers/soc/qcom/
H A Dsmsm.c202 int irq_pin; in smsm_intr() local
215 irq_pin = irq_find_mapping(entry->domain, i); in smsm_intr()
216 handle_nested_irq(irq_pin); in smsm_intr()
220 irq_pin = irq_find_mapping(entry->domain, i); in smsm_intr()
221 handle_nested_irq(irq_pin); in smsm_intr()
H A Dsmp2p.c223 int irq_pin; in qcom_smp2p_notify_in() local
264 irq_pin = irq_find_mapping(entry->domain, i); in qcom_smp2p_notify_in()
265 handle_nested_irq(irq_pin); in qcom_smp2p_notify_in()
/openbmc/qemu/hw/usb/
H A Dhcd-uhci.c1172 pci_config_set_interrupt_pin(pci_conf, u->info.irq_pin + 1); in usb_uhci_common_realize()
1298 .irq_pin = 3,
1305 .irq_pin = 3,
1312 .irq_pin = 0,
1319 .irq_pin = 1,
1326 .irq_pin = 2,
1333 .irq_pin = 0,
1340 .irq_pin = 1,
1347 .irq_pin = 2,
H A Dvt82c686-uhci-pci.c35 .irq_pin = 3,
H A Dhcd-uhci.h85 uint8_t irq_pin; member
/openbmc/qemu/qapi/
H A Dpci.json142 # @irq_pin: the IRQ pin, zero means no IRQ (since 5.1)
155 '*irq': 'int', 'irq_pin': 'int', 'qdev_id': 'str',
/openbmc/qemu/hw/pci/
H A Dpci-qmp-cmds.c133 info->irq_pin = dev->config[PCI_INTERRUPT_PIN]; in qmp_query_pci_device()
H A Dpci-hmp-cmds.c51 dev->irq, (char)('A' + dev->irq_pin - 1)); in hmp_info_pci_device()
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-krane.dtsi322 irq_pin {
H A Dmt8183-kukui-kakadu.dtsi342 irq_pin {
/openbmc/qemu/hw/ppc/
H A Dspapr_pci.c1373 uint32_t irq_pin = pci_default_read_config(dev, PCI_INTERRUPT_PIN, 1); in spapr_dt_pci_device() local
1390 if (irq_pin) { in spapr_dt_pci_device()
1391 _FDT(fdt_setprop_cell(fdt, offset, "interrupts", irq_pin)); in spapr_dt_pci_device()