/drivers/ide/ |
H A D | ide-legacy.c | 5 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 D | ide-4drives.c | 34 struct ide_hw hw, *hws[] = { &hw, &hw }; local 57 return ide_host_add(&ide_4drives_port_info, hws, 2, NULL);
|
H A D | cs5520.c | 114 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 D | ide-pnp.c | 41 struct ide_hw hw, *hws[] = { &hw }; local 68 rc = ide_host_add(&ide_pnp_port_info, hws, 1, &host);
|
H A D | macide.c | 107 struct ide_hw hw, *hws[] = { &hw }; local 136 return ide_host_add(&d, hws, 1, NULL);
|
H A D | rapide.c | 37 struct ide_hw hw, *hws[] = { &hw }; local 53 ret = ide_host_add(&rapide_port_info, hws, 1, &host);
|
H A D | buddha.c | 168 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 D | falconide.c | 140 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 D | gayle.c | 124 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 D | q40ide.c | 136 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 D | ide-generic.c | 89 struct ide_hw hw, *hws[] = { &hw }; local 136 rc = ide_host_add(&ide_generic_port_info, hws, 1, NULL);
|
H A D | setup-pci.c | 450 * @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 D | delkin_cb.c | 79 struct ide_hw hw, *hws[] = { &hw }; local 101 rc = ide_host_add(&delkin_cb_port_info, hws, 1, &host);
|
H A D | ide_platform.c | 56 struct ide_hw hw, *hws[] = { &hw }; local 104 ret = ide_host_add(&d, hws, 1, &host);
|
H A D | icside.c | 414 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 D | tx4938ide.c | 132 struct ide_hw hw, *hws[] = { &hw }; local 184 ret = ide_host_add(&d, hws, 1, &host);
|
H A D | ide-probe.c | 1282 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 D | cmd640.c | 724 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 D | ide-cs.c | 121 struct ide_hw hw, *hws[] = { &hw }; local 141 rc = ide_host_add(&idecs_port_info, hws, 1, &host);
|
H A D | palm_bk3710.c | 320 struct ide_hw hw, *hws[] = { &hw }; local 373 rc = ide_host_add(&palm_bk3710_port_info, hws, 1, NULL);
|
H A D | tx4939ide.c | 540 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 D | au1xxx-ide.c | 507 struct ide_hw hw, *hws[] = { &hw }; local 556 ret = ide_host_add(&au1xxx_port_info, hws, 1, &host);
|
H A D | sgiioc4.c | 539 struct ide_hw hw, *hws[] = { &hw }; local 573 rc = ide_host_add(&sgiioc4_port_info, hws, 1, NULL);
|
H A D | pmac.c | 1027 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 D | iohelper.h | 38 #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...] |