Lines Matching refs:xr_set_reg_uart
300 static int xr_set_reg_uart(struct usb_serial_port *port, u16 reg, u16 val) in xr_set_reg_uart() function
328 return xr_set_reg_uart(port, data->type->uart_enable, in __xr_uart_enable()
336 return xr_set_reg_uart(port, data->type->uart_enable, 0); in __xr_uart_disable()
424 ret = xr_set_reg_uart(port, data->type->tx_fifo_reset, XR_FIFO_RESET); in xr_fifo_reset()
428 ret = xr_set_reg_uart(port, data->type->rx_fifo_reset, XR_FIFO_RESET); in xr_fifo_reset()
481 ret = xr_set_reg_uart(port, type->gpio_clear, gpio_clr); in xr_tiocmset_port()
484 ret = xr_set_reg_uart(port, type->gpio_set, gpio_set); in xr_tiocmset_port()
519 xr_set_reg_uart(port, type->tx_break, state); in xr_break_ctl()
584 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_0, in xr21v141x_set_baudrate()
589 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_1, in xr21v141x_set_baudrate()
594 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_2, in xr21v141x_set_baudrate()
599 ret = xr_set_reg_uart(port, XR21V141X_TX_CLOCK_MASK_0, in xr21v141x_set_baudrate()
604 ret = xr_set_reg_uart(port, XR21V141X_TX_CLOCK_MASK_1, in xr21v141x_set_baudrate()
609 ret = xr_set_reg_uart(port, XR21V141X_RX_CLOCK_MASK_0, in xr21v141x_set_baudrate()
614 ret = xr_set_reg_uart(port, XR21V141X_RX_CLOCK_MASK_1, in xr21v141x_set_baudrate()
658 xr_set_reg_uart(port, type->xon_char, start_char); in xr_set_flow_mode()
659 xr_set_reg_uart(port, type->xoff_char, stop_char); in xr_set_flow_mode()
665 xr_set_reg_uart(port, type->flow_control, flow); in xr_set_flow_mode()
666 xr_set_reg_uart(port, type->gpio_mode, gpio_mode); in xr_set_flow_mode()
729 ret = xr_set_reg_uart(port, XR21V141X_REG_FORMAT, bits); in xr21v141x_set_line_settings()
904 ret = xr_set_reg_uart(port, type->gpio_mode, mode); in xr_gpio_init()
913 ret = xr_set_reg_uart(port, type->gpio_direction, mask); in xr_gpio_init()
917 ret = xr_set_reg_uart(port, type->gpio_set, mask); in xr_gpio_init()
950 ret = xr_set_reg_uart(port, type->custom_driver, in xr_port_probe()