Searched refs:portdata (Results 1 – 3 of 3) 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 …]
291 struct sierra_port_private *portdata; in sierra_send_setup() local297 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() local347 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 …]
2518 struct usb_wwan_port_private *portdata = in option_instat_callback() local2521 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, portdata); in option_instat_callback()2539 old_dcd_state = portdata->dcd_state; in option_instat_callback()2540 portdata->cts_state = 1; in option_instat_callback()2541 portdata->dcd_state = ((signals & 0x01) ? 1 : 0); in option_instat_callback()2542 portdata->dsr_state = ((signals & 0x02) ? 1 : 0); in option_instat_callback()2543 portdata->ri_state = ((signals & 0x08) ? 1 : 0); in option_instat_callback()2545 if (old_dcd_state && !portdata->dcd_state) in option_instat_callback()