Searched refs:portdata (Results 1 – 2 of 2) sorted by relevance
44 struct usb_wwan_port_private *portdata; in usb_wwan_send_setup() local49 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() local82 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() local97 portdata = usb_get_serial_port_data(port); in usb_wwan_tiocmget()[all …]
2545 struct usb_wwan_port_private *portdata = in option_instat_callback() local2548 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()