Lines Matching defs:child
42 device_t child;
56 child = BUS_ADD_CHILD(parent, order, name, unit);
57 if (child == 0)
65 bus_set_resource(child, SYS_RES_IOPORT, 0, start, count);
72 bus_set_resource(child, SYS_RES_MEMORY, 0, start, count);
75 bus_set_resource(child, SYS_RES_IRQ, 0, start, 1);
78 bus_set_resource(child, SYS_RES_DRQ, 0, start, 1);
81 device_disable(child);
83 isa_set_configattr(child, (isa_get_configattr(child)|ISACFGATTR_HINTS));
103 isa_hint_device_unit(device_t bus, device_t child, const char *name, int *unitp)
145 if (isa_match_resource_hint(child, SYS_RES_IOPORT,
152 if (isa_match_resource_hint(child, SYS_RES_MEMORY,
161 if (isa_match_resource_hint(child, SYS_RES_IRQ, value))
167 if (isa_match_resource_hint(child, SYS_RES_DRQ, value))