Searched refs:serial_state (Results 1 – 2 of 2) sorted by relevance
123 uint8_t serial_state; member369 dev_data->serial_state = 0; in cdc_acm_reset_port()770 uint16_t serial_state) in cdc_acm_send_notification() argument781 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 …]
95 uint16_t serial_state; member497 const uint16_t serial_state) in cdc_acm_send_notification() argument505 .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()