Searched refs:new_cfg (Results 1 – 4 of 4) sorted by relevance
91 const uint8_t new_cfg) in usbd_config_set() argument104 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()
86 int usbd_config_set(struct usbd_contex *uds_ctx, uint8_t new_cfg);
146 const uint8_t new_cfg = desc->bConfigurationValue; in usbd_interface_default() local153 class = usbd_class_get_by_config(uds_ctx, new_cfg, i); in usbd_interface_default()
391 const struct uart_config *new_cfg) in uart_sam0_configure() argument404 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 …]