Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 141) sorted by relevance

123456

/hardware/ti/wlan/wl1271/stad/src/Data_link/
DGeneralUtil.c69 int index; in List_create() local
93 for(index=0;index<MaxNumOfElements;index++) in List_create()
95 List->ElementList[index].Container = os_memoryAlloc(hOs,ContainerSize); in List_create()
96 if(List->ElementList[index].Container == NULL) in List_create()
98 List->ElementList[index].Inuse = TI_FALSE; in List_create()
100 if (index != MaxNumOfElements) /*Not all the list element was allocated and*/ in List_create()
102 index--; in List_create()
103 for(;index>=0;index--) in List_create()
104 os_memoryFree(hOs,List->ElementList[index].Container,ContainerSize); in List_create()
132 int index; in List_Destroy() local
[all …]
Drx.c773 TI_UINT8 index = 0; in rxData_addRxDataFilter() local
787 for (index = 0; index < MAX_DATA_FILTERS; ++index) in rxData_addRxDataFilter()
789 if (pRxData->isFilterSet[index] == TI_FALSE) in rxData_addRxDataFilter()
794 if (index == MAX_DATA_FILTERS) in rxData_addRxDataFilter()
801 … TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Inserting filter at index %d.\n", index); in rxData_addRxDataFilter()
811 pRxData->isFilterSet[index] = TI_TRUE; in rxData_addRxDataFilter()
812 …memoryCopy(pRxData->hOs, &pRxData->filterRequests[index], request, sizeof(pRxData->filterRequests[ in rxData_addRxDataFilter()
816 index, in rxData_addRxDataFilter()
844 int index = findFilterRequest(hRxData, request); in rxData_removeRxDataFilter() local
847 if (index < 0) in rxData_removeRxDataFilter()
[all …]
/hardware/libhardware_legacy/wifi/
Dwifi.c619 int wifi_connect_on_socket_path(int index, const char *path) in wifi_connect_on_socket_path() argument
630 ctrl_conn[index] = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
631 if (ctrl_conn[index] == NULL) { in wifi_connect_on_socket_path()
636 monitor_conn[index] = wpa_ctrl_open(path); in wifi_connect_on_socket_path()
637 if (monitor_conn[index] == NULL) { in wifi_connect_on_socket_path()
638 wpa_ctrl_close(ctrl_conn[index]); in wifi_connect_on_socket_path()
639 ctrl_conn[index] = NULL; in wifi_connect_on_socket_path()
642 if (wpa_ctrl_attach(monitor_conn[index]) != 0) { in wifi_connect_on_socket_path()
643 wpa_ctrl_close(monitor_conn[index]); in wifi_connect_on_socket_path()
644 wpa_ctrl_close(ctrl_conn[index]); in wifi_connect_on_socket_path()
[all …]
/hardware/ti/wlan/wl1271/stad/src/Application/
DroamingMngr.c494 TI_UINT8 index; in roamingMngr_printStatistics() local
503 for (index=ROAMING_TRIGGER_LOW_TX_RATE; index<ROAMING_TRIGGER_LAST; index++) in roamingMngr_printStatistics()
505 switch (index) in roamingMngr_printStatistics()
508 WLAN_OS_REPORT(("- Low TX rate = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
511 WLAN_OS_REPORT(("- Low Snr = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
514 WLAN_OS_REPORT(("- Low Quality = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
517 WLAN_OS_REPORT(("- MAX TX retries = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
520 WLAN_OS_REPORT(("- BSS Loss TX = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
523 WLAN_OS_REPORT(("- Switch Channel = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
526 WLAN_OS_REPORT(("- AP Disconnect = %d\n", pRoamingMngr->roamingTriggerEvents[index])); in roamingMngr_printStatistics()
[all …]
DroamingMngr_autoSM.c341 TI_UINT32 index; in roamingMngr_smSelection() local
360 for (index=0; index<pRoamingMngr->pListOfAPs->numOfEntries; index++ ) in roamingMngr_smSelection()
363 …(pRoamingMngr->pListOfAPs->BSSList[index].RSSI < pRoamingMngr->roamingMngrConfig.apQualityThreshol… in roamingMngr_smSelection()
366index].BSSID[0], pRoamingMngr->pListOfAPs->BSSList[index].BSSID[1], pRoamingMngr->pListOfAPs->BSSL… in roamingMngr_smSelection()
371 …iteBanned(pRoamingMngr->hAPConnection, &pRoamingMngr->pListOfAPs->BSSList[index].BSSID) == TI_TRUE) in roamingMngr_smSelection()
373index].BSSID[0], pRoamingMngr->pListOfAPs->BSSList[index].BSSID[1], pRoamingMngr->pListOfAPs->BSSL… in roamingMngr_smSelection()
377 if (pRoamingMngr->pListOfAPs->BSSList[index].bNeighborAP) in roamingMngr_smSelection()
379 …gr->listOfCandidateAps.neighborBSSList[pRoamingMngr->listOfCandidateAps.numOfNeighborBSS] = index; in roamingMngr_smSelection()
383 &pRoamingMngr->pListOfAPs->BSSList[index].BSSID)) in roamingMngr_smSelection()
385 …Mngr->listOfCandidateAps.preAuthBSSList[pRoamingMngr->listOfCandidateAps.numOfPreAuthBSS] = index; in roamingMngr_smSelection()
[all …]
/hardware/ti/wlan/wl1271/utils/
Dreport.c294 TI_UINT8 index; in report_GetReportFilesTable() local
306 for (index = 0; index < sizeof(((TReport *)hReport)->aFileEnable); index++) in report_GetReportFilesTable()
308 pFiles[index] += '0'; in report_GetReportFilesTable()
317 TI_UINT8 index; in report_SetReportFilesTable() local
325 for (index = 0; index < sizeof(((TReport *)hReport)->aFileEnable); index++) in report_SetReportFilesTable()
327 pFiles[index] -= '0'; in report_SetReportFilesTable()
341 TI_UINT8 index; in report_GetReportSeverityTable() local
355 for (index = 0; index < sizeof(((TReport *)hReport)->aSeverityTable); index++) in report_GetReportSeverityTable()
357 pSeverities[index] += '0'; in report_GetReportSeverityTable()
366 TI_UINT8 index; in report_SetReportSeverityTable() local
[all …]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
Dcu_wext.c67 static S32 CuWext_FillBssidList(struct iw_event *iwe, OS_802_11_BSSID_EX* bssidList, S32 index) in CuWext_FillBssidList() argument
73 os_memcpy(bssidList[index].MacAddress, iwe->u.ap_addr.sa_data, MAC_ADDR_LEN); in CuWext_FillBssidList()
74 bssidList[index].Configuration.BeaconPeriod = 0; /* default configuration */ in CuWext_FillBssidList()
78 bssidList[index-1].Ssid.SsidLength = iwe->u.data.length; in CuWext_FillBssidList()
79 … os_memcpy(bssidList[index-1].Ssid.Ssid, iwe->u.data.pointer, bssidList[index-1].Ssid.SsidLength); in CuWext_FillBssidList()
81 bssidList[index-1].Ssid.Ssid[bssidList[index-1].Ssid.SsidLength] = 0; in CuWext_FillBssidList()
99 bssidList[index-1].NetworkTypeInUse = i; in CuWext_FillBssidList()
104 bssidList[index-1].InfrastructureMode = os802_11IBSS; in CuWext_FillBssidList()
106 bssidList[index-1].InfrastructureMode = os802_11Infrastructure; in CuWext_FillBssidList()
108 bssidList[index-1].InfrastructureMode = os802_11AutoUnknown; in CuWext_FillBssidList()
[all …]
/hardware/invensense/libsensors/
DMPLSensor.h80 void gyroHandler(sensors_event_t *data, uint32_t *pendmask, int index);
81 void accelHandler(sensors_event_t *data, uint32_t *pendmask, int index);
82 void compassHandler(sensors_event_t *data, uint32_t *pendmask, int index);
83 void rvHandler(sensors_event_t *data, uint32_t *pendmask, int index);
84 void laHandler(sensors_event_t *data, uint32_t *pendmask, int index);
85 void gravHandler(sensors_event_t *data, uint32_t *pendmask, int index);
86 void orienHandler(sensors_event_t *data, uint32_t *pendmask, int index);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXZoom.cpp86 status_t OMXCameraAdapter::doZoom(int index) in doZoom() argument
100 if ( ( 0 > index) || ( ( ZOOM_STAGES - 1 ) < index ) ) in doZoom()
102 CAMHAL_LOGEB("Zoom index %d out of range", index); in doZoom()
106 if (mPreviousZoomIndx == index ) in doZoom()
115 zoomControl.xHeight = ZOOM_STEPS[index]; in doZoom()
116 zoomControl.xWidth = ZOOM_STEPS[index]; in doZoom()
129 mPreviousZoomIndx = index; in doZoom()
DOMXCapture.cpp803 for ( int index = 0 ; index < capData->mNumBufs ; index++ ) { in startImageCapture() local
805 ( unsigned int ) capData->mBufferHeader[index]->pBuffer); in startImageCapture()
807 (OMX_BUFFERHEADERTYPE*)capData->mBufferHeader[index]); in startImageCapture()
1014 for ( int index = 0 ; index < imgCaptureData->mNumBufs ; index++) { in disableImagePort() local
1016 ( unsigned int ) imgCaptureData->mBufferHeader[index]->pBuffer); in disableImagePort()
1019 (OMX_BUFFERHEADERTYPE*)imgCaptureData->mBufferHeader[index]); in disableImagePort()
1147 for ( int index = 0 ; index < imgCaptureData->mNumBufs ; index++ ) in UseBuffersCapture() local
1151 (unsigned int)buffers[index], in UseBuffersCapture()
1159 (OMX_U8*)buffers[index]); in UseBuffersCapture()
1164 pBufferHdr->pAppPrivate = (OMX_PTR) index; in UseBuffersCapture()
[all …]
/hardware/ti/wlan/wl1271/TWD/Ctrl/
DCmdBld.c171 pWlanParams->tRssiSnrTrigger[i].index = i; in cmdBld_Create()
246 TI_UINT32 index; in cmdBld_Config() local
258 for (index = 0; in cmdBld_Config()
259index < pCmdBld->tSecurity.uNumOfStations * NO_OF_RECONF_SECUR_KEYS_PER_STATION + NO_OF_EXTRA_RECO… in cmdBld_Config()
260 index++) in cmdBld_Config()
261 (DB_KEYS(pCmdBld).pReconfKeys + index)->keyType = KEY_NULL; in cmdBld_Config()
445 TI_UINT32 index; in __cmd_keep_alive_tmpl() local
453 for (index = 0; index < KLV_MAX_TMPL_NUM - 1; index++) in __cmd_keep_alive_tmpl()
459 index, in __cmd_keep_alive_tmpl()
472 index, in __cmd_keep_alive_tmpl()
[all …]
DCmdBldCfg.c681 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].index = pTriggerParam->index; in cmdBld_CfgRssiSnrTrigger()
682 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].threshold = pTriggerParam->threshold; in cmdBld_CfgRssiSnrTrigger()
683 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].pacing = pTriggerParam->pacing; in cmdBld_CfgRssiSnrTrigger()
684 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].metric = pTriggerParam->metric; in cmdBld_CfgRssiSnrTrigger()
685 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].type = pTriggerParam->type; in cmdBld_CfgRssiSnrTrigger()
686 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].direction = pTriggerParam->direction; in cmdBld_CfgRssiSnrTrigger()
687 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].hystersis = pTriggerParam->hystersis; in cmdBld_CfgRssiSnrTrigger()
688 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].enable = pTriggerParam->enable; in cmdBld_CfgRssiSnrTrigger()
866 TI_UINT8 index; in cmdBld_CfgTxRatePolicy() local
872 for (index = 0; index < pTxRatePolicy->numOfRateClasses; index++, pTxRateClass++) in cmdBld_CfgTxRatePolicy()
[all …]
/hardware/ril/mock-ril/src/cpp/
Dmsgheader.pb.h137 inline bool _has_bit(int index) const { in _has_bit() argument
138 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; in _has_bit()
140 inline void _set_bit(int index) { in _set_bit() argument
141 _has_bits_[index / 32] |= (1u << (index % 32)); in _set_bit()
143 inline void _clear_bit(int index) { in _clear_bit() argument
144 _has_bits_[index / 32] &= ~(1u << (index % 32)); in _clear_bit()
/hardware/ti/wpan/tools/kfmapp/
Dkfmapp.c185 vm.index = 0; in fmapp_get_tx_frequency()
212 vt.index = 0; in fmapp_get_rx_frequency()
457 vm.index = 0; in fmapp_set_tx_frequency()
501 vt.index = 0; in fmapp_set_rx_frequency()
532 int index; in display_volume_bar() local
534 for(index=1; index<g_vol_to_set; index = index*1000) in display_volume_bar()
929 vtun.index = 0; in fmapp_get_rx_rssi_lvl()
946 vtun.index = 0; in fmapp_set_stereo_mono_mode()
974 vtun.index = 0; in fmapp_get_stereo_mono_mode()
991 vtun.index = 0; in fmapp_get_rx_tunner_attributes()
[all …]
/hardware/ril/mock-ril/src/js/
Dsimulated_radio.js62 this.index = 0;
163 this.getCall = function(index) { argument
166 c = calls[index];
209 c.index = i;
225 this.removeCall = function(index) { argument
228 && (index < calls.length)
229 && (typeof calls[index] != 'undefined')) {
230 c = calls[index];
231 delete calls[index];
249 print('c[' + c.index + ']: index=' + c.index + ' state=' + c.state +
[all …]
Dsimulated_radio_tests.js62 simulatedRadio.removeCall(c0.index);
64 simulatedRadio.removeCall(c1.index);
66 simulatedRadio.removeCall(c2.index);
78 simulatedRadio.removeCall(c3.index);
234 simulatedRadio.removeCall(c0.index);
308 simulatedRadio.removeCall(c0.index);
309 simulatedRadio.removeCall(c1.index);
/hardware/ti/omap4xxx/camera/
DCameraParameters.cpp174 const char* CameraProperties::Properties::keyAt(unsigned int index) in keyAt() argument
176 if(index < mProperties->size()) in keyAt()
178 return mProperties->keyAt(index).string(); in keyAt()
183 const char* CameraProperties::Properties::valueAt(unsigned int index) in valueAt() argument
185 if(index < mProperties->size()) in valueAt()
187 return mProperties->valueAt(index).string(); in valueAt()
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
DadmCtrlWpa.c711 TI_UINT8 index; in admCtrlWpa_setSite() local
797 for (index=0; index<wpaData.unicastSuiteCnt; index++) in admCtrlWpa_setSite()
799 …pAdmCtrlWpa_validity = &admCtrlWpa_validityTable[wpaData.unicastSuite[index]][wpaData.broadcastSui… in admCtrlWpa_setSite()
961 TI_UINT8 index; in admCtrlWpa_evalSite() local
1055 for (index=0; index<wpaData.unicastSuiteCnt; index++) in admCtrlWpa_evalSite()
1057 …admCtrlWpa_validity = admCtrlWpa_validityTable[wpaData.unicastSuite[index]][wpaData.broadcastSuite… in admCtrlWpa_evalSite()
1175 TI_INT32 index, unicastSuiteIndex=0; in admCtrlWpa_parseIe() local
1178 …for (index=0; (index<pairWiseSuiteCnt) && (wpaIePacket->length >= (WPA_IE_MIN_PAIRWISE_SUITE_LENGT… in admCtrlWpa_parseIe()
1191 for (index=MAX_WPA_UNICAST_SUITES-1; index>=0; index--) in admCtrlWpa_parseIe()
1193 if (cipherSuite[index]) in admCtrlWpa_parseIe()
[all …]
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/
DmeasurementMgr.c624 TI_UINT8 index; in measurementMgr_activateNextRequest() local
646 for (index = 0; index < MAX_NUM_REQ; index++) in measurementMgr_activateNextRequest()
648 pRequestArr[index] = NULL; in measurementMgr_activateNextRequest()
685 for (index = 0; index < numOfRequestsInParallel; index++) in measurementMgr_activateNextRequest()
687index+1, pRequestArr[index]->Type, pRequestArr[index]->channelNumber, pMeasurementMgr->servingChan… in measurementMgr_activateNextRequest()
754 TI_UINT8 index; in measurementMgr_MeasurementCompleteCB() local
759 for (index = 0; index < msrReply->numberOfTypes; index++) in measurementMgr_MeasurementCompleteCB()
761 …uildReport(pMeasurementMgr, *(pMeasurementMgr->currentRequest[index]), &msrReply->msrTypes[index]); in measurementMgr_MeasurementCompleteCB()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp132 mVideoInfo->buf.index = i; in fillThisBuffer()
250 mVideoInfo->buf.index = i; in UseBuffersPreview()
298 mVideoInfo->buf.index = i; in startPreview()
381 char * V4LCameraAdapter::GetFrame(int &index) in GetFrame() argument
396 index = mVideoInfo->buf.index; in GetFrame()
398 return (char *)mVideoInfo->mem[mVideoInfo->buf.index]; in GetFrame()
521 int index = 0; in previewThread() local
522 char *fp = this->GetFrame(index); in previewThread()
528 uint8_t* ptr = (uint8_t*) mPreviewBufs.keyAt(index); in previewThread()
/hardware/ril/libril/
Dril_event.cpp137 static void removeWatch(struct ril_event * ev, int index) in removeWatch() argument
139 watch_table[index] = NULL; in removeWatch()
140 ev->index = -1; in removeWatch()
258 ev->index = -1; in ril_event_set()
273 ev->index = i; in ril_event_add()
321 if (ev->index < 0 || ev->index >= MAX_FD_EVENTS) { in ril_event_del()
326 removeWatch(ev, ev->index); in ril_event_del()
/hardware/ti/omap3/dspbridge/dspexec/
Ddspexec.c110 UINT index = 0; in main() local
150 while (DSP_SUCCEEDED(DSPManager_EnumProcessorInfo(index,&dspInfo, in main()
155 uProcId = index; in main()
159 index++; in main()
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
DsiteHash.c110 pSiteTableParams->siteTable[i].index = i; in siteMgr_resetSiteTable()
344 TI_UINT8 index; in removeSiteEntry() local
368 index = pSiteEntry->index; /* keep the index of the siteTable entry */ in removeSiteEntry()
374 pSiteEntry->index = index; /* restore the index of the siteTable */ in removeSiteEntry()
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
DFmPresetList.java134 final Integer index = menuInfo.position; in onContextItemSelected() local
135 final Integer i = new Integer(index.intValue() + 1); in onContextItemSelected()
156 FmRxApp.UpdateRenameStation(index, value); in onContextItemSelected()
177 FmRxApp.updateSetStation(index, FmRxApp.txtFmRxTunedFreq in onContextItemSelected()
196 FmRxApp.updateUnSetStation(index); in onContextItemSelected()
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_base.cpp2250 unsigned int index = 0; in free_input_buffer() local
2260 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer()
2262 if(index < m_sInPortDef.nBufferCountActual && m_pInput_pmem) in free_input_buffer()
2264 if(m_pInput_pmem[index].fd > 0 && input_use_buffer == false) in free_input_buffer()
2267 if(dev_free_buf(&m_pInput_pmem[index],PORT_INDEX_IN) != true) in free_input_buffer()
2271 munmap (m_pInput_pmem[index].buffer,m_pInput_pmem[index].size); in free_input_buffer()
2272 close (m_pInput_pmem[index].fd); in free_input_buffer()
2273 m_pInput_pmem[index].fd = -1; in free_input_buffer()
2275 else if(m_pInput_pmem[index].fd > 0 && (input_use_buffer == true && in free_input_buffer()
2279 if(dev_free_buf(&m_pInput_pmem[index],PORT_INDEX_IN) != true) in free_input_buffer()
[all …]

123456