Home
last modified time | relevance | path

Searched refs:new_cfg (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.6.0/subsys/usb/device_next/
Dusbd_config.c91 const uint8_t new_cfg) in usbd_config_set() argument
104 if (new_cfg == 0) { in usbd_config_set()
105 usbd_set_config_value(uds_ctx, new_cfg); in usbd_config_set()
109 cfg_nd = usbd_config_get(uds_ctx, new_cfg); in usbd_config_set()
119 usbd_set_config_value(uds_ctx, new_cfg); in usbd_config_set()
Dusbd_config.h86 int usbd_config_set(struct usbd_contex *uds_ctx, uint8_t new_cfg);
Dusbd_interface.c146 const uint8_t new_cfg = desc->bConfigurationValue; in usbd_interface_default() local
153 class = usbd_class_get_by_config(uds_ctx, new_cfg, i); in usbd_interface_default()
/Zephyr-Core-3.6.0/drivers/sensor/icm42688/
Dicm42688_trigger.c153 int icm42688_trigger_enable_interrupt(const struct device *dev, struct icm42688_cfg *new_cfg) in icm42688_trigger_enable_interrupt() argument
174 if (new_cfg->interrupt1_drdy) { in icm42688_trigger_enable_interrupt()
177 if (new_cfg->interrupt1_fifo_ths) { in icm42688_trigger_enable_interrupt()
180 if (new_cfg->interrupt1_fifo_full) { in icm42688_trigger_enable_interrupt()
Dicm42688_trigger.h32 int icm42688_trigger_enable_interrupt(const struct device *dev, struct icm42688_cfg *new_cfg);
/Zephyr-Core-3.6.0/drivers/serial/
Duart_sam0.c391 const struct uart_config *new_cfg) in uart_sam0_configure() argument
404 if (new_cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in uart_sam0_configure()
411 dev_data->config_cache.flow_ctrl = new_cfg->flow_ctrl; in uart_sam0_configure()
416 switch (new_cfg->parity) { in uart_sam0_configure()
432 dev_data->config_cache.parity = new_cfg->parity; in uart_sam0_configure()
434 switch (new_cfg->stop_bits) { in uart_sam0_configure()
445 dev_data->config_cache.stop_bits = new_cfg->stop_bits; in uart_sam0_configure()
447 switch (new_cfg->data_bits) { in uart_sam0_configure()
467 dev_data->config_cache.data_bits = new_cfg->data_bits; in uart_sam0_configure()
479 retval = uart_sam0_set_baudrate(usart, new_cfg->baudrate, in uart_sam0_configure()
[all …]