Home
last modified time | relevance | path

Searched refs:udev (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/subsys/usb/host/
Dusbh_ch9.c29 static int ch9_req_cb(struct usb_device *const udev, struct uhc_transfer *const xfer) in ch9_req_cb() argument
37 int usbh_req_setup(struct usb_device *const udev, in usbh_req_setup() argument
56 xfer = usbh_xfer_alloc(udev, ep, 0, 64, SETUP_REQ_TIMEOUT, (void *)ch9_req_cb); in usbh_req_setup()
66 ret = usbh_xfer_buf_add(udev, xfer, buf); in usbh_req_setup()
72 ret = usbh_xfer_enqueue(udev, xfer); in usbh_req_setup()
81 usbh_xfer_free(udev, xfer); in usbh_req_setup()
86 int usbh_req_desc(struct usb_device *const udev, in usbh_req_desc() argument
96 return usbh_req_setup(udev, in usbh_req_desc()
101 int usbh_req_desc_dev(struct usb_device *const udev, in usbh_req_desc_dev() argument
109 buf = usbh_xfer_buf_alloc(udev, wLength); in usbh_req_desc_dev()
[all …]
Dusbh_device.h32 typedef int (*usbh_udev_cb_t)(struct usb_device *const udev,
42 static inline struct uhc_transfer *usbh_xfer_alloc(struct usb_device *udev, in usbh_xfer_alloc() argument
49 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_alloc()
51 return uhc_xfer_alloc(ctx->dev, udev->addr, ep, attrib, mps, timeout, udev, cb); in usbh_xfer_alloc()
54 static inline int usbh_xfer_buf_add(const struct usb_device *udev, in usbh_xfer_buf_add() argument
58 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_buf_add()
63 static inline struct net_buf *usbh_xfer_buf_alloc(struct usb_device *udev, in usbh_xfer_buf_alloc() argument
66 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_buf_alloc()
71 static inline int usbh_xfer_free(const struct usb_device *udev, in usbh_xfer_free() argument
74 struct usbh_contex *const ctx = udev->ctx; in usbh_xfer_free()
[all …]
Dusbh_ch9.h15 int usbh_req_setup(struct usb_device *const udev,
23 int usbh_req_desc(struct usb_device *const udev,
29 int usbh_req_desc_dev(struct usb_device *const udev,
32 int usbh_req_desc_cfg(struct usb_device *const udev,
37 int usbh_req_set_alt(struct usb_device *const udev,
41 int usbh_req_set_address(struct usb_device *const udev,
44 int usbh_req_set_cfg(struct usb_device *const udev,
47 int usbh_req_get_cfg(struct usb_device *const udev,
50 int usbh_req_set_sfs_rwup(struct usb_device *const udev);
52 int usbh_req_clear_sfs_rwup(struct usb_device *const udev);
[all …]
Dusbh_shell.c25 static struct usb_device *udev; variable
70 xfer = usbh_xfer_alloc(udev, ep, 0, 512, 10, NULL); in cmd_bulk()
75 buf = usbh_xfer_buf_alloc(udev, len); in cmd_bulk()
100 buf = usbh_xfer_buf_alloc(udev, wLength); in cmd_vendor_in()
106 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_in()
111 usbh_xfer_buf_free(udev, buf); in cmd_vendor_in()
128 buf = usbh_xfer_buf_alloc(udev, wLength); in cmd_vendor_out()
135 ret = usbh_req_setup(udev, bmRequestType, bRequest, wValue, 0, wLength, buf); in cmd_vendor_out()
136 usbh_xfer_buf_free(udev, buf); in cmd_vendor_out()
147 err = usbh_req_desc_dev(udev, &desc); in cmd_desc_device()
[all …]
Dusbh_core.c51 struct usb_device *const udev = event->xfer->udev; in usbh_event_handler() local
55 ret = cb(udev, event->xfer); in usbh_event_handler()
/Zephyr-latest/tests/subsys/usb/device_next/src/
Dmain.c43 struct usb_device *udev; in ZTEST() local
47 udev = usbh_device_get_any(&uhs_ctx); in ZTEST()
48 err = usbh_req_get_cfg(udev, &cfg); in ZTEST()
50 switch (udev->state) { in ZTEST()
73 struct usb_device *udev; in ZTEST() local
76 udev = usbh_device_get_any(&uhs_ctx); in ZTEST()
77 err = usbh_req_set_alt(udev, TEST_DEFAULT_INTERFACE, in ZTEST()
80 switch (udev->state) { in ZTEST()
96 struct usb_device *udev; in usb_test_enable() local
163 udev = usbh_device_get_any(&uhs_ctx); in usb_test_enable()
[all …]
/Zephyr-latest/drivers/usb/uhc/
Duhc_common.c100 void *const udev, in uhc_xfer_alloc() argument
126 xfer->udev = udev; in uhc_xfer_alloc()
141 void *const udev, in uhc_xfer_alloc_with_buf() argument
153 xfer = uhc_xfer_alloc(dev, addr, ep, attrib, mps, timeout, udev, cb); in uhc_xfer_alloc_with_buf()
/Zephyr-latest/include/zephyr/drivers/usb/
Duhc.h71 void *udev; member
355 void *const udev,
381 void *const udev,
/Zephyr-latest/samples/subsys/usb/cdc_acm/
DREADME.rst89 You can add or extend the udev rule for your board to inform
98 ``/lib/udev/rules.d/77-mm-usb-device-blacklist.rules`` as reference.
/Zephyr-latest/doc/develop/
Dbeyond-GSG.rst233 .. _setting-udev-rules:
235 Setting udev rules
241 define udev rules to grant the needed access permission.
243 Udev is a device manager for the Linux kernel and the udev daemon
259 sudo cp 60-openocd.rules /etc/udev/rules.d
263 …ALL_DIR}/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
265 Then, in either case, ask the udev daemon to reload these rules::
/Zephyr-latest/boards/96boards/nitrogen/doc/
Dindex.rst254 To fix the permission issue, simply add the following udev rule for the
259 …ct}=="0204", ATTR{idVendor}=="0d28", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/50-cmsis-da…
270 To fix the above error, add the udev rule shown in the previous section
/Zephyr-latest/doc/develop/flash_debug/
Dnordic_segger.rst112 You can also `blacklist Segger devices by editing udev rules`_ so ModemManager
118 >> /etc/udev/rules.d/99-segger-modemmanager-blacklist.rules'
119 sudo service udev restart
248 .. _blacklist Segger devices by editing udev rules: http://www.at91.com/linux4sam/bin/view/Linux4SA…
/Zephyr-latest/boards/openisa/rv32m1_vega/doc/
Dindex.rst476 to install the `60-openocd.rules`_ udev rules file (usually by
477 placing it in :file:`/etc/udev/rules.d`, then unplugging and
620 to install the `60-openocd.rules`_ udev rules file (usually by
621 placing it in :file:`/etc/udev/rules.d`, then unplugging and
648 - On Linux, make sure udev rules are installed, as described above.
665 to install the `60-openocd.rules`_ udev rules file (usually by
666 placing it in :file:`/etc/udev/rules.d`, then unplugging and
707 - On Linux, make sure udev rules are installed, as described above.
/Zephyr-latest/doc/develop/toolchains/
Dzephyr_sdk.rst134 #. Install `udev <https://en.wikipedia.org/wiki/Udev>`_ rules, which
139 …n-trim| /sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
/Zephyr-latest/boards/phytec/phyboard_pollux/doc/
Dindex.rst177 udev rule (as ``root``) to fix a permission issue when not using root for
182 …ct}=="0a70", ATTR{idVendor}=="10c4", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/50-usb-uart…
/Zephyr-latest/boards/andestech/adp_xc7k_ae350/doc/
Dindex.rst257 :file:`70-ndsusb-v1.rules` udev rules file (usually by placing it in
258 :file:`/etc/udev/rules.d`, then unplugging and plugging the
/Zephyr-latest/boards/wiznet/w5500_evb_pico/doc/
Dindex.rst160 To use PicoProbe, You must configure **udev**.
162 Create a file in /etc/udev.rules.d with any name, and write the line below.
/Zephyr-latest/boards/raspberrypi/rpi_pico/doc/
Dindex.rst198 To use CMSIS-DAP, You must configure **udev**.
200 Create a file in /etc/udev.rules.d with any name, and write the line below.
/Zephyr-latest/doc/develop/getting_started/
Dindex.rst522 When using Linux, you may need to configure udev rules the first time
524 Please also see :ref:`setting-udev-rules`.
/Zephyr-latest/boards/phytec/reel_board/doc/
Dindex.rst481 If you use Linux, create a udev rule (as ``root``) to fix a permission issue
486 …ct}=="0204", ATTR{idVendor}=="0d28", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/50-cmsis-da…
/Zephyr-latest/boards/microchip/mec172xmodular_assy6930/doc/
Dmec172xmodular_assy6930.rst163 from the ``SF100Linux`` folder to the :code:`/etc/udev/rules.s` (or rules.d)
/Zephyr-latest/boards/altr/max10/doc/
Dindex.rst47 You may need to adjust your udev rules so that you can talk to the USB Blaster
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/doc/
Dindex.rst273 from the ``SF100Linux`` folder to the :code:`/etc/udev/rules.s` (or rules.d)
/Zephyr-latest/boards/microchip/mec15xxevb_assy6853/doc/
Dindex.rst245 from the ``SF100Linux`` folder to the :code:`/etc/udev/rules.s` (or rules.d)
/Zephyr-latest/boards/intel/socfpga_std/cyclonev_socdk/doc/
Dindex.rst71 You may need to adjust your udev rules so that you can talk to the USB Blaster

12