Searched refs:handshake (Results 1 - 13 of 13) sorted by relevance

/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_download.c155 /* gets the handshake and compares it with the expected value */
158 u16 handshake; local
183 DWNLD_MAG1_HANDSHAKE_LOC, (u8 *)&handshake, 1);
184 handshake = ntohs(handshake);
189 if ((handshake == expected_value) ||
190 (handshake == HANDSHAKE_RESET_VALUE_USB)) {
191 return handshake;
200 /* write the handshake value to the handshake locatio
222 u16 handshake; local
616 u16 handshake; local
[all...]
/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000_dnld.c18 Description: This module will handshake with the DSP bootloader to
150 u16 handshake; local
160 handshake = ft1000_read_reg(dev, FT1000_REG_DPRAM_DATA);
165 handshake = (u16) tempx;
168 if ((handshake == expected_value)
169 || (handshake == HANDSHAKE_RESET_VALUE)) {
170 return handshake;
289 u16 handshake; local
339 handshake = get_handshake(dev, HANDSHAKE_DSP_BL_READY);
341 if (handshake
[all...]
/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/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/tty/hvc/
H A Dhvsi.c400 struct hvsi_struct **handshake)
406 *handshake = NULL;
442 hvsi_recv_control(hp, packet, tty, handshake);
459 if (*handshake) {
460 pr_debug("%s: handshake\n", __func__);
489 struct hvsi_struct *handshake; local
500 again = hvsi_load_chunk(hp, tty, &handshake);
503 if (handshake) {
504 pr_debug("hvsi%i: attempting re-handshake\n", handshake
399 hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, struct hvsi_struct **handshake) argument
[all...]
/drivers/usb/host/
H A Dpci-quirks.c811 * handshake - spin reading a register until handshake completes
814 * @done: value of those bits when handshake succeeds
823 static int handshake(void __iomem *ptr, u32 mask, u32 done, function
1000 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED,
1028 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0,
1044 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_HALT, 1,
H A Doxu210hp-hcd.c305 * 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, function
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(ox
[all...]
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);
1966 retval = handshake(hcd, HC_PORTSC1,
1990 retval = handshake(hcd, HC_PORTSC1,
H A Dfotg210-hcd.c905 * handshake - spin reading hc until handshake completes or fails
908 * @done: value of those bits when handshake succeeds
914 * handshake done). There are two failure modes: "usec" have passed (major
921 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, function
964 return handshake(fotg210, &fotg210->regs->status,
987 retval = handshake(fotg210, &fotg210->regs->command,
1014 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp,
1024 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, 0,
1670 retval = handshake(fotg21
[all...]
H A Dfusbh200-hcd.c875 * handshake - spin reading hc until handshake completes or fails
878 * @done: value of those bits when handshake succeeds
884 * handshake done). There are two failure modes: "usec" have passed (major
891 static int handshake (struct fusbh200_hcd *fusbh200, void __iomem *ptr, function
934 return handshake(fusbh200, &fusbh200->regs->status,
957 retval = handshake (fusbh200, &fusbh200->regs->command,
984 handshake(fusbh200, &fusbh200->regs->status, STS_ASS | STS_PSS, temp, 16 * 125);
993 handshake(fusbh200, &fusbh200->regs->status, STS_ASS | STS_PSS, 0, 16 * 125);
1627 retval = handshake(fusbh20
[all...]
/drivers/dma/
H A Ds3c24xx-dma.c921 if (cdata->handshake)
1010 if (cdata->handshake)
/drivers/block/
H A Dswim.c125 /* Bits in handshake register */
305 stat = swim_read(base, handshake);
/drivers/usb/gadget/udc/
H A Dnet2280.c312 static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) function
629 handshake(statp, BIT(USB_OUT_PING_NAK_SENT),
774 handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50);

Completed in 336 milliseconds