Home
last modified time | relevance | path

Searched refs:Index (Results 1 – 25 of 27) sorted by relevance

12

/bsp/ft2004/libraries/bsp/ft_uart/
A Dft_uart_options.c40 u32 Index; in FUart_SetOptions() local
45 for (Index = 0; Index < FT_UART_NUM_OPITIONS; Index++) in FUart_SetOptions()
49 if ((Options & OptionTable[Index].Option) != (u32)(0)) in FUart_SetOptions()
51 RegValue |= OptionTable[Index].Mask; in FUart_SetOptions()
55 RegValue &= ~OptionTable[Index].Mask; in FUart_SetOptions()
64 u32 Index; in FUart_SetSpecificOptions() local
68 for (Index = 0; Index < FT_UART_NUM_OPITIONS; Index++) in FUart_SetSpecificOptions()
78 RegValue |= OptionTable[Index].Mask; in FUart_SetSpecificOptions()
85 u32 Index; in FUart_ClearSpecificOptions() local
89 for (Index = 0; Index < FT_UART_NUM_OPITIONS; Index++) in FUart_ClearSpecificOptions()
[all …]
A Dft_uart_sinit.c29 u32 Index; in FUart_LookupConfig() local
31 for (Index = 0; Index < (u32)FT_UART_NUM; Index++) in FUart_LookupConfig()
33 if (FUart_Config_tTable[Index].InstanceId == InstanceId) in FUart_LookupConfig()
35 CfgPtr = &FUart_Config_tTable[Index]; in FUart_LookupConfig()
/bsp/ft2004/libraries/bsp/ft_qspi/
A Dqspi_sinit.c23 u32 Index; in FQSpi_LookupConfig() local
24 for (Index = 0; Index < (u32)FT_GMAC_INSTANCES_NUM; Index++) in FQSpi_LookupConfig()
26 if (FqSpi_ConfigTable[Index].instanceId == instanceId) in FQSpi_LookupConfig()
28 pFQSpi_Config_t = &FqSpi_ConfigTable[Index]; in FQSpi_LookupConfig()
/bsp/ft2004/libraries/bsp/ft_can/
A Dft_can_sinit.c29 u32 Index; in FCan_LookupConfig() local
31 for (Index = 0; Index < (u32)FT_CAN_NUM; Index++) in FCan_LookupConfig()
33 if (FCan_Config[Index].InstanceId == InstanceId) in FCan_LookupConfig()
35 CfgPtr = &FCan_Config[Index]; in FCan_LookupConfig()
/bsp/ft2004/libraries/bsp/ft_gmac/
A Dft_gmac_sinit.c23 u32 Index; in Ft_Gmac_LookupConfig() local
24 for (Index = 0; Index < (u32)FT_GMAC_INSTANCES_NUM; Index++) in Ft_Gmac_LookupConfig()
26 if (Gmac_ConfigTable[Index].InstanceId == InstanceId) in Ft_Gmac_LookupConfig()
28 CfgPtr = &Gmac_ConfigTable[Index]; in Ft_Gmac_LookupConfig()
/bsp/ft2004/libraries/bsp/ft_sd/
A Dft_sdctrl_sinit.c22 u32 Index; in FSdCtrl_LookupConfig() local
23 for (Index = 0; Index < (u32)FT_GMAC_INSTANCES_NUM; Index++) in FSdCtrl_LookupConfig()
25 if (FSdCtrl_Config[Index].instanceId == instanceId) in FSdCtrl_LookupConfig()
27 CfgPtr = &FSdCtrl_Config[Index]; in FSdCtrl_LookupConfig()
/bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/sdps_v3_9/
A Dxsdps_sinit.c65 u32 Index; in XSdPs_LookupConfig() local
67 for (Index = 0U; Index < (u32)XPAR_XSDPS_NUM_INSTANCES; Index++) { in XSdPs_LookupConfig()
68 if (XSdPs_ConfigTable[Index].DeviceId == DeviceId) { in XSdPs_LookupConfig()
69 CfgPtr = &XSdPs_ConfigTable[Index]; in XSdPs_LookupConfig()
/bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/gpiops_v3_7/
A Dxgpiops_sinit.c64 u32 Index; in XGpioPs_LookupConfig() local
66 for (Index = 0U; Index < (u32)XPAR_XGPIOPS_NUM_INSTANCES; Index++) { in XGpioPs_LookupConfig()
67 if (XGpioPs_ConfigTable[Index].DeviceId == DeviceId) { in XGpioPs_LookupConfig()
68 CfgPtr = &XGpioPs_ConfigTable[Index]; in XGpioPs_LookupConfig()
/bsp/nxp/lpc/lpc176x/drivers/
A Demac.c376 rt_uint32_t Index, IndexNext; in lpc17xx_emac_tx() local
401 Index = LPC_EMAC->TxProduceIndex; in lpc17xx_emac_tx()
410 ptr = (rt_uint8_t*)TX_BUF(Index); in lpc17xx_emac_tx()
418 TX_DESC_CTRL(Index) &= ~0x7ff; in lpc17xx_emac_tx()
435 rt_uint32_t Index; in lpc17xx_emac_rx() local
443 Index = LPC_EMAC->RxConsumeIndex; in lpc17xx_emac_rx()
444 if(Index != LPC_EMAC->RxProduceIndex) in lpc17xx_emac_rx()
446 size = (RX_STAT_INFO(Index) & 0x7ff)+1; in lpc17xx_emac_rx()
456 ptr = (rt_uint8_t*)RX_BUF(Index); in lpc17xx_emac_rx()
466 Index = 0; in lpc17xx_emac_rx()
[all …]
/bsp/nxp/lpc/lpc178x/drivers/
A Demac.c400 rt_uint32_t Index, IndexNext; in lpc17xx_emac_tx() local
425 Index = LPC_EMAC->TxProduceIndex; in lpc17xx_emac_tx()
434 ptr = (rt_uint8_t*)TX_BUF(Index); in lpc17xx_emac_tx()
442 TX_DESC_CTRL(Index) &= ~0x7ff; in lpc17xx_emac_tx()
459 rt_uint32_t Index; in lpc17xx_emac_rx() local
467 Index = LPC_EMAC->RxConsumeIndex; in lpc17xx_emac_rx()
468 if(Index != LPC_EMAC->RxProduceIndex) in lpc17xx_emac_rx()
470 size = (RX_STAT_INFO(Index) & 0x7ff)+1; in lpc17xx_emac_rx()
480 ptr = (rt_uint8_t*)RX_BUF(Index); in lpc17xx_emac_rx()
490 Index = 0; in lpc17xx_emac_rx()
[all …]
/bsp/nxp/lpc/lpc408x/drivers/
A Ddrv_emac.c370 rt_uint32_t Index, IndexNext; in lpc_emac_tx() local
394 Index = LPC_EMAC->TxProduceIndex; in lpc_emac_tx()
402 ptr = (rt_uint8_t *)TX_BUF(Index); in lpc_emac_tx()
405 TX_DESC_CTRL(Index) &= ~0x7ff; in lpc_emac_tx()
422 rt_uint32_t Index; in lpc_emac_rx() local
430 Index = LPC_EMAC->RxConsumeIndex; in lpc_emac_rx()
431 if (Index != LPC_EMAC->RxProduceIndex) in lpc_emac_rx()
433 size = (RX_STAT_INFO(Index) & 0x7ff) + 1; in lpc_emac_rx()
444 if (++Index > LPC_EMAC->RxDescriptorNumber) in lpc_emac_rx()
445 Index = 0; in lpc_emac_rx()
[all …]
/bsp/nxp/lpc/lpc43xx/drivers/
A Ddrv_emac.c391 rt_uint32_t Index, IndexNext; in lpc_emac_tx() local
415 Index = LPC_EMAC->TxProduceIndex; in lpc_emac_tx()
423 ptr = (rt_uint8_t *)TX_BUF(Index); in lpc_emac_tx()
426 TX_DESC_CTRL(Index) &= ~0x7ff; in lpc_emac_tx()
443 rt_uint32_t Index; in lpc_emac_rx() local
451 Index = LPC_EMAC->RxConsumeIndex; in lpc_emac_rx()
452 if (Index != LPC_EMAC->RxProduceIndex) in lpc_emac_rx()
454 size = (RX_STAT_INFO(Index) & 0x7ff) + 1; in lpc_emac_rx()
465 if (++Index > LPC_EMAC->RxDescriptorNumber) in lpc_emac_rx()
466 Index = 0; in lpc_emac_rx()
[all …]
/bsp/airm2m/air105/libraries/HAL_Driver/Src/
A Dcore_dma.c26 const uint32_t Index; member
148 uint32_t BaseIndex = hwDMAChannal[Stream].Index; in DMA_CheckStreamBusy()
172 uint32_t tmpChannelxBit = hwDMAChannal[Stream].Index; in DMA_ConfigStream()
250 uint32_t tmpChannelxBit = hwDMAChannal[Stream].Index; in DMA_StartStream()
262 volatile uint32_t tmpChannelxBit = hwDMAChannal[Stream].Index; in DMA_ForceStartStream()
301 uint32_t tmpChannelxBit = hwDMAChannal[Stream].Index; in DMA_ClearStreamFlag()
313 uint32_t tmpChannelxBit = hwDMAChannal[Stream].Index; in DMA_StopStream()
A Dcore_usb_ll_driver.c1798 if (Index)
1803 if (USB_OTG->CSR[Index].RXCSRL_DEV_b.sent_stall)
1807 … if (USB_OTG->CSR[Index].RXCSRL_DEV_b.data_error || USB_OTG->CSR[Index].RXCSRL_DEV_b.over_run)
1815 if (USB_OTG->CSR[Index].TXCSRL_DEV_b.sent_stall)
1819 … if (USB_OTG->CSR[Index].TXCSRL_DEV_b.under_run || USB_OTG->CSR[Index].TXCSRL_DEV_b.tx_pkt_rdy)
1845 if (Index)
1856 DBG("%d", Index);
1857 USB_OTG->CSR[Index].RXCSRL_DEV_b.send_stall = 1;
1863 USB_OTG->CSR[Index].RXCSRL_DEV_b.over_run = 0;
1877 DBG("%d", Index);
[all …]
/bsp/airm2m/air105/libraries/HAL_Driver/Inc/
A Dcore_usb_ll_driver.h42 void USB_SetDeviceEPStatus (HANDLE hUSB, uint8_t Index, uint8_t IsToDevice, uint8_t Status);
43 uint8_t USB_GetDeviceEPStatus (HANDLE hUSB, uint8_t Index, uint8_t IsToDevice);
/bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/emacps_v3_11/
A Dxemacps.h810 LONG XEmacPs_SetMacAddress(XEmacPs *InstancePtr, void *AddressPtr, u8 Index);
812 void XEmacPs_GetMacAddress(XEmacPs *InstancePtr, void *AddressPtr, u8 Index);
826 LONG XEmacPs_SetTypeIdCheck(XEmacPs *InstancePtr, u32 Id_Check, u8 Index);
A Dxemacps_control.c65 LONG XEmacPs_SetMacAddress(XEmacPs *InstancePtr, void *AddressPtr, u8 Index) in XEmacPs_SetMacAddress() argument
69 u8 IndexLoc = Index; in XEmacPs_SetMacAddress()
121 void XEmacPs_GetMacAddress(XEmacPs *InstancePtr, void *AddressPtr, u8 Index) in XEmacPs_GetMacAddress() argument
125 u8 IndexLoc = Index; in XEmacPs_GetMacAddress()
387 LONG XEmacPs_SetTypeIdCheck(XEmacPs *InstancePtr, u32 Id_Check, u8 Index) in XEmacPs_SetTypeIdCheck() argument
389 u8 IndexLoc = Index; in XEmacPs_SetTypeIdCheck()
/bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Inc/
A Dhal_usb_bdt.h70 USB_BufDesp_Type Index[USB_BDT_EP_NUM * USB_BDT_DIRECTION_NUM * USB_BDT_BUF_NUM]; /*!< Index. */ member
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/hid/Include/
A DHid_i.h62 unsigned int Index; /* ndex into report->field[] */ member
/bsp/renesas/rzn2l_etherkit/
A Drzn_cfg.txt352 CPU MPU: Region: Region 00: Attribute Index: Attribute 3
360 CPU MPU: Region: Region 01: Attribute Index: Attribute 3
368 CPU MPU: Region: Region 02: Attribute Index: Attribute 1
376 CPU MPU: Region: Region 03: Attribute Index: Attribute 3
384 CPU MPU: Region: Region 04: Attribute Index: Attribute 3
392 CPU MPU: Region: Region 05: Attribute Index: Attribute 1
400 CPU MPU: Region: Region 06: Attribute Index: Attribute 5
408 CPU MPU: Region: Region 07: Attribute Index: Attribute 5
416 CPU MPU: Region: Region 08: Attribute Index: Attribute 5
424 CPU MPU: Region: Region 09: Attribute Index: Attribute 4
[all …]
/bsp/renesas/rzn2l_rsk/
A Drzn_cfg.txt352 CPU MPU: Region: Region 00: Attribute Index: Attribute 3
360 CPU MPU: Region: Region 01: Attribute Index: Attribute 3
368 CPU MPU: Region: Region 02: Attribute Index: Attribute 1
376 CPU MPU: Region: Region 03: Attribute Index: Attribute 3
384 CPU MPU: Region: Region 04: Attribute Index: Attribute 3
392 CPU MPU: Region: Region 05: Attribute Index: Attribute 1
400 CPU MPU: Region: Region 06: Attribute Index: Attribute 5
408 CPU MPU: Region: Region 07: Attribute Index: Attribute 5
416 CPU MPU: Region: Region 08: Attribute Index: Attribute 5
424 CPU MPU: Region: Region 09: Attribute Index: Attribute 4
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Class/
A DmscTransport.c250 __u16 Index, in mscSendCtrlReq() argument
265 mscDev->CtrlReq->wIndex = cpu_to_le16(Index); // 索引, 使用小端字节序 in mscSendCtrlReq()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/hid/Class/
A DHidProtocol.c48 hal_log_info("Index = %d\n", Field->Index); in print_field()
575 Field->Index = Report->Maxfield++; in HidRegisterField()
576 Report->Field[Field->Index] = Field; in HidRegisterField()
/bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Src/
A Dhal_usb.c175 return &bdt->Index[USBx->STAT >> 2]; in USB_GetBufDesp()
/bsp/stm32/stm32f407-armfly-v5/board/CubeMX_Config/
A DCubeMX_Config.ioc13 I2S2.Instance=SPI$Index

Completed in 57 milliseconds

12