Searched refs:index (Results 1 - 25 of 140) sorted by relevance

123456

/hardware/ti/wlan/wl1271/stad/src/Data_link/
H A DGeneralUtil.c69 int index; local
93 for(index=0;index<MaxNumOfElements;index++)
95 List->ElementList[index].Container = os_memoryAlloc(hOs,ContainerSize);
96 if(List->ElementList[index].Container == NULL)
98 List->ElementList[index].Inuse = TI_FALSE;
100 if (index != MaxNumOfElements) /*Not all the list element was allocated and*/
102 index--;
103 for(;index>
132 int index; local
163 int index; local
194 int index; local
227 int index; local
258 int index; local
[all...]
/hardware/libhardware_legacy/wifi/
H A Dwifi.c619 int wifi_connect_on_socket_path(int index, const char *path) argument
630 ctrl_conn[index] = wpa_ctrl_open(path);
631 if (ctrl_conn[index] == NULL) {
636 monitor_conn[index] = wpa_ctrl_open(path);
637 if (monitor_conn[index] == NULL) {
638 wpa_ctrl_close(ctrl_conn[index]);
639 ctrl_conn[index] = NULL;
642 if (wpa_ctrl_attach(monitor_conn[index]) != 0) {
643 wpa_ctrl_close(monitor_conn[index]);
644 wpa_ctrl_close(ctrl_conn[index]);
677 wifi_send_command(int index, const char *cmd, char *reply, size_t *reply_len) argument
700 wifi_ctrl_recv(int index, char *reply, size_t *reply_len) argument
724 wifi_wait_on_socket(int index, char *buf, size_t buflen) argument
793 wifi_close_sockets(int index) argument
[all...]
/hardware/invensense/libsensors/
H A 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/wlan/wl1271/stad/src/Application/
H A DroamingMngr_autoSM.c341 TI_UINT32 index; local
360 for (index=0; index<pRoamingMngr->pListOfAPs->numOfEntries; index++ )
363 (pRoamingMngr->pListOfAPs->BSSList[index].RSSI < pRoamingMngr->roamingMngrConfig.apQualityThreshold))
366 TRACE8(pRoamingMngr->hReport, REPORT_SEVERITY_INFORMATION, "candidate AP %x-%x-%x-%x-%x-%x with RSSI too low =%d, Quality=%d \n", pRoamingMngr->pListOfAPs->BSSList[index].BSSID[0], pRoamingMngr->pListOfAPs->BSSList[index].BSSID[1], pRoamingMngr->pListOfAPs->BSSList[index].BSSID[2], pRoamingMngr->pListOfAPs->BSSList[index].BSSID[3], pRoamingMngr->pListOfAPs->BSSList[index]
[all...]
H A DroamingMngr.c494 TI_UINT8 index; local
503 for (index=ROAMING_TRIGGER_LOW_TX_RATE; index<ROAMING_TRIGGER_LAST; index++)
505 switch (index)
508 WLAN_OS_REPORT(("- Low TX rate = %d\n", pRoamingMngr->roamingTriggerEvents[index]));
511 WLAN_OS_REPORT(("- Low Snr = %d\n", pRoamingMngr->roamingTriggerEvents[index]));
514 WLAN_OS_REPORT(("- Low Quality = %d\n", pRoamingMngr->roamingTriggerEvents[index]));
517 WLAN_OS_REPORT(("- MAX TX retries = %d\n", pRoamingMngr->roamingTriggerEvents[index]));
520 WLAN_OS_REPORT(("- BSS Loss TX = %d\n", pRoamingMngr->roamingTriggerEvents[index]));
606 TI_UINT8 index; local
713 TI_UINT8 index =0; local
952 TI_UINT32 index; local
[all...]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXZoom.cpp86 status_t OMXCameraAdapter::doZoom(int index) argument
100 if ( ( 0 > index) || ( ( ZOOM_STAGES - 1 ) < index ) )
102 CAMHAL_LOGEB("Zoom index %d out of range", index);
106 if (mPreviousZoomIndx == index )
115 zoomControl.xHeight = ZOOM_STEPS[index];
116 zoomControl.xWidth = ZOOM_STEPS[index];
129 mPreviousZoomIndx = index;
/hardware/ril/libril/
H A Dril_event.h28 int index; member in struct:ril_event
H A Dril_event.cpp137 static void removeWatch(struct ril_event * ev, int index) argument
139 watch_table[index] = NULL;
140 ev->index = -1;
258 ev->index = -1;
273 ev->index = i;
321 if (ev->index < 0 || ev->index >= MAX_FD_EVENTS) {
326 removeWatch(ev, ev->index);
/hardware/ti/wlan/wl1271/utils/
H A Dreport.c294 TI_UINT8 index; local
306 for (index = 0; index < sizeof(((TReport *)hReport)->aFileEnable); index++)
308 pFiles[index] += '0';
317 TI_UINT8 index; local
325 for (index = 0; index < sizeof(((TReport *)hReport)->aFileEnable); index++)
327 pFiles[index]
341 TI_UINT8 index; local
366 TI_UINT8 index; local
469 TI_UINT32 index; local
[all...]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
H A Dcu_wext.c67 static S32 CuWext_FillBssidList(struct iw_event *iwe, OS_802_11_BSSID_EX* bssidList, S32 index) argument
73 os_memcpy(bssidList[index].MacAddress, iwe->u.ap_addr.sa_data, MAC_ADDR_LEN);
74 bssidList[index].Configuration.BeaconPeriod = 0; /* default configuration */
78 bssidList[index-1].Ssid.SsidLength = iwe->u.data.length;
79 os_memcpy(bssidList[index-1].Ssid.Ssid, iwe->u.data.pointer, bssidList[index-1].Ssid.SsidLength);
81 bssidList[index-1].Ssid.Ssid[bssidList[index-1].Ssid.SsidLength] = 0;
99 bssidList[index-1].NetworkTypeInUse = i;
104 bssidList[index
[all...]
/hardware/ti/omap4xxx/camera/
H A DCameraParameters.cpp31 const char CameraProperties::CAMERA_SENSOR_INDEX[]="prop-sensor-index";
174 const char* CameraProperties::Properties::keyAt(unsigned int index) argument
176 if(index < mProperties->size())
178 return mProperties->keyAt(index).string();
183 const char* CameraProperties::Properties::valueAt(unsigned int index) argument
185 if(index < mProperties->size())
187 return mProperties->valueAt(index).string();
/hardware/msm7k/libaudio-qdsp5v2/
H A DAudioPolicyManager.h52 virtual float computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device);
/hardware/msm7k/libaudio-qsd8k/
H A DAudioPolicyManager.h52 virtual float computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device);
/hardware/ti/omap3/dspbridge/dspexec/
H A Ddspexec.c110 UINT index = 0; local
130 /* user specified DSP processor ID (based on zero-index) */
150 while (DSP_SUCCEEDED(DSPManager_EnumProcessorInfo(index,&dspInfo,
155 uProcId = index;
159 index++;
/hardware/ril/mock-ril/src/cpp/
H A Dmsgheader.pb.h137 inline bool _has_bit(int index) const {
138 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
140 inline void _set_bit(int index) { argument
141 _has_bits_[index / 32] |= (1u << (index % 32));
143 inline void _clear_bit(int index) { argument
144 _has_bits_[index / 32] &= ~(1u << (index % 32));
/hardware/ti/wlan/wl1271/TWD/Ctrl/
H A DCmdBld.c166 * loop an all rssi_snr triggers and initialize only index number.
167 * Reason: 'index' not initialized --> 'index = 0' --> triggers 1..7 will overrun trigger '0' in cmdBld_ConfigSeq
171 pWlanParams->tRssiSnrTrigger[i].index = i;
246 TI_UINT32 index; local
258 for (index = 0;
259 index < pCmdBld->tSecurity.uNumOfStations * NO_OF_RECONF_SECUR_KEYS_PER_STATION + NO_OF_EXTRA_RECONF_SECUR_KEYS;
260 index++)
261 (DB_KEYS(pCmdBld).pReconfKeys + index)->keyType = KEY_NULL;
445 TI_UINT32 index; local
649 TI_UINT32 index; local
693 TI_UINT32 index; local
890 TI_UINT32 index; local
1346 TI_UINT32 index; local
1393 TI_UINT32 index; local
1701 TI_UINT32 index; local
[all...]
H A DCmdBldCfg.c681 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].index = pTriggerParam->index;
682 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].threshold = pTriggerParam->threshold;
683 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].pacing = pTriggerParam->pacing;
684 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].metric = pTriggerParam->metric;
685 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].type = pTriggerParam->type;
686 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].direction = pTriggerParam->direction;
687 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index].hystersis = pTriggerParam->hystersis;
688 DB_WLAN(hCmdBld).tRssiSnrTrigger[pTriggerParam->index]
866 TI_UINT8 index; local
969 TI_UINT32 index; local
1065 cmdBld_CfgRxDataFilter(TI_HANDLE hCmdBld, TI_UINT8 index, TI_UINT8 command, filter_e eAction, TI_UINT8 uNumFieldPatterns, TI_UINT8 uLenFieldPatterns, TI_UINT8 *pFieldPatterns, void *fCb, TI_HANDLE hCb) argument
[all...]
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
H A DFmPresetList.java134 final Integer index = menuInfo.position;
135 final Integer i = new Integer(index.intValue() + 1);
156 FmRxApp.UpdateRenameStation(index, value);
177 FmRxApp.updateSetStation(index, FmRxApp.txtFmRxTunedFreq
196 FmRxApp.updateUnSetStation(index);
/hardware/ti/wpan/tools/kfmapp/
H A Dkfmapp.c185 vm.index = 0;
212 vt.index = 0;
457 vm.index = 0;
501 vt.index = 0;
532 int index; local
534 for(index=1; index<g_vol_to_set; index = index*1000)
929 vtun.index
1022 unsigned char index; local
1166 int ret,index; local
[all...]
/hardware/ril/mock-ril/src/js/
H A 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);
H A Dsimulated_radio.js62 this.index = 0;
161 * @return the RilCall at calls[index] or null if undefined.
163 this.getCall = function(index) {
166 c = calls[index];
203 // call index should fall in the closure of [1, 7]
209 c.index = i;
222 * @param index into calls to remove.
225 this.removeCall = function(index) {
228 && (index < calls.length)
229 && (typeof calls[index] !
[all...]
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
H A DadmCtrlWpa.c711 TI_UINT8 index; local
797 for (index=0; index<wpaData.unicastSuiteCnt; index++)
799 pAdmCtrlWpa_validity = &admCtrlWpa_validityTable[wpaData.unicastSuite[index]][wpaData.broadcastSuite][encryptionStatus];
961 TI_UINT8 index; local
1055 for (index=0; index<wpaData.unicastSuiteCnt; index++)
1057 admCtrlWpa_validity = admCtrlWpa_validityTable[wpaData.unicastSuite[index]][wpaDat
1175 TI_INT32 index, unicastSuiteIndex=0; local
1211 TI_UINT16 index; local
[all...]
/hardware/invensense/mlsdk/mllite/
H A Dcompass.h51 int index; member in struct:yas_adaptive_filter
H A Dmldl.h160 unsigned char inv_get_interrupt_trigger(unsigned char index);
161 void inv_clear_interrupt_trigger(unsigned char index);
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
H A DsiteHash.c110 pSiteTableParams->siteTable[i].index = i;
285 { /* Save the oldest site's index, according to TS */
300 TRACE9(pSiteMgr->hReport, REPORT_SEVERITY_INFORMATION, "INSERT failure, no free entry!, numOfSites=%d, removing site index=%d,\n bssid: %X-%X-%X-%X-%X-%X, ts=%d \n", pCurrentSiteTable->numOfSites, nextSite2Remove, pSiteEntry->bssid[0], pSiteEntry->bssid[1], pSiteEntry->bssid[2], pSiteEntry->bssid[3], pSiteEntry->bssid[4], pSiteEntry->bssid[5], pSiteEntry->localTimeStamp);
319 TRACE8(pSiteMgr->hReport, REPORT_SEVERITY_INFORMATION, "INSERT success, bssid: %X-%X-%X-%X-%X-%X, band=%d, index=%d\n\n", (*mac)[0], (*mac)[1], (*mac)[2], (*mac)[3], (*mac)[4], (*mac)[5], band, emptySiteIndex);
344 TI_UINT8 index; local
368 index = pSiteEntry->index; /* keep the index of the siteTable entry */
374 pSiteEntry->index = index; /* restor
[all...]

Completed in 963 milliseconds

123456