Home
last modified time | relevance | path

Searched refs:xr_usb_serial_set_reg (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dxr_usb_serial_hal.c30 int xr_usb_serial_set_reg(struct xr_usb_serial *xr_usb_serial,int regnum, int value) in xr_usb_serial_set_reg() function
400 xr_usb_serial_set_reg(xr_usb_serial,UART_CLOCK_DIVISOR_0, (divisor >> 0) & 0xff); in xr21v141x_set_baud_rate()
401 xr_usb_serial_set_reg(xr_usb_serial,UART_CLOCK_DIVISOR_1, (divisor >> 8) & 0xff); in xr21v141x_set_baud_rate()
402 xr_usb_serial_set_reg(xr_usb_serial,UART_CLOCK_DIVISOR_2, (divisor >> 16) & 0xff); in xr21v141x_set_baud_rate()
403 xr_usb_serial_set_reg(xr_usb_serial,UART_TX_CLOCK_MASK_0, (tx_mask >> 0) & 0xff); in xr21v141x_set_baud_rate()
404 xr_usb_serial_set_reg(xr_usb_serial,UART_TX_CLOCK_MASK_1, (tx_mask >> 8) & 0xff); in xr21v141x_set_baud_rate()
405 xr_usb_serial_set_reg(xr_usb_serial,UART_RX_CLOCK_MASK_0, (rx_mask >> 0) & 0xff); in xr21v141x_set_baud_rate()
406 xr_usb_serial_set_reg(xr_usb_serial,UART_RX_CLOCK_MASK_1, (rx_mask >> 8) & 0xff); in xr21v141x_set_baud_rate()
422 xr_usb_serial_set_reg(xr_usb_serial,xr_usb_serial->reg_map.uart_gpio_clr_addr, 0x08); in xr_usb_serial_set_control()
424 xr_usb_serial_set_reg(xr_usb_serial,xr_usb_serial->reg_map.uart_gpio_set_addr, 0x08); in xr_usb_serial_set_control()
[all …]
H A Dxr_usb_serial_common.c962 rv = xr_usb_serial_set_reg(xr_usb_serial,reg, val); in xr_usb_serial_tty_ioctl()
991 rv = xr_usb_serial_set_reg(xr_usb_serial,xr_usb_serial->reg_map.uart_gpio_mode_addr, val); in xr_usb_serial_tty_ioctl()
1252 rv = xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_set_addr, tmp); in xr_usb_gpio_set()
1254 rv = xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_clr_addr, tmp); in xr_usb_gpio_set()
1265 …rv = xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_dir_addr, (int)dir_valu… in xr_usb_gpio_dir_input()
1280 rv = xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_dir_addr, (int)tmp); in xr_usb_gpio_dir_output()
1287 rv = xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_mode_addr, in xr_usb_gpio_dir_output()