/Zephyr-latest/tests/drivers/regulator/voltage/src/ |
D | main.c | 110 void *setup(void) in setup() function 124 ZTEST_SUITE(regulator_voltage, NULL, setup, NULL, NULL, NULL);
|
/Zephyr-latest/drivers/serial/ |
D | uart_sy1xx.c | 85 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/ |
D | README.rst | 35 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/ |
D | cdc_acm.c | 152 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/ |
D | usb_hid.h | 38 struct usb_setup_packet *setup, int32_t *len,
|
/Zephyr-latest/tests/subsys/logging/log_blocking/src/ |
D | main.c | 213 static void *setup(void) in setup() function 241 ZTEST_SUITE(log_blocking, NULL, setup, before, NULL, teardown);
|
/Zephyr-latest/doc/connectivity/networking/ |
D | eth_bridge_native_sim_setup.rst | 13 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/ |
D | installation_mac.rst | 1 .. _mac-setup-alts: 3 macOS alternative setup instructions
|
/Zephyr-latest/tests/subsys/logging/log_stress/src/ |
D | main.c | 203 static void *setup(void) in setup() function 231 ZTEST_SUITE(log_stress, NULL, setup, before, after, teardown);
|
/Zephyr-latest/tests/drivers/console_switching/src/ |
D | main.c | 101 static void *setup(void) in setup() function 124 ZTEST_SUITE(console_switching, NULL, setup, before, NULL, NULL);
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_mcux_ehci.c | 187 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()
|
D | udc_mcux_ip3511.c | 187 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/ |
D | usbd_ch9.h | 126 return &uds_ctx->ch9_data.setup; in usbd_get_setup_pkt()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_cdc_acm.c | 419 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()
|
D | usbd_msc.c | 682 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/ |
D | function_rndis.c | 855 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/ |
D | html_redirects.py | 54 def setup(app): function
|
/Zephyr-latest/tests/cmake/config_dir/ |
D | CMakeLists.txt | 10 # We expect a board config setup
|
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 27 static void *setup(void) in setup() function 226 ZTEST_SUITE(nrf_onoff_and_bt, NULL, setup, NULL, NULL, NULL);
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_litex.c | 1538 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/ |
D | intel_oneapi_toolkit.rst | 19 To setup the complete oneApi environment, use::
|
/Zephyr-latest/snippets/xen_dom0/ |
D | README.rst | 16 * 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/ |
D | main.c | 235 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/ |
D | startup.cmm | 38 ; CPU setup 47 ; RTOS setup
|
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | cnd.c | 146 static void *setup(void) in setup() function 172 ZTEST_SUITE(libc_cnd, NULL, setup, before, after, NULL);
|