Home
last modified time | relevance | path

Searched defs:xr_usb_serial (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dxr_usb_serial_common.h112 struct xr_usb_serial { struct
123 struct xr_usb_serial_wb wb[XR_USB_SERIAL_NW]; argument
126 struct xr_usb_serial_rb read_buffers[XR_USB_SERIAL_NR]; argument
141 unsigned int minor; /* xr_usb_serial minor number */ argument
150 struct xr_usb_serial_wb *delayed_wb; /* write queued for a device about to be woken */ argument
151 unsigned int channel;
152 int preciseflags; /* USB: wide mode, TTY: flags per character */
153 int trans9; /* USB: wide mode, serial 9N1 */
154 int have_extra_byte;
155 int extra_byte;
[all …]
H A Dxr_usb_serial_common.c85 struct xr_usb_serial *xr_usb_serial; in xr_usb_serial_get_by_index() local
106 static int xr_usb_serial_alloc_minor(struct xr_usb_serial *xr_usb_serial) in xr_usb_serial_alloc_minor()
123 static void xr_usb_serial_release_minor(struct xr_usb_serial *xr_usb_serial) in xr_usb_serial_release_minor()
134 static int xr_usb_serial_ctrl_msg(struct xr_usb_serial *xr_usb_serial, int request, int value, in xr_usb_serial_ctrl_msg()
154 static int xr_usb_serial_wb_alloc(struct xr_usb_serial *xr_usb_serial) in xr_usb_serial_wb_alloc()
173 static int xr_usb_serial_wb_is_avail(struct xr_usb_serial *xr_usb_serial) in xr_usb_serial_wb_is_avail()
189 static void xr_usb_serial_write_done(struct xr_usb_serial *xr_usb_serial, struct xr_usb_serial_wb *… in xr_usb_serial_write_done()
202 static int xr_usb_serial_start_wb(struct xr_usb_serial *xr_usb_serial, struct xr_usb_serial_wb *wb) in xr_usb_serial_start_wb()
230 struct xr_usb_serial *xr_usb_serial = usb_get_intfdata(intf); in show_caps() local
240 struct xr_usb_serial *xr_usb_serial = usb_get_intfdata(intf); in show_country_codes() local
[all …]
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()
100 int xr_usb_serial_set_reg_ext(struct xr_usb_serial *xr_usb_serial,int channel,int regnum, int value) in xr_usb_serial_set_reg_ext()
166 int xr_usb_serial_get_reg(struct xr_usb_serial *xr_usb_serial,int regnum, short *value) in xr_usb_serial_get_reg()
256 int xr_usb_serial_get_reg_ext(struct xr_usb_serial *xr_usb_serial,int channel,int regnum, short *va… in xr_usb_serial_get_reg_ext()
391 static int xr21v141x_set_baud_rate(struct xr_usb_serial *xr_usb_serial, unsigned int rate) in xr21v141x_set_baud_rate()
413 int xr_usb_serial_set_control(struct xr_usb_serial *xr_usb_serial, unsigned int control) in xr_usb_serial_set_control()
439 int xr_usb_serial_set_line(struct xr_usb_serial *xr_usb_serial, struct usb_cdc_line_coding* line) in xr_usb_serial_set_line()
464 int xr_usb_serial_set_flow_mode(struct xr_usb_serial *xr_usb_serial, struct tty_struct *tty, unsign… in xr_usb_serial_set_flow_mode()
506 int xr_usb_serial_send_break(struct xr_usb_serial *xr_usb_serial, int state) in xr_usb_serial_send_break()
532 int xr_usb_serial_enable(struct xr_usb_serial *xr_usb_serial) in xr_usb_serial_enable()
[all …]