Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 16 of 16) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c75 char data[1048], *dptr, tmp[24]; in read_data() local
100 dptr = data + left_over_size; in read_data()
102 read_size = read(fp, dptr, 1024); in read_data()
110 dptr = data; in read_data()
111 buf_size = ind - (dptr - data); in read_data()
114 hdr = *((short *)(dptr)); in read_data()
121 get_sensor_data(dptr, sensor); in read_data()
122 dptr += 8; in read_data()
123 … printf("PRESS, %d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr); in read_data()
129 get_sensor_data(dptr, sensor); in read_data()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c711 char data[2048], *dptr, tmp[24]; in read_data() local
769 dptr = data + left_over_size; in read_data()
770 read_size = read(fp, dptr, 2000); in read_data()
778 dptr = data; in read_data()
780 buf_size = ind - (dptr - data); in read_data()
784 hdr = *((short *)(dptr)); in read_data()
790 get_sensor_data(dptr, sensor); in read_data()
791 dptr += 8; in read_data()
792 … printf("PRESSURE:%d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr); in read_data()
798 get_sensor_data(dptr, sensor); in read_data()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c178 char **dptr; in inv_init_sysfs_attributes() local
184 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
186 *dptr++ = sptr; in inv_init_sysfs_attributes()
239 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
241 MPL_LOGE("sysfs path: %s", *dptr++); in inv_init_sysfs_attributes()
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.primary.cpp489 char **dptr; in inv_init_sysfs_attributes() local
496 dptr = (char**)&compassSysFs; in inv_init_sysfs_attributes()
501 *dptr++ = sptr; in inv_init_sysfs_attributes()
539 dptr = (char**)&compassSysFs; in inv_init_sysfs_attributes()
542 LOGE("HAL:sysfs path: %s", *dptr++); in inv_init_sysfs_attributes()
DPressureSensor.IIO.secondary.cpp195 char **dptr = reinterpret_cast<char **>(&pressureSysFs); in inv_init_sysfs_attributes() local
197 *dptr++ = sptr; in inv_init_sysfs_attributes()
DCompassSensor.IIO.9150.cpp361 char **dptr = reinterpret_cast<char **>(&compassSysFs); in inv_init_sysfs_attributes() local
363 *dptr++ = sptr; in inv_init_sysfs_attributes()
DMPLSensor.cpp5015 char **dptr = reinterpret_cast<char **>(&mpu); in inv_init_sysfs_attributes() local
5017 *dptr++ = sptr; in inv_init_sysfs_attributes()
/hardware/google/aemu/third-party/cuda/include/host-common/
Ddynlink_cuda_cuda.h1219 …typedef CUresult CUDAAPI tcuModuleGetGlobal(CUdeviceptr *dptr, size_t *bytes, CUmodule hmod, cons…
1221 …typedef CUresult CUDAAPI tcuModuleGetGlobal(CUdeviceptr *dptr, unsigned int *bytes, CUmodule hmod…
1234 typedef CUresult CUDAAPI tcuMemAlloc(CUdeviceptr *dptr, size_t bytesize);
1235 …ypedef CUresult CUDAAPI tcuMemGetAddressRange(CUdeviceptr *pbase, size_t *psize, CUdeviceptr dptr);
1236 typedef CUresult CUDAAPI tcuMemAllocPitch(CUdeviceptr *dptr,
1246 typedef CUresult CUDAAPI tcuMemAlloc(CUdeviceptr *dptr, unsigned int bytesize);
1247 … CUresult CUDAAPI tcuMemGetAddressRange(CUdeviceptr *pbase, unsigned int *psize, CUdeviceptr dptr);
1248 typedef CUresult CUDAAPI tcuMemAllocPitch(CUdeviceptr *dptr,
1258 typedef CUresult CUDAAPI tcuMemFree(CUdeviceptr dptr);
1446 … CUDAAPI tcuTexRefSetAddress(size_t *ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t bytes);
[all …]
/hardware/invensense/6515/libsensors_iio/
DPressureSensor.IIO.secondary.cpp191 char **dptr = reinterpret_cast<char **>(&pressureSysFs); in inv_init_sysfs_attributes() local
193 *dptr++ = sptr; in inv_init_sysfs_attributes()
DCompassSensor.IIO.primary.cpp523 char **dptr; in inv_init_sysfs_attributes() local
530 dptr = (char**)&compassSysFs; in inv_init_sysfs_attributes()
535 *dptr++ = sptr; in inv_init_sysfs_attributes()
573 dptr = (char**)&compassSysFs; in inv_init_sysfs_attributes()
576 LOGE("HAL:sysfs path: %s", *dptr++); in inv_init_sysfs_attributes()
DCompassSensor.IIO.9150.cpp393 char **dptr = reinterpret_cast<char **>(&compassSysFs); in inv_init_sysfs_attributes() local
395 *dptr++ = sptr; in inv_init_sysfs_attributes()
DMPLSensor.cpp5379 char **dptr = reinterpret_cast<char **>(&mpu); local
5381 *dptr++ = sptr;
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c169 char **dptr; in inv_init_sysfs_attributes() local
175 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
177 *dptr++ = sptr; in inv_init_sysfs_attributes()
220 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
222 printf("inv_self_test: sysfs path: %s\n", *dptr++); in inv_init_sysfs_attributes()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_win32.cpp731 char *dptr = (char *)image->sw.ppvBits; in wsi_win32_queue_present() local
734 memcpy(dptr, ptr, chain->extent.width * 4); in wsi_win32_queue_present()
735 dptr += image->sw.bmp_row_pitch; in wsi_win32_queue_present()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c844 uint8_t *dptr = NULL; in send_bg_cal() local
852 dptr = (unsigned char*) calloc(param_len, sizeof(unsigned char*)); in send_bg_cal()
853 if (dptr == NULL) { in send_bg_cal()
878 ret = plat_data->acdb_get_audio_cal((void*)&cal, (void*)dptr, in send_bg_cal()
885 codec_buffer.buffer = dptr; in send_bg_cal()
895 free(dptr); in send_bg_cal()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1002 uint8_t *dptr = NULL; in set_audiocal() local
1030 dptr = (uint8_t *)calloc(dlen, sizeof(uint8_t)); in set_audiocal()
1031 if (dptr == NULL) { in set_audiocal()
1035 dlen = b64_pton(value, dptr, dlen); in set_audiocal()
1059 ret = my_data->acdb_set_audio_cal((void *)&cal, (void *)dptr, dlen); in set_audiocal()
1063 if (dptr != NULL) in set_audiocal()
1064 free(dptr); in set_audiocal()