Home
last modified time | relevance | path

Searched refs:handshake (Results 1 – 30 of 30) sorted by relevance

/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_download.c159 u16 handshake; in get_handshake() local
183 DWNLD_MAG1_HANDSHAKE_LOC, (u8 *)&handshake, 1); in get_handshake()
184 handshake = ntohs(handshake); in get_handshake()
189 if ((handshake == expected_value) || in get_handshake()
190 (handshake == HANDSHAKE_RESET_VALUE_USB)) { in get_handshake()
191 return handshake; in get_handshake()
222 u16 handshake; in get_handshake_usb() local
228 handshake = 0; in get_handshake_usb()
240 (u8 *)&handshake, 1); in get_handshake_usb()
242 handshake); in get_handshake_usb()
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Dsmp-tbsync.c27 volatile int handshake; member
57 while (!tbsync->handshake) in smp_generic_take_timebase()
68 while (tbsync->handshake) in smp_generic_take_timebase()
93 tbsync->handshake = 1; in start_contest()
99 tbsync->handshake = 0; in start_contest()
163 tbsync->handshake = 1; in smp_generic_give_timebase()
166 tbsync->handshake = 0; in smp_generic_give_timebase()
/linux-4.1.27/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_dnld.c152 u16 handshake; in get_handshake() local
162 handshake = ft1000_read_reg(dev, FT1000_REG_DPRAM_DATA); in get_handshake()
167 handshake = (u16)tempx; in get_handshake()
170 if ((handshake == expected_value) in get_handshake()
171 || (handshake == HANDSHAKE_RESET_VALUE)) { in get_handshake()
172 return handshake; in get_handshake()
291 u16 handshake; in card_download() local
341 handshake = get_handshake(dev, HANDSHAKE_DSP_BL_READY); in card_download()
343 if (handshake == HANDSHAKE_DSP_BL_READY) in card_download()
353 handshake = get_handshake(dev, HANDSHAKE_REQUEST); in card_download()
[all …]
/linux-4.1.27/drivers/char/
Ddsp56k.c60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro
201 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read()
211 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read()
218 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read()
230 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read()
263 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
273 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
280 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
292 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
/linux-4.1.27/drivers/input/mouse/
Dpc110pad.c62 int handshake = inb_p(pc110pad_io + 2); in pc110pad_interrupt() local
64 outb(handshake | 1, pc110pad_io + 2); in pc110pad_interrupt()
66 outb(handshake & ~1, pc110pad_io + 2); in pc110pad_interrupt()
/linux-4.1.27/Documentation/blockdev/drbd/
Ddrbd-connection-state-overview.dot21 label="try to connect, handshake"
53 // handshake [label="drbd_connect()\ndrbd_do_handshake\ndrbd_sync_handshake() etc."]
65 …WFReportParams -> StandAlone [ label="during handshake\lpeers do not agree\labout something essent…
/linux-4.1.27/drivers/tty/hvc/
Dhvsi.c400 struct hvsi_struct **handshake) in hvsi_load_chunk() argument
406 *handshake = NULL; in hvsi_load_chunk()
442 hvsi_recv_control(hp, packet, tty, handshake); in hvsi_load_chunk()
459 if (*handshake) { in hvsi_load_chunk()
489 struct hvsi_struct *handshake; in hvsi_interrupt() local
500 again = hvsi_load_chunk(hp, tty, &handshake); in hvsi_interrupt()
503 if (handshake) { in hvsi_interrupt()
504 pr_debug("hvsi%i: attempting re-handshake\n", handshake->index); in hvsi_interrupt()
505 schedule_work(&handshake->handshaker); in hvsi_interrupt()
/linux-4.1.27/arch/arm/common/
DbL_switcher.c67 long volatile handshake, **handshake_ptr = _arg; in bL_do_switch() local
77 handshake = 0; in bL_do_switch()
78 *handshake_ptr = &handshake; in bL_do_switch()
80 handshake = -1; in bL_do_switch()
103 while (!handshake) { in bL_do_switch()
/linux-4.1.27/include/linux/platform_data/
Ddma-s3c24xx.h29 bool handshake; member
/linux-4.1.27/drivers/usb/host/
Dpci-quirks.c833 static int handshake(void __iomem *ptr, u32 mask, u32 done, in handshake() function
1011 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED, in quirk_usb_handoff_xhci()
1040 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0, in quirk_usb_handoff_xhci()
1056 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_HALT, 1, in quirk_usb_handoff_xhci()
Doxu210hp-hcd.c321 static int handshake(struct oxu_hcd *oxu, void __iomem *ptr, in handshake() function
353 return handshake(oxu, &oxu->regs->status, in ehci_halt()
380 retval = handshake(oxu, &oxu->regs->command, in ehci_reset()
404 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS, in ehci_quiesce()
416 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS, in ehci_quiesce()
1509 (void)handshake(oxu, &oxu->regs->status, in qh_link_async()
1886 status = handshake(oxu, &oxu->regs->status, STS_PSS, 0, 9 * 125); in enable_periodic()
1912 status = handshake(oxu, &oxu->regs->status, STS_PSS, STS_PSS, 9 * 125); in disable_periodic()
3289 retval = handshake(oxu, status_reg, in oxu_hub_control()
3314 retval = handshake(oxu, status_reg, in oxu_hub_control()
Dfusbh200-hcd.c891 static int handshake (struct fusbh200_hcd *fusbh200, void __iomem *ptr, in handshake() function
934 return handshake(fusbh200, &fusbh200->regs->status, in fusbh200_halt()
957 retval = handshake (fusbh200, &fusbh200->regs->command, in fusbh200_reset()
984 handshake(fusbh200, &fusbh200->regs->status, STS_ASS | STS_PSS, temp, 16 * 125); in fusbh200_quiesce()
993 handshake(fusbh200, &fusbh200->regs->status, STS_ASS | STS_PSS, 0, 16 * 125); in fusbh200_quiesce()
1626 retval = handshake(fusbh200, status_reg, in fusbh200_hub_control()
1652 retval = handshake(fusbh200, status_reg, in fusbh200_hub_control()
Dfotg210-hcd.c921 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, in handshake() function
964 return handshake(fotg210, &fotg210->regs->status, in fotg210_halt()
987 retval = handshake(fotg210, &fotg210->regs->command, in fotg210_reset()
1014 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp, in fotg210_quiesce()
1024 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, 0, in fotg210_quiesce()
1670 retval = handshake(fotg210, status_reg, in fotg210_hub_control()
1697 retval = handshake(fotg210, status_reg, in fotg210_hub_control()
/linux-4.1.27/Documentation/networking/
Dmac80211-auth-assoc-deauth.txt77 do 4-way-handshake
Dipvs-sysctl.txt173 TCP ESTABLISHED state until the three way handshake is completed.
DPLIP.txt84 before announcing a timeout, when trying to handshake a transfer of some
Ddccp.txt147 handshake does not progress from RESPOND to OPEN (i.e. when no Ack
Dip-sysctl.txt537 connect() to perform a TCP handshake automatically.
/linux-4.1.27/sound/pci/echoaudio/
Dechoaudio_dsp.h650 u32 handshake; /* DSP command handshake 0x010 4 */ member
Dechoaudio_dsp.c50 if (chip->comm_page->handshake) { in wait_handshake()
682 chip->comm_page->handshake = 0xffffffff; in restore_dsp_rettings()
992 chip->comm_page->handshake = 0xffffffff; in init_dsp_comm_page()
Dechoaudio.h458 chip->comm_page->handshake = 0; in clear_handshake()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-hcd.c378 static int handshake(struct usb_hcd *hcd, u32 reg, in handshake() function
408 retval = handshake(hcd, HC_USBCMD, in ehci_reset()
1321 retval = handshake(hcd, HC_USBCMD, CMD_RUN, CMD_RUN, 250 * 1000); in isp1760_run()
1333 retval = handshake(hcd, HC_CONFIGFLAG, FLAG_CF, FLAG_CF, 250 * 1000); in isp1760_run()
1940 retval = handshake(hcd, HC_PORTSC1, in isp1760_hub_control()
1964 retval = handshake(hcd, HC_PORTSC1, in isp1760_hub_control()
/linux-4.1.27/Documentation/devicetree/bindings/arm/msm/
Dqcom,idle-state.txt54 this essentially is cpu power down. The SPM in this state also may handshake
/linux-4.1.27/Documentation/
Dparport-lowlevel.txt662 0 handshake OK; IEEE 1284 peripheral and mode available
663 -1 handshake failed; peripheral not compliant (or none present)
664 1 handshake OK; IEEE 1284 peripheral present but mode not
1012 - PARPORT_STATUS_ACK (handshake, "nAck")
/linux-4.1.27/drivers/dma/
Ds3c24xx-dma.c913 if (cdata->handshake) in s3c24xx_dma_prep_dma_cyclic()
1002 if (cdata->handshake) in s3c24xx_dma_prep_slave_sg()
/linux-4.1.27/drivers/block/
Dswim.c305 stat = swim_read(base, handshake); in swim_readbit()
/linux-4.1.27/drivers/usb/gadget/udc/
Dnet2280.c302 static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) in handshake() function
631 handshake(statp, BIT(USB_OUT_PING_NAK_SENT), in out_flush()
775 handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50); in spin_stop_dma()
/linux-4.1.27/Documentation/scsi/
Darcmsr_spec.txt48 ** bit30 : reserved for BIOS handshake
DChangeLog.megaraid499 iv. Remove yield() while mailbox handshake in synchronous commands
/linux-4.1.27/drivers/net/usb/
DKconfig355 # if the handshake/init/reset problems, from original 'plusb',