Lines Matching refs:portdata
1152 struct option_port_private *portdata = usb_get_serial_port_data(port);
1155 dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata);
1174 old_dcd_state = portdata->dcd_state;
1175 portdata->cts_state = 1;
1176 portdata->dcd_state = ((signals & 0x01) ? 1 : 0);
1177 portdata->dsr_state = ((signals & 0x02) ? 1 : 0);
1178 portdata->ri_state = ((signals & 0x08) ? 1 : 0);
1180 if (old_dcd_state && !portdata->dcd_state) {
1213 struct option_port_private *portdata;
1225 portdata = usb_get_serial_port_data(port);
1227 if (portdata->dtr_state)
1229 if (portdata->rts_state)