Home
last modified time | relevance | path

Searched refs:preciseflags (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dxr_usb_serial_hal.c636 int xr_usb_serial_set_wide_mode(struct xr_usb_serial *xr_usb_serial, int preciseflags) in xr_usb_serial_set_wide_mode() argument
643 xr_usb_serial_set_reg(xr_usb_serial, XR21B140X_WIDE_MODE_TX_OFFSET, preciseflags); in xr_usb_serial_set_wide_mode()
644 xr_usb_serial_set_reg(xr_usb_serial, XR21B140X_WIDE_MODE_RX_OFFSET, preciseflags); in xr_usb_serial_set_wide_mode()
651 …sb_serial_set_reg_ext(xr_usb_serial, 0x66, channel*8 + XR21V1414_WIDE_MODE_OFFSET, preciseflags); in xr_usb_serial_set_wide_mode()
655 xr_usb_serial_set_reg(xr_usb_serial,0xd02, preciseflags); in xr_usb_serial_set_wide_mode()
661 xr_usb_serial_set_reg(xr_usb_serial, XR21B142X_WIDE_MODE_TX_OFFSET, preciseflags); in xr_usb_serial_set_wide_mode()
662 xr_usb_serial_set_reg(xr_usb_serial, XR21B142X_WIDE_MODE_RX_OFFSET, preciseflags); in xr_usb_serial_set_wide_mode()
H A Dxr_usb_serial_common.c406 int preciseflags = xr_usb_serial->preciseflags; in xr_usb_serial_process_read_urb() local
413 if (preciseflags) in xr_usb_serial_process_read_urb()
420 have_extra_byte = (preciseflags && (length & 1)); in xr_usb_serial_process_read_urb()
421 length = (preciseflags) ? (length / 2) : length; in xr_usb_serial_process_read_urb()
906 unsigned int channel, reg, val,preciseflags; in xr_usb_serial_tty_ioctl() local
1054 preciseflags = arg; in xr_usb_serial_tty_ioctl()
1055 dev_dbg(&xr_usb_serial->control->dev, "%s VIOC_SET_PRECISE_FLAGS %d\n", __func__, preciseflags); in xr_usb_serial_tty_ioctl()
1057 if (preciseflags) in xr_usb_serial_tty_ioctl()
1059 xr_usb_serial->preciseflags = 1; in xr_usb_serial_tty_ioctl()
1063 xr_usb_serial->preciseflags = 0; in xr_usb_serial_tty_ioctl()
[all …]
H A Dxr_usb_serial_common.h152 int preciseflags; /* USB: wide mode, TTY: flags per character */ member