/hardware/ti/wlan/mac80211/ti-utils/ |
D | ini.c | 120 #define COMPARE_N_ADD(temp, str, val, ptr, size) \ argument 125 *p = strtol(val, NULL, 16); \ 127 val += 3; p++; \ 133 #define DBG_COMPARE_N_ADD(temp, str, val, ptr, size) \ argument 138 *p = strtol(val, NULL, 16); \ 140 val += 3; p++; \ 153 #define COMPARE_N_ADD2(temp, str, val, ptr, size) \ argument 158 *p = strtol(val, NULL, 16); \ 160 val += 5; p++; \ 166 #define DBG_COMPARE_N_ADD2(temp, str, val, ptr, size) \ argument [all …]
|
D | nvs.c | 81 int nvs_set_autofem(int fd, char *buf, unsigned char val) in nvs_set_autofem() argument 93 gp->general_params.tx_bip_fem_auto_detect = val; in nvs_set_autofem() 106 int nvs_set_autofem_128x(int fd, char *buf, unsigned char val) in nvs_set_autofem_128x() argument 118 gp->general_params.tx_bip_fem_auto_detect = val; in nvs_set_autofem_128x() 131 int nvs_set_fem_manuf(int fd, char *buf, unsigned char val) in nvs_set_fem_manuf() argument 143 gp->general_params.tx_bip_fem_manufacturer = val; in nvs_set_fem_manuf() 156 int nvs_set_fem_manuf_128x(int fd, char *buf, unsigned char val) in nvs_set_fem_manuf_128x() argument 168 gp->general_params.tx_bip_fem_manufacturer = val; in nvs_set_fem_manuf_128x() 743 int set_nvs_file_autofem(const char *nvs_file, unsigned char val, in set_nvs_file_autofem() argument 779 if (cmn->nvs_ops->nvs_set_autofem(new_nvs, buf, val)) { in set_nvs_file_autofem() [all …]
|
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,
|
D | misc_cmds.c | 377 unsigned char val; in set_autofem() local 391 sscanf(argv[0], "%2x", (unsigned int *)&val); in set_autofem() 397 if (set_nvs_file_autofem(fname, val, &cmn)) { in set_autofem() 412 unsigned char val; in set_fem_manuf() local 426 sscanf(argv[0], "%2x", (unsigned int *)&val); in set_fem_manuf() 432 if (set_nvs_file_fem_manuf(fname, val, &cmn)) { in set_fem_manuf()
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
D | bcmendian.h | 31 #define BCMSWAP16(val) \ argument 32 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 33 (((uint16)(val) & (uint16)0xff00U) >> 8))) 36 #define BCMSWAP32(val) \ argument 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) \ argument 44 ((uint32)((((uint32)(val) & (uint32)0x0000ffffU) << 16) | \ [all …]
|
D | bcmdefs.h | 169 #define GFIELD(val, field) \ argument 170 (((val) >> field ## _S) & field ## _M) 171 #define SFIELD(val, field, bits) \ argument 172 (((val) & (~(field ## _M << field ## _S))) | \
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmendian.h | 31 #define BCMSWAP16(val) \ argument 32 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 33 (((uint16)(val) & (uint16)0xff00U) >> 8))) 36 #define BCMSWAP32(val) \ argument 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) \ argument 44 ((uint32)((((uint32)(val) & (uint32)0x0000ffffU) << 16) | \ [all …]
|
D | bcmdefs.h | 169 #define GFIELD(val, field) \ argument 170 (((val) >> field ## _S) & field ## _M) 171 #define SFIELD(val, field, bits) \ argument 172 (((val) & (~(field ## _M << field ## _S))) | \
|
D | miniopt.h | 57 int val; /* strtol translation of valstr */ member
|
/hardware/ti/wlan/wl1271/utils/ |
D | tidef.h | 270 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[1] = (val) & 0xff; \ argument 271 ((TI_UINT8 *)(dst))[0] = ((val) >> 8) & 0xff 273 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[3] = (val) & 0xff; \ argument 274 ((TI_UINT8 *)(dst))[2] = ((val) >> 8) & 0xff; \ 275 ((TI_UINT8 *)(dst))[1] = ((val) >> 16) & 0xff; \ 276 ((TI_UINT8 *)(dst))[0] = ((val) >> 24) & 0xff 344 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[0] = (val) & 0xff; \ argument 345 ((TI_UINT8 *)(dst))[1] = ((val) >> 8) & 0xff 350 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[0] = (val) & 0xff; \ argument 351 ((TI_UINT8 *)(dst))[1] = ((val) >> 8) & 0xff; \ [all …]
|
/hardware/ti/wlan/lib/ |
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 );
|
D | shlist.c | 17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) in shListFindItem() argument 23 if( func( val, item->data ) ) { in shListFindItem() 28 if( item->data == val ) { in shListFindItem() 94 void shListInsFirstItem( SHLIST *head, void *val ) in shListInsFirstItem() argument 101 item->data = val; in shListInsFirstItem() 112 void shListInsLastItem( SHLIST *head, void *val ) in shListInsLastItem() argument 119 item->data = val; in shListInsLastItem() 130 void shListInsBeforeItem( SHLIST *head, void *val, void *etal, in shListInsBeforeItem() argument 136 shListInsFirstItem( head, val ); in shListInsBeforeItem() 141 item->data = val; in shListInsBeforeItem() [all …]
|
/hardware/msm7k/librpc/ |
D | svc_clnt_common.c | 122 uint32 val = *value; in xdr_std_send_int8() local 123 return xdr_std_send_uint32(xdr, &val); in xdr_std_send_int8() 128 uint32 val = *value; in xdr_std_send_uint8() local 129 return xdr_std_send_uint32(xdr, &val); in xdr_std_send_uint8() 134 uint32 val = *value; in xdr_std_send_int16() local 135 return xdr_std_send_uint32(xdr, &val); in xdr_std_send_int16() 140 uint32 val = *value; in xdr_std_send_uint16() local 141 return xdr_std_send_uint32(xdr, &val); in xdr_std_send_uint16() 210 uint32 val; \ 211 if (xdr_std_recv_uint32(xdr, &val)) { \ [all …]
|
/hardware/ril/mock-ril/src/cpp/ |
D | node_util.cpp | 74 ssize_t DecodeBytes(v8::Handle<v8::Value> val, enum encoding encoding) { in DecodeBytes() argument 77 if (val->IsArray()) { in DecodeBytes() 84 v8::Local<v8::String> str = val->ToString(); in DecodeBytes() 98 v8::Handle<v8::Value> val, in DecodeWrite() argument 108 if (val->IsArray()) { in DecodeWrite() 115 v8::Local<v8::String> str = val->ToString(); in DecodeWrite()
|
D | node_buffer.h | 61 static inline bool HasInstance(v8::Handle<v8::Value> val) { in HasInstance() argument 62 if (!val->IsObject()) return false; in HasInstance() 63 v8::Local<v8::Object> obj = val->ToObject(); in HasInstance()
|
/hardware/invensense/mlsdk/mllite/ |
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);
|
D | compass.c | 417 inv_error_t inv_compass_write_reg(unsigned char reg, unsigned char val) in inv_compass_write_reg() argument 424 data[1] = val; in inv_compass_write_reg() 451 inv_error_t inv_compass_read_reg(unsigned char reg, unsigned char *val) in inv_compass_read_reg() argument 471 *val = data[1]; in inv_compass_read_reg() 485 inv_error_t inv_compass_read_scale(long *val) in inv_compass_read_scale() argument 503 val[0] = ((data[0] - 128) << 22) + (1L << 30); in inv_compass_read_scale() 504 val[1] = ((data[1] - 128) << 22) + (1L << 30); in inv_compass_read_scale() 505 val[2] = ((data[2] - 128) << 22) + (1L << 30); in inv_compass_read_scale()
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
D | timm_osal_trace.c | 98 char *val = getenv("TIMM_OSAL_DEBUG_TRACE_LEVEL"); in __TIMM_OSAL_TraceFunction() local 100 val ? strtol(val, NULL, 0) : DEFAULT_TRACE_LEVEL; in __TIMM_OSAL_TraceFunction()
|
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/ |
D | HwInit.c | 1349 TI_UINT32 val = (pHwInit->pEEPROMCurPtr[0] | in hwInit_EepromlessStartBurstSm() local 1354 …t->hReport, REPORT_SEVERITY_INIT , "NVS::BurstRead: *(%08x) = %x\n", pHwInit->uEEPROMRegAddr, val); in hwInit_EepromlessStartBurstSm() 1356 … BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, (REGISTERS_BASE+pHwInit->uEEPROMRegAddr), val, in hwInit_EepromlessStartBurstSm() 1638 TI_UINT32 val= 0, value; in hwInit_ReadRadioParamsSm() local 1667 val = (pHwInit->aHwInitTxn[pHwInit->uTxnIndex].uData); in hwInit_ReadRadioParamsSm() 1668 val &= 0xFFFDFFFF; /*clear bit 17*/ in hwInit_ReadRadioParamsSm() 1672 BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, GPIO_SELECT, val, in hwInit_ReadRadioParamsSm() 1691 val = (retAddress & 0x7FF); in hwInit_ReadRadioParamsSm() 1692 val |= BIT_16 | BIT_17; in hwInit_ReadRadioParamsSm() 1694 BUILD_HW_INIT_TXN_DATA(pHwInit, pTxn, OCP_POR_CTR, val, in hwInit_ReadRadioParamsSm() [all …]
|
/hardware/ti/omap4xxx/libtiutils/ |
D | Semaphore.cpp | 170 int val; in Count() local 179 sem_getvalue(mSemaphore, &val); in Count() 181 return val; in Count()
|
/hardware/msm7k/dspcrashd/ |
D | dspcrashd.c | 80 char val[PROPERTY_VALUE_MAX]; in dump_info() local 85 property_get(*p,val,""); in dump_info() 86 sprintf(buf,"%s: %s\n", *p, val); in dump_info()
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
D | dhdu.c | 497 int val; in dhd_check() local 499 if ((ret = dhd_get(dhd, DHD_GET_MAGIC, &val, sizeof(int)) < 0)) in dhd_check() 501 if (val != DHD_IOCTL_MAGIC) in dhd_check() 503 if ((ret = dhd_get(dhd, DHD_GET_VERSION, &val, sizeof(int)) < 0)) in dhd_check() 505 if (val > DHD_IOCTL_VERSION) { in dhd_check() 513 dhd_printint(int val) in dhd_printint() argument 517 printf("%u\n", val); in dhd_printint() 520 printf("0x%x\n", val); in dhd_printint() 524 printf("%d\n", val); in dhd_printint() 2156 uint val, last_val = 0, msglevel = 0, msglevel_add = 0, msglevel_del = 0; in dhd_do_msglevel() local [all …]
|
D | dhdu_linux.c | 230 int val = 0; in wl_check() local 238 if ((ret = wl_get(wl, WLC_GET_MAGIC, &val, sizeof(int))) < 0) in wl_check() 240 if (val != WLC_IOCTL_MAGIC) in wl_check() 242 if ((ret = wl_get(wl, WLC_GET_VERSION, &val, sizeof(int))) < 0) in wl_check() 244 if (val > WLC_IOCTL_VERSION) { in wl_check()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu.c | 497 int val; in dhd_check() local 499 if ((ret = dhd_get(dhd, DHD_GET_MAGIC, &val, sizeof(int)) < 0)) in dhd_check() 501 if (val != DHD_IOCTL_MAGIC) in dhd_check() 503 if ((ret = dhd_get(dhd, DHD_GET_VERSION, &val, sizeof(int)) < 0)) in dhd_check() 505 if (val > DHD_IOCTL_VERSION) { in dhd_check() 513 dhd_printint(int val) in dhd_printint() argument 517 printf("%u\n", val); in dhd_printint() 520 printf("0x%x\n", val); in dhd_printint() 524 printf("%d\n", val); in dhd_printint() 2156 uint val, last_val = 0, msglevel = 0, msglevel_add = 0, msglevel_del = 0; in dhd_do_msglevel() local [all …]
|
D | dhdu_linux.c | 230 int val = 0; in wl_check() local 238 if ((ret = wl_get(wl, WLC_GET_MAGIC, &val, sizeof(int))) < 0) in wl_check() 240 if (val != WLC_IOCTL_MAGIC) in wl_check() 242 if ((ret = wl_get(wl, WLC_GET_VERSION, &val, sizeof(int))) < 0) in wl_check() 244 if (val > WLC_IOCTL_VERSION) { in wl_check()
|