Searched defs:handshake (Results 1 - 12 of 12) sorted by relevance

/drivers/input/mouse/
H A Dpc110pad.c62 int handshake = inb_p(pc110pad_io + 2); local
64 outb(handshake | 1, pc110pad_io + 2);
66 outb(handshake & ~1, pc110pad_io + 2);
/drivers/char/
H A Ddsp56k.c60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro
201 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
211 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
218 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
230 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
263 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
273 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
280 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
292 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000_dnld.c18 Description: This module will handshake with the DSP bootloader to
156 u16 handshake; local
166 handshake = ft1000_read_reg(dev, FT1000_REG_DPRAM_DATA);
171 handshake = (u16) tempx;
174 if ((handshake == expected_value)
175 || (handshake == HANDSHAKE_RESET_VALUE)) {
176 return handshake;
296 u16 handshake; local
346 handshake = get_handshake(dev, HANDSHAKE_DSP_BL_READY);
348 if (handshake
[all...]
/drivers/usb/host/
H A Dehci-hcd.c169 * handshake - spin reading hc until handshake completes or fails
172 * @done: value of those bits when handshake succeeds
178 * handshake done). There are two failure modes: "usec" have passed (major
185 static int handshake (struct ehci_hcd *ehci, void __iomem *ptr, function
232 return handshake (ehci, &ehci->regs->status,
241 * When in this condition handshake will return -ETIMEDOUT. The
259 error = handshake(ehci, ptr, mask, done, usec);
283 error = handshake(ehci, ptr, mask, done, usec);
291 ehci_err(ehci, "force halt; handshake
[all...]
H A Dpci-quirks.c688 * handshake - spin reading a register until handshake completes
691 * @done: value of those bits when handshake succeeds
700 static int handshake(void __iomem *ptr, u32 mask, u32 done, function
847 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED,
874 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0,
890 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_HALT, 1,
H A Disp1760-hcd.c354 static int handshake(struct usb_hcd *hcd, u32 reg, function
384 retval = handshake(hcd, HC_USBCMD,
1345 retval = handshake(hcd, HC_USBCMD, CMD_RUN, CMD_RUN, 250 * 1000);
1357 retval = handshake(hcd, HC_CONFIGFLAG, FLAG_CF, FLAG_CF, 250 * 1000);
1961 retval = handshake(hcd, HC_PORTSC1,
1985 retval = handshake(hcd, HC_PORTSC1,
H A Doxu210hp-hcd.c302 * handshake - spin reading hc until handshake completes or fails
305 * @done: value of those bits when handshake succeeds
311 * handshake done). There are two failure modes: "usec" have passed (major
318 static int handshake(struct oxu_hcd *oxu, void __iomem *ptr, function
350 return handshake(oxu, &oxu->regs->status,
377 retval = handshake(oxu, &oxu->regs->command,
401 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
413 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
1506 (void)handshake(ox
[all...]
H A Dxhci.c42 * handshake - spin reading hc until handshake completes or fails
45 * @done: value of those bits when handshake succeeds
51 * handshake done). There are two failure modes: "usec" have passed (major
54 static int handshake(struct xhci_hcd *xhci, void __iomem *ptr, function
105 ret = handshake(xhci, &xhci->op_regs->status,
133 ret = handshake(xhci, &xhci->op_regs->status,
168 ret = handshake(xhci, &xhci->op_regs->command,
178 ret = handshake(xhci, &xhci->op_regs->status, STS_CNR, 0, 250 * 1000);
783 if (handshake(xhc
[all...]
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_download.c176 // u16 expected_value - the handshake value expected
181 // Description: This function gets the handshake and compare with the expected value
188 u16 handshake; local
215 DWNLD_MAG1_HANDSHAKE_LOC, (u8 *)&handshake, 1);
216 handshake = ntohs(handshake);
221 if ((handshake == expected_value) ||
222 (handshake == HANDSHAKE_RESET_VALUE_USB)) {
223 return handshake;
237 // u16 handshake_value - handshake t
268 u16 handshake; local
690 u16 handshake; local
[all...]
/drivers/tty/hvc/
H A Dhvsi.c403 struct tty_struct **hangup, struct hvsi_struct **handshake)
410 *handshake = NULL;
448 hvsi_recv_control(hp, packet, hangup, handshake);
465 if (*hangup || *handshake) {
466 pr_debug("%s: hangup or handshake\n", __func__);
499 struct hvsi_struct *handshake; local
507 again = hvsi_load_chunk(hp, &flip, &hangup, &handshake);
526 if (handshake) {
527 pr_debug("hvsi%i: attempting re-handshake\n", handshake
402 hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct **flip, struct tty_struct **hangup, struct hvsi_struct **handshake) argument
[all...]
/drivers/usb/gadget/
H A Dnet2280.c267 static int handshake (u32 __iomem *ptr, u32 mask, u32 done, int usec) function
533 handshake (statp, (1 << USB_OUT_PING_NAK_SENT),
679 handshake (&dma->dmactl, (1 << DMA_ENABLE), 0, 50);
/drivers/block/drbd/
H A Ddrbd_int.h215 /* special command ids for handshake */
637 struct p_handshake handshake; member in union:p_polymorph
849 CONN_DRY_RUN, /* Expect disconnect after resync handshake. */
2374 * handshake as long as we would exeed the max_buffer limit.

Completed in 245 milliseconds