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 …]
Dsubr_bus.c68 device_t *devices; /* array of devices indexed by unit */
89 device_t parent; /**< parent of this device */
125 static void print_device_short(device_t dev, int indent);
126 static void print_device(device_t dev, int indent);
127 void print_device_tree_short(device_t dev, int indent);
128 void print_device_tree(device_t dev, int indent);
178 device_get_name(device_t dev) in device_get_name()
498 device_t dev; in devclass_driver_deleted()
620 device_t dev; in devclass_quiesce_driver()
704 device_t
[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 …]
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.h39 typedef struct device *device_t; typedef
226 extern device_t root_bus;
230 extern device_t nexus;
238 int bus_generic_attach(device_t dev);
240 device_t
241 bus_generic_add_child(device_t dev, u_int order, const char *name,
243 int bus_generic_child_present(device_t dev, device_t child);
245 int bus_generic_detach(device_t dev);
246 void bus_generic_driver_added(device_t dev, driver_t *driver);
247 int bus_generic_get_domain(device_t dev, device_t child, int *domain);
[all …]
/third_party/FreeBSD/sys/arm/arm/
Dnexus.c60 static int nexus_probe(device_t);
61 static int nexus_attach(device_t);
62 static int nexus_print_child(device_t, device_t);
63 static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
134 nexus_probe(device_t dev) in nexus_probe()
142 nexus_attach(device_t dev) in nexus_attach()
154 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
170 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource()
Dautoconf.c58 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.h93 device_t parent;
94 device_t bdev; /* filled by HC driver */
Dusb_hub.c79 device_t sc_dev; /* base device */
1168 uhub_probe(device_t dev) in uhub_probe()
1255 uhub_attach(device_t dev) in uhub_attach()
1270 device_t device; in uhub_attach()
1612 uhub_detach(device_t dev) in uhub_detach()
1676 uhub_suspend(device_t dev) in uhub_suspend()
1684 uhub_resume(device_t dev) in uhub_resume()
1692 uhub_driver_added(device_t dev, driver_t *driver) in uhub_driver_added()
1704 uhub_find_iface_index(struct usb_hub *hub, device_t child, in uhub_find_iface_index()
1737 uhub_child_location_string(device_t parent, device_t child, in uhub_child_location_string()
[all …]
Dusb_device.h210 device_t parent_dev; /* parent device */
296 struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci_pci.c70 ehci_pci_match(device_t self) in ehci_pci_match()
76 ehci_pci_probe(device_t self) in ehci_pci_probe()
89 ehci_pci_attach(device_t self) in ehci_pci_attach()
186 ehci_pci_detach(device_t self) in ehci_pci_detach()
213 ehci_pci_take_controller(device_t self) in ehci_pci_take_controller()
Dxhci_pci.c66 xhci_pci_match(device_t self) in xhci_pci_match()
73 xhci_pci_probe(device_t self) in xhci_pci_probe()
86 xhci_pci_attach(device_t self) in xhci_pci_attach()
165 xhci_pci_detach(device_t self) in xhci_pci_detach()
196 xhci_pci_take_controller(device_t self) in xhci_pci_take_controller()
Dusb_controller.c42 static void usb_attach_sub(device_t, struct usb_bus *);
89 usb_probe(device_t dev) in usb_probe()
115 usb_attach(device_t dev) in usb_attach()
151 usb_detach(device_t dev) in usb_detach()
213 usb_suspend(device_t dev) in usb_suspend()
241 usb_resume(device_t dev) in usb_resume()
291 usb_shutdown(device_t dev) in usb_shutdown()
391 device_t dev; in usb_bus_detach()
612 device_t dev; in usb_bus_attach()
709 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.h112 device_t ue_dev;
113 device_t ue_miibus;
Dif_cdce.c438 cdce_probe(device_t dev) in cdce_probe()
458 cdce_attach(device_t dev) in cdce_attach()
636 cdce_detach(device_t dev) in cdce_detach()
838 cdce_suspend(device_t dev) in cdce_suspend()
845 cdce_resume(device_t dev) in cdce_resume()
1048 cdce_handle_request(device_t dev, in cdce_handle_request()
Dif_urndis.c161 urndis_probe(device_t dev) in urndis_probe()
175 urndis_attach(device_t dev) in urndis_attach()
310 urndis_detach(device_t dev) in urndis_detach()
390 urndis_suspend(device_t dev) in urndis_suspend()
397 urndis_resume(device_t dev) in urndis_resume()
/third_party/FreeBSD/stand/kshim/
Dbsd_kernel.h118 typedef int usb_handle_request_t (device_t dev, const void *req, void **pptr, uint16_t *plen,
120 typedef int usb_take_controller_t (device_t dev);
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c38 device_t sc_fbsd_dev;
63 static int usb_linux_create_usb_device(struct usb_device *, device_t);
196 usb_linux_probe(device_t dev) in usb_linux_probe()
244 usb_linux_attach(device_t dev) in usb_linux_attach()
294 usb_linux_detach(device_t dev) in usb_linux_detach()
330 usb_linux_suspend(device_t dev) in usb_linux_suspend()
348 usb_linux_resume(device_t dev) in usb_linux_resume()
874 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/pulseaudio/src/modules/
Dmodule-device-manager.c1316 struct device_t { uint32_t prio; char *device; }; in extension_cb() argument
1317 struct device_t *device; in extension_cb()
1318 struct device_t **devices; in extension_cb()
1377 device = pa_xnew(struct device_t, 1); in extension_cb()
1405 device = pa_xnew(struct device_t, 1); in extension_cb()
1439 devices = pa_xnew(struct device_t *, n_devices); in extension_cb()
1450 struct device_t *tmp; in extension_cb()
/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