basics.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Driver Basics
  2. =============
  3. Driver Entry and Exit points
  4. ----------------------------
  5. .. kernel-doc:: include/linux/init.h
  6. :internal:
  7. Atomic and pointer manipulation
  8. -------------------------------
  9. .. kernel-doc:: arch/x86/include/asm/atomic.h
  10. :internal:
  11. Delaying, scheduling, and timer routines
  12. ----------------------------------------
  13. .. kernel-doc:: include/linux/sched.h
  14. :internal:
  15. .. kernel-doc:: kernel/sched/core.c
  16. :export:
  17. .. kernel-doc:: kernel/sched/cpupri.c
  18. :internal:
  19. .. kernel-doc:: kernel/sched/fair.c
  20. :internal:
  21. .. kernel-doc:: include/linux/completion.h
  22. :internal:
  23. .. kernel-doc:: kernel/time/timer.c
  24. :export:
  25. Wait queues and Wake events
  26. ---------------------------
  27. .. kernel-doc:: include/linux/wait.h
  28. :internal:
  29. .. kernel-doc:: kernel/sched/wait.c
  30. :export:
  31. High-resolution timers
  32. ----------------------
  33. .. kernel-doc:: include/linux/ktime.h
  34. :internal:
  35. .. kernel-doc:: include/linux/hrtimer.h
  36. :internal:
  37. .. kernel-doc:: kernel/time/hrtimer.c
  38. :export:
  39. Workqueues and Kevents
  40. ----------------------
  41. .. kernel-doc:: include/linux/workqueue.h
  42. :internal:
  43. .. kernel-doc:: kernel/workqueue.c
  44. :export:
  45. Internal Functions
  46. ------------------
  47. .. kernel-doc:: kernel/exit.c
  48. :internal:
  49. .. kernel-doc:: kernel/signal.c
  50. :internal:
  51. .. kernel-doc:: include/linux/kthread.h
  52. :internal:
  53. .. kernel-doc:: kernel/kthread.c
  54. :export:
  55. Kernel objects manipulation
  56. ---------------------------
  57. .. kernel-doc:: lib/kobject.c
  58. :export:
  59. Kernel utility functions
  60. ------------------------
  61. .. kernel-doc:: include/linux/kernel.h
  62. :internal:
  63. .. kernel-doc:: kernel/printk/printk.c
  64. :export:
  65. .. kernel-doc:: kernel/panic.c
  66. :export:
  67. .. kernel-doc:: kernel/sys.c
  68. :export:
  69. .. kernel-doc:: kernel/rcu/srcu.c
  70. :export:
  71. .. kernel-doc:: kernel/rcu/tree.c
  72. :export:
  73. .. kernel-doc:: kernel/rcu/tree_plugin.h
  74. :export:
  75. .. kernel-doc:: kernel/rcu/update.c
  76. :export:
  77. Device Resource Management
  78. --------------------------
  79. .. kernel-doc:: drivers/base/devres.c
  80. :export: