Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/base/
Disa.c17 struct isa_dev { struct
23 #define to_isa_dev(x) container_of((x), struct isa_dev, dev) argument
127 struct isa_dev *isa_dev; in isa_register_driver() local
129 isa_dev = kzalloc(sizeof *isa_dev, GFP_KERNEL); in isa_register_driver()
130 if (!isa_dev) { in isa_register_driver()
135 isa_dev->dev.parent = &isa_bus; in isa_register_driver()
136 isa_dev->dev.bus = &isa_bus_type; in isa_register_driver()
138 dev_set_name(&isa_dev->dev, "%s.%u", in isa_register_driver()
140 isa_dev->dev.platform_data = isa_driver; in isa_register_driver()
141 isa_dev->dev.release = isa_dev_release; in isa_register_driver()
[all …]
/linux-2.6.39/drivers/isdn/hardware/avm/
Db1isa.c168 static struct pci_dev isa_dev[MAX_CARDS]; variable
182 if (isa_dev[i].resource[0].start) in b1isa_add_card()
185 isa_dev[i].resource[0].start = data->port; in b1isa_add_card()
186 isa_dev[i].irq = data->irq; in b1isa_add_card()
188 if (b1isa_probe(&isa_dev[i]) == 0) in b1isa_add_card()
217 isa_dev[i].resource[0].start = io[i]; in b1isa_init()
218 isa_dev[i].irq = irq[i]; in b1isa_init()
220 if (b1isa_probe(&isa_dev[i]) != 0) in b1isa_init()
236 if (isa_dev[i].resource[0].start) in b1isa_exit()
237 b1isa_remove(&isa_dev[i]); in b1isa_exit()
Dt1isa.c514 static struct pci_dev isa_dev[MAX_CARDS]; variable
531 if (isa_dev[i].resource[0].start) in t1isa_add_card()
534 isa_dev[i].resource[0].start = data->port; in t1isa_add_card()
535 isa_dev[i].irq = data->irq; in t1isa_add_card()
537 if (t1isa_probe(&isa_dev[i], data->cardnr) == 0) in t1isa_add_card()
566 isa_dev[i].resource[0].start = io[i]; in t1isa_init()
567 isa_dev[i].irq = irq[i]; in t1isa_init()
569 if (t1isa_probe(&isa_dev[i], cardnr[i]) != 0) in t1isa_init()
589 t1isa_remove(&isa_dev[i]); in t1isa_exit()
/linux-2.6.39/drivers/ide/
Dalim15x3.c49 static struct pci_dev *isa_dev; variable
235 isa_dev = pci_get_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL); in init_chipset_ali15x3()
253 if (m5229_revision >= 0x20 && isa_dev) { in init_chipset_ali15x3()
254 pci_read_config_byte(isa_dev, 0x5e, &tmpbyte); in init_chipset_ali15x3()
283 if (m5229_revision < 0xC5 && isa_dev) in init_chipset_ali15x3()
289 pci_read_config_byte(isa_dev, 0x79, &tmpbyte); in init_chipset_ali15x3()
294 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04); in init_chipset_ali15x3()
299 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02); in init_chipset_ali15x3()
327 pci_dev_put(isa_dev); in init_chipset_ali15x3()
425 if (isa_dev) { in init_hwif_ali15x3()
[all …]
Dserverworks.c171 struct pci_dev *isa_dev = in init_chipset_svwks() local
174 if (isa_dev) { in init_chipset_svwks()
175 pci_read_config_dword(isa_dev, 0x64, &reg); in init_chipset_svwks()
181 pci_write_config_dword(isa_dev, 0x64, reg); in init_chipset_svwks()
182 pci_dev_put(isa_dev); in init_chipset_svwks()
/linux-2.6.39/drivers/ata/
Dpata_serverworks.c319 struct pci_dev *isa_dev = pci_get_device(PCI_VENDOR_ID_SERVERWORKS, in serverworks_fixup_osb4() local
321 if (isa_dev) { in serverworks_fixup_osb4()
322 pci_read_config_dword(isa_dev, 0x64, &reg); in serverworks_fixup_osb4()
327 pci_write_config_dword(isa_dev, 0x64, reg); in serverworks_fixup_osb4()
328 pci_dev_put(isa_dev); in serverworks_fixup_osb4()
/linux-2.6.39/drivers/tty/serial/
D8250.c3345 struct platform_device *isa_dev = serial8250_isa_devs; in serial8250_exit() local
3355 platform_device_unregister(isa_dev); in serial8250_exit()