Home
last modified time | relevance | path

Searched refs:device_t (Results 1 – 25 of 42) sorted by relevance

12

/third_party/FreeBSD/sys/kern/
Dbus_if.h26 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()
61 device_t _child, int _type, 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()
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()
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()
169 typedef void bus_probe_nomatch_t(device_t _dev, device_t _child);
[all …]
Ddevice_if.h29 typedef int device_probe_t(device_t dev);
104 static __inline int DEVICE_PROBE(device_t dev) in DEVICE_PROBE()
114 typedef void device_identify_t(driver_t *driver, device_t parent);
141 static __inline void DEVICE_IDENTIFY(driver_t *driver, device_t parent) in DEVICE_IDENTIFY()
151 typedef int device_attach_t(device_t dev);
176 static __inline int DEVICE_ATTACH(device_t dev) in DEVICE_ATTACH()
186 typedef int device_detach_t(device_t dev);
210 static __inline int DEVICE_DETACH(device_t dev) in DEVICE_DETACH()
220 typedef int device_shutdown_t(device_t dev);
236 static __inline int DEVICE_SHUTDOWN(device_t dev) in DEVICE_SHUTDOWN()
[all …]
Dsubr_bus.c69 device_t *devices; /* array of devices indexed by unit */
90 device_t parent; /**< parent of this device */
126 static void print_device_short(device_t dev, int indent);
127 static void print_device(device_t dev, int indent);
128 void print_device_tree_short(device_t dev, int indent);
129 void print_device_tree(device_t dev, int indent);
179 device_get_name(device_t dev) in device_get_name()
499 device_t dev; in devclass_driver_deleted()
621 device_t dev; in devclass_quiesce_driver()
705 device_t
[all …]
Dbus_if.c23 null_alloc_resource(device_t dev, device_t child, in null_alloc_resource()
29 static device_t
30 null_add_child(device_t bus, int order, const char *name, in null_add_child()
37 static int null_reset_post(device_t bus, device_t dev) in null_reset_post()
42 static int null_reset_prepare(device_t bus, device_t dev) in null_reset_prepare()
Ddevice_if.c21 static int null_shutdown(device_t dev) in null_shutdown()
26 static int null_suspend(device_t dev) in null_suspend()
31 static int null_resume(device_t dev) in null_resume()
36 static int null_quiesce(device_t dev) in null_quiesce()
41 static void * null_register(device_t dev) in null_register()
/third_party/FreeBSD/sys/sys/
Dbus.h41 typedef struct device *device_t; typedef
228 extern device_t root_bus;
232 extern device_t nexus;
240 int bus_generic_attach(device_t dev);
242 device_t
243 bus_generic_add_child(device_t dev, u_int order, const char *name,
245 int bus_generic_child_present(device_t dev, device_t child);
247 int bus_generic_detach(device_t dev);
248 void bus_generic_driver_added(device_t dev, driver_t *driver);
249 int bus_generic_get_domain(device_t dev, device_t child, int *domain);
[all …]
/third_party/FreeBSD/sys/arm/arm/
Dnexus.c62 static int nexus_probe(device_t);
63 static int nexus_attach(device_t);
64 static int nexus_print_child(device_t, device_t);
65 static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
136 nexus_probe(device_t dev) in nexus_probe()
144 nexus_attach(device_t dev) in nexus_attach()
156 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
172 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource()
Dautoconf.c60 device_t nexus;
/third_party/selinux/secilc/test/
Dintegration.cil53 (type device_t)
77 (typepermissive device_t)
78 (typebounds device_t bin_t)
79 (typemember device_t bin_t file exec_t)
80 (typetransition device_t console_t file console_device_t)
82 (rangetransition device_t console_t file low_high)
84 (nametypetransition some_file device_t console_t file getty_t)
87 (allow bin_t device_t (file (execute)))
91 (auditallow device_t exec_t (file (read write)))
127 (dontaudit device_t auditadm_t (file (read)))
[all …]
/third_party/FreeBSD/sys/dev/usb/
Dusb_if.h20 typedef int usb_handle_request_t(device_t dev, const void *req,
23 static __inline int USB_HANDLE_REQUEST(device_t dev, const void *req, in USB_HANDLE_REQUEST()
34 typedef int usb_take_controller_t(device_t dev);
36 static __inline int USB_TAKE_CONTROLLER(device_t dev) in USB_TAKE_CONTROLLER()
Dusb_bus.h94 device_t parent;
95 device_t bdev; /* filled by HC driver */
Dusb_hub.c80 device_t sc_dev; /* base device */
1169 uhub_probe(device_t dev) in uhub_probe()
1256 uhub_attach(device_t dev) in uhub_attach()
1271 device_t device; in uhub_attach()
1613 uhub_detach(device_t dev) in uhub_detach()
1677 uhub_suspend(device_t dev) in uhub_suspend()
1685 uhub_resume(device_t dev) in uhub_resume()
1693 uhub_driver_added(device_t dev, driver_t *driver) in uhub_driver_added()
1705 uhub_find_iface_index(struct usb_hub *hub, device_t child, in uhub_find_iface_index()
1738 uhub_child_location_string(device_t parent, device_t child, in uhub_child_location_string()
[all …]
Dusb_device.h211 device_t parent_dev; /* parent device */
297 struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
Dusbdi.h170 device_t subdev;
386 device_t temp_dev; /* for internal use */
514 void device_set_usb_desc(device_t dev);
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci_pci.c72 ehci_pci_match(device_t self) in ehci_pci_match()
78 ehci_pci_probe(device_t self) in ehci_pci_probe()
91 ehci_pci_attach(device_t self) in ehci_pci_attach()
188 ehci_pci_detach(device_t self) in ehci_pci_detach()
215 ehci_pci_take_controller(device_t self) in ehci_pci_take_controller()
Dxhci_pci.c67 xhci_pci_match(device_t self) in xhci_pci_match()
74 xhci_pci_probe(device_t self) in xhci_pci_probe()
87 xhci_pci_attach(device_t self) in xhci_pci_attach()
166 xhci_pci_detach(device_t self) in xhci_pci_detach()
197 xhci_pci_take_controller(device_t self) in xhci_pci_take_controller()
Dusb_controller.c43 static void usb_attach_sub(device_t, struct usb_bus *);
90 usb_probe(device_t dev) in usb_probe()
116 usb_attach(device_t dev) in usb_attach()
152 usb_detach(device_t dev) in usb_detach()
214 usb_suspend(device_t dev) in usb_suspend()
242 usb_resume(device_t dev) in usb_resume()
292 usb_shutdown(device_t dev) in usb_shutdown()
392 device_t dev; in usb_bus_detach()
613 device_t dev; in usb_bus_attach()
710 usb_attach_sub(device_t dev, struct usb_bus *bus) in usb_attach_sub()
/third_party/FreeBSD/sys/dev/usb/implementation/
Dusb_init.c104 extern device_t
105 bus_get_device(device_t dev, const char *name);
203 device_t udc; in composite_add()
204 device_t composite; in composite_add()
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_ethernet.h115 device_t ue_dev;
116 device_t ue_miibus;
Dif_cdce.c439 cdce_probe(device_t dev) in cdce_probe()
459 cdce_attach(device_t dev) in cdce_attach()
637 cdce_detach(device_t dev) in cdce_detach()
839 cdce_suspend(device_t dev) in cdce_suspend()
846 cdce_resume(device_t dev) in cdce_resume()
1049 cdce_handle_request(device_t dev, in cdce_handle_request()
Dif_urndis.c162 urndis_probe(device_t dev) in urndis_probe()
176 urndis_attach(device_t dev) in urndis_attach()
311 urndis_detach(device_t dev) in urndis_detach()
391 urndis_suspend(device_t dev) in urndis_suspend()
398 urndis_resume(device_t dev) in urndis_resume()
/third_party/FreeBSD/stand/kshim/
Dbsd_kernel.h119 typedef int usb_handle_request_t (device_t dev, const void *req, void **pptr, uint16_t *plen,
121 typedef int usb_take_controller_t (device_t dev);
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c39 device_t sc_fbsd_dev;
64 static int usb_linux_create_usb_device(struct usb_device *, device_t);
197 usb_linux_probe(device_t dev) in usb_linux_probe()
245 usb_linux_attach(device_t dev) in usb_linux_attach()
295 usb_linux_detach(device_t dev) in usb_linux_detach()
331 usb_linux_suspend(device_t dev) in usb_linux_suspend()
349 usb_linux_resume(device_t dev) in usb_linux_resume()
875 usb_linux_create_usb_device(struct usb_device *udev, device_t dev) in usb_linux_create_usb_device()
/third_party/node/deps/uvwasi/src/
Dwasi_serdes.c59 ALIAS(device_t, uint64_t) \
102 FIELD( 0, device_t, st_dev); \
/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite.c703 static int composite_probe(device_t dev) in composite_probe()
722 static int composite_attach(device_t dev) in composite_attach()
763 static int composite_detach(device_t dev) in composite_detach()

12