Home
last modified time | relevance | path

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

/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()
/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()
/drivers/tty/hvc/
Dhvsi.c402 struct hvsi_struct **handshake) in hvsi_load_chunk() argument
408 *handshake = NULL; in hvsi_load_chunk()
444 hvsi_recv_control(hp, packet, tty, handshake); in hvsi_load_chunk()
461 if (*handshake) { in hvsi_load_chunk()
491 struct hvsi_struct *handshake; in hvsi_interrupt() local
502 again = hvsi_load_chunk(hp, tty, &handshake); in hvsi_interrupt()
505 if (handshake) { in hvsi_interrupt()
506 pr_debug("hvsi%i: attempting re-handshake\n", handshake->index); in hvsi_interrupt()
507 schedule_work(&handshake->handshaker); in hvsi_interrupt()
/drivers/usb/early/
Dxhci-dbc.c137 static int handshake(void __iomem *ptr, u32 mask, u32 done, int wait, int delay) in handshake() function
163 timeout = handshake(xdbc.xhci_base + offset, XHCI_HC_BIOS_OWNED, 0, 5000, 10); in xdbc_bios_handoff()
427 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, CTRL_DBC_ENABLE, 100000, 100); in xdbc_start()
438 ret = handshake(&xdbc.xdbc_reg->portsc, PORTSC_CONN_STATUS, PORTSC_CONN_STATUS, 5000000, 100); in xdbc_start()
445 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_RUN, CTRL_DBC_RUN, 5000000, 100); in xdbc_start()
533 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 10); in xdbc_handle_external_reset()
563 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 100); in xdbc_early_setup()
/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c170 struct handshake { struct
193 static struct handshake handshake[MAX_OCTEON_DEVICES]; argument
1035 struct handshake *hs; in liquidio_probe()
1063 hs = &handshake[oct_dev->octeon_id]; in liquidio_probe()
1163 struct handshake *hs; in octeon_destroy_resources()
1261 hs = &handshake[i]; in octeon_destroy_resources()
1264 handshake[oct->octeon_id].init_ok = 0; in octeon_destroy_resources()
1265 complete(&handshake[oct->octeon_id].init); in octeon_destroy_resources()
1266 handshake[oct->octeon_id].started_ok = 0; in octeon_destroy_resources()
1267 complete(&handshake[oct->octeon_id].started); in octeon_destroy_resources()
[all …]
/drivers/usb/host/
Dpci-quirks.c1010 static int handshake(void __iomem *ptr, u32 mask, u32 done, in handshake() function
1189 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED, in quirk_usb_handoff_xhci()
1218 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0, in quirk_usb_handoff_xhci()
1234 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()
403 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS, in ehci_quiesce()
415 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS, in ehci_quiesce()
1503 (void)handshake(oxu, &oxu->regs->status, in qh_link_async()
1879 status = handshake(oxu, &oxu->regs->status, STS_PSS, 0, 9 * 125); in enable_periodic()
1905 status = handshake(oxu, &oxu->regs->status, STS_PSS, STS_PSS, 9 * 125); in disable_periodic()
3275 retval = handshake(oxu, status_reg, in oxu_hub_control()
3300 retval = handshake(oxu, status_reg, in oxu_hub_control()
Dfotg210-hcd.c905 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, in handshake() function
947 return handshake(fotg210, &fotg210->regs->status, in fotg210_halt()
970 retval = handshake(fotg210, &fotg210->regs->command, in fotg210_reset()
996 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp, in fotg210_quiesce()
1006 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, 0, in fotg210_quiesce()
1618 retval = handshake(fotg210, status_reg, in fotg210_hub_control()
1644 retval = handshake(fotg210, status_reg, in fotg210_hub_control()
/drivers/usb/isp1760/
Disp1760-hcd.c379 static int handshake(struct usb_hcd *hcd, u32 reg, in handshake() function
409 return handshake(hcd, HC_USBCMD, CMD_RESET, 0, 250 * 1000); in ehci_reset()
1320 retval = handshake(hcd, HC_USBCMD, CMD_RUN, CMD_RUN, 250 * 1000); in isp1760_run()
1332 retval = handshake(hcd, HC_CONFIGFLAG, FLAG_CF, FLAG_CF, 250 * 1000); in isp1760_run()
1939 retval = handshake(hcd, HC_PORTSC1, in isp1760_hub_control()
1963 retval = handshake(hcd, HC_PORTSC1, in isp1760_hub_control()
/drivers/dma/
Ds3c24xx-dma.c904 if (cdata->handshake) in s3c24xx_dma_prep_dma_cyclic()
993 if (cdata->handshake) in s3c24xx_dma_prep_slave_sg()
/drivers/block/
Dswim.c305 stat = swim_read(base, handshake); in swim_readbit()
/drivers/usb/gadget/udc/
Dnet2280.c364 static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) in handshake() function
700 handshake(statp, BIT(USB_OUT_PING_NAK_SENT), in out_flush()
844 handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50); in spin_stop_dma()
/drivers/net/usb/
DKconfig373 # if the handshake/init/reset problems, from original 'plusb',