Home
last modified time | relevance | path

Searched refs:device_name (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/libva/va/x11/
Ddri2_util.c182 char *device_name = NULL; in isDRI2Connected() local
195 driver_name, &device_name) || !device_name) in isDRI2Connected()
198 dri_state->base.fd = open(device_name, O_RDWR); in isDRI2Connected()
219 Xfree(device_name); in isDRI2Connected()
224 if (device_name) in isDRI2Connected()
225 Xfree(device_name); in isDRI2Connected()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c224 char device_name[10]; in main() local
259 device_name[i] = tolower(chip_name[i]); in main()
260 device_name[strlen(chip_name)] = '\0'; in main()
261 printf("INFO: device name=%s\n", device_name); in main()
264 dev_num = find_type_by_name(device_name, "iio:device"); in main()
266 printf("Failed to find the %s\n", device_name); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c583 char device_name[10]; in main() local
600 device_name[i] = tolower(chip_name[i]); in main()
601 device_name[strlen(chip_name)] = '\0'; in main()
602 printf("INFO: device name=%s\n", device_name); in main()
710 dev_num = find_type_by_name(device_name, "iio:device"); in main()
712 printf("Failed to find the %s\n", device_name); in main()
724 ret = asprintf(&trigger_name, "%s-dev%d", device_name, dev_num); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c928 char device_name[10]; in main() local
974 device_name[i] = tolower(chip_name[i]); in main()
976 device_name[strlen(chip_name)] = '\0'; in main()
977 printf("device name: %s\n", device_name); in main()
980 dev_num = find_type_by_name(device_name, "iio:device"); in main()
982 printf("Failed to find the %s\n", device_name); in main()
996 "%s-dev%d", device_name, dev_num); in main()
/hardware/intel/img/libdrm/shared-core/
Dxgi_drm.h38 char device_name[32]; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp204 OMX_STRING device_name = "/dev/msm_vidc_enc"; in venc_open() local
208 device_name = "/dev/msm_vidc_enc_sec"; in venc_open()
209 m_nDriver_fd = open (device_name,O_RDWR|O_NONBLOCK); in venc_open()
213 m_nDriver_fd = open (device_name,O_RDWR|O_NONBLOCK); in venc_open()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c877 int platform_get_snd_device_index(char *device_name) in platform_get_snd_device_index() argument
879 return find_index(snd_device_name_index, SND_DEVICE_MAX, device_name); in platform_get_snd_device_index()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp757 OMX_STRING device_name = (OMX_STRING)"/dev/video/venus_enc"; in venc_open() local
763 device_name = (OMX_STRING)"/dev/video/q6_enc"; in venc_open()
773 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
777 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp1159 OMX_STRING device_name = "/dev/msm_vidc_dec"; in component_init() local
1170 device_name = "/dev/msm_vidc_dec_sec"; in component_init()
1176 device_name = "/dev/msm_vidc_dec_sec"; in component_init()
1197 role, device_name); in component_init()
1199 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1205 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1211 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
Domx_vdec_hevc.cpp1246 OMX_STRING device_name = (OMX_STRING)DEVICE_NAME; in component_init() local
1247 DEBUG_PRINT_LOW("Opening device %s", device_name); in component_init()
1248 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1251 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1254 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
Domx_vdec_hevc_swvdec.cpp1740 OMX_STRING device_name = (OMX_STRING)"/dev/video/q6_dec"; in component_init() local
1746 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1748 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1756 role, device_name, drv_ctx.video_driver_fd); in component_init()
Domx_vdec_msm8974.cpp1476 OMX_STRING device_name = (OMX_STRING)"/dev/video/venus_dec"; in component_init() local
1483 device_name = (OMX_STRING)"/dev/video/q6_dec"; in component_init()
1510 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1516 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp1186 OMX_STRING device_name = "/dev/msm_vidc_dec"; in component_init() local
1203 device_name = "/dev/msm_vidc_dec_sec"; in component_init()
1213 role, device_name); in component_init()
1215 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1221 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
Domx_vdec_copper.cpp1196 OMX_STRING device_name = "/dev/video32"; in component_init() local
1204 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()