Lines Matching refs:serial_state
123 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()
837 dev_data->serial_state &= ~SERIAL_STATE_BREAK; in cdc_acm_line_ctrl_set()
840 dev_data->serial_state |= SERIAL_STATE_BREAK; in cdc_acm_line_ctrl_set()
842 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()
845 dev_data->serial_state &= ~SERIAL_STATE_RING_SIGNAL; in cdc_acm_line_ctrl_set()
848 dev_data->serial_state |= SERIAL_STATE_RING_SIGNAL; in cdc_acm_line_ctrl_set()
850 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()
853 dev_data->serial_state &= ~SERIAL_STATE_FRAMING; in cdc_acm_line_ctrl_set()
856 dev_data->serial_state |= SERIAL_STATE_FRAMING; in cdc_acm_line_ctrl_set()
858 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()
861 dev_data->serial_state &= ~SERIAL_STATE_PARITY; in cdc_acm_line_ctrl_set()
864 dev_data->serial_state |= SERIAL_STATE_PARITY; in cdc_acm_line_ctrl_set()
866 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()
869 dev_data->serial_state &= ~SERIAL_STATE_OVER_RUN; in cdc_acm_line_ctrl_set()
872 dev_data->serial_state |= SERIAL_STATE_OVER_RUN; in cdc_acm_line_ctrl_set()
874 cdc_acm_send_notification(dev, dev_data->serial_state); in cdc_acm_line_ctrl_set()