Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/serial/
Dusb_wwan.c43 struct usb_wwan_port_private *portdata; in usb_wwan_send_setup() local
48 portdata = usb_get_serial_port_data(port); in usb_wwan_send_setup()
50 if (portdata->dtr_state) in usb_wwan_send_setup()
52 if (portdata->rts_state) in usb_wwan_send_setup()
72 struct usb_wwan_port_private *portdata; in usb_wwan_dtr_rts() local
80 portdata = usb_get_serial_port_data(port); in usb_wwan_dtr_rts()
82 portdata->rts_state = on; in usb_wwan_dtr_rts()
83 portdata->dtr_state = on; in usb_wwan_dtr_rts()
93 struct usb_wwan_port_private *portdata; in usb_wwan_tiocmget() local
95 portdata = usb_get_serial_port_data(port); in usb_wwan_tiocmget()
[all …]
Dsierra.c291 struct sierra_port_private *portdata; in sierra_send_setup() local
297 portdata = usb_get_serial_port_data(port); in sierra_send_setup()
299 if (portdata->dtr_state) in sierra_send_setup()
301 if (portdata->rts_state) in sierra_send_setup()
345 struct sierra_port_private *portdata; in sierra_tiocmget() local
347 portdata = usb_get_serial_port_data(port); in sierra_tiocmget()
349 value = ((portdata->rts_state) ? TIOCM_RTS : 0) | in sierra_tiocmget()
350 ((portdata->dtr_state) ? TIOCM_DTR : 0) | in sierra_tiocmget()
351 ((portdata->cts_state) ? TIOCM_CTS : 0) | in sierra_tiocmget()
352 ((portdata->dsr_state) ? TIOCM_DSR : 0) | in sierra_tiocmget()
[all …]
Doption.c2304 struct usb_wwan_port_private *portdata = in option_instat_callback() local
2307 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, portdata); in option_instat_callback()
2325 old_dcd_state = portdata->dcd_state; in option_instat_callback()
2326 portdata->cts_state = 1; in option_instat_callback()
2327 portdata->dcd_state = ((signals & 0x01) ? 1 : 0); in option_instat_callback()
2328 portdata->dsr_state = ((signals & 0x02) ? 1 : 0); in option_instat_callback()
2329 portdata->ri_state = ((signals & 0x08) ? 1 : 0); in option_instat_callback()
2331 if (old_dcd_state && !portdata->dcd_state) in option_instat_callback()