Searched refs:line_ctl (Results 1 – 2 of 2) sorted by relevance
2117 pl2303_mctl2reg(int mask, int val, uint8_t *line_ctl) in pl2303_mctl2reg() argument2121 *line_ctl |= PL2303_CONTROL_RTS; in pl2303_mctl2reg()2123 *line_ctl &= ~PL2303_CONTROL_RTS; in pl2303_mctl2reg()2128 *line_ctl |= PL2303_CONTROL_DTR; in pl2303_mctl2reg()2130 *line_ctl &= ~PL2303_CONTROL_DTR; in pl2303_mctl2reg()2140 pl2303_reg2mctl(uint8_t line_ctl) in pl2303_reg2mctl() argument2144 if (line_ctl & PL2303_CONTROL_RTS) { in pl2303_reg2mctl()2147 if (line_ctl & PL2303_CONTROL_DTR) { in pl2303_reg2mctl()
2658 usbsacm_mctl2reg(int mask, int val, uint8_t *line_ctl) in usbsacm_mctl2reg() argument2662 *line_ctl |= USB_CDC_ACM_CONTROL_RTS; in usbsacm_mctl2reg()2664 *line_ctl &= ~USB_CDC_ACM_CONTROL_RTS; in usbsacm_mctl2reg()2669 *line_ctl |= USB_CDC_ACM_CONTROL_DTR; in usbsacm_mctl2reg()2671 *line_ctl &= ~USB_CDC_ACM_CONTROL_DTR; in usbsacm_mctl2reg()2682 usbsacm_reg2mctl(uint8_t line_ctl) in usbsacm_reg2mctl() argument2686 if (line_ctl & USB_CDC_ACM_CONTROL_RTS) { in usbsacm_reg2mctl()2689 if (line_ctl & USB_CDC_ACM_CONTROL_DTR) { in usbsacm_reg2mctl()2692 if (line_ctl & USB_CDC_ACM_CONTROL_DSR) { in usbsacm_reg2mctl()2695 if (line_ctl & USB_CDC_ACM_CONTROL_RNG) { in usbsacm_reg2mctl()