Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 30) sorted by relevance

12

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h31 #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 …]
Dbcmdefs.h169 #define GFIELD(val, field) \ argument
170 (((val) >> field ## _S) & field ## _M)
171 #define SFIELD(val, field, bits) \ argument
172 (((val) & (~(field ## _M << field ## _S))) | \
Dminiopt.h57 int val; /* strtol translation of valstr */ member
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmendian.h31 #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 …]
Dbcmdefs.h169 #define GFIELD(val, field) \ argument
170 (((val) >> field ## _S) & field ## _M)
171 #define SFIELD(val, field, bits) \ argument
172 (((val) & (~(field ## _M << field ## _S))) | \
Dminiopt.h57 int val; /* strtol translation of valstr */ member
/hardware/msm7k/librpc/
Dsvc_clnt_common.c122 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/
Dnode_util.cpp74 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()
Dnode_buffer.h61 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/
Dcompass.h83 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);
Dcompass.c417 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/
Dtimm_osal_trace.c98 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/omap4xxx/libtiutils/
DSemaphore.cpp170 int val; in Count() local
179 sem_getvalue(mSemaphore, &val); in Count()
181 return val; in Count()
/hardware/msm7k/dspcrashd/
Ddspcrashd.c80 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/
Ddhdu.c497 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 …]
Ddhdu_linux.c230 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()
Ddhdu.h39 extern void dhd_printint(int val);
Dminiopt.c145 t->val = (int)t->uval; in miniopt()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c497 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 …]
Ddhdu_linux.c230 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()
Ddhdu.h39 extern void dhd_printint(int val);
Dminiopt.c145 t->val = (int)t->uval; in miniopt()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c342 char *val = getenv("SET_DCC"); in OMX_ComponentInit() local
343 dcc_flag = val ? strtol(val, NULL, 0) : DEFAULT_DCC; in OMX_ComponentInit()
/hardware/ti/omap3/dspbridge/inc/
Ddynamic_loader.h496 unsigned bytsiz, unsigned val);
/hardware/invensense/libsensors/
DMPLSensor.cpp109 void mot_cb_wrapper(uint16_t val) in mot_cb_wrapper() argument
112 gMPLSensor->cbOnMotion(val); in mot_cb_wrapper()
576 void MPLSensor::cbOnMotion(uint16_t val) in cbOnMotion() argument
580 if (val == 2) { in cbOnMotion()

12