Home
last modified time | relevance | path

Searched refs:setup (Results 101 – 125 of 444) sorted by relevance

12345678910>>...18

/Zephyr-latest/tests/drivers/regulator/voltage/src/
Dmain.c110 void *setup(void) in setup() function
124 ZTEST_SUITE(regulator_voltage, NULL, setup, NULL, NULL, NULL);
/Zephyr-latest/drivers/serial/
Duart_sy1xx.c85 volatile uint32_t setup = 0x0306 | uart_cfg->parity; in sy1xx_uart_configure() local
87 setup |= ((divider) << 16); in sy1xx_uart_configure()
88 SY1XX_UDMA_WRITE_REG(config->base, SY1XX_UDMA_SETUP_REG, setup); in sy1xx_uart_configure()
/Zephyr-latest/samples/net/sockets/coap_download/
DREADME.rst35 native_sim application. Some setup is required as described in
56 Launch :command:`net-setup.sh` in net-tools:
60 ./net-setup.sh
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c152 int cdc_acm_class_handle_req(struct usb_setup_packet *setup, in cdc_acm_class_handle_req() argument
161 (uint8_t)setup->wIndex); in cdc_acm_class_handle_req()
164 setup->wIndex); in cdc_acm_class_handle_req()
170 if (usb_reqtype_is_to_device(setup)) { in cdc_acm_class_handle_req()
171 switch (setup->bRequest) { in cdc_acm_class_handle_req()
190 dev_data->line_state = (uint8_t)setup->wValue; in cdc_acm_class_handle_req()
199 if (setup->bRequest == GET_LINE_CODING) { in cdc_acm_class_handle_req()
212 setup->bmRequestType, setup->bRequest); in cdc_acm_class_handle_req()
/Zephyr-latest/include/zephyr/usb/class/
Dusb_hid.h38 struct usb_setup_packet *setup, int32_t *len,
/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c213 static void *setup(void) in setup() function
241 ZTEST_SUITE(log_blocking, NULL, setup, before, NULL, teardown);
/Zephyr-latest/doc/connectivity/networking/
Deth_bridge_native_sim_setup.rst13 This setup is useful when testing the Ethernet bridging feature that can be enabled with
14 :kconfig:option:`CONFIG_NET_ETHERNET_BRIDGE` Kconfig option. In this setup, the net-tools
23 ./net-setup.sh -c zeth-multiface.conf -i zeth0 -t 2
71 bridging API directly from the application. We setup the bridging using the bridge shell like
175 values might be different in your setup.
/Zephyr-latest/doc/develop/getting_started/
Dinstallation_mac.rst1 .. _mac-setup-alts:
3 macOS alternative setup instructions
/Zephyr-latest/tests/subsys/logging/log_stress/src/
Dmain.c203 static void *setup(void) in setup() function
231 ZTEST_SUITE(log_stress, NULL, setup, before, after, teardown);
/Zephyr-latest/tests/drivers/console_switching/src/
Dmain.c101 static void *setup(void) in setup() function
124 ZTEST_SUITE(console_switching, NULL, setup, before, NULL, NULL);
/Zephyr-latest/drivers/usb/udc/
Dudc_mcux_ehci.c187 static int udc_mcux_handler_setup(const struct device *dev, struct usb_setup_packet *setup) in udc_mcux_handler_setup() argument
201 memcpy(buf->data, setup, 8); in udc_mcux_handler_setup()
204 if (setup->RequestType.type == USB_REQTYPE_TYPE_STANDARD && in udc_mcux_handler_setup()
205 setup->RequestType.direction == USB_REQTYPE_DIR_TO_DEVICE && in udc_mcux_handler_setup()
206 setup->bRequest == USB_SREQ_SET_ADDRESS && in udc_mcux_handler_setup()
207 setup->wLength == 0) { in udc_mcux_handler_setup()
209 &setup->wValue); in udc_mcux_handler_setup()
470 struct usb_setup_packet *setup = in udc_mcux_work_handler() local
473 err = udc_mcux_handler_setup(ev->dev, setup); in udc_mcux_work_handler()
Dudc_mcux_ip3511.c187 static int udc_mcux_handler_setup(const struct device *dev, struct usb_setup_packet *setup) in udc_mcux_handler_setup() argument
201 memcpy(buf->data, setup, 8); in udc_mcux_handler_setup()
204 if (setup->RequestType.type == USB_REQTYPE_TYPE_STANDARD && in udc_mcux_handler_setup()
205 setup->RequestType.direction == USB_REQTYPE_DIR_TO_DEVICE && in udc_mcux_handler_setup()
206 setup->bRequest == USB_SREQ_SET_ADDRESS && in udc_mcux_handler_setup()
207 setup->wLength == 0) { in udc_mcux_handler_setup()
209 &setup->wValue); in udc_mcux_handler_setup()
470 struct usb_setup_packet *setup = in udc_mcux_work_handler() local
473 err = udc_mcux_handler_setup(ev->dev, setup); in udc_mcux_work_handler()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.h126 return &uds_ctx->ch9_data.setup; in usbd_get_setup_pkt()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c419 const struct usb_setup_packet *const setup, in usbd_cdc_acm_cth() argument
426 if (setup->bRequest == GET_LINE_CODING) { in usbd_cdc_acm_cth()
432 min_len = MIN(sizeof(data->line_coding), setup->wLength); in usbd_cdc_acm_cth()
439 setup->bmRequestType, setup->bRequest); in usbd_cdc_acm_cth()
446 const struct usb_setup_packet *const setup, in usbd_cdc_acm_ctd() argument
454 switch (setup->bRequest) { in usbd_cdc_acm_ctd()
457 if (setup->wLength != len) { in usbd_cdc_acm_ctd()
468 data->line_state = setup->wValue; in usbd_cdc_acm_ctd()
478 setup->bmRequestType, setup->bRequest); in usbd_cdc_acm_ctd()
Dusbd_msc.c682 const struct usb_setup_packet *const setup, in msc_bot_control_to_dev() argument
685 if (setup->bRequest == BULK_ONLY_MASS_STORAGE_RESET && in msc_bot_control_to_dev()
686 setup->wValue == 0 && setup->wLength == 0) { in msc_bot_control_to_dev()
697 const struct usb_setup_packet *const setup, in msc_bot_control_to_host() argument
703 if (setup->bRequest == GET_MAX_LUN && in msc_bot_control_to_host()
704 setup->wValue == 0 && setup->wLength >= 1) { in msc_bot_control_to_host()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c855 static int rndis_class_handler(struct usb_setup_packet *setup, int32_t *len, in rndis_class_handler() argument
859 *len, setup->bmRequestType, setup->bRequest, in rndis_class_handler()
867 if (usb_reqtype_is_to_device(setup)) { in rndis_class_handler()
868 if (setup->bRequest == CDC_SEND_ENC_CMD) { in rndis_class_handler()
876 if (setup->bRequest == CDC_GET_ENC_RSP) { in rndis_class_handler()
882 setup->bRequest, setup->bmRequestType); in rndis_class_handler()
/Zephyr-latest/doc/_extensions/zephyr/
Dhtml_redirects.py54 def setup(app): function
/Zephyr-latest/tests/cmake/config_dir/
DCMakeLists.txt10 # We expect a board config setup
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/
Dmain.c27 static void *setup(void) in setup() function
226 ZTEST_SUITE(nrf_onoff_and_bt, NULL, setup, NULL, NULL, NULL);
/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c1538 struct litex_clk_setup *setup = sys; in litex_clk_get_subsys_rate() local
1541 lcko = &ldev->clkouts[setup->clkout_nr]; in litex_clk_get_subsys_rate()
1550 struct litex_clk_setup *setup = sys; in litex_clk_get_status() local
1555 lcko = &ldev->clkouts[setup->clkout_nr]; in litex_clk_get_status()
1557 setup->rate = litex_clk_calc_rate(lcko); in litex_clk_get_status()
1562 setup->duty = litex_clk_calc_duty_percent(&duty); in litex_clk_get_status()
1563 setup->phase = litex_clk_get_phase(lcko); in litex_clk_get_status()
1570 struct litex_clk_setup *setup = sys; in litex_clk_on() local
1576 lcko = &ldev->clkouts[setup->clkout_nr]; in litex_clk_on()
1578 if (lcko->config.freq != setup->rate) { in litex_clk_on()
[all …]
/Zephyr-latest/doc/develop/toolchains/
Dintel_oneapi_toolkit.rst19 To setup the complete oneApi environment, use::
/Zephyr-latest/snippets/xen_dom0/
DREADME.rst16 * add correct memory and hypervisor nodes, based on regions Xen picked for Domain-0 on your setup.
35 To run such setup, you need to:
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c235 static void *setup(void) in setup() function
250 ZTEST_SUITE(icmpv6_fn, NULL, setup, NULL, NULL, NULL);
/Zephyr-latest/boards/arduino/nano_33_ble/support/
Dstartup.cmm38 ; CPU setup
47 ; RTOS setup
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dcnd.c146 static void *setup(void) in setup() function
172 ZTEST_SUITE(libc_cnd, NULL, setup, before, after, NULL);

12345678910>>...18