Searched refs:ebus (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/sparc/kernel/ |
H A D | auxio_64.c | 32 static void __auxio_rmw(u8 bits_on, u8 bits_off, int ebus) in __auxio_rmw() argument 40 regval = (ebus ? in __auxio_rmw() 45 if (!ebus) in __auxio_rmw() 47 if (ebus) in __auxio_rmw() 56 static void __auxio_set_bit(u8 bit, int on, int ebus) in __auxio_set_bit() argument 58 u8 bits_on = (ebus ? AUXIO_PCIO_LED : AUXIO_AUX1_LED); in __auxio_set_bit() 66 __auxio_rmw(bits_on, bits_off, ebus); in __auxio_set_bit() 71 int ebus = auxio_devtype == AUXIO_TYPE_EBUS; in auxio_set_led() local 74 bit = (ebus ? AUXIO_PCIO_LED : AUXIO_AUX1_LED); in auxio_set_led() 75 __auxio_set_bit(bit, on, ebus); in auxio_set_led()
|
H A D | Makefile | 67 obj-$(CONFIG_SPARC64) += ebus.o
|
/openbmc/qemu/hw/sparc64/ |
H A D | sun4u.c | 566 PCIDevice *ebus, *pci_dev; in sun4uv_init() local 618 ebus = pci_new_multifunction(PCI_DEVFN(1, 0), TYPE_EBUS); in sun4uv_init() 619 qdev_prop_set_uint64(DEVICE(ebus), "console-serial-base", in sun4uv_init() 621 pci_realize_and_unref(ebus, pci_busA, &error_fatal); in sun4uv_init() 624 qdev_connect_gpio_out_named(DEVICE(ebus), "isa-irq", 7, in sun4uv_init() 626 qdev_connect_gpio_out_named(DEVICE(ebus), "isa-irq", 6, in sun4uv_init() 628 qdev_connect_gpio_out_named(DEVICE(ebus), "isa-irq", 1, in sun4uv_init() 630 qdev_connect_gpio_out_named(DEVICE(ebus), "isa-irq", 12, in sun4uv_init() 632 qdev_connect_gpio_out_named(DEVICE(ebus), "isa-irq", 4, in sun4uv_init() 677 memory_region_add_subregion(pci_address_space_io(ebus), 0x2000, in sun4uv_init() [all …]
|