Lines Matching refs:handshake
305 * handshake - spin reading hc until handshake completes or fails
308 * @done: value of those bits when handshake succeeds
314 * handshake done). There are two failure modes: "usec" have passed (major
321 static int handshake(struct oxu_hcd *oxu, void __iomem *ptr,
353 return handshake(oxu, &oxu->regs->status,
380 retval = handshake(oxu, &oxu->regs->command,
404 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
416 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
1509 (void)handshake(oxu, &oxu->regs->status,
1725 /* handshake later, if we need to */
1886 status = handshake(oxu, &oxu->regs->status, STS_PSS, 0, 9 * 125);
1912 status = handshake(oxu, &oxu->regs->status, STS_PSS, STS_PSS, 9 * 125);
3290 retval = handshake(oxu, status_reg,
3315 retval = handshake(oxu, status_reg,