Home
last modified time | relevance | path

Searched refs:has_audio (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/i915/
Dintel_hdmi.c621 if (intel_hdmi->has_audio) { in intel_hdmi_mode_set()
670 if (intel_hdmi->has_audio) in intel_enable_hdmi()
823 intel_hdmi->has_audio = false; in intel_hdmi_detect()
835 intel_hdmi->has_audio = drm_detect_monitor_audio(edid); in intel_hdmi_detect()
844 intel_hdmi->has_audio = in intel_hdmi_detect()
872 bool has_audio = false; in intel_hdmi_detect_audio() local
879 has_audio = drm_detect_monitor_audio(edid); in intel_hdmi_detect_audio()
883 return has_audio; in intel_hdmi_detect_audio()
903 bool has_audio; in intel_hdmi_set_property() local
911 has_audio = intel_hdmi_detect_audio(connector); in intel_hdmi_set_property()
[all …]
Dintel_dp.c848 if (intel_dp->has_audio) { in intel_dp_mode_set()
2343 intel_dp->has_audio = false; in intel_dp_detect()
2356 intel_dp->has_audio = (intel_dp->force_audio == HDMI_AUDIO_ON); in intel_dp_detect()
2360 intel_dp->has_audio = drm_detect_monitor_audio(edid); in intel_dp_detect()
2402 bool has_audio = false; in intel_dp_detect_audio() local
2406 has_audio = drm_detect_monitor_audio(edid); in intel_dp_detect_audio()
2410 return has_audio; in intel_dp_detect_audio()
2430 bool has_audio; in intel_dp_set_property() local
2438 has_audio = intel_dp_detect_audio(connector); in intel_dp_set_property()
2440 has_audio = (i == HDMI_AUDIO_ON); in intel_dp_set_property()
[all …]
Dintel_sdvo.c1884 bool has_audio = false; in intel_sdvo_detect_hdmi_audio() local
1891 has_audio = drm_detect_monitor_audio(edid); in intel_sdvo_detect_hdmi_audio()
1894 return has_audio; in intel_sdvo_detect_hdmi_audio()
1915 bool has_audio; in intel_sdvo_set_property() local
1923 has_audio = intel_sdvo_detect_hdmi_audio(connector); in intel_sdvo_set_property()
1925 has_audio = (i == HDMI_AUDIO_ON); in intel_sdvo_set_property()
1927 if (has_audio == intel_sdvo->has_hdmi_audio) in intel_sdvo_set_property()
1930 intel_sdvo->has_hdmi_audio = has_audio; in intel_sdvo_set_property()
Dintel_drv.h387 bool has_audio; member
404 bool has_audio; member
Dintel_ddi.c706 if (intel_dp->has_audio) { in intel_ddi_mode_set()
720 if (intel_hdmi->has_audio) { in intel_ddi_mode_set()
/drivers/media/usb/stk1160/
Dstk1160-core.c181 bool has_video = false, has_audio = false; in stk1160_scan_usb() local
203 has_audio = true; in stk1160_scan_usb()
215 if (!(has_audio || has_video)) { in stk1160_scan_usb()
244 if (has_audio) in stk1160_scan_usb()
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c65 bool has_audio; member
871 if (intel_dp->has_audio) in cdv_intel_dp_mode_set()
1540 intel_dp->has_audio = false; in cdv_intel_dp_detect()
1552 intel_dp->has_audio = intel_dp->force_audio > 0; in cdv_intel_dp_detect()
1556 intel_dp->has_audio = drm_detect_monitor_audio(edid); in cdv_intel_dp_detect()
1627 bool has_audio = false; in cdv_intel_dp_detect_audio() local
1635 has_audio = drm_detect_monitor_audio(edid); in cdv_intel_dp_detect_audio()
1641 return has_audio; in cdv_intel_dp_detect_audio()
1660 bool has_audio; in cdv_intel_dp_set_property() local
1668 has_audio = cdv_intel_dp_detect_audio(connector); in cdv_intel_dp_set_property()
[all …]
Dpsb_intel_sdvo.c1676 bool has_audio = false; in psb_intel_sdvo_detect_hdmi_audio() local
1683 has_audio = drm_detect_monitor_audio(edid); in psb_intel_sdvo_detect_hdmi_audio()
1685 return has_audio; in psb_intel_sdvo_detect_hdmi_audio()
1706 bool has_audio; in psb_intel_sdvo_set_property() local
1714 has_audio = psb_intel_sdvo_detect_hdmi_audio(connector); in psb_intel_sdvo_set_property()
1716 has_audio = i > 0; in psb_intel_sdvo_set_property()
1718 if (has_audio == psb_intel_sdvo->has_hdmi_audio) in psb_intel_sdvo_set_property()
1721 psb_intel_sdvo->has_hdmi_audio = has_audio; in psb_intel_sdvo_set_property()
/drivers/media/usb/em28xx/
Dem28xx-core.c435 if (!dev->audio_mode.has_audio) in em28xx_audio_analog_set()
511 dev->audio_mode.has_audio = false; in em28xx_audio_setup()
517 dev->audio_mode.has_audio = true; in em28xx_audio_setup()
528 dev->audio_mode.has_audio = false; in em28xx_audio_setup()
558 dev->audio_mode.has_audio = false; in em28xx_audio_setup()
Dem28xx-cards.c3128 bool has_audio = false, has_video = false, has_dvb = false; in em28xx_usb_probe() local
3210 has_audio = true; in em28xx_usb_probe()
3266 if (!(has_audio || has_video || has_dvb)) { in em28xx_usb_probe()
3313 dev->is_audio_only = has_audio && !(has_video || has_dvb); in em28xx_usb_probe()
3314 dev->has_alsa_audio = has_audio; in em28xx_usb_probe()
3326 if (has_audio) in em28xx_usb_probe()
Dem28xx.h286 unsigned int has_audio:1; member
Dem28xx-video.c1472 if (dev->audio_mode.has_audio) in vidioc_querycap()
1969 if (!dev->audio_mode.has_audio) { in em28xx_register_analog_devices()
1999 if (!dev->audio_mode.has_audio) { in em28xx_register_analog_devices()
/drivers/gpu/drm/
Ddrm_edid.c2765 bool has_audio = false; in drm_detect_monitor_audio() local
2772 has_audio = ((edid_ext[3] & EDID_BASIC_AUDIO) != 0); in drm_detect_monitor_audio()
2774 if (has_audio) { in drm_detect_monitor_audio()
2784 has_audio = true; in drm_detect_monitor_audio()
2792 return has_audio; in drm_detect_monitor_audio()