Searched refs:line_coding (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/usb/device/class/ |
D | cdc_acm.c | 119 struct cdc_acm_line_coding line_coding; member 173 rate = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_class_handle_req() 174 memcpy(&dev_data->line_coding, *data, in cdc_acm_class_handle_req() 175 sizeof(dev_data->line_coding)); in cdc_acm_class_handle_req() 176 new_rate = sys_le32_to_cpu(dev_data->line_coding.dwDTERate); in cdc_acm_class_handle_req() 179 dev_data->line_coding.bCharFormat, in cdc_acm_class_handle_req() 180 dev_data->line_coding.bParityType, in cdc_acm_class_handle_req() 181 dev_data->line_coding.bDataBits); in cdc_acm_class_handle_req() 200 *data = (uint8_t *)(&dev_data->line_coding); in cdc_acm_class_handle_req() 201 *len = sizeof(dev_data->line_coding); in cdc_acm_class_handle_req() [all …]
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_cdc_acm.c | 91 struct cdc_acm_line_coding line_coding; member 349 cfg->baudrate = sys_le32_to_cpu(data->line_coding.dwDTERate); in cdc_acm_update_uart_cfg() 351 switch (data->line_coding.bCharFormat) { in cdc_acm_update_uart_cfg() 364 switch (data->line_coding.bParityType) { in cdc_acm_update_uart_cfg() 383 switch (data->line_coding.bDataBits) { in cdc_acm_update_uart_cfg() 432 min_len = MIN(sizeof(data->line_coding), setup->wLength); in usbd_cdc_acm_cth() 433 net_buf_add_mem(buf, &data->line_coding, min_len); in usbd_cdc_acm_cth() 456 len = sizeof(data->line_coding); in usbd_cdc_acm_ctd() 462 memcpy(&data->line_coding, buf->data, len); in usbd_cdc_acm_ctd() 1256 .line_coding = CDC_ACM_DEFAULT_LINECODING, \
|