Home
last modified time | relevance | path

Searched defs:udev (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/eudev/src/libudev/
Dlibudev.c47 struct udev { struct
49 void (*log_fn)(struct udev *udev, argument
57 * @udev: udev library context argument
64 _public_ void *udev_get_userdata(struct udev *udev) { in udev_get_userdata()
77 _public_ void udev_set_userdata(struct udev *udev, void *userdata) { in udev_set_userdata()
95 struct udev *udev; in udev_new() local
190 _public_ struct udev *udev_ref(struct udev *udev) { in udev_ref()
206 _public_ struct udev *udev_unref(struct udev *udev) { in udev_unref()
224 _public_ void udev_set_log_fn(struct udev *udev, in udev_set_log_fn()
225 void (*log_fn)(struct udev *udev, in udev_set_log_fn()
[all …]
Dlibudev-util.c52 int util_resolve_subsys_kernel(struct udev *udev, const char *string, in util_resolve_subsys_kernel()
114 ssize_t util_get_sys_core_link_value(struct udev *udev, const char *slink, const char *syspath, cha… in util_get_sys_core_link_value()
133 int util_resolve_sys_link(struct udev *udev, char *syspath, size_t size) in util_resolve_sys_link()
/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c89 usb_get_manufacturer(struct usb_device *udev) in usb_get_manufacturer()
95 usb_get_product(struct usb_device *udev) in usb_get_product()
101 usb_get_serial(struct usb_device *udev) in usb_get_serial()
117 usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val) in usbd_get_ep_by_addr()
171 usbd_get_endpoint(struct usb_device *udev, uint8_t iface_index, in usbd_get_endpoint()
292 usbd_interface_count(struct usb_device *udev, uint8_t *count) in usbd_interface_count()
310 usb_init_endpoint(struct usb_device *udev, uint8_t iface_index, in usb_init_endpoint()
365 usb_endpoint_foreach(struct usb_device *udev, struct usb_endpoint *ep) in usb_endpoint_foreach()
397 usb_wait_pending_refs(struct usb_device *udev) in usb_wait_pending_refs()
426 usb_unconfigure(struct usb_device *udev, uint8_t flag) in usb_unconfigure()
[all …]
Dusb_request.c107 usbd_get_debug_bits(struct usb_device *udev, struct usb_device_request *req, in usbd_get_debug_bits()
197 struct usb_device *udev; in usb_do_clear_stall_callback() local
308 usbd_get_hr_func(struct usb_device *udev) in usbd_get_hr_func()
374 usbd_do_request_flags(struct usb_device *udev, struct mtx *mtx, in usbd_do_request_flags()
709 usbd_do_request_proc(struct usb_device *udev, struct usb_process *pproc, in usbd_do_request_proc()
753 usbd_req_reset_port(struct usb_device *udev, struct mtx *mtx, uint8_t port) in usbd_req_reset_port()
856 usbd_req_warm_reset_port(struct usb_device *udev, struct mtx *mtx, in usbd_req_warm_reset_port()
966 usbd_req_get_desc(struct usb_device *udev, in usbd_req_get_desc()
1057 usbd_req_get_string_any(struct usb_device *udev, struct mtx *mtx, char *buf, in usbd_req_get_string_any()
1159 usbd_req_get_string_desc(struct usb_device *udev, struct mtx *mtx, void *sdesc, in usbd_req_get_string_desc()
[all …]
Dusb_handle_request.c112 struct usb_device *udev = xfer->xroot->udev; in usb_handle_set_config() local
153 usb_check_alt_setting(struct usb_device *udev, in usb_check_alt_setting()
185 struct usb_device *udev = xfer->xroot->udev; in usb_handle_iface_request() local
345 struct usb_device *udev = xfer->xroot->udev; in usb_handle_set_stall() local
363 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall()
390 struct usb_device *udev; in usb_handle_remote_wakeup() local
428 struct usb_device *udev; in usb_handle_request() local
Dusb_hub.c225 struct usb_device *udev = pm->udev; in uhub_reset_tt_proc() local
257 struct usb_device *udev; in uhub_tt_buffer_reset_async_locked() local
324 struct usb_device *udev; in uhub_reset_tt_callback() local
378 uhub_count_active_host_ports(struct usb_device *udev, enum usb_dev_speed speed) in uhub_count_active_host_ports()
610 struct usb_device *udev; in uhub_port_debounce() local
659 struct usb_device *udev; in uhub_reattach_port() local
914 usb_device_20_compatible(struct usb_device *udev) in usb_device_20_compatible()
939 struct usb_device *udev; in uhub_suspend_resume_port() local
1028 uhub_is_too_deep(struct usb_device *udev) in uhub_is_too_deep()
1055 uhub_explore(struct usb_device *udev) in uhub_explore()
[all …]
Dusb_dynamic.c47 usb_temp_setup_by_index_w(struct usb_device *udev, uint16_t index) in usb_temp_setup_by_index_w()
65 usb_temp_get_desc_w(struct usb_device *udev, struct usb_device_request *req, const void **pPtr, uin… in usb_temp_get_desc_w()
72 usb_temp_unsetup_w(struct usb_device *udev) in usb_temp_unsetup_w()
Dusb_generic.c93 struct usb_device *udev = f->udev; in ugen_transfer_setup() local
617 struct usb_device *udev = f->udev; in ugen_get_cdesc() local
713 struct usb_device *udev = f->udev; in ugen_get_iface_driver() local
778 struct usb_device *udev = NULL; in usb_gen_fill_deviceinfo() local
824 ugen_check_request(struct usb_device *udev, struct usb_device_request *req) in ugen_check_request()
904 struct usb_device *udev = f->udev; in ugen_re_enumerate() local
1774 struct usb_device *udev = f->udev; in ugen_set_power_mode() local
1863 struct usb_device *udev = f->udev; in ugen_get_power_mode() local
1874 struct usb_device *udev = f->udev; in ugen_get_port_path() local
1913 struct usb_device *udev = f->udev; in ugen_get_power_usage() local
[all …]
/third_party/libinput/test/
Dtest-udev.c55 struct udev *udev; in START_TEST() local
81 struct udev *udev; in START_TEST() local
109 struct udev *udev; in START_TEST() local
136 struct udev *udev; in START_TEST() local
161 struct udev *udev; in START_TEST() local
186 struct udev *udev; in START_TEST() local
231 struct udev *udev; in START_TEST() local
303 struct udev *udev; in START_TEST() local
335 struct udev *udev; in START_TEST() local
386 struct udev *udev; in START_TEST() local
[all …]
/third_party/eudev/test/
Dtest-libudev.c111 static int test_device(struct udev *udev, const char *syspath) { in test_device()
125 static int test_device_parents(struct udev *udev, const char *syspath) { in test_device_parents()
151 static int test_device_devnum(struct udev *udev) { in test_device_devnum()
164 static int test_device_subsys_name(struct udev *udev) { in test_device_subsys_name()
218 static int test_monitor(struct udev *udev) { in test_monitor()
297 static int test_queue(struct udev *udev) { in test_queue()
311 static int test_enumerate(struct udev *udev, const char *subsystem) { in test_enumerate()
392 static void test_hwdb(struct udev *udev, const char *modalias) { in test_hwdb()
407 struct udev *udev = NULL; in main() local
Dudev-test.pl1309 sub udev { subroutine
/third_party/eudev/src/udev/
Dudev-watch.c39 int udev_watch_init(struct udev *udev) { in udev_watch_init()
49 void udev_watch_restore(struct udev *udev) { in udev_watch_restore()
95 void udev_watch_begin(struct udev *udev, struct udev_device *dev) { in udev_watch_begin()
121 void udev_watch_end(struct udev *udev, struct udev_device *dev) { in udev_watch_end()
141 struct udev_device *udev_watch_lookup(struct udev *udev, int wd) { in udev_watch_lookup()
Dudev-builtin-kmod.c36 static int load_module(struct udev *udev, const char *alias) { in load_module()
71 struct udev *udev = udev_device_get_udev(dev); in builtin_kmod() local
91 static int builtin_kmod_init(struct udev *udev) { in builtin_kmod_init()
106 static void builtin_kmod_exit(struct udev *udev) { in builtin_kmod_exit()
112 static bool builtin_kmod_validate(struct udev *udev) { in builtin_kmod_validate()
Dudevadm.c29 static int adm_version(struct udev *udev, int argc, char *argv[]) { in adm_version()
59 static int adm_help(struct udev *udev, int argc, char *argv[]) { in adm_help()
73 static int run_command(struct udev *udev, const struct udevadm_cmd *cmd, int argc, char *argv[]) { in run_command()
81 struct udev *udev; in main() local
Dudev.pc.in1 Name: udev name
Dudev-builtin.c48 void udev_builtin_init(struct udev *udev) { in udev_builtin_init()
61 void udev_builtin_exit(struct udev *udev) { in udev_builtin_exit()
74 bool udev_builtin_validate(struct udev *udev) { in udev_builtin_validate()
83 void udev_builtin_list(struct udev *udev) { in udev_builtin_list()
Dudevadm-test-builtin.c36 static void help(struct udev *udev) { in help()
47 static int adm_builtin(struct udev *udev, int argc, char *argv[]) { in adm_builtin()
Dudev-builtin-hwdb.c192 static int builtin_hwdb_init(struct udev *udev) { in builtin_hwdb_init()
202 static void builtin_hwdb_exit(struct udev *udev) { in builtin_hwdb_exit()
207 static bool builtin_hwdb_validate(struct udev *udev) { in builtin_hwdb_validate()
Dudevd.c88 struct udev *udev; member
120 struct udev *udev; member
169 static int worker_new(struct worker **ret, struct udev *udev, struct udev_monitor *worker_monitor, … in worker_new()
224 struct udev *udev = event->udev; in worker_spawn() local
587 static void event_queue_start(struct udev *udev) { in event_queue_start()
604 static void event_queue_cleanup(struct udev *udev, enum event_state match_type) { in event_queue_cleanup()
797 struct udev *udev = udev_device_get_udev(dev); in synthesize_change() local
891 static int handle_inotify(struct udev *udev) { in handle_inotify()
923 static void handle_signal(struct udev *udev, int signo) { in handle_signal()
1125 struct udev *udev; in main() local
Dudevadm-info.c175 static int export_devices(struct udev *udev) { in export_devices()
224 static void cleanup_db(struct udev *udev) { in cleanup_db()
285 static int uinfo(struct udev *udev, int argc, char *argv[]) { in uinfo()
/third_party/eudev/src/scsi_id/
Dscsi_serial.c107 static int sg_err_category_new(struct udev *udev, in sg_err_category_new()
162 static int sg_err_category3(struct udev *udev, struct sg_io_hdr *hp) in sg_err_category3()
170 static int sg_err_category4(struct udev *udev, struct sg_io_v4 *hp) in sg_err_category4()
178 static int scsi_dump_sense(struct udev *udev, in scsi_dump_sense()
276 static int scsi_dump(struct udev *udev, in scsi_dump()
296 static int scsi_dump_v4(struct udev *udev, in scsi_dump_v4()
318 static int scsi_inquiry(struct udev *udev, in scsi_inquiry()
412 static int do_scsi_page0_inquiry(struct udev *udev, in do_scsi_page0_inquiry()
456 static int prepend_vendor_model(struct udev *udev, in prepend_vendor_model()
481 static int check_fill_0x83_id(struct udev *udev, in check_fill_0x83_id()
[all …]
Dscsi_id.c163 static int get_file_options(struct udev *udev, in get_file_options()
328 static int set_options(struct udev *udev, in set_options()
417 static int per_dev_options(struct udev *udev, in per_dev_options()
472 static int set_inq_values(struct udev *udev, struct scsi_id_device *dev_scsi, const char *path) in set_inq_values()
499 static int scsi_id(struct udev *udev, char *maj_min_dev) in scsi_id()
578 _cleanup_udev_unref_ struct udev *udev; in main() local
/third_party/eudev/src/cdrom_id/
Dcdrom_id.c129 static void info_scsi_cmd_err(struct udev *udev, const char *cmd, int err) in info_scsi_cmd_err()
147 static void scsi_cmd_init(struct udev *udev, struct scsi_cmd *cmd) in scsi_cmd_init()
159 static void scsi_cmd_set(struct udev *udev, struct scsi_cmd *cmd, size_t i, unsigned char arg) in scsi_cmd_set()
167 static int scsi_cmd_run(struct udev *udev, struct scsi_cmd *cmd, int fd, unsigned char *buf, size_t… in scsi_cmd_run()
193 static int media_lock(struct udev *udev, int fd, bool lock) in media_lock()
209 static int media_eject(struct udev *udev, int fd) in media_eject()
226 static int cd_capability_compat(struct udev *udev, int fd) in cd_capability_compat()
253 static int cd_media_compat(struct udev *udev, int fd) in cd_media_compat()
263 static int cd_inquiry(struct udev *udev, int fd) in cd_inquiry()
288 static void feature_profile_media(struct udev *udev, int cur_profile) in feature_profile_media()
[all …]
/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c330 struct usb_device *udev; in usb_bus_explore() local
392 struct usb_device *udev; in usb_bus_detach() local
426 struct usb_device *udev; in usb_bus_suspend() local
483 struct usb_device *udev; in usb_bus_resume() local
566 struct usb_device *udev; in usb_bus_shutdown() local
914 usb_proc_explore_mwait(struct usb_device *udev, void *pm1, void *pm2) in usb_proc_explore_mwait()
920 usb_proc_explore_msignal(struct usb_device *udev, void *pm1, void *pm2) in usb_proc_explore_msignal()
926 usb_proc_explore_lock(struct usb_device *udev) in usb_proc_explore_lock()
932 usb_proc_explore_unlock(struct usb_device *udev) in usb_proc_explore_unlock()
Dxhci.c1340 xhci_set_address(struct usb_device *udev, struct mtx *mtx, uint16_t address) in xhci_set_address()
2257 xhci_configure_mask(struct usb_device *udev, uint32_t mask, uint8_t drop) in xhci_configure_mask()
2313 xhci_configure_endpoint(struct usb_device *udev, in xhci_configure_endpoint()
2515 xhci_configure_device(struct usb_device *udev) in xhci_configure_device()
2685 xhci_alloc_device_ext(struct usb_device *udev) in xhci_alloc_device_ext()
2769 xhci_free_device_ext(struct usb_device *udev) in xhci_free_device_ext()
2785 xhci_get_endpoint_ext(struct usb_device *udev, struct usb_endpoint_descriptor *edesc) in xhci_get_endpoint_ext()
3255 xhci_roothub_exec(struct usb_device *udev, in xhci_roothub_exec()
3788 struct usb_device *udev; in xhci_configure_reset_endpoint() local
3977 xhci_ep_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, in xhci_ep_init()
[all …]

1234