Home
last modified time | relevance | path

Searched refs:v (Results 1 – 13 of 13) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/include/
Dlinux_osl.h94 #define BUS_SWAP32(v) (v) argument
135 #define OSL_WRITE_REG(osh, r, v) (bcmsdh_reg_write(NULL, (uintptr)(r), sizeof(*(r)), (v))) argument
159 #define W_REG(osh, r, v) do { \ argument
162 case sizeof(uint8): writeb((uint8)(v), (volatile uint8*)(r)); break; \
163 case sizeof(uint16): writew((uint16)(v), (volatile uint16*)(r)); break; \
164 case sizeof(uint32): writel((uint32)(v), (volatile uint32*)(r)); break; \
166 (OSL_WRITE_REG(osh, r, v))); \
185 #define W_REG(osh, r, v) do { \ argument
188 case sizeof(uint8): writeb((uint8)(v), \
190 case sizeof(uint16): writew((uint16)(v), \
[all …]
Dosl.h47 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) argument
51 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v)) argument
Dbcmutils.h488 store32_ua(uint8 *a, uint32 v) in store32_ua() argument
490 a[0] = (v >> 24) & 0xff; in store32_ua()
491 a[1] = (v >> 16) & 0xff; in store32_ua()
492 a[2] = (v >> 8) & 0xff; in store32_ua()
493 a[3] = v & 0xff; in store32_ua()
503 store16_ua(uint8 *a, uint16 v) in store16_ua() argument
505 a[0] = (v >> 8) & 0xff; in store16_ua()
506 a[1] = v & 0xff; in store16_ua()
518 store32_ua(uint8 *a, uint32 v) in store32_ua() argument
520 a[3] = (v >> 24) & 0xff; in store32_ua()
[all …]
/hardware/broadcom/wlan/bcm4329/src/shared/
Dsbutils.c57 #define W_SBREG(sii, sbr, v) sb_write_sbreg((sii), (sbr), (v)) argument
58 #define AND_SBREG(sii, sbr, v) W_SBREG((sii), (sbr), (R_SBREG((sii), (sbr)) & (v))) argument
59 #define OR_SBREG(sii, sbr, v) W_SBREG((sii), (sbr), (R_SBREG((sii), (sbr)) | (v))) argument
93 sb_write_sbreg(si_info_t *sii, volatile uint32 *sbr, uint32 v) in sb_write_sbreg() argument
116 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
118 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
121 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
123 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
126 W_REG(sii->osh, sbr, v); in sb_write_sbreg()
/hardware/msm7k/libaudio/
DAudioHardware.cpp399 status_t AudioHardware::setVoiceVolume(float v) in setVoiceVolume() argument
401 if (v < 0.0) { in setVoiceVolume()
402 LOGW("setVoiceVolume(%f) under 0.0, assuming 0.0\n", v); in setVoiceVolume()
403 v = 0.0; in setVoiceVolume()
404 } else if (v > 1.0) { in setVoiceVolume()
405 LOGW("setVoiceVolume(%f) over 1.0, assuming 1.0\n", v); in setVoiceVolume()
406 v = 1.0; in setVoiceVolume()
409 int vol = lrint(v * 5.0); in setVoiceVolume()
410 LOGD("setVoiceVolume(%f)\n", v); in setVoiceVolume()
418 status_t AudioHardware::setMasterVolume(float v) in setMasterVolume() argument
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_ImgConv.c181 OMX_U8 *y, *u, *v, *w; /* Pointers on Y U V buffers and Weight buffer */ in ConvertChromReduction() local
222 v = (u+(iWidth*iHeight)/4); in ConvertChromReduction()
223 w = (v+(iWidth*iHeight)/4); in ConvertChromReduction()
433 *v++ = (OMX_U8)(((OMX_U32)(*pv1+2*(*(pv1+1))+*(pv1+2)+*pv2+2*(*(pv2+1))+*(pv2+2)))>>3); in ConvertChromReduction()
461 OMX_U8 *y, *u, *v, *w; in ConvertNoChromReduction() local
476 v = (u+(iWidth*iHeight)/4); in ConvertNoChromReduction()
477 w = (v+(iWidth*iHeight)/4); in ConvertNoChromReduction()
546 *v++ = (OMX_U8)(((OMX_S32)(*pv1+2*(*(pv1+1))+*(pv1+2)+*pv2+2*(*(pv2+1))+*(pv2+2)))>>3); in ConvertNoChromReduction()
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp497 status_t AudioHardware::setVoiceVolume(float v) in setVoiceVolume() argument
499 if (v < 0.0) { in setVoiceVolume()
500 LOGW("setVoiceVolume(%f) under 0.0, assuming 0.0\n", v); in setVoiceVolume()
501 v = 0.0; in setVoiceVolume()
502 } else if (v > 1.0) { in setVoiceVolume()
503 LOGW("setVoiceVolume(%f) over 1.0, assuming 1.0\n", v); in setVoiceVolume()
504 v = 1.0; in setVoiceVolume()
507 int vol = lrint(v * 5.0); in setVoiceVolume()
508 LOGD("setVoiceVolume(%f)\n", v); in setVoiceVolume()
516 status_t AudioHardware::setMasterVolume(float v) in setMasterVolume() argument
[all …]
/hardware/ti/omap3/libopencorehw/
Dandroid_surface_output_omap34xx.cpp426 uint32_t v = *vSrc++; in convertYuv420ToYuv422() local
429 uint32_t uv = (u | (v << 16)) & 0x00ff00ff; in convertYuv420ToYuv422()
437 uv = ((u >> 8) | (v << 8)) & 0x00ff00ff; in convertYuv420ToYuv422()
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmpcispi.c50 #define SPIPCI_ANDREG(osh, r, v) SPIPCI_WREG(osh, (r), (SPIPCI_RREG(osh, r) & (v))) argument
51 #define SPIPCI_ORREG(osh, r, v) SPIPCI_WREG(osh, (r), (SPIPCI_RREG(osh, r) | (v))) argument
/hardware/libhardware/include/hardware/
Dsensors.h193 float v[3]; member
/hardware/broadcom/wlan/bcm4329/src/
DGNUmakefile.inc7 # $Id: GNUmakefile.inc,v 1.103.50.2 2009/08/18 18:42:30 Exp $
248 MC_FLAGS = -v
331 cp -v $(WLCFGDIR)/$(WLTUNEFILE) $(@D)/wlconf.h; \
333 cp -v $(WLCFGDIR)/$(WLTUNEFILE) $(@D)/wlconf.h; \
DMakerules.env2 # $Id: Makerules.env,v 2.30.208.4 2009/01/27 01:22:16 Exp $
DMakerules25 # $Id: Makerules,v 2.69.30.3.2.6 2009/05/15 23:06:59 Exp $