Searched defs:arg (Results 1 - 25 of 30) sorted by relevance

12

/hardware/msm7k/librpc/
H A Dops.c64 int r_control(int handle, const uint32 cmd, void *arg) argument
66 return ioctl(handle, cmd, arg);
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
H A Ddhd_cdc.c247 extern int dhd_bus_interface(struct dhd_bus *bus, uint arg, void* arg2);
315 void *params, int plen, void *arg, int len, bool set)
314 dhd_prot_iovar_op(dhd_pub_t *dhdp, const char *name, void *params, int plen, void *arg, int len, bool set) argument
/hardware/broadcom/wlan/bcm4329/src/shared/
H A Dsiutils_priv.h38 typedef void (*si_intrsrestore_t)(void *intr_arg, uint32 arg);
42 void *arg; member in struct:gpioh_item
73 void *intr_arg; /* interrupt callback function arg */
H A Dsiutils.c353 * We assume we can read chipid at offset 0 from the regs arg.
1319 bool level, gpio_handler_t cb, void *arg)
1337 gi->arg = arg;
1393 h->handler(status, h->arg);
1318 si_gpio_handler_register(si_t *sih, uint32 event, bool level, gpio_handler_t cb, void *arg) argument
/hardware/ril/mock-ril/src/cpp/
H A Dnode_buffer.cpp167 Local<Value> arg = Integer::NewFromUnsigned(size); local
168 Local<Object> b = constructor_template->GetFunction()->NewInstance(1, &arg);
371 DBG("Buffer::Copy(args) X arg[0] not buffer");
373 "First arg should be a Buffer")));
426 DBG("Buffer::Utf8Write(args) X arg[0] not string");
468 DBG("Buffer::AsciiWrite(args) X arg[0] not string");
500 DBG("Buffer::BinaryWrite(args) X arg[0] not string");
539 DBG("Buffer::Unpack(args) X arg[0] not string");
599 DBG("Buffer::ByteLength(args) X arg[0] not a string");
H A Dprotobuf_v8.cpp175 " return function(arg) {"
176 " return f.call(self, arg);"
179 Handle<Value> arg = self; local
180 constructor->Set(String::New("parse"), bind->Call(ParseTemplate->GetFunction(), 1, &arg));
181 constructor->Set(String::New("serialize"), bind->Call(SerializeTemplate->GetFunction(), 1, &arg));
/hardware/ti/omap3/liboverlay/
H A Dv4l2_utils.c177 static int v4l2_overlay_ioctl(int fd, int req, void *arg, const char* msg) argument
180 ret = ioctl(fd, req, arg);
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
H A Dbcmsdh.c118 void *params, int plen, void *arg, int len, bool set)
121 return sdioh_iovar_op(bcmsdh->sdioh, name, params, plen, arg, len, set);
117 bcmsdh_iovar_op(void *sdh, const char *name, void *params, int plen, void *arg, int len, bool set) argument
H A Dbcmsdh_sdmmc.c402 void *params, int plen, void *arg, int len, bool set)
415 ASSERT(set || (arg && len));
425 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
430 params = arg;
450 bcopy(&int_val, arg, val_size);
459 bcopy(&int_val, arg, val_size);
473 bcopy(&int_val, arg, val_size);
509 bcopy(&int_val, arg, val_size);
514 bcopy(&int_val, arg, val_size);
523 bcopy(&int_val, arg, val_siz
401 sdioh_iovar_op(sdioh_info_t *si, const char *name, void *params, int plen, void *arg, int len, bool set) argument
[all...]
H A Dbcmspibrcm.c304 void *params, int plen, void *arg, int len, bool set)
320 ASSERT(set || (arg && len));
330 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
335 params = arg;
355 bcopy(&int_val, arg, val_size);
368 bcopy(&int_val, arg, val_size);
373 bcopy(&int_val, arg, val_size);
382 bcopy(&int_val, arg, val_size);
390 bcopy(&int_val, arg, val_size);
403 bcopy(&int_val, arg, val_siz
303 sdioh_iovar_op(sdioh_info_t *si, const char *name, void *params, int plen, void *arg, int len, bool set) argument
[all...]
H A Dbcmsdspi.c69 static int sdspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg,
262 void *params, int plen, void *arg, int len, bool set)
275 ASSERT(set || (arg && len));
285 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
290 params = arg;
310 bcopy(&int_val, arg, val_size);
319 bcopy(&int_val, arg, val_size);
335 bcopy(&int_val, arg, val_size);
372 bcopy(&int_val, arg, val_size);
381 bcopy(&int_val, arg, val_siz
261 sdioh_iovar_op(sdioh_info_t *si, const char *name, void *params, int plen, void *arg, int len, bool set) argument
1201 sdspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg, uint32 *data, uint32 datalen) argument
[all...]
H A Dbcmsdstd.c79 static int sdstd_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg);
89 static int sdstd_check_errs(sdioh_info_t *sdioh_info, uint32 cmd, uint32 arg);
382 void *params, int plen, void *arg, int len, bool set)
395 ASSERT(set || (arg && len));
405 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
410 params = arg;
430 bcopy(&int_val, arg, val_size);
439 bcopy(&int_val, arg, val_size);
452 bcopy(&int_val, arg, val_size);
461 bcopy(&int_val, arg, val_siz
381 sdioh_iovar_op(sdioh_info_t *si, const char *name, void *params, int plen, void *arg, int len, bool set) argument
1131 sdstd_check_errs(sdioh_info_t *sdioh_info, uint32 cmd, uint32 arg) argument
2324 sdstd_cmd_issue(sdioh_info_t *sdioh_info, bool use_dma, uint32 cmd, uint32 arg) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng.cpp94 static void loc_eng_process_deferred_action (void* arg);
631 static void* mock_ni(void* arg) argument
647 client_handle = (rpc_loc_client_handle_type) arg;
1426 static void loc_eng_process_deferred_action (void* arg) argument
/hardware/ril/reference-ril/
H A Datchannel.c438 static void *readerLoop(void *arg) argument
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
H A DOMX_AacDec_Utils.c2515 * @param arg This has other needed arguments supplied by LCML like handles
3776 void AACDEC_HandleUSNError (AACDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3781 switch (arg)
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_Utils.c3349 void AACENC_HandleUSNError (AACENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3353 switch (arg)
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
H A DOMX_Mp3Dec_Utils.c2317 * @param arg This has other needed arguments supplied by LCML like handles
3525 void MP3DEC_HandleUSNError (MP3DEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3530 switch (arg)
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
H A DOMX_AmrEnc_Utils.c3137 void NBAMRENC_HandleUSNError (AMRENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3142 switch (arg)
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_Utils.c3361 void WBAMRENC_HandleUSNError (WBAMRENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) { argument
3366 switch (arg) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
H A DOMX_WmaDec_Utils.c3887 void WMADEC_HandleUSNError (WMADEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3892 switch (arg)
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/
H A DLCML_DspCodec.c122 void* MessagingThread(void *arg);
318 OMX_PRDSP1 (((LCML_CODEC_INTERFACE *)hInt)->dbg, "%d :: CR PH arg[%d] = %d \n",__LINE__, i, crData.cData[i]);
635 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hInt)->dbg, "%d :: CR PH arg[%d] = %d \n",__LINE__,i,crData.cData[i]);
1426 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[0]: message = %x\n",(int)args[0]);
1427 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[1]: address = %p\n",args[1]);
1428 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[2]: size = %d\n",(int)args[2]);
1689 * @param[in] arg Unused - Required by pthreads API
1693 void* MessagingThread(void* arg) argument
1711 OMX_PRINT1 (((LCML_CODEC_INTERFACE *)((LCML_DSP_INTERFACE *)arg)->pCodecinterfacehandle)->dbg, "Inside the Messaging thread\n");
1713 ((LCML_DSP_INTERFACE *)arg)
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
H A DG711DecTest.c1646 int Mixer = 0, arg = 0, status = 0; local
1654 arg = G711DEC_SAMPLING_FREQUENCY; /* sampling rate */
1655 printf("Sampling freq set to:%d\n",arg);
1656 status = ioctl(Mixer, SOUND_PCM_WRITE_RATE, &arg);
1659 printf("sample rate set to %u\n", arg);
1661 arg = AFMT_S16_LE; /* AFMT_S16_LE or AFMT_S32_LE */
1662 status = ioctl(Mixer, SOUND_PCM_SETFMT, &arg);
1665 printf("Bitsize set to %u\n", arg);
1667 arg = 2; /* Channels mono 1 stereo 2 */
1668 status = ioctl(Mixer, SOUND_PCM_WRITE_CHANNELS, &arg);
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
H A DG729DecTest.c1500 int Mixer = 0, arg = 0, status = 0; local
1507 arg = G729DEC_SAMPLING_FREQUENCY; /* sampling rate */
1508 printf("Sampling freq set to:%d\n",arg);
1509 status = ioctl(Mixer, SOUND_PCM_WRITE_RATE, &arg);
1512 printf("sample rate set to %u\n", arg);
1514 arg = AFMT_S16_LE; /* AFMT_S16_LE or AFMT_S32_LE */
1515 status = ioctl(Mixer, SOUND_PCM_SETFMT, &arg);
1518 printf("Bitsize set to %u\n", arg);
1520 arg = 2; /* Channels mono 1 stereo 2 */
1521 status = ioctl(Mixer, SOUND_PCM_WRITE_CHANNELS, &arg);
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
H A DOMX_AmrDec_Utils.c3611 void NBAMRDEC_HandleUSNError (AMRDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3616 switch (arg)
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
H A DOMX_WbAmrDec_Utils.c3643 void WBAMRDEC_HandleUSNError (WBAMR_DEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 arg) argument
3648 switch (arg)

Completed in 342 milliseconds

12