Home
last modified time | relevance | path

Searched refs:serial_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c123 uint8_t serial_state; member
369 dev_data->serial_state = 0; in cdc_acm_reset_port()
770 uint16_t serial_state) in cdc_acm_send_notification() argument
781 notification.wLength = sys_cpu_to_le16(sizeof(serial_state)); in cdc_acm_send_notification()
782 notification.data = sys_cpu_to_le16(serial_state); in cdc_acm_send_notification()
821 dev_data->serial_state &= ~SERIAL_STATE_RX_CARRIER; in cdc_acm_line_ctrl_set()
824 dev_data->serial_state |= SERIAL_STATE_RX_CARRIER; in cdc_acm_line_ctrl_set()
829 dev_data->serial_state &= ~SERIAL_STATE_TX_CARRIER; in cdc_acm_line_ctrl_set()
832 dev_data->serial_state |= SERIAL_STATE_TX_CARRIER; in cdc_acm_line_ctrl_set()
834 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()
[all …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c95 uint16_t serial_state; member
497 const uint16_t serial_state) in cdc_acm_send_notification() argument
505 .data = sys_cpu_to_le16(serial_state), in cdc_acm_send_notification()
963 data->serial_state |= flag; in cdc_acm_line_ctrl_set()
965 data->serial_state &= ~flag; in cdc_acm_line_ctrl_set()
968 return cdc_acm_send_notification(dev, data->serial_state); in cdc_acm_line_ctrl_set()