Lines Matching refs:d
6 u8 port_no, const struct ide_port_info *d, in ide_legacy_init_one() argument
22 if (!request_region(base, 8, d->name)) { in ide_legacy_init_one()
24 d->name, base, base + 7); in ide_legacy_init_one()
28 if (!request_region(ctl, 1, d->name)) { in ide_legacy_init_one()
30 d->name, ctl); in ide_legacy_init_one()
42 int ide_legacy_device_add(const struct ide_port_info *d, unsigned long config) in ide_legacy_device_add() argument
48 if ((d->host_flags & IDE_HFLAG_QD_2ND_PORT) == 0) in ide_legacy_device_add()
49 ide_legacy_init_one(hws, &hw[0], 0, d, config); in ide_legacy_device_add()
50 ide_legacy_init_one(hws, &hw[1], 1, d, config); in ide_legacy_device_add()
53 (d->host_flags & IDE_HFLAG_SINGLE)) in ide_legacy_device_add()
56 return ide_host_add(d, hws, 2, NULL); in ide_legacy_device_add()