/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
H A D | bcmendian.h | 31 #define BCMSWAP16(val) \ 32 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 33 (((uint16)(val) & (uint16)0xff00U) >> 8))) 36 #define BCMSWAP32(val) \ 37 ((uint32)((((uint32)(val) & (uint32)0x000000ffU) << 24) | \ 38 (((uint32)(val) & (uint32)0x0000ff00U) << 8) | \ 39 (((uint32)(val) & (uint32)0x00ff0000U) >> 8) | \ 40 (((uint32)(val) & (uint32)0xff000000U) >> 24))) 43 #define BCMSWAP32BY16(val) \ 44 ((uint32)((((uint32)(val) 177 bcmswap16(uint16 val) argument 183 bcmswap32(uint32 val) argument 189 bcmswap32by16(uint32 val) argument 210 htol16_ua_store(uint16 val, uint8 *bytes) argument 218 htol32_ua_store(uint32 val, uint8 *bytes) argument 228 hton16_ua_store(uint16 val, uint8 *bytes) argument 236 hton32_ua_store(uint32 val, uint8 *bytes) argument [all...] |
H A D | miniopt.h | 47 bool good_int; /* 'val' member is the result of a sucessful 57 int val; /* strtol translation of valstr */ member in struct:miniopt
|
H A D | bcmdefs.h | 169 #define GFIELD(val, field) \ 170 (((val) >> field ## _S) & field ## _M) 171 #define SFIELD(val, field, bits) \ 172 (((val) & (~(field ## _M << field ## _S))) | \
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmendian.h | 31 #define BCMSWAP16(val) \ 32 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 33 (((uint16)(val) & (uint16)0xff00U) >> 8))) 36 #define BCMSWAP32(val) \ 37 ((uint32)((((uint32)(val) & (uint32)0x000000ffU) << 24) | \ 38 (((uint32)(val) & (uint32)0x0000ff00U) << 8) | \ 39 (((uint32)(val) & (uint32)0x00ff0000U) >> 8) | \ 40 (((uint32)(val) & (uint32)0xff000000U) >> 24))) 43 #define BCMSWAP32BY16(val) \ 44 ((uint32)((((uint32)(val) 177 bcmswap16(uint16 val) argument 183 bcmswap32(uint32 val) argument 189 bcmswap32by16(uint32 val) argument 210 htol16_ua_store(uint16 val, uint8 *bytes) argument 218 htol32_ua_store(uint32 val, uint8 *bytes) argument 228 hton16_ua_store(uint16 val, uint8 *bytes) argument 236 hton32_ua_store(uint32 val, uint8 *bytes) argument [all...] |
H A D | miniopt.h | 47 bool good_int; /* 'val' member is the result of a sucessful 57 int val; /* strtol translation of valstr */ member in struct:miniopt
|
H A D | bcmdefs.h | 169 #define GFIELD(val, field) \ 170 (((val) >> field ## _S) & field ## _M) 171 #define SFIELD(val, field, bits) \ 172 (((val) & (~(field ## _M << field ## _S))) | \
|
/hardware/ti/wlan/mac80211/ti-utils/ |
H A D | ini.c | 120 #define COMPARE_N_ADD(temp, str, val, ptr, size) \ 125 *p = strtol(val, NULL, 16); \ 127 val += 3; p++; \ 133 #define DBG_COMPARE_N_ADD(temp, str, val, ptr, size) \ 138 *p = strtol(val, NULL, 16); \ 140 val += 3; p++; \ 153 #define COMPARE_N_ADD2(temp, str, val, ptr, size) \ 158 *p = strtol(val, NULL, 16); \ 160 val += 5; p++; \ 166 #define DBG_COMPARE_N_ADD2(temp, str, val, pt 189 char *name, *val; local 243 char *name, *val; local 310 char *name, *val; local 335 char *name, *val; local 355 char *name, *val; local 380 char *name, *val; local 400 char *name, *val; local 461 char *name, *val; local 530 char *name, *val; local 591 char *name, *val; local 660 char *name, *val; local 717 char *name, *val; local 782 char *name, *val; local [all...] |
H A D | nvs.h | 17 int set_nvs_file_autofem(const char *nvs_file, unsigned char val, 20 int set_nvs_file_fem_manuf(const char *nvs_file, unsigned char val,
|
H A D | nvs.c | 81 int nvs_set_autofem(int fd, char *buf, unsigned char val) argument 93 gp->general_params.tx_bip_fem_auto_detect = val; 106 int nvs_set_autofem_128x(int fd, char *buf, unsigned char val) argument 118 gp->general_params.tx_bip_fem_auto_detect = val; 131 int nvs_set_fem_manuf(int fd, char *buf, unsigned char val) argument 143 gp->general_params.tx_bip_fem_manufacturer = val; 156 int nvs_set_fem_manuf_128x(int fd, char *buf, unsigned char val) argument 168 gp->general_params.tx_bip_fem_manufacturer = val; 743 int set_nvs_file_autofem(const char *nvs_file, unsigned char val, argument 779 if (cmn->nvs_ops->nvs_set_autofem(new_nvs, buf, val)) { 790 set_nvs_file_fem_manuf(const char *nvs_file, unsigned char val, struct wl12xx_common *cmn) argument [all...] |
H A D | misc_cmds.c | 377 unsigned char val; local 391 sscanf(argv[0], "%2x", (unsigned int *)&val); 397 if (set_nvs_file_autofem(fname, val, &cmn)) { 412 unsigned char val; local 426 sscanf(argv[0], "%2x", (unsigned int *)&val); 432 if (set_nvs_file_fem_manuf(fname, val, &cmn)) {
|
/hardware/ti/wlan/lib/ |
H A D | shlist.h | 14 typedef int (*shListPrint)( void *val ); 15 typedef void (*shListFree)( void *val ); 16 typedef int (*shListEqual)( void *val, void *idata ); 19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ); 26 void shListInsFirstItem( SHLIST *head, void *val ); 27 void shListInsBeforeItem( SHLIST *head, void *val, void *etalon, 29 void shListInsLastItem( SHLIST *head, void *val );
|
H A D | shlist.c | 17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) argument 23 if( func( val, item->data ) ) { 28 if( item->data == val ) { 94 void shListInsFirstItem( SHLIST *head, void *val ) 101 item->data = val; 112 void shListInsLastItem( SHLIST *head, void *val ) 119 item->data = val; 130 void shListInsBeforeItem( SHLIST *head, void *val, void *etal, argument 136 shListInsFirstItem( head, val ); 141 item->data = val; [all...] |
/hardware/invensense/mlsdk/mllite/ |
H A D | compass.h | 83 inv_error_t inv_compass_write_reg(unsigned char reg, unsigned char val); 84 inv_error_t inv_compass_read_reg(unsigned char reg, unsigned char *val); 85 inv_error_t inv_compass_read_scale(long *val);
|
H A D | compass.c | 413 * @param val 417 inv_error_t inv_compass_write_reg(unsigned char reg, unsigned char val) argument 424 data[1] = val; 446 * @param val 451 inv_error_t inv_compass_read_reg(unsigned char reg, unsigned char *val) argument 471 *val = data[1]; 480 * @param val 485 inv_error_t inv_compass_read_scale(long *val) argument 503 val[0] = ((data[0] - 128) << 22) + (1L << 30); 504 val[ [all...] |
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
H A D | timm_osal_trace.c | 98 char *val = getenv("TIMM_OSAL_DEBUG_TRACE_LEVEL"); local 100 val ? strtol(val, NULL, 0) : DEFAULT_TRACE_LEVEL;
|
/hardware/ti/wlan/wl1271/utils/ |
H A D | tidef.h | 270 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[1] = (val) & 0xff; \ 271 ((TI_UINT8 *)(dst))[0] = ((val) >> 8) & 0xff 273 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[3] = (val) & 0xff; \ 274 ((TI_UINT8 *)(dst))[2] = ((val) >> 8) & 0xff; \ 275 ((TI_UINT8 *)(dst))[1] = ((val) >> 16) & 0xff; \ 276 ((TI_UINT8 *)(dst))[0] = ((val) >> 24) & 0xff 342 * \brief Macro which copies Word from val source to desrination in Little Endian 344 #define SET_WLAN_WORD(dst,val) ((TI_UINT [all...] |
/hardware/ril/mock-ril/src/cpp/ |
H A D | node_util.cpp | 74 ssize_t DecodeBytes(v8::Handle<v8::Value> val, enum encoding encoding) { argument 77 if (val->IsArray()) { 84 v8::Local<v8::String> str = val->ToString(); 98 v8::Handle<v8::Value> val, 108 if (val->IsArray()) { 115 v8::Local<v8::String> str = val->ToString(); 96 DecodeWrite(char *buf, size_t buflen, v8::Handle<v8::Value> val, enum encoding encoding) argument
|
H A D | node_buffer.h | 61 static inline bool HasInstance(v8::Handle<v8::Value> val) { argument 62 if (!val->IsObject()) return false; 63 v8::Local<v8::Object> obj = val->ToObject();
|
/hardware/ti/omap4xxx/libtiutils/ |
H A D | Semaphore.cpp | 170 int val; local 179 sem_getvalue(mSemaphore, &val); 181 return val;
|
/hardware/msm7k/dspcrashd/ |
H A D | dspcrashd.c | 80 char val[PROPERTY_VALUE_MAX]; local 85 property_get(*p,val,""); 86 sprintf(buf,"%s: %s\n", *p, val);
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
H A D | dhdu.h | 39 extern void dhd_printint(int val);
|
H A D | dhdu_linux.c | 230 int val = 0; local 238 if ((ret = wl_get(wl, WLC_GET_MAGIC, &val, sizeof(int))) < 0) 240 if (val != WLC_IOCTL_MAGIC) 242 if ((ret = wl_get(wl, WLC_GET_VERSION, &val, sizeof(int))) < 0) 244 if (val > WLC_IOCTL_VERSION) {
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | dhdu.h | 39 extern void dhd_printint(int val);
|
/hardware/msm7k/librpc/ |
H A D | svc_clnt_common.c | 122 uint32 val = *value; local 123 return xdr_std_send_uint32(xdr, &val); 128 uint32 val = *value; local 129 return xdr_std_send_uint32(xdr, &val); 134 uint32 val = *value; local 135 return xdr_std_send_uint32(xdr, &val); 140 uint32 val = *value; local 141 return xdr_std_send_uint32(xdr, &val); 210 uint32 val; \ 211 if (xdr_std_recv_uint32(xdr, &val)) { \ [all...] |
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/ |
H A D | HwInit.c | 1349 TI_UINT32 val = (pHwInit->pEEPROMCurPtr[0] | local 1354 TRACE2(pHwInit->hReport, REPORT_SEVERITY_INIT , "NVS::BurstRead: *(%08x) = %x\n", pHwInit->uEEPROMRegAddr, val); 1356 BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, (REGISTERS_BASE+pHwInit->uEEPROMRegAddr), val, 1638 TI_UINT32 val= 0, value; local 1667 val = (pHwInit->aHwInitTxn[pHwInit->uTxnIndex].uData); 1668 val &= 0xFFFDFFFF; /*clear bit 17*/ 1672 BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, GPIO_SELECT, val, 1691 val = (retAddress & 0x7FF); 1692 val |= BIT_16 | BIT_17; 1694 BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, OCP_POR_CTR, val, 1951 TI_UINT32 val=0; local [all...] |