Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 26) sorted by relevance

12

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dehci-q.c208 u32 token in qtd_copy_status() argument
214 if (QTD_PID (token) != 2) in qtd_copy_status()
226 if (token & QTD_STS_HALT) { in qtd_copy_status()
347 u32 token = 0; in qh_completions() local
394 if (token & QTD_STS_DBE) in qh_completions()
665 u32 token; in qh_urb_transaction() local
678 token = QTD_STS_ACTIVE;//使能该qtd in qh_urb_transaction()
692 token ^= QTD_TOGGLE; in qh_urb_transaction()
758 token ^= QTD_TOGGLE; in qh_urb_transaction()
1186 uint32_t token; in qh_append_tds() local
[all …]
A Dehci.h335 #define IS_SHORT_READ(token) (QTD_LENGTH(token) != 0 && QTD_PID(token) == 1) argument
/bsp/nxp/lpc/lpc176x/drivers/
A Dsd.c35 static bool LPC17xx_SD_WriteDataBlock(const uint8_t *buff, uint8_t token);
241 uint8_t token; in LPC17xx_SD_ReadDataBlock() local
247 token = LPC17xx_SPI_RecvByte(); in LPC17xx_SD_ReadDataBlock()
249 while ((token == 0xFF) && timeout--); in LPC17xx_SD_ReadDataBlock()
250 if (token != 0xFE) return false; /* If not valid data token, return with error */ in LPC17xx_SD_ReadDataBlock()
315 static bool LPC17xx_SD_WriteDataBlock(const uint8_t *buff, uint8_t token) in LPC17xx_SD_WriteDataBlock() argument
321 LPC17xx_SPI_SendByte(token); /* send data token first*/ in LPC17xx_SD_WriteDataBlock()
323 if (token != TOKEN_STOP_TRAN) in LPC17xx_SD_WriteDataBlock()
/bsp/lm3s8962/drivers/
A Dsdcard.c313 rt_uint8_t token; in rcvr_datablock() local
318 token = rcvr_spi(); in rcvr_datablock()
319 } while ((token == 0xFF) && Timer1); in rcvr_datablock()
320 if(token != 0xFE) return RT_FALSE; /* If not valid data token, retutn with error */ in rcvr_datablock()
342 rt_uint8_t token /* Data/Stop token */ in xmit_datablock() argument
350 xmit_spi(token); /* Xmit data token */ in xmit_datablock()
351 if (token != 0xFD) { /* Is data token */ in xmit_datablock()
/bsp/lm3s9b9x/drivers/
A Dsdcard.c313 rt_uint8_t token; in rcvr_datablock() local
318 token = rcvr_spi(); in rcvr_datablock()
319 } while ((token == 0xFF) && Timer1); in rcvr_datablock()
320 if(token != 0xFE) return RT_FALSE; /* If not valid data token, retutn with error */ in rcvr_datablock()
342 rt_uint8_t token /* Data/Stop token */ in xmit_datablock() argument
350 xmit_spi(token); /* Xmit data token */ in xmit_datablock()
351 if (token != 0xFD) { /* Is data token */ in xmit_datablock()
/bsp/efm32/
A Ddrv_sdcard.c439 static rt_err_t efm_spiSd_writeBlock(void *buffer, rt_uint8_t token) in efm_spiSd_writeBlock() argument
470 sdcard_debug("SPISD: Send data, token %x\n", token); in efm_spiSd_writeBlock()
471 if (token != 0xfd) in efm_spiSd_writeBlock()
475 buf_ins[1] = token; in efm_spiSd_writeBlock()
517 buf_ins[1] = token; in efm_spiSd_writeBlock()
908 rt_uint8_t cmd, token, i; in rt_spiSd_write() local
927 token = 0xfe; in rt_spiSd_write()
934 token = 0xfc; in rt_spiSd_write()
954 if (efm_spiSd_writeBlock(ptr, token)) in rt_spiSd_write()
/bsp/sam7x/drivers/
A Dsd.c360 rt_uint8_t token; in rcvr_datablock() local
364 token = rcvr_spi(); in rcvr_datablock()
365 }while ((token == 0xFF)); in rcvr_datablock()
367 if(token != 0xFE) return RT_FALSE; /* If not valid data token, retutn with error */ in rcvr_datablock()
384 static rt_bool_t xmit_datablock(const rt_uint8_t *buff, rt_uint8_t token) in xmit_datablock() argument
390 xmit_spi(token); /* Xmit data token */ in xmit_datablock()
391 if (token != 0xFD) in xmit_datablock()
/bsp/qemu-virt64-aarch64/
A DSConstruct22 for token in line.split(" "):
23 if re.match(r'RT_BACKTRACE_FUNCTION_NAME$', token, flags=0):
/bsp/zynqmp-a53-dfzu2eg/
A DSConstruct22 for token in line.split(" "):
23 if re.match(r'RT_BACKTRACE_FUNCTION_NAME$', token, flags=0):
/bsp/cvitek/cv18xx_aarch64/
A DSConstruct21 for token in line.split(" "):
22 if re.match(r'RT_BACKTRACE_FUNCTION_NAME$', token, flags=0):
/bsp/wch/risc-v/Libraries/ch56x_drivers/
A Dch56x_usbd.c467 uint8_t ep_idx, token, tog; in _isr_handle_transfer() local
470 token = usbhs->INT_ST.dev_token_mask; in _isr_handle_transfer()
474 if (token == DEV_TOKEN_IN) in _isr_handle_transfer()
493 else if (token == DEV_TOKEN_OUT) in _isr_handle_transfer()
511 else if (token == DEV_TOKEN_IN) in _isr_handle_transfer()
518 else if (token == DEV_TOKEN_OUT) in _isr_handle_transfer()
/bsp/nxp/imx/imx6ull-smart/
A DSConstruct35 for token in line.split(" "):
36 if re.match(r'RT_BACKTRACE_FUNCTION_NAME$', token, flags=0):
/bsp/at32/libraries/rt_drivers/
A Ddrv_usbotgh.c109 static int drv_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in drv_pipe_xfer() argument
125 if(token == 0U) in drv_pipe_xfer()
136 if((token == 1U) && (direction == 0U)) in drv_pipe_xfer()
151 else if(token == 1U) in drv_pipe_xfer()
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_usbh.c64 static int drv_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in drv_pipe_xfer() argument
79 token, in drv_pipe_xfer()
/bsp/wch/arm/ch579m/board/
A Ddrv_usbh.c59 static int drv_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in drv_pipe_xfer() argument
78 usb_pid = (token == USBH_PID_SETUP) ? USB_PID_SETUP : USB_PID_OUT; //setup/out in drv_pipe_xfer()
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_usbh.c166 static int _ehci0_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in _ehci0_pipe_xfer() argument
193 if (token == USBH_PID_SETUP) in _ehci0_pipe_xfer()
443 static int _ehci1_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in _ehci1_pipe_xfer() argument
470 if (token == USBH_PID_SETUP) in _ehci1_pipe_xfer()
/bsp/wch/risc-v/Libraries/ch32_drivers/
A Ddrv_usbh.c76 int usbh_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in usbh_pipe_xfer() argument
90 usb_pid = (token == USBH_PID_SETUP) ? USB_PID_SETUP : USB_PID_OUT; in usbh_pipe_xfer()
/bsp/nuvoton/libraries/m460/rtt_port/
A Ddrv_usbhost.c488 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
517 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
572 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/nuvoton/libraries/m480/rtt_port/
A Ddrv_usbhost.c474 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
503 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
558 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/nuvoton/libraries/m2354/rtt_port/
A Ddrv_usbhost.c472 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
501 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
556 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_usbh.c736 uint8_t token, in usb_host_submitrequest() argument
744 if (token == 0U) in usb_host_submitrequest()
758 if ((token == 1U) && (direction == 0U)) /*send data */ in usb_host_submitrequest()
870 static int _usbh_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in _usbh_pipe_xfer() argument
893 token, in _usbh_pipe_xfer()
/bsp/nuvoton/libraries/ma35/rtt_port/
A Ddrv_usbhost.c487 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
526 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
586 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/nuvoton/libraries/n9h30/rtt_port/
A Ddrv_usbhost.c526 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
566 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
625 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/nuvoton/libraries/nuc980/rtt_port/
A Ddrv_usbhost.c526 static int nu_pipe_xfer(upipe_t pipe, rt_uint8_t token, void *buffer, int nbytes, int timeouts) in nu_pipe_xfer() argument
566 if (token == USBH_PID_SETUP) in nu_pipe_xfer()
625 LOG_D("%d == USBH_PID_DATA, nil buf-%d", token, nbytes); in nu_pipe_xfer()
/bsp/simulator/SDL2/include/
A DSDL_opengl.h1482 GLAPI void GLAPIENTRY glPassThrough( GLfloat token );

Completed in 55 milliseconds

12