Changeset 629 for GPL/branches/uniaud32-next/include/linux
- Timestamp:
- Jan 4, 2021, 10:15:17 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next/include/linux
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/compiler.h
r615 r629 123 123 #define WRITE_ONCE(x, val) x=(val) 124 124 #define __force 125 #define __always_unused 126 #define fallthrough do {} while (0) /* fallthrough */ 125 127 #endif /* __LINUX_COMPILER_H */ -
GPL/branches/uniaud32-next/include/linux/completion.h
r625 r629 21 21 }; 22 22 23 #define DECLARE_COMPLETION_ONSTACK(work) struct completion work; 23 24 /** 24 25 * init_completion - Initialize a dynamically allocated completion -
GPL/branches/uniaud32-next/include/linux/ktime.h
r615 r629 5 5 #include <linux/jiffies.h> 6 6 7 /* 8 * ktime_t: 9 * 10 * A single 64-bit variable is used to store the hrtimers 11 * internal representation of time values in scalar nanoseconds. The 12 * design plays out best on 64-bit CPUs, where most conversions are 13 * NOPs and most arithmetic ktime_t operations are plain arithmetic 14 * operations. 15 * 16 */ 17 union ktime { 18 s64 tv64; 19 }; 7 /* Nanosecond scalar representation for kernel time values */ 8 typedef s64 ktime_t; 20 9 21 typedef union ktime ktime_t; /* Kill this */22 10 #define ktime_get_ts(x) do_posix_clock_monotonic_gettime(x) 23 11 /* Map the ktime_t to timespec conversion to ns_to_timespec function */ 24 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64) 25 #define ktime_get_ts64 ktime_get_ts 12 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64) 13 #define ktime_get_ts64 ktime_get_ts 14 #define ktime_get_raw_ts64 getrawmonotonic 15 #define ktime_get_real_ts64 getnstimeofday 16 17 /* Map the ktime_t to timespec conversion to ns_to_timespec function */ 18 #define ktime_to_timespec64(kt) ns_to_timespec64((kt)) 26 19 #include <linux/timekeeping.h> 27 20 -
GPL/branches/uniaud32-next/include/linux/leds.h
r615 r629 2 2 #define _LINUX_LEDS_H 3 3 4 /* This is obsolete/useless. We now support variable maximum brightness. */ 5 enum led_brightness { 6 LED_OFF = 0, 7 LED_ON = 1, 8 LED_HALF = 127, 9 LED_FULL = 255, 10 }; 11 12 struct led_classdev { 13 const char *name; 14 enum led_brightness brightness; 15 enum led_brightness max_brightness; 16 int flags; 17 struct device *dev; 18 }; 4 19 5 20 #endif /* _LINUX_LEDS_H */ -
GPL/branches/uniaud32-next/include/linux/pci.h
r625 r629 783 783 .subvendor = (subvend), .subdevice = (subdev) 784 784 785 int pci_status_get_and_clear_errors(struct pci_dev *pdev); 786 #define PCI_STATUS_ERROR_BITS (PCI_STATUS_DETECTED_PARITY | \ 787 PCI_STATUS_SIG_SYSTEM_ERROR | \ 788 PCI_STATUS_REC_MASTER_ABORT | \ 789 PCI_STATUS_REC_TARGET_ABORT | \ 790 PCI_STATUS_SIG_TARGET_ABORT | \ 791 PCI_STATUS_PARITY) 785 792 786 793 #endif /* LINUX_PCI_H */ -
GPL/branches/uniaud32-next/include/linux/pm_qos.h
r615 r629 86 86 #endif /* >= 2.6.19 */ 87 87 88 static inline s32 cpu_latency_qos_limit(void) { return INT_MAX; } 89 static inline bool cpu_latency_qos_request_active(struct pm_qos_request *req) 90 { 91 return false; 92 } 93 static inline void cpu_latency_qos_add_request(struct pm_qos_request *req, 94 s32 value) {} 95 static inline void cpu_latency_qos_update_request(struct pm_qos_request *req, 96 s32 new_value) {} 97 static inline void cpu_latency_qos_remove_request(struct pm_qos_request *req) {} 98 88 99 #endif /* _LINUX_PM_QOS_H */ -
GPL/branches/uniaud32-next/include/linux/proc_fs.h
r625 r629 8 8 * The proc filesystem constants/structures 9 9 */ 10 11 struct proc_ops { 12 int (*proc_open)(struct inode *, struct file *); 13 ssize_t (*proc_read)(struct file *, char __user *, size_t, loff_t *); 14 ssize_t (*proc_write)(struct file *, const char __user *, size_t, loff_t *); 15 loff_t (*proc_lseek)(struct file *, loff_t, int); 16 int (*proc_release)(struct inode *, struct file *); 17 __poll_t (*proc_poll)(struct file *, struct poll_table_struct *); 18 long (*proc_ioctl)(struct file *, unsigned int, unsigned long); 19 #ifdef CONFIG_COMPAT 20 long (*proc_compat_ioctl)(struct file *, unsigned int, unsigned long); 21 #endif 22 int (*proc_mmap)(struct file *, struct vm_area_struct *); 23 unsigned long (*proc_get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); 24 }; 10 25 11 26 /* -
GPL/branches/uniaud32-next/include/linux/types.h
r615 r629 148 148 typedef unsigned __poll_t; 149 149 typedef u32 phys_addr_t; 150 150 typedef s64 int64_t; 151 151 #endif /* _LINUX_TYPES_H */
Note:
See TracChangeset
for help on using the changeset viewer.
