Home
last modified time | relevance | path

Searched refs:device_t (Results 1 – 25 of 47) 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;
237 int bus_generic_attach(device_t dev);
239 device_t
240 bus_generic_add_child(device_t dev, u_int order, const char *name,
242 int bus_generic_child_present(device_t dev, device_t child);
244 int bus_generic_detach(device_t dev);
245 void bus_generic_driver_added(device_t dev, driver_t *driver);
246 int bus_generic_get_domain(device_t dev, device_t child, int *domain);
[all …]
/third_party/boost/boost/gil/io/
Dget_reader.hpp44 using device_t = typename get_read_device<String, FormatTag>::type; typedef
45 using type = reader<device_t, FormatTag, ConversionPolicy>;
64 using device_t = typename get_read_device<Device, FormatTag>::type; typedef
65 using type = reader<device_t, FormatTag, ConversionPolicy>;
89 using device_t = typename get_read_device<String, FormatTag>::type; typedef
90 using type = dynamic_image_reader<device_t, FormatTag>;
108 using device_t = typename get_read_device<Device, FormatTag>::type; typedef
109 using type = dynamic_image_reader<device_t, FormatTag>;
133 using device_t = typename get_read_device<String, FormatTag>::type; typedef
134 using type = reader_backend<device_t, FormatTag>;
[all …]
Dget_writer.hpp38 using device_t = typename get_write_device<String, FormatTag>::type; typedef
39 using type = writer<device_t, FormatTag>;
57 using device_t = typename get_write_device<Device, FormatTag>::type; typedef
58 using type = writer<device_t, FormatTag>;
80 using device_t = typename get_write_device<String, FormatTag>::type; typedef
81 using type = dynamic_image_writer<device_t, FormatTag>;
99 using device_t = typename get_write_device<Device, FormatTag>::type; typedef
100 using type = dynamic_image_writer<device_t, FormatTag>;
Dmake_backend.hpp33 using device_t = typename get_read_device<String, FormatTag>::type; in make_reader_backend() typedef
35 device_t device( in make_reader_backend()
39 return reader_backend<device_t, FormatTag>(device, settings); in make_reader_backend()
50 using device_t = typename get_read_device<std::wstring, FormatTag>::type; in make_reader_backend() typedef
51 device_t device(str, typename detail::file_stream_device<FormatTag>::read_tag()); in make_reader_backend()
55 return reader_backend<device_t, FormatTag>(device, settings); in make_reader_backend()
83 using device_t = typename get_read_device<Device, FormatTag>::type; in make_reader_backend() typedef
84 device_t device(io_dev); in make_reader_backend()
86 return reader_backend<device_t, FormatTag>(device, settings); in make_reader_backend()
Dmake_dynamic_image_reader.hpp32 using device_t = typename get_read_device<String, FormatTag>::type; in make_dynamic_image_reader() typedef
33 device_t device( in make_dynamic_image_reader()
48 using device_t = typename get_read_device<std::wstring, FormatTag>::type; in make_dynamic_image_reader() typedef
49 device_t device(str, typename detail::file_stream_device<FormatTag>::read_tag()); in make_dynamic_image_reader()
Dmake_scanline_reader.hpp31 using device_t = typename get_read_device<String, FormatTag>::type; in make_scanline_reader() typedef
32 device_t device( in make_scanline_reader()
/third_party/FreeBSD/sys/arm/arm/
Dnexus.c64 static int nexus_probe(device_t);
65 static int nexus_attach(device_t);
66 static int nexus_print_child(device_t, device_t);
67 static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
138 nexus_probe(device_t dev) in nexus_probe()
146 nexus_attach(device_t dev) in nexus_attach()
158 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
174 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource()
Dautoconf.c60 device_t nexus;
/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 */
1173 uhub_probe(device_t dev) in uhub_probe()
1260 uhub_attach(device_t dev) in uhub_attach()
1275 device_t device; in uhub_attach()
1617 uhub_detach(device_t dev) in uhub_detach()
1682 uhub_suspend(device_t dev) in uhub_suspend()
1690 uhub_resume(device_t dev) in uhub_resume()
1698 uhub_driver_added(device_t dev, driver_t *driver) in uhub_driver_added()
1710 uhub_find_iface_index(struct usb_hub *hub, device_t child, in uhub_find_iface_index()
1743 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,
/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/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.c64 xhci_pci_match(device_t self) in xhci_pci_match()
71 xhci_pci_probe(device_t self) in xhci_pci_probe()
84 xhci_pci_attach(device_t self) in xhci_pci_attach()
163 xhci_pci_detach(device_t self) in xhci_pci_detach()
194 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()
393 device_t dev; in usb_bus_detach()
614 device_t dev; in usb_bus_attach()
711 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;
/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);
198 usb_linux_probe(device_t dev) in usb_linux_probe()
246 usb_linux_attach(device_t dev) in usb_linux_attach()
296 usb_linux_detach(device_t dev) in usb_linux_detach()
332 usb_linux_suspend(device_t dev) in usb_linux_suspend()
350 usb_linux_resume(device_t dev) in usb_linux_resume()
879 usb_linux_create_usb_device(struct usb_device *udev, device_t dev) in usb_linux_create_usb_device()

12