Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 270) sorted by relevance

1234567891011

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c57 int find_type_by_name(const char *name, const char *type) in find_type_by_name() argument
76 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
77 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
78 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name()
82 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
86 + strlen(type) in find_type_by_name()
93 type, in find_type_by_name()
302 int find_name_by_sensor_type(const char *sensor_type, const char *type, char *sensor_name) in find_name_by_sensor_type() argument
320 strlen(ent->d_name) > strlen(type) && in find_name_by_sensor_type()
321 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_name_by_sensor_type()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c226 int type = PLAYBACK_DBG_TYPE_G_ORIENT; in inv_set_gyro_orientation_and_scale() local
227 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
243 int type = PLAYBACK_DBG_TYPE_G_SAMPLE_RATE; in inv_set_gyro_sample_rate() local
244 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
262 int type = PLAYBACK_DBG_TYPE_A_SAMPLE_RATE; in inv_set_accel_sample_rate() local
263 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_accel_sample_rate()
281 int type = PLAYBACK_DBG_TYPE_C_SAMPLE_RATE; in inv_set_compass_sample_rate() local
282 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_compass_sample_rate()
315 int type = PLAYBACK_DBG_TYPE_Q_SAMPLE_RATE; in inv_set_quat_sample_rate() local
316 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_quat_sample_rate()
[all …]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Ddata_builder.c194 int type = PLAYBACK_DBG_TYPE_G_ORIENT; in inv_set_gyro_orientation_and_scale() local
195 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
211 int type = PLAYBACK_DBG_TYPE_G_SAMPLE_RATE; in inv_set_gyro_sample_rate() local
212 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_gyro_sample_rate()
230 int type = PLAYBACK_DBG_TYPE_A_SAMPLE_RATE; in inv_set_accel_sample_rate() local
231 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_accel_sample_rate()
249 int type = PLAYBACK_DBG_TYPE_C_SAMPLE_RATE; in inv_set_compass_sample_rate() local
250 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_compass_sample_rate()
283 int type = PLAYBACK_DBG_TYPE_Q_SAMPLE_RATE; in inv_set_quat_sample_rate() local
284 fwrite(&type, sizeof(type), 1, inv_data_builder.file); in inv_set_quat_sample_rate()
[all …]
/hardware/qcom/camera/hdr/include/
Dmorpho_api.h18 #define MORPHO_API(type) __declspec(dllexport) extern type argument
20 #define MORPHO_API(type) extern type argument
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dquat_accuracy_monitor.h37 void set_accuracy_threshold(enum accuracy_signal_type_e type, double threshold);
38 double get_accuracy_threshold(enum accuracy_signal_type_e type);
39 void set_accuracy_weight(enum accuracy_signal_type_e type, int weight);
40 int get_accuracy_weight(enum accuracy_signal_type_e type);
42 int8_t get_accuracy_accuracy(enum accuracy_signal_type_e type);
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/
Dquat_accuracy_monitor.h37 void set_accuracy_threshold(enum accuracy_signal_type_e type, double threshold);
38 double get_accuracy_threshold(enum accuracy_signal_type_e type);
39 void set_accuracy_weight(enum accuracy_signal_type_e type, int weight);
40 int get_accuracy_weight(enum accuracy_signal_type_e type);
42 int8_t get_accuracy_accuracy(enum accuracy_signal_type_e type);
/hardware/samsung_slsi/exynos5/libv4l2/
Dexynos_v4l2.c57 static bool __v4l2_check_buf_type(enum v4l2_buf_type type) in __v4l2_check_buf_type() argument
61 switch (type) { in __v4l2_check_buf_type()
71 supported = (type >= V4L2_BUF_TYPE_PRIVATE) ? true : false; in __v4l2_check_buf_type()
283 bool exynos_v4l2_enum_fmt(int fd, enum v4l2_buf_type type, unsigned int fmt) in exynos_v4l2_enum_fmt() argument
290 fmtdesc.type = type; in exynos_v4l2_enum_fmt()
329 if (__v4l2_check_buf_type(fmt->type) == false) { in exynos_v4l2_g_fmt()
361 if (__v4l2_check_buf_type(fmt->type) == false) { in __v4l2_s_fmt()
415 if (__v4l2_check_buf_type(req->type) == false) { in exynos_v4l2_reqbufs()
459 if (__v4l2_check_buf_type(buf->type) == false) { in exynos_v4l2_querybuf()
498 if (__v4l2_check_buf_type(buf->type) == false) { in exynos_v4l2_qbuf()
[all …]
/hardware/libhardware/tests/camera2/
DCameraMetadataTests.cpp70 return entry.type; in GetTypeFromStaticTag()
125 EXPECT_EQ(TYPE_BYTE, entry.type); in TEST_F()
126 EXPECT_EQ(TYPE_INT32, entry.type); in TEST_F()
127 EXPECT_EQ(TYPE_FLOAT, entry.type); in TEST_F()
128 EXPECT_EQ(TYPE_INT64, entry.type); in TEST_F()
129 EXPECT_EQ(TYPE_DOUBLE, entry.type); in TEST_F()
130 EXPECT_EQ(TYPE_RATIONAL, entry.type); in TEST_F()
/hardware/qcom/display/msm8960/libmemtrack/
Dmemtrack_msm.c30 int type, in msm_memtrack_get_memory() argument
34 if (type == MEMTRACK_TYPE_GL || type == MEMTRACK_TYPE_GRAPHICS) { in msm_memtrack_get_memory()
35 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
Dkgsl.c43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument
73 if (type == MEMTRACK_TYPE_GL) { in kgsl_memtrack_get_memory()
102 if (type == MEMTRACK_TYPE_GL && strcmp(line_type, "gpumem") == 0) { in kgsl_memtrack_get_memory()
137 } else if (type == MEMTRACK_TYPE_GRAPHICS && strcmp(line_type, "ion") == 0) { in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8974/libmemtrack/
Dmemtrack_msm.c30 int type, in msm_memtrack_get_memory() argument
34 if (type == MEMTRACK_TYPE_GL || type == MEMTRACK_TYPE_GRAPHICS) { in msm_memtrack_get_memory()
35 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
Dkgsl.c43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument
73 if (type == MEMTRACK_TYPE_GL) { in kgsl_memtrack_get_memory()
102 if (type == MEMTRACK_TYPE_GL && strcmp(line_type, "gpumem") == 0) { in kgsl_memtrack_get_memory()
137 } else if (type == MEMTRACK_TYPE_GRAPHICS && strcmp(line_type, "ion") == 0) { in kgsl_memtrack_get_memory()
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp28 char const* getSensorName(int type) { in getSensorName() argument
29 switch(type) { in getSensorName()
94 list[i].type, in main()
139 switch(data.type) { in main()
148 getSensorName(data.type), in main()
162 getSensorName(data.type), in main()
169 data.type, in main()
/hardware/samsung_slsi/exynos5/libexynosutils/
DExynosMutex.cpp58 bool ExynosMutex::create(int type, char* name) in create() argument
69 switch (type) { in create()
77 ALOGE("%s::unmatched type(%d) fail", __func__, type); in create()
87 m_type = type; in create()
185 int type, in exynos_mutex_create() argument
190 if (mutex->create(type, name) == false) { in exynos_mutex_create()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c70 snd_ctl_elem_iface_t type; member
78 static int is_volume(const char *name, enum ctl_type *type) in is_volume() argument
90 *type = p->type; in is_volume()
200 if (ei->type == SNDRV_CTL_ELEM_TYPE_ENUMERATED) { in mixer_open()
237 enum ctl_type type; in mixer_dump() local
253 elem_type_name(ei->type), in mixer_dump()
254 (is_volume(ei->id.name, &type)) ? 1 : 0, in mixer_dump()
256 switch (ei->type) { in mixer_dump()
316 unsigned int type; in mixer_ctl_read_tlv() local
341 type = tlv[0]; in mixer_ctl_read_tlv()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Deapol.h35 unsigned char type; /* EAPOL type */
44 unsigned char type; /* EAPOL type */ member
75 unsigned char type; /* Key Descriptor Type */
106 unsigned char type; /* Key Descriptor Type */
148 uint8 type;
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_list.h38 #define member_of(ptr, type, member) ({ \ argument
39 const typeof(((type *)0)->member) *__mptr = (ptr); \
40 (type *)((char *)__mptr - offsetof(type,member));})
/hardware/samsung_slsi/exynos5/include/
DExynosBuffer.h153 int type = BUFFER_TYPE_BASE; in BUFFER_TYPE() local
155 type |= BUFFER_TYPE_VIRT; in BUFFER_TYPE()
157 type |= BUFFER_TYPE_PHYS; in BUFFER_TYPE()
159 type |= BUFFER_TYPE_FD; in BUFFER_TYPE()
161 type |= BUFFER_TYPE_RESERVED; in BUFFER_TYPE()
163 return type; in BUFFER_TYPE()
Dvideodev2.h166 #define V4L2_TYPE_IS_MULTIPLANAR(type) \ argument
167 ((type) == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE \
168 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE)
170 #define V4L2_TYPE_IS_OUTPUT(type) \ argument
171 ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \
172 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \
173 || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
174 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
175 || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
176 || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT)
[all …]
/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp47 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in KionixSensor()
176 int type = event->type; in readEvents() local
177 if (type == EV_ABS) { in readEvents()
186 } else if (type == EV_SYN) { in readEvents()
195 type, event->code); in readEvents()
DAdxlSensor.cpp44 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; in AdxlSensor()
198 int type = event->type; in readEvents() local
199 if (type == EV_ABS) { in readEvents()
208 } else if (type == EV_SYN) { in readEvents()
217 type, event->code); in readEvents()
DAkmSensor.cpp47 mPendingEvents[Accelerometer].type = SENSOR_TYPE_ACCELEROMETER; in AkmSensor()
52 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in AkmSensor()
57 mPendingEvents[Orientation ].type = SENSOR_TYPE_ORIENTATION; in AkmSensor()
207 int type = event->type; in readEvents() local
208 if (type == EV_ABS) { in readEvents()
211 } else if (type == EV_SYN) { in readEvents()
233 type, event->code); in readEvents()
/hardware/samsung_slsi/exynos5/libmemtrack/
Dmemtrack_exynos5.c30 int type, in exynos5_memtrack_get_memory() argument
34 if (type == MEMTRACK_TYPE_GL) { in exynos5_memtrack_get_memory()
35 return mali_memtrack_get_memory(pid, type, records, num_records); in exynos5_memtrack_get_memory()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c46 int find_type_by_name(const char *name, const char *type) in find_type_by_name() argument
65 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
66 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
67 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name()
71 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
75 + strlen(type) in find_type_by_name()
82 type, in find_type_by_name()
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/
DmcContainer.h160 contType_t type; member
170 contType_t type; member
182 contType_t type; member
193 contType_t type; member
204 contType_t type; member

1234567891011