1 Driver Basics 1 Driver Basics 2 ============= 2 ============= 3 3 4 Driver Entry and Exit points 4 Driver Entry and Exit points 5 ---------------------------- 5 ---------------------------- 6 6 7 .. kernel-doc:: include/linux/module.h 7 .. kernel-doc:: include/linux/module.h 8 :internal: 8 :internal: 9 9 10 Driver device table 10 Driver device table 11 ------------------- 11 ------------------- 12 12 13 .. kernel-doc:: include/linux/mod_devicetable. 13 .. kernel-doc:: include/linux/mod_devicetable.h 14 :internal: 14 :internal: 15 :no-identifiers: pci_device_id << 16 15 >> 16 Atomic and pointer manipulation >> 17 ------------------------------- 17 18 18 Delaying and scheduling routines !! 19 .. kernel-doc:: arch/x86/include/asm/atomic.h 19 -------------------------------- !! 20 :internal: >> 21 >> 22 Delaying, scheduling, and timer routines >> 23 ---------------------------------------- 20 24 21 .. kernel-doc:: include/linux/sched.h 25 .. kernel-doc:: include/linux/sched.h 22 :internal: 26 :internal: 23 27 24 .. kernel-doc:: kernel/sched/core.c 28 .. kernel-doc:: kernel/sched/core.c 25 :export: 29 :export: 26 30 27 .. kernel-doc:: kernel/sched/cpupri.c 31 .. kernel-doc:: kernel/sched/cpupri.c 28 :internal: 32 :internal: 29 33 30 .. kernel-doc:: kernel/sched/fair.c 34 .. kernel-doc:: kernel/sched/fair.c 31 :internal: 35 :internal: 32 36 33 .. kernel-doc:: include/linux/completion.h 37 .. kernel-doc:: include/linux/completion.h 34 :internal: 38 :internal: 35 39 36 Time and timer routines !! 40 .. kernel-doc:: kernel/time/timer.c 37 ----------------------- !! 41 :export: 38 42 39 .. kernel-doc:: include/linux/jiffies.h !! 43 Wait queues and Wake events 40 :internal: !! 44 --------------------------- 41 45 42 .. kernel-doc:: kernel/time/time.c !! 46 .. kernel-doc:: include/linux/wait.h 43 :export: !! 47 :internal: 44 48 45 .. kernel-doc:: kernel/time/timer.c !! 49 .. kernel-doc:: kernel/sched/wait.c 46 :export: 50 :export: 47 51 48 High-resolution timers 52 High-resolution timers 49 ---------------------- 53 ---------------------- 50 54 51 .. kernel-doc:: include/linux/ktime.h 55 .. kernel-doc:: include/linux/ktime.h 52 :internal: 56 :internal: 53 57 54 .. kernel-doc:: include/linux/hrtimer.h 58 .. kernel-doc:: include/linux/hrtimer.h 55 :internal: 59 :internal: 56 60 57 .. kernel-doc:: kernel/time/hrtimer.c 61 .. kernel-doc:: kernel/time/hrtimer.c 58 :export: 62 :export: 59 63 60 Wait queues and Wake events !! 64 Workqueues and Kevents 61 --------------------------- !! 65 ---------------------- 62 66 63 .. kernel-doc:: include/linux/wait.h !! 67 .. kernel-doc:: include/linux/workqueue.h 64 :internal: 68 :internal: 65 69 66 .. kernel-doc:: kernel/sched/wait.c !! 70 .. kernel-doc:: kernel/workqueue.c 67 :export: 71 :export: 68 72 69 Internal Functions 73 Internal Functions 70 ------------------ 74 ------------------ 71 75 72 .. kernel-doc:: kernel/exit.c 76 .. kernel-doc:: kernel/exit.c 73 :internal: 77 :internal: 74 78 75 .. kernel-doc:: kernel/signal.c 79 .. kernel-doc:: kernel/signal.c 76 :internal: 80 :internal: 77 81 78 .. kernel-doc:: include/linux/kthread.h 82 .. kernel-doc:: include/linux/kthread.h 79 :internal: 83 :internal: 80 84 81 .. kernel-doc:: kernel/kthread.c 85 .. kernel-doc:: kernel/kthread.c 82 :export: 86 :export: 83 87 84 Reference counting << 85 ------------------ << 86 << 87 .. kernel-doc:: include/linux/refcount.h << 88 :internal: << 89 << 90 .. kernel-doc:: lib/refcount.c << 91 :export: << 92 << 93 Atomics << 94 ------- << 95 << 96 .. kernel-doc:: include/linux/atomic/atomic-in << 97 :internal: << 98 << 99 .. kernel-doc:: include/linux/atomic/atomic-ar << 100 :internal: << 101 << 102 .. kernel-doc:: include/linux/atomic/atomic-lo << 103 :internal: << 104 << 105 Kernel objects manipulation 88 Kernel objects manipulation 106 --------------------------- 89 --------------------------- 107 90 108 .. kernel-doc:: lib/kobject.c 91 .. kernel-doc:: lib/kobject.c 109 :export: 92 :export: 110 93 111 Kernel utility functions 94 Kernel utility functions 112 ------------------------ 95 ------------------------ 113 96 114 .. kernel-doc:: include/linux/kernel.h 97 .. kernel-doc:: include/linux/kernel.h 115 :internal: 98 :internal: 116 :no-identifiers: kstrtol kstrtoul << 117 99 118 .. kernel-doc:: kernel/printk/printk.c 100 .. kernel-doc:: kernel/printk/printk.c 119 :export: 101 :export: 120 :no-identifiers: printk << 121 102 122 .. kernel-doc:: kernel/panic.c 103 .. kernel-doc:: kernel/panic.c >> 104 :export: >> 105 >> 106 .. kernel-doc:: kernel/rcu/tree.c >> 107 :export: >> 108 >> 109 .. kernel-doc:: kernel/rcu/tree_plugin.h >> 110 :export: >> 111 >> 112 .. kernel-doc:: kernel/rcu/update.c 123 :export: 113 :export: 124 114 125 Device Resource Management 115 Device Resource Management 126 -------------------------- 116 -------------------------- 127 117 128 .. kernel-doc:: drivers/base/devres.c 118 .. kernel-doc:: drivers/base/devres.c 129 :export: 119 :export: 130 120
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.