Lines Matching refs:child
102 device_t child;
104 child = device_add_child_ordered(dev, order, name, unit);
105 if (child == NULL)
106 return (child);
109 device_delete_child(dev, child);
112 device_set_ivars(child, devi);
113 return (child);
120 device_t child;
130 child = BUS_ADD_CHILD(bus, SMBUS_ORDER_HINTED, dname, dunit);
131 if (child == NULL)
133 devi = device_get_ivars(child);
138 smbus_child_location_str(device_t parent, device_t child, char *buf,
143 devi = device_get_ivars(child);
152 smbus_print_child(device_t parent, device_t child)
157 devi = device_get_ivars(child);
158 retval = bus_print_child_header(parent, child);
161 retval += bus_print_child_footer(parent, child);
167 smbus_read_ivar(device_t parent, device_t child, int which, uintptr_t *result)
171 devi = device_get_ivars(child);
186 smbus_write_ivar(device_t parent, device_t child, int which, uintptr_t value)
190 devi = device_get_ivars(child);
205 smbus_probe_nomatch(device_t bus, device_t child)
207 struct smbus_ivar *devi = device_get_ivars(child);