Lines Matching refs:xr_set_reg_uart
301 static int xr_set_reg_uart(struct usb_serial_port *port, u16 reg, u16 val) in xr_set_reg_uart() function
329 return xr_set_reg_uart(port, data->type->uart_enable, in __xr_uart_enable()
337 return xr_set_reg_uart(port, data->type->uart_enable, 0); in __xr_uart_disable()
425 ret = xr_set_reg_uart(port, data->type->tx_fifo_reset, XR_FIFO_RESET); in xr_fifo_reset()
429 ret = xr_set_reg_uart(port, data->type->rx_fifo_reset, XR_FIFO_RESET); in xr_fifo_reset()
482 ret = xr_set_reg_uart(port, type->gpio_clear, gpio_clr); in xr_tiocmset_port()
485 ret = xr_set_reg_uart(port, type->gpio_set, gpio_set); in xr_tiocmset_port()
520 xr_set_reg_uart(port, type->tx_break, state); in xr_break_ctl()
585 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_0, in xr21v141x_set_baudrate()
590 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_1, in xr21v141x_set_baudrate()
595 ret = xr_set_reg_uart(port, XR21V141X_CLOCK_DIVISOR_2, in xr21v141x_set_baudrate()
600 ret = xr_set_reg_uart(port, XR21V141X_TX_CLOCK_MASK_0, in xr21v141x_set_baudrate()
605 ret = xr_set_reg_uart(port, XR21V141X_TX_CLOCK_MASK_1, in xr21v141x_set_baudrate()
610 ret = xr_set_reg_uart(port, XR21V141X_RX_CLOCK_MASK_0, in xr21v141x_set_baudrate()
615 ret = xr_set_reg_uart(port, XR21V141X_RX_CLOCK_MASK_1, in xr21v141x_set_baudrate()
659 xr_set_reg_uart(port, type->xon_char, start_char); in xr_set_flow_mode()
660 xr_set_reg_uart(port, type->xoff_char, stop_char); in xr_set_flow_mode()
666 xr_set_reg_uart(port, type->flow_control, flow); in xr_set_flow_mode()
667 xr_set_reg_uart(port, type->gpio_mode, gpio_mode); in xr_set_flow_mode()
731 ret = xr_set_reg_uart(port, XR21V141X_REG_FORMAT, bits); in xr21v141x_set_line_settings()
908 ret = xr_set_reg_uart(port, type->gpio_mode, mode); in xr_gpio_init()
917 ret = xr_set_reg_uart(port, type->gpio_direction, mask); in xr_gpio_init()
921 ret = xr_set_reg_uart(port, type->gpio_set, mask); in xr_gpio_init()
954 ret = xr_set_reg_uart(port, type->custom_driver, in xr_port_probe()