Searched refs:new_cfg (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_esp32.c | 722 struct esp32_clock_config *new_cfg = data; in clock_control_esp32_configure() local 727 rtc_clk_fast_src_set(new_cfg->rtc.rtc_fast_clock_src); in clock_control_esp32_configure() 730 ret = esp32_select_rtc_slow_clk(new_cfg->rtc.rtc_slow_clock_src); in clock_control_esp32_configure() 734 new_cfg->cpu.xtal_freq = new_cfg->cpu.xtal_freq > MHZ(1) in clock_control_esp32_configure() 735 ? new_cfg->cpu.xtal_freq / MHZ(1) in clock_control_esp32_configure() 736 : new_cfg->cpu.xtal_freq; in clock_control_esp32_configure() 737 new_cfg->cpu.cpu_freq = new_cfg->cpu.cpu_freq > MHZ(1) in clock_control_esp32_configure() 738 ? new_cfg->cpu.cpu_freq / MHZ(1) in clock_control_esp32_configure() 739 : new_cfg->cpu.cpu_freq; in clock_control_esp32_configure() 740 ret = esp32_cpu_clock_configure(&new_cfg->cpu); in clock_control_esp32_configure()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_trigger.c | 153 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()
|
D | icm42688_trigger.h | 32 int icm42688_trigger_enable_interrupt(const struct device *dev, struct icm42688_cfg *new_cfg);
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_config.c | 107 const uint8_t new_cfg) in usbd_config_set() argument 121 if (new_cfg == 0) { in usbd_config_set() 122 usbd_set_config_value(uds_ctx, new_cfg); in usbd_config_set() 126 cfg_nd = usbd_config_get(uds_ctx, speed, new_cfg); in usbd_config_set() 136 usbd_set_config_value(uds_ctx, new_cfg); in usbd_config_set()
|
D | usbd_config.h | 90 int usbd_config_set(struct usbd_context *uds_ctx, uint8_t new_cfg);
|
D | usbd_interface.c | 147 const uint8_t new_cfg = desc->bConfigurationValue; in usbd_interface_default() local 154 class = usbd_class_get_by_config(uds_ctx, speed, new_cfg, i); in usbd_interface_default()
|
/Zephyr-latest/drivers/serial/ |
D | uart_sam0.c | 391 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 …]
|