Lines Matching defs:_child

26 typedef struct resource * bus_alloc_resource_t(device_t _dev, device_t _child,
42 * @param _dev the parent device of @p _child
43 * @param _child the device which is requesting an allocation
61 device_t _child, int _type,
70 return ((bus_alloc_resource_t *) _m)(_dev, _child, _type, _rid, _start, _end, _count, _flags);
75 typedef int bus_child_pnpinfo_str_t(device_t _dev, device_t _child, char *_buf,
91 * @param _dev the parent device of @p _child
92 * @param _child the device which is being examined
98 static __inline int BUS_CHILD_PNPINFO_STR(device_t _dev, device_t _child,
103 return ((bus_child_pnpinfo_str_t *) _m)(_dev, _child, _buf, _buflen);
109 typedef int bus_child_location_str_t(device_t _dev, device_t _child, char *_buf,
124 * @param _dev the parent device of @p _child
125 * @param _child the device which is being examined
131 static __inline int BUS_CHILD_LOCATION_STR(device_t _dev, device_t _child,
136 return ((bus_child_location_str_t *) _m)(_dev, _child, _buf, _buflen);
142 typedef int bus_print_child_t(device_t _dev, device_t _child);
154 * @param _child the child device to describe
159 static __inline int BUS_PRINT_CHILD(device_t _dev, device_t _child)
163 return ((bus_print_child_t *) _m)(_dev, _child);
169 typedef void bus_probe_nomatch_t(device_t _dev, device_t _child);
177 * @param _child the child device which failed to probe
180 static __inline void BUS_PROBE_NOMATCH(device_t _dev, device_t _child)
184 ((bus_probe_nomatch_t *) _m)(_dev, _child);
190 typedef int bus_read_ivar_t(device_t _dev, device_t _child, int _index,
209 * @param _child the child device whose instance variable is
220 static __inline int BUS_READ_IVAR(device_t _dev, device_t _child, int _index,
225 return ((bus_read_ivar_t *) _m)(_dev, _child, _index, _result);
231 typedef int bus_write_ivar_t(device_t _dev, device_t _child, int _indx,
239 * @param _child the child device whose instance variable is
251 static __inline int BUS_WRITE_IVAR(device_t _dev, device_t _child, int _indx,
256 return ((bus_write_ivar_t *) _m)(_dev, _child, _indx, _value);
262 typedef void bus_child_deleted_t(device_t _dev, device_t _child);
270 * @param _child the child device which is being deleted
273 static __inline void BUS_CHILD_DELETED(device_t _dev, device_t _child)
277 ((bus_child_deleted_t *) _m)(_dev, _child);
283 typedef void bus_child_detached_t(device_t _dev, device_t _child);
291 * @param _child the child device which changed state
294 static __inline void BUS_CHILD_DETACHED(device_t _dev, device_t _child)
298 ((bus_child_detached_t *) _m)(_dev, _child);
383 typedef int bus_child_present_t(device_t _dev, device_t _child);
385 * @brief Is the hardware described by @p _child still attached to the
396 * @param _dev the parent device of @p _child
397 * @param _child the device which is being examined
400 static __inline int BUS_CHILD_PRESENT(device_t _dev, device_t _child)
404 return ((bus_child_present_t *) _m)(_dev, _child);
443 typedef void bus_hint_device_unit_t(device_t _dev, device_t _child,
448 * @param _dev the parent device of @p _child
449 * @param _child the device whose unit is to be wired
454 static __inline void BUS_HINT_DEVICE_UNIT(device_t _dev, device_t _child,
459 ((bus_hint_device_unit_t *) _m)(_dev, _child, _name, _unitp);
482 typedef int bus_suspend_child_t(device_t _dev, device_t _child);
486 * @param _dev the parent device of @p _child
487 * @param _child the device to suspend
490 static __inline int BUS_SUSPEND_CHILD(device_t _dev, device_t _child)
494 return ((bus_suspend_child_t *) _m)(_dev, _child);
500 typedef int bus_resume_child_t(device_t _dev, device_t _child);
504 * @param _dev the parent device of @p _child
505 * @param _child the device to resume
508 static __inline int BUS_RESUME_CHILD(device_t _dev, device_t _child)
512 return ((bus_resume_child_t *) _m)(_dev, _child);
518 typedef int bus_get_domain_t(device_t _dev, device_t _child, int *_domain);
523 * @param _child the child device
527 static __inline int BUS_GET_DOMAIN(device_t _dev, device_t _child, int *_domain)
531 return ((bus_get_domain_t *) _m)(_dev, _child, _domain);
538 typedef int bus_reset_prepare_t(device_t _dev, device_t _child);
550 * @param _child the child device
553 static __inline int BUS_RESET_PREPARE(device_t _dev, device_t _child)
557 return ((bus_reset_prepare_t *) _m)(_dev, _child);
563 typedef int bus_reset_post_t(device_t _dev, device_t _child);
571 * @param _child the child device
574 static __inline int BUS_RESET_POST(device_t _dev, device_t _child)
578 return ((bus_reset_post_t *) _m)(_dev, _child);
584 typedef int bus_reset_child_t(device_t _dev, device_t _child, int _flags);
589 * @param _child the child device
593 static __inline int BUS_RESET_CHILD(device_t _dev, device_t _child, int _flags)
597 return ((bus_reset_child_t *) _m)(_dev, _child, _flags);