Home
last modified time | relevance | path

Searched refs:dev_num (Results 1 – 9 of 9) sorted by relevance

/hardware/google/graphics/common/libgscaler/
Dlibgscaler.cpp51 int dev_num, in exynos_gsc_create_exclusive() argument
58 if ((dev_num < 0) || (dev_num >= HW_SCAL_MAX)) { in exynos_gsc_create_exclusive()
59 ALOGE("%s::fail:: dev_num is not valid(%d) ", __func__, dev_num); in exynos_gsc_create_exclusive()
63 if ((dev_num >= NUM_OF_GSC_HW) && (dev_num < HW_SCAL_MAX)) { in exynos_gsc_create_exclusive()
64 CGscaler *gsc = new CGscaler(mode, out_mode, dev_num, allow_drm); in exynos_gsc_create_exclusive()
70 gsc->scaler = exynos_sc_create_exclusive(dev_num - HW_SCAL0, in exynos_gsc_create_exclusive()
86 CGscaler *gsc = new CGscaler(mode, out_mode, dev_num, allow_drm); in exynos_gsc_create_exclusive()
93 gsc->gsc_fd = gsc->m_gsc_m2m_create(dev_num); in exynos_gsc_create_exclusive()
95 ALOGE("%s::m_gsc_m2m_create(%i) fail", __func__, dev_num); in exynos_gsc_create_exclusive()
99 ALOGE("%s::Unsupported Mode(%i) fail", __func__, dev_num); in exynos_gsc_create_exclusive()
[all …]
/hardware/google/graphics/common/libscaler/
Dlibscaler.cpp186 bool exynos_sc_copy_pixels(exynos_sc_pxinfo *pxinfo, int dev_num) in exynos_sc_copy_pixels() argument
191 CScalerM2M1SHOT sc(dev_num); in exynos_sc_copy_pixels()
261 void *exynos_sc_create(int dev_num) in exynos_sc_create() argument
263 CScalerNonStream *sc = new CScalerNonStream(dev_num); in exynos_sc_create()
266 SC_LOGE("Failed to allocate a Scaler handle for instance %d", dev_num); in exynos_sc_create()
271 SC_LOGE("Failed to create a Scaler handle for instance %d", dev_num); in exynos_sc_create()
466 int dev_num, in exynos_sc_create_exclusive() argument
472 sc = new CScalerV4L2(dev_num, allow_drm); in exynos_sc_create_exclusive()
474 SC_LOGE("Failed to allocate a Scaler handle for instance %d", dev_num); in exynos_sc_create_exclusive()
479 SC_LOGE("Failed to create a Scaler handle for instance %d", dev_num); in exynos_sc_create_exclusive()
[all …]
Dlibscalerblend-v4l2.cpp161 CScalerBlendV4L2::CScalerBlendV4L2(int dev_num, int allow_drm) : CScalerV4L2(dev_num, allow_drm){ in CScalerBlendV4L2() argument
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c220 int dev_num; in main() local
264 dev_num = find_type_by_name(device_name, "iio:device"); in main()
265 if (dev_num < 0) { in main()
270 printf("INFO: iio device number=%d\n", dev_num); in main()
273 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in main()
/hardware/google/graphics/common/libscaler/include/
Dexynos_scaler.h178 void *exynos_sc_create(int dev_num);
431 int dev_num,
449 int dev_num,
532 int dev_num);
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp231 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local
232 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix()
242 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local
243 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix()
253 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local
254 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix()
/hardware/google/graphics/common/libgscaler/include/
Dexynos_gscaler.h98 int dev_num,
362 int dev_num,
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c227 int dev_num; in init_iio() local
233 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio()
234 if(dev_num >= 0) { in init_iio()
236 iio_dev_num = dev_num; in init_iio()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c235 int dev_num; in init_iio() local
241 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio()
242 if(dev_num >= 0) { in init_iio()
244 iio_dev_num = dev_num; in init_iio()