Searched refs:urb_value (Results 1 – 3 of 3) sorted by relevance
286 __u16 urb_value = 0; /* Will hold the new flags */ in belkin_sa_set_termios() local324 urb_value = BELKIN_SA_BAUD(baud); in belkin_sa_set_termios()326 if (urb_value == 0) in belkin_sa_set_termios()327 urb_value = 1; in belkin_sa_set_termios()329 baud = BELKIN_SA_BAUD(urb_value); in belkin_sa_set_termios()333 if (BSA_USB_CMD(BELKIN_SA_SET_BAUDRATE_REQUEST, urb_value) < 0) in belkin_sa_set_termios()351 urb_value = (cflag & PARODD) ? BELKIN_SA_PARITY_ODD in belkin_sa_set_termios()354 urb_value = BELKIN_SA_PARITY_NONE; in belkin_sa_set_termios()355 if (BSA_USB_CMD(BELKIN_SA_SET_PARITY_REQUEST, urb_value) < 0) in belkin_sa_set_termios()361 urb_value = BELKIN_SA_DATA_BITS(tty_get_char_size(cflag)); in belkin_sa_set_termios()[all …]
136 unsigned urb_value; in update_mctrl() local145 urb_value = 0; in update_mctrl()147 urb_value |= UART_MCR_DTR; in update_mctrl()149 urb_value |= UART_MCR_RTS; in update_mctrl()151 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl()224 u16 urb_value = 0; /* will hold the new flags */ in ssu100_set_termios() local229 urb_value |= UART_LCR_PARITY; in ssu100_set_termios()231 urb_value |= SERIAL_EVEN_PARITY; in ssu100_set_termios()234 urb_value |= UART_LCR_WLEN(tty_get_char_size(cflag)); in ssu100_set_termios()248 urb_value = urb_value << 8; in ssu100_set_termios()[all …]
220 unsigned urb_value; in update_mctrl() local230 urb_value = 0; in update_mctrl()232 urb_value |= UART_MCR_DTR; in update_mctrl()234 urb_value |= UART_MCR_RTS; in update_mctrl()237 urb_value); in update_mctrl()