• Home
  • Raw
  • Download

Lines Matching refs:_dev

26 typedef struct resource * bus_alloc_resource_t(device_t _dev, device_t _child,
60 static __inline struct resource * BUS_ALLOC_RESOURCE(device_t _dev, in BUS_ALLOC_RESOURCE() argument
69 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_alloc_resource); in BUS_ALLOC_RESOURCE()
70 return ((bus_alloc_resource_t *) _m)(_dev, _child, _type, _rid, _start, _end, _count, _flags); in BUS_ALLOC_RESOURCE()
75 typedef int bus_child_pnpinfo_str_t(device_t _dev, device_t _child, char *_buf,
98 static __inline int BUS_CHILD_PNPINFO_STR(device_t _dev, device_t _child, in BUS_CHILD_PNPINFO_STR() argument
102 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_child_pnpinfo_str); in BUS_CHILD_PNPINFO_STR()
103 return ((bus_child_pnpinfo_str_t *) _m)(_dev, _child, _buf, _buflen); in BUS_CHILD_PNPINFO_STR()
109 typedef int bus_child_location_str_t(device_t _dev, device_t _child, char *_buf,
131 static __inline int BUS_CHILD_LOCATION_STR(device_t _dev, device_t _child, in BUS_CHILD_LOCATION_STR() argument
135 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_child_location_str); in BUS_CHILD_LOCATION_STR()
136 return ((bus_child_location_str_t *) _m)(_dev, _child, _buf, _buflen); in BUS_CHILD_LOCATION_STR()
142 typedef int bus_print_child_t(device_t _dev, device_t _child);
159 static __inline int BUS_PRINT_CHILD(device_t _dev, device_t _child) in BUS_PRINT_CHILD() argument
162 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_print_child); in BUS_PRINT_CHILD()
163 return ((bus_print_child_t *) _m)(_dev, _child); in BUS_PRINT_CHILD()
169 typedef void bus_probe_nomatch_t(device_t _dev, device_t _child);
180 static __inline void BUS_PROBE_NOMATCH(device_t _dev, device_t _child) in BUS_PROBE_NOMATCH() argument
183 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_probe_nomatch); in BUS_PROBE_NOMATCH()
184 ((bus_probe_nomatch_t *) _m)(_dev, _child); in BUS_PROBE_NOMATCH()
190 typedef int bus_read_ivar_t(device_t _dev, device_t _child, int _index,
220 static __inline int BUS_READ_IVAR(device_t _dev, device_t _child, int _index, in BUS_READ_IVAR() argument
224 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_read_ivar); in BUS_READ_IVAR()
225 return ((bus_read_ivar_t *) _m)(_dev, _child, _index, _result); in BUS_READ_IVAR()
231 typedef int bus_write_ivar_t(device_t _dev, device_t _child, int _indx,
251 static __inline int BUS_WRITE_IVAR(device_t _dev, device_t _child, int _indx, in BUS_WRITE_IVAR() argument
255 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_write_ivar); in BUS_WRITE_IVAR()
256 return ((bus_write_ivar_t *) _m)(_dev, _child, _indx, _value); in BUS_WRITE_IVAR()
262 typedef void bus_child_deleted_t(device_t _dev, device_t _child);
273 static __inline void BUS_CHILD_DELETED(device_t _dev, device_t _child) in BUS_CHILD_DELETED() argument
276 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_child_deleted); in BUS_CHILD_DELETED()
277 ((bus_child_deleted_t *) _m)(_dev, _child); in BUS_CHILD_DELETED()
283 typedef void bus_child_detached_t(device_t _dev, device_t _child);
294 static __inline void BUS_CHILD_DETACHED(device_t _dev, device_t _child) in BUS_CHILD_DETACHED() argument
297 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_child_detached); in BUS_CHILD_DETACHED()
298 ((bus_child_detached_t *) _m)(_dev, _child); in BUS_CHILD_DETACHED()
304 typedef void bus_driver_added_t(device_t _dev, driver_t *_driver);
317 static __inline void BUS_DRIVER_ADDED(device_t _dev, driver_t *_driver) in BUS_DRIVER_ADDED() argument
320 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_driver_added); in BUS_DRIVER_ADDED()
321 ((bus_driver_added_t *) _m)(_dev, _driver); in BUS_DRIVER_ADDED()
327 typedef device_t bus_add_child_t(device_t _dev, u_int _order, const char *_name,
351 static __inline device_t BUS_ADD_CHILD(device_t _dev, u_int _order, in BUS_ADD_CHILD() argument
355 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_add_child); in BUS_ADD_CHILD()
356 return ((bus_add_child_t *) _m)(_dev, _order, _name, _unit); in BUS_ADD_CHILD()
362 typedef int bus_rescan_t(device_t _dev);
373 static __inline int BUS_RESCAN(device_t _dev) in BUS_RESCAN() argument
376 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_rescan); in BUS_RESCAN()
377 return ((bus_rescan_t *) _m)(_dev); in BUS_RESCAN()
383 typedef int bus_child_present_t(device_t _dev, device_t _child);
400 static __inline int BUS_CHILD_PRESENT(device_t _dev, device_t _child) in BUS_CHILD_PRESENT() argument
403 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_child_present); in BUS_CHILD_PRESENT()
404 return ((bus_child_present_t *) _m)(_dev, _child); in BUS_CHILD_PRESENT()
412 typedef void bus_hinted_child_t(device_t _dev, const char *_dname, int _dunit);
430 static __inline void BUS_HINTED_CHILD(device_t _dev, const char *_dname, in BUS_HINTED_CHILD() argument
434 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_hinted_child); in BUS_HINTED_CHILD()
435 ((bus_hinted_child_t *) _m)(_dev, _dname, _dunit); in BUS_HINTED_CHILD()
443 typedef void bus_hint_device_unit_t(device_t _dev, device_t _child,
454 static __inline void BUS_HINT_DEVICE_UNIT(device_t _dev, device_t _child, in BUS_HINT_DEVICE_UNIT() argument
458 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_hint_device_unit); in BUS_HINT_DEVICE_UNIT()
459 ((bus_hint_device_unit_t *) _m)(_dev, _child, _name, _unitp); in BUS_HINT_DEVICE_UNIT()
465 typedef void bus_new_pass_t(device_t _dev);
472 static __inline void BUS_NEW_PASS(device_t _dev) in BUS_NEW_PASS() argument
475 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_new_pass); in BUS_NEW_PASS()
476 ((bus_new_pass_t *) _m)(_dev); in BUS_NEW_PASS()
482 typedef int bus_suspend_child_t(device_t _dev, device_t _child);
490 static __inline int BUS_SUSPEND_CHILD(device_t _dev, device_t _child) in BUS_SUSPEND_CHILD() argument
493 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_suspend_child); in BUS_SUSPEND_CHILD()
494 return ((bus_suspend_child_t *) _m)(_dev, _child); in BUS_SUSPEND_CHILD()
500 typedef int bus_resume_child_t(device_t _dev, device_t _child);
508 static __inline int BUS_RESUME_CHILD(device_t _dev, device_t _child) in BUS_RESUME_CHILD() argument
511 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_resume_child); in BUS_RESUME_CHILD()
512 return ((bus_resume_child_t *) _m)(_dev, _child); in BUS_RESUME_CHILD()
518 typedef int bus_get_domain_t(device_t _dev, device_t _child, int *_domain);
527 static __inline int BUS_GET_DOMAIN(device_t _dev, device_t _child, int *_domain) in BUS_GET_DOMAIN() argument
530 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_get_domain); in BUS_GET_DOMAIN()
531 return ((bus_get_domain_t *) _m)(_dev, _child, _domain); in BUS_GET_DOMAIN()
538 typedef int bus_reset_prepare_t(device_t _dev, device_t _child);
553 static __inline int BUS_RESET_PREPARE(device_t _dev, device_t _child) in BUS_RESET_PREPARE() argument
556 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_reset_prepare); in BUS_RESET_PREPARE()
557 return ((bus_reset_prepare_t *) _m)(_dev, _child); in BUS_RESET_PREPARE()
563 typedef int bus_reset_post_t(device_t _dev, device_t _child);
574 static __inline int BUS_RESET_POST(device_t _dev, device_t _child) in BUS_RESET_POST() argument
577 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_reset_post); in BUS_RESET_POST()
578 return ((bus_reset_post_t *) _m)(_dev, _child); in BUS_RESET_POST()
584 typedef int bus_reset_child_t(device_t _dev, device_t _child, int _flags);
593 static __inline int BUS_RESET_CHILD(device_t _dev, device_t _child, int _flags) in BUS_RESET_CHILD() argument
596 KOBJOPLOOKUP(((kobj_t)_dev)->ops,bus_reset_child); in BUS_RESET_CHILD()
597 return ((bus_reset_child_t *) _m)(_dev, _child, _flags); in BUS_RESET_CHILD()