Lines Matching defs:changed
218 * Returns 0 if the status hasn't changed, or the number of bytes in buf.
222 * @buf: a bitmap to show which port status has been changed.
224 * bit 1: the status of port 0 has been changed.
225 * bit 2: the status of port 1 has been changed.
234 int changed = 0;
248 /* The status of a port has been changed, */
249 usbip_dbg_vhci_rh("port %d status changed\n", rhport);
252 changed = 1;
256 if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1))
261 return changed ? retval : 0;