Server IP : 172.67.216.182 / Your IP : 172.69.176.131 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-143/arch/mips/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h> #include <linux/mod_devicetable.h> struct gio_device_id { __u8 id; }; struct gio_device { struct device dev; struct resource resource; unsigned int irq; unsigned int slotno; const char *name; struct gio_device_id id; unsigned id32:1; unsigned gio64:1; }; #define to_gio_device(d) container_of(d, struct gio_device, dev) struct gio_driver { const char *name; struct module *owner; const struct gio_device_id *id_table; int (*probe)(struct gio_device *, const struct gio_device_id *); void (*remove)(struct gio_device *); void (*shutdown)(struct gio_device *); struct device_driver driver; }; #define to_gio_driver(drv) container_of(drv, struct gio_driver, driver) extern struct gio_device *gio_dev_get(struct gio_device *); extern void gio_dev_put(struct gio_device *); extern int gio_device_register(struct gio_device *); extern void gio_device_unregister(struct gio_device *); extern void gio_release_dev(struct device *); static inline void gio_device_free(struct gio_device *dev) { gio_release_dev(&dev->dev); } extern int gio_register_driver(struct gio_driver *); extern void gio_unregister_driver(struct gio_driver *); #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) extern void gio_set_master(struct gio_device *);