Searched refs:portdata (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | usb_wwan.c | 51 if (portdata->dtr_state) in usb_wwan_send_setup() 53 if (portdata->rts_state) in usb_wwan_send_setup() 84 portdata->rts_state = on; in usb_wwan_dtr_rts() 85 portdata->dtr_state = on; in usb_wwan_dtr_rts() 125 portdata->rts_state = 1; in usb_wwan_tiocmset() 127 portdata->dtr_state = 1; in usb_wwan_tiocmset() 452 portdata = kzalloc(sizeof(*portdata), GFP_KERNEL); in usb_wwan_port_probe() 453 if (!portdata) in usb_wwan_port_probe() 498 kfree(portdata); in usb_wwan_port_probe() 521 kfree(portdata); in usb_wwan_port_remove() [all …]
|
H A D | sierra.c | 299 if (portdata->dtr_state) in sierra_send_setup() 301 if (portdata->rts_state) in sierra_send_setup() 368 portdata->rts_state = 1; in sierra_tiocmset() 438 if (portdata->outstanding_urbs > portdata->num_out_urbs) { in sierra_write() 568 urb, port, portdata); in sierra_instat_callback() 623 if (portdata->outstanding_urbs > (portdata->num_out_urbs * 2) / 3) { in sierra_write_room() 864 portdata = kzalloc(sizeof(*portdata), GFP_KERNEL); in sierra_port_probe() 865 if (!portdata) in sierra_port_probe() 896 ifnum, portdata->num_in_urbs, portdata->num_out_urbs); in sierra_port_probe() 909 kfree(portdata); in sierra_port_remove() [all …]
|
H A D | option.c | 2500 struct usb_wwan_port_private *portdata = in option_instat_callback() local 2503 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, portdata); in option_instat_callback() 2521 old_dcd_state = portdata->dcd_state; in option_instat_callback() 2522 portdata->cts_state = 1; in option_instat_callback() 2523 portdata->dcd_state = ((signals & 0x01) ? 1 : 0); in option_instat_callback() 2524 portdata->dsr_state = ((signals & 0x02) ? 1 : 0); in option_instat_callback() 2525 portdata->ri_state = ((signals & 0x08) ? 1 : 0); in option_instat_callback() 2527 if (old_dcd_state && !portdata->dcd_state) in option_instat_callback()
|