Home
last modified time | relevance | path

Searched refs:isa_dev (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/base/
H A Disa.c18 struct isa_dev { struct
24 #define to_isa_dev(x) container_of((x), struct isa_dev, dev) argument
126 struct isa_dev *isa_dev; in isa_register_driver() local
128 isa_dev = kzalloc(sizeof *isa_dev, GFP_KERNEL); in isa_register_driver()
129 if (!isa_dev) { in isa_register_driver()
134 isa_dev->dev.parent = &isa_bus; in isa_register_driver()
135 isa_dev->dev.bus = &isa_bus_type; in isa_register_driver()
137 dev_set_name(&isa_dev->dev, "%s.%u", in isa_register_driver()
139 isa_dev->dev.platform_data = isa_driver; in isa_register_driver()
140 isa_dev->dev.release = isa_dev_release; in isa_register_driver()
[all …]
/openbmc/qemu/hw/ppc/
H A Dprep.c240 ISADevice *isa_dev; in ibm_40p_init() local
288 isa_dev = isa_new("rs6000-mc"); in ibm_40p_init()
289 dev = DEVICE(isa_dev); in ibm_40p_init()
291 isa_realize_and_unref(isa_dev, isa_bus, &error_fatal); in ibm_40p_init()
294 isa_dev = isa_new(TYPE_MC146818_RTC); in ibm_40p_init()
295 dev = DEVICE(isa_dev); in ibm_40p_init()
297 isa_realize_and_unref(isa_dev, isa_bus, &error_fatal); in ibm_40p_init()
308 isa_dev = isa_new("cs4231a"); in ibm_40p_init()
309 dev = DEVICE(isa_dev); in ibm_40p_init()
316 isa_realize_and_unref(isa_dev, isa_bus, &error_fatal); in ibm_40p_init()
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_serverworks.c285 struct pci_dev *isa_dev = pci_get_device(PCI_VENDOR_ID_SERVERWORKS, in serverworks_fixup_osb4() local
287 if (isa_dev) { in serverworks_fixup_osb4()
288 pci_read_config_dword(isa_dev, 0x64, &reg); in serverworks_fixup_osb4()
293 pci_write_config_dword(isa_dev, 0x64, reg); in serverworks_fixup_osb4()
294 pci_dev_put(isa_dev); in serverworks_fixup_osb4()
/openbmc/qemu/hw/sparc64/
H A Dsun4u.c305 ISADevice *isa_dev; in ebus_realize() local
343 isa_dev = isa_new(TYPE_ISA_FDC); in ebus_realize()
344 dev = DEVICE(isa_dev); in ebus_realize()
346 isa_realize_and_unref(isa_dev, s->isa_bus, &error_fatal); in ebus_realize()
347 isa_fdc_init_drives(isa_dev, fd); in ebus_realize()
/openbmc/linux/Documentation/driver-api/
H A Disa.rst53 internal to the bus it's much cleaner to not leak isa_dev's by passing
100 the isa_driver pointer to the private struct isa_dev is ofcourse fine as
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_core.c1281 struct platform_device *isa_dev = serial8250_isa_devs; in serial8250_exit() local
1291 platform_device_unregister(isa_dev); in serial8250_exit()