Searched refs:hws (Results 1 - 25 of 30) sorted by relevance

12

/drivers/ide/
H A Dide-legacy.c5 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, argument
39 hws[port_no] = hw;
44 struct ide_hw hw[2], *hws[] = { NULL, NULL }; local
49 ide_legacy_init_one(hws, &hw[0], 0, d, config);
50 ide_legacy_init_one(hws, &hw[1], 1, d, config);
52 if (hws[0] == NULL && hws[1] == NULL &&
56 return ide_host_add(d, hws, 2, NULL);
H A Dide-4drives.c34 struct ide_hw hw, *hws[] = { &hw, &hw }; local
57 return ide_host_add(&ide_4drives_port_info, hws, 2, NULL);
H A Dcs5520.c114 struct ide_hw hw[2], *hws[] = { NULL, NULL }; local
137 ide_pci_setup_ports(dev, d, &hw[0], &hws[0]);
141 return ide_host_add(d, hws, 2, NULL);
H A Dide-pnp.c41 struct ide_hw hw, *hws[] = { &hw }; local
68 rc = ide_host_add(&ide_pnp_port_info, hws, 1, &host);
H A Dmacide.c107 struct ide_hw hw, *hws[] = { &hw }; local
136 return ide_host_add(&d, hws, 1, NULL);
H A Drapide.c37 struct ide_hw hw, *hws[] = { &hw }; local
53 ret = ide_host_add(&rapide_port_info, hws, 1, &host);
H A Dbuddha.c168 struct ide_hw hw[MAX_NUM_HWIFS], *hws[MAX_NUM_HWIFS]; local
227 hws[i] = &hw[i];
230 ide_host_add(&d, hws, i, NULL);
H A Dfalconide.c140 struct ide_hw hw, *hws[] = { &hw }; local
155 host = ide_host_alloc(&falconide_port_info, hws, 1);
162 rc = ide_host_register(host, &falconide_port_info, hws);
H A Dgayle.c124 struct ide_hw hw[GAYLE_NUM_HWIFS], *hws[GAYLE_NUM_HWIFS]; local
153 hws[i] = &hw[i];
156 error = ide_host_add(&d, hws, i, &host);
H A Dq40ide.c136 struct ide_hw hw[Q40IDE_NUM_HWIFS], *hws[] = { NULL, NULL }; local
160 hws[i] = &hw[i];
163 return ide_host_add(&q40ide_port_info, hws, Q40IDE_NUM_HWIFS, NULL);
H A Dide-generic.c89 struct ide_hw hw, *hws[] = { &hw }; local
136 rc = ide_host_add(&ide_generic_port_info, hws, 1, NULL);
H A Dsetup-pci.c450 * @hws: struct ide_hw pointers table to update
462 struct ide_hw *hw, struct ide_hw **hws)
484 *(hws + port) = hw + port;
544 struct ide_hw hw[4], *hws[] = { NULL, NULL, NULL, NULL }; local
551 ide_pci_setup_ports(pdev[i], d, &hw[i*2], &hws[i*2]);
554 host = ide_host_alloc(d, hws, n_ports);
589 ret = ide_host_register(host, d, hws);
461 ide_pci_setup_ports(struct pci_dev *dev, const struct ide_port_info *d, struct ide_hw *hw, struct ide_hw **hws) argument
H A Ddelkin_cb.c79 struct ide_hw hw, *hws[] = { &hw }; local
101 rc = ide_host_add(&delkin_cb_port_info, hws, 1, &host);
H A Dide_platform.c56 struct ide_hw hw, *hws[] = { &hw }; local
104 ret = ide_host_add(&d, hws, 1, &host);
H A Dicside.c414 struct ide_hw hw, *hws[] = { &hw }; local
435 host = ide_host_alloc(&icside_v5_port_info, hws, 1);
443 ret = ide_host_register(host, &icside_v5_port_info, hws);
470 struct ide_hw hw[2], *hws[] = { &hw[0], &hw[1] }; local
510 host = ide_host_alloc(&d, hws, 2);
526 ret = ide_host_register(host, &d, hws);
H A Dtx4938ide.c132 struct ide_hw hw, *hws[] = { &hw }; local
184 ret = ide_host_add(&d, hws, 1, &host);
H A Dide-probe.c1282 struct ide_hw **hws, unsigned int n_ports)
1285 struct device *dev = hws[0] ? hws[0]->dev : NULL;
1297 if (hws[i] == NULL)
1370 struct ide_hw **hws)
1381 ide_init_port_hw(hwif, hws[i]);
1465 int ide_host_add(const struct ide_port_info *d, struct ide_hw **hws, argument
1471 host = ide_host_alloc(d, hws, n_ports);
1475 rc = ide_host_register(host, d, hws);
1281 ide_host_alloc(const struct ide_port_info *d, struct ide_hw **hws, unsigned int n_ports) argument
1369 ide_host_register(struct ide_host *host, const struct ide_port_info *d, struct ide_hw **hws) argument
H A Dcmd640.c724 struct ide_hw hw[2], *hws[2]; local
788 hws[0] = &hw[0];
829 hws[1] = &hw[1];
838 return ide_host_add(&cmd640_port_info, hws, second_port_cmd640 ? 2 : 1,
H A Dide-cs.c121 struct ide_hw hw, *hws[] = { &hw }; local
141 rc = ide_host_add(&idecs_port_info, hws, 1, &host);
H A Dpalm_bk3710.c320 struct ide_hw hw, *hws[] = { &hw }; local
373 rc = ide_host_add(&palm_bk3710_port_info, hws, 1, NULL);
H A Dtx4939ide.c540 struct ide_hw hw, *hws[] = { &hw }; local
583 host = ide_host_alloc(&tx4939ide_port_info, hws, 1);
588 ret = ide_host_register(host, &tx4939ide_port_info, hws);
H A Dau1xxx-ide.c507 struct ide_hw hw, *hws[] = { &hw }; local
556 ret = ide_host_add(&au1xxx_port_info, hws, 1, &host);
H A Dsgiioc4.c539 struct ide_hw hw, *hws[] = { &hw }; local
573 rc = ide_host_add(&sgiioc4_port_info, hws, 1, NULL);
H A Dpmac.c1027 struct ide_hw *hws[] = { hw }; local
1077 host = ide_host_alloc(&d, hws, 1);
1108 rc = ide_host_register(host, &d, hws);
/drivers/isdn/hardware/mISDN/
H A Diohelper.h38 #define IOFUNC_IO(name, hws, ap) \
40 struct hws *hw = p; \
44 struct hws *hw = p; \
48 struct hws *hw = p; \
52 struct hws *hw = p; \
56 #define IOFUNC_IND(name, hws, ap) \
58 struct hws *hw = p; \
63 struct hws *hw = p; \
68 struct hws *hw = p; \
73 struct hws *h
[all...]

Completed in 135 milliseconds

12