/
usr
/
src
/
linux-headers-5.15.0-190
/
include
/
drm
/
/usr/src/linux-headers-5.15.0-190/include/drm
mkdir
upload
Name
Size
Mode
Actions
bridge/
-
0755
rm
i2c/
-
0755
rm
ttm/
-
0755
rm
amd_asic_type.h
2199
0644
edit
dl
rm
drm_aperture.h
1160
0644
edit
dl
rm
drm_atomic.h
42646
0644
edit
dl
rm
drm_atomic_helper.h
9488
0644
edit
dl
rm
drm_atomic_state_helper.h
4307
0644
edit
dl
rm
drm_atomic_uapi.h
2218
0644
edit
dl
rm
drm_audio_component.h
3879
0644
edit
dl
rm
drm_auth.h
4754
0644
edit
dl
rm
drm_blend.h
2407
0644
edit
dl
rm
drm_bridge.h
34359
0644
edit
dl
rm
drm_bridge_connector.h
548
0644
edit
dl
rm
drm_cache.h
3082
0644
edit
dl
rm
drm_client.h
5056
0644
edit
dl
rm
drm_color_mgmt.h
3910
0644
edit
dl
rm
drm_connector.h
57270
0644
edit
dl
rm
drm_crtc.h
45550
0644
edit
dl
rm
drm_crtc_helper.h
2448
0644
edit
dl
rm
drm_damage_helper.h
3408
0644
edit
dl
rm
drm_debugfs.h
3486
0644
edit
dl
rm
drm_debugfs_crc.h
2723
0644
edit
dl
rm
drm_device.h
8727
0644
edit
dl
rm
drm_displayid.h
3399
0644
edit
dl
rm
drm_dp_aux_bus.h
1740
0644
edit
dl
rm
drm_dp_dual_mode_helper.h
4731
0644
edit
dl
rm
drm_dp_helper.h
89773
0644
edit
dl
rm
drm_dp_mst_helper.h
28721
0644
edit
dl
rm
drm_drv.h
19117
0644
edit
dl
rm
drm_dsc.h
16682
0644
edit
dl
rm
drm_edid.h
17644
0644
edit
dl
rm
drm_encoder.h
10891
0644
edit
dl
rm
drm_encoder_slave.h
6590
0644
edit
dl
rm
drm_fb_cma_helper.h
575
0644
edit
dl
rm
drm_fb_helper.h
13008
0644
edit
dl
rm
drm_file.h
12518
0644
edit
dl
rm
drm_fixed.h
4826
0644
edit
dl
rm
drm_flip_work.h
3080
0644
edit
dl
rm
drm_format_helper.h
1522
0644
edit
dl
rm
drm_fourcc.h
9933
0644
edit
dl
rm
drm_framebuffer.h
10649
0644
edit
dl
rm
drm_gem.h
12082
0644
edit
dl
rm
drm_gem_atomic_helper.h
4718
0644
edit
dl
rm
drm_gem_cma_helper.h
6998
0644
edit
dl
rm
drm_gem_framebuffer_helper.h
2105
0644
edit
dl
rm
drm_gem_shmem_helper.h
8497
0644
edit
dl
rm
drm_gem_ttm_helper.h
861
0644
edit
dl
rm
drm_gem_vram_helper.h
6313
0644
edit
dl
rm
drm_hashtab.h
3083
0644
edit
dl
rm
drm_hdcp.h
9006
0644
edit
dl
rm
drm_ioctl.h
6381
0644
edit
dl
rm
drm_lease.h
1010
0644
edit
dl
rm
drm_legacy.h
9479
0644
edit
dl
rm
drm_managed.h
3426
0644
edit
dl
rm
drm_mipi_dbi.h
4834
0644
edit
dl
rm
drm_mipi_dsi.h
11553
0644
edit
dl
rm
drm_mm.h
17924
0644
edit
dl
rm
drm_modes.h
18616
0644
edit
dl
rm
drm_modeset_helper.h
1814
0644
edit
dl
rm
drm_modeset_helper_vtables.h
57322
0644
edit
dl
rm
drm_modeset_lock.h
6964
0644
edit
dl
rm
drm_mode_config.h
33017
0644
edit
dl
rm
drm_mode_object.h
5294
0644
edit
dl
rm
drm_of.h
4250
0644
edit
dl
rm
drm_panel.h
6408
0644
edit
dl
rm
drm_pciids.h
68070
0644
edit
dl
rm
drm_plane.h
29161
0644
edit
dl
rm
drm_plane_helper.h
1787
0644
edit
dl
rm
drm_prime.h
4168
0644
edit
dl
rm
drm_print.h
18139
0644
edit
dl
rm
drm_probe_helper.h
922
0644
edit
dl
rm
drm_property.h
12042
0644
edit
dl
rm
drm_rect.h
7022
0644
edit
dl
rm
drm_scdc_helper.h
4445
0644
edit
dl
rm
drm_self_refresh_helper.h
594
0644
edit
dl
rm
drm_simple_kms_helper.h
9119
0644
edit
dl
rm
drm_syncobj.h
3943
0644
edit
dl
rm
drm_sysfs.h
442
0644
edit
dl
rm
drm_util.h
2642
0644
edit
dl
rm
drm_utils.h
504
0644
edit
dl
rm
drm_vblank.h
9255
0644
edit
dl
rm
drm_vblank_work.h
1956
0644
edit
dl
rm
drm_vma_manager.h
8343
0644
edit
dl
rm
drm_writeback.h
4150
0644
edit
dl
rm
gma_drm.h
413
0644
edit
dl
rm
gpu_scheduler.h
15814
0644
edit
dl
rm
gud.h
11856
0644
edit
dl
rm
i915_component.h
1805
0644
edit
dl
rm
i915_drm.h
3690
0644
edit
dl
rm
i915_mei_hdcp_interface.h
5899
0644
edit
dl
rm
i915_pciids.h
21821
0644
edit
dl
rm
intel-gtt.h
996
0644
edit
dl
rm
intel_lpe_audio.h
1758
0644
edit
dl
rm
spsc_queue.h
3157
0644
edit
dl
rm
task_barrier.h
3020
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/include/drm/drm_audio_component.h
(3879B)
// SPDX-License-Identifier: MIT // Copyright © 2014 Intel Corporation #ifndef _DRM_AUDIO_COMPONENT_H_ #define _DRM_AUDIO_COMPONENT_H_ struct drm_audio_component; struct device; /** * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver */ struct drm_audio_component_ops { /** * @owner: drm module to pin down */ struct module *owner; /** * @get_power: get the POWER_DOMAIN_AUDIO power well * * Request the power well to be turned on. * * Returns a wakeref cookie to be passed back to the corresponding * call to @put_power. */ unsigned long (*get_power)(struct device *); /** * @put_power: put the POWER_DOMAIN_AUDIO power well * * Allow the power well to be turned off. */ void (*put_power)(struct device *, unsigned long); /** * @codec_wake_override: Enable/disable codec wake signal */ void (*codec_wake_override)(struct device *, bool enable); /** * @get_cdclk_freq: Get the Core Display Clock in kHz */ int (*get_cdclk_freq)(struct device *); /** * @sync_audio_rate: set n/cts based on the sample rate * * Called from audio driver. After audio driver sets the * sample rate, it will call this function to set n/cts */ int (*sync_audio_rate)(struct device *, int port, int pipe, int rate); /** * @get_eld: fill the audio state and ELD bytes for the given port * * Called from audio driver to get the HDMI/DP audio state of the given * digital port, and also fetch ELD bytes to the given pointer. * * It returns the byte size of the original ELD (not the actually * copied size), zero for an invalid ELD, or a negative error code. * * Note that the returned size may be over @max_bytes. Then it * implies that only a part of ELD has been copied to the buffer. */ int (*get_eld)(struct device *, int port, int pipe, bool *enabled, unsigned char *buf, int max_bytes); }; /** * struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver */ struct drm_audio_component_audio_ops { /** * @audio_ptr: Pointer to be used in call to pin_eld_notify */ void *audio_ptr; /** * @pin_eld_notify: Notify the HDA driver that pin sense and/or ELD information has changed * * Called when the DRM driver has set up audio pipeline or has just * begun to tear it down. This allows the HDA driver to update its * status accordingly (even when the HDA controller is in power save * mode). */ void (*pin_eld_notify)(void *audio_ptr, int port, int pipe); /** * @pin2port: Check and convert from pin node to port number * * Called by HDA driver to check and convert from the pin widget node * number to a port number in the graphics side. */ int (*pin2port)(void *audio_ptr, int pin); /** * @master_bind: (Optional) component master bind callback * * Called at binding master component, for HDA codec-specific * handling of dynamic binding. */ int (*master_bind)(struct device *dev, struct drm_audio_component *); /** * @master_unbind: (Optional) component master unbind callback * * Called at unbinding master component, for HDA codec-specific * handling of dynamic unbinding. */ void (*master_unbind)(struct device *dev, struct drm_audio_component *); }; /** * struct drm_audio_component - Used for direct communication between DRM and hda drivers */ struct drm_audio_component { /** * @dev: DRM device, used as parameter for ops */ struct device *dev; /** * @ops: Ops implemented by DRM driver, called by hda driver */ const struct drm_audio_component_ops *ops; /** * @audio_ops: Ops implemented by hda driver, called by DRM driver */ const struct drm_audio_component_audio_ops *audio_ops; /** * @master_bind_complete: completion held during component master binding */ struct completion master_bind_complete; }; #endif /* _DRM_AUDIO_COMPONENT_H_ */
Save
cmd:
run