Home
last modified time | relevance | path

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

/linux/drivers/usb/serial/
H A Dusb_wwan.c44 struct usb_wwan_port_private *portdata; in usb_wwan_send_setup() local
49 portdata = usb_get_serial_port_data(port); in usb_wwan_send_setup()
51 if (portdata->dtr_state) in usb_wwan_send_setup()
53 if (portdata->rts_state) in usb_wwan_send_setup()
74 struct usb_wwan_port_private *portdata; in usb_wwan_dtr_rts() local
82 portdata = usb_get_serial_port_data(port); in usb_wwan_dtr_rts()
84 portdata->rts_state = on; in usb_wwan_dtr_rts()
85 portdata->dtr_state = on; in usb_wwan_dtr_rts()
95 struct usb_wwan_port_private *portdata; in usb_wwan_tiocmget() local
97 portdata = usb_get_serial_port_data(port); in usb_wwan_tiocmget()
[all …]
H A Doption.c2545 struct usb_wwan_port_private *portdata = in option_instat_callback() local
2548 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, portdata); in option_instat_callback()
2566 old_dcd_state = portdata->dcd_state; in option_instat_callback()
2567 portdata->cts_state = 1; in option_instat_callback()
2568 portdata->dcd_state = ((signals & 0x01) ? 1 : 0); in option_instat_callback()
2569 portdata->dsr_state = ((signals & 0x02) ? 1 : 0); in option_instat_callback()
2570 portdata->ri_state = ((signals & 0x08) ? 1 : 0); in option_instat_callback()
2572 if (old_dcd_state && !portdata->dcd_state) in option_instat_callback()