Home
last modified time | relevance | path

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

12

/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/qcom/audio/hal/msm8974/
Dhw_info.c128 char *device_name) in hw_info_append_hw_type() argument
143 (snd_device_t)snd_devices[i], device_name, my_data->dev_extn); in hw_info_append_hw_type()
144 CHECK(strlcat(device_name, my_data->dev_extn, in hw_info_append_hw_type()
150 ALOGD("%s : device_name = %s", __func__,device_name); in hw_info_append_hw_type()
Dplatform.c1505 char *device_name) in platform_get_snd_device_name_extn() argument
1511 strlcpy(device_name, platform_get_snd_device_name(snd_device), in platform_get_snd_device_name_extn()
1515 strlcpy(device_name, get_operator_specific_device_mixer_path(snd_device), in platform_get_snd_device_name_extn()
1518 strlcpy(device_name, device_table[snd_device], DEVICE_NAME_MAX_SIZE); in platform_get_snd_device_name_extn()
1520 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
1522 strlcpy(device_name, "none", DEVICE_NAME_MAX_SIZE); in platform_get_snd_device_name_extn()
1617 int platform_get_snd_device_index(char *device_name) in platform_get_snd_device_index() argument
1619 return find_index(snd_device_name_index, SND_DEVICE_MAX, device_name); in platform_get_snd_device_index()
/hardware/qcom/audio/hal/msm8916/
Dhw_info.c99 char *device_name) in hw_info_append_hw_type() argument
115 CHECK(strlcat(device_name, my_data->dev_extn, in hw_info_append_hw_type()
121 ALOGD("%s : device_name = %s", __func__,device_name); in hw_info_append_hw_type()
Dplatform.c1073 char *device_name) in platform_get_snd_device_name_extn() argument
1079 strlcpy(device_name, platform_get_snd_device_name(snd_device), in platform_get_snd_device_name_extn()
1083 strlcpy(device_name, get_operator_specific_device_mixer_path(snd_device), in platform_get_snd_device_name_extn()
1086 strlcpy(device_name, device_table[snd_device], DEVICE_NAME_MAX_SIZE); in platform_get_snd_device_name_extn()
1088 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
1090 strlcpy(device_name, "none", DEVICE_NAME_MAX_SIZE); in platform_get_snd_device_name_extn()
1217 int platform_get_snd_device_index(char *device_name) in platform_get_snd_device_index() argument
1219 return find_index(snd_device_name_index, SND_DEVICE_MAX, device_name); in platform_get_snd_device_index()
/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/qcom/audio/hal/audio_extn/
Daudio_extn.h160 snd_device, device_name) (0) argument
165 char *device_name);
/hardware/qcom/audio/hal/
Dplatform_api.h44 char *device_name);
Daudio_hw.c606 char device_name[DEVICE_NAME_MAX_SIZE] = {0}; in enable_snd_device() local
607 if (platform_get_snd_device_name_extn(adev->platform, snd_device, device_name) < 0 ) { in enable_snd_device()
612 ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); in enable_snd_device()
613 audio_route_apply_and_update_path(adev->audio_route, device_name); in enable_snd_device()
654 char device_name[DEVICE_NAME_MAX_SIZE] = {0}; in disable_snd_device() local
655 if (platform_get_snd_device_name_extn(adev->platform, snd_device, device_name) < 0 ) { in disable_snd_device()
660 ALOGD("%s: snd_device(%d: %s)", __func__, snd_device, device_name); in disable_snd_device()
661 audio_route_reset_and_update_path(adev->audio_route, device_name); in disable_snd_device()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp65 char device_name[64] = {0}; in Init() local
80 snprintf(device_name, sizeof(device_name), "%s%d", "/dev/graphics/fb", fb_node_index_); in Init()
81 device_fd_ = Sys::open_(device_name, O_RDWR); in Init()
83 DLOGE("open %s failed err = %d errstr = %s", device_name, errno, strerror(errno)); in Init()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c1100 char *device_name) in platform_get_snd_device_name_extn() argument
1102 strlcpy(device_name, platform_get_snd_device_name(snd_device), in platform_get_snd_device_name_extn()
/hardware/qcom/media/msm8974/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/media/msm8974/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.cpp1244 OMX_STRING device_name = (OMX_STRING)DEVICE_NAME; in component_init() local
1245 DEBUG_PRINT_LOW("Opening device %s", device_name); in component_init()
1246 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1249 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1252 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.cpp1597 OMX_STRING device_name = (OMX_STRING)"/dev/video32"; in component_init() local
1604 device_name = (OMX_STRING)"/dev/video/q6_dec"; in component_init()
1656 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1662 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp841 OMX_STRING device_name = (OMX_STRING)"/dev/video33"; in venc_open() local
850 device_name = (OMX_STRING)"/dev/video/q6_enc"; in venc_open()
853 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
857 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp1195 OMX_STRING device_name = "/dev/msm_vidc_dec"; in component_init() local
1220 device_name = "/dev/msm_vidc_dec_sec"; in component_init()
1230 role, device_name); in component_init()
1232 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1238 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1239 OMX_STRING device_name = (OMX_STRING)DEVICE_NAME; in component_init() local
1240 DEBUG_PRINT_LOW("Opening device %s", device_name); in component_init()
1241 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1244 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1247 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
Domx_vdec_hevc_swvdec.cpp1757 OMX_STRING device_name = (OMX_STRING)"/dev/video/q6_dec"; in component_init() local
1763 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1765 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1773 role, device_name, drv_ctx.video_driver_fd); in component_init()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1239 OMX_STRING device_name = (OMX_STRING)DEVICE_NAME; in component_init() local
1240 DEBUG_PRINT_LOW("Opening device %s", device_name); in component_init()
1241 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1244 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1247 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
Domx_vdec_hevc_swvdec.cpp1757 OMX_STRING device_name = (OMX_STRING)"/dev/video/q6_dec"; in component_init() local
1763 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1765 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1773 role, device_name, drv_ctx.video_driver_fd); in component_init()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1095 OMX_STRING device_name = (OMX_STRING)"/dev/video33"; in venc_open() local
1106 device_name = (OMX_STRING)"/dev/video/q6_enc"; in venc_open()
1109 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()

12