|
| 1 | +<?xml version="1.0"?> |
| 2 | +<def format="2"> |
| 3 | + |
| 4 | + <function name="device_is_ready"> |
| 5 | + <returnValue type="bool"/> |
| 6 | + <use-retval/> |
| 7 | + <pure/> |
| 8 | + <noreturn>false</noreturn> |
| 9 | + <leak-ignore/> |
| 10 | + <arg nr="1" direction="in"> |
| 11 | + <not-uninit/> |
| 12 | + <not-null/> |
| 13 | + <not-bool/> |
| 14 | + </arg> |
| 15 | + </function> |
| 16 | + |
| 17 | + <function name="gpio_init_callback"> |
| 18 | + <returnValue type="void"/> |
| 19 | + <noreturn>false</noreturn> |
| 20 | + <leak-ignore/> |
| 21 | + <arg nr="1" direction="in"> |
| 22 | + <not-uninit/> |
| 23 | + <not-null/> |
| 24 | + <not-bool/> |
| 25 | + </arg> |
| 26 | + <arg nr="2" direction="in"> |
| 27 | + <not-uninit/> |
| 28 | + <not-null/> |
| 29 | + <not-bool/> |
| 30 | + </arg> |
| 31 | + <arg nr="3" direction="in"> |
| 32 | + <not-uninit/> |
| 33 | + <not-bool/> |
| 34 | + </arg> |
| 35 | + </function> |
| 36 | + |
| 37 | + <function name="gpio_add_callback"> |
| 38 | + <returnValue type="int"/> |
| 39 | + <noreturn>false</noreturn> |
| 40 | + <leak-ignore/> |
| 41 | + <arg nr="1" direction="in"> |
| 42 | + <not-uninit/> |
| 43 | + <not-null/> |
| 44 | + <not-bool/> |
| 45 | + </arg> |
| 46 | + <arg nr="2" direction="in"> |
| 47 | + <not-uninit/> |
| 48 | + <not-null/> |
| 49 | + <not-bool/> |
| 50 | + </arg> |
| 51 | + </function> |
| 52 | + |
| 53 | + <function name="gpio_pin_configure_dt,gpio_pin_interrupt_configure_dt"> |
| 54 | + <returnValue type="int"/> |
| 55 | + <noreturn>false</noreturn> |
| 56 | + <leak-ignore/> |
| 57 | + <arg nr="1" direction="in"> |
| 58 | + <not-uninit/> |
| 59 | + <not-null/> |
| 60 | + <not-bool/> |
| 61 | + </arg> |
| 62 | + <arg nr="2" direction="in"> |
| 63 | + <not-uninit/> |
| 64 | + <not-bool/> |
| 65 | + </arg> |
| 66 | + </function> |
| 67 | + |
| 68 | + <function name="gpio_pin_toggle_dt"> |
| 69 | + <returnValue type="int"/> |
| 70 | + <noreturn>false</noreturn> |
| 71 | + <leak-ignore/> |
| 72 | + <arg nr="1" direction="in"> |
| 73 | + <not-uninit/> |
| 74 | + <not-null/> |
| 75 | + <not-bool/> |
| 76 | + </arg> |
| 77 | + </function> |
| 78 | + |
| 79 | + <function name="k_msleep"> |
| 80 | + <returnValue type="int32_t"/> |
| 81 | + <noreturn>false</noreturn> |
| 82 | + <arg nr="1" direction="in"> |
| 83 | + <not-uninit/> |
| 84 | + <valid>0:2147483647</valid> |
| 85 | + </arg> |
| 86 | + </function> |
| 87 | + |
| 88 | + <function name="printk"> |
| 89 | + <noreturn>false</noreturn> |
| 90 | + <leak-ignore/> |
| 91 | + <formatstr/> |
| 92 | + <arg nr="1" direction="in"> |
| 93 | + <formatstr/> |
| 94 | + <not-uninit/> |
| 95 | + <strz/> |
| 96 | + </arg> |
| 97 | + </function> |
| 98 | + |
| 99 | + <define name="KERN_EMERG" value=""0""/> |
| 100 | + <define name="KERN_ALERT" value=""1""/> |
| 101 | + <define name="KERN_CRIT" value=""2""/> |
| 102 | + <define name="KERN_ERR" value=""3""/> |
| 103 | + <define name="KERN_WARNING" value=""4""/> |
| 104 | + <define name="KERN_NOTICE" value=""5""/> |
| 105 | + <define name="KERN_INFO" value=""6""/> |
| 106 | + <define name="KERN_DEBUG" value=""7""/> |
| 107 | + <define name="KERN_DEFAULT" value=""""/> |
| 108 | + <define name="KERN_CONT" value=""c""/> |
| 109 | + |
| 110 | + <define name="ARRAY_SIZE(array)" value="(sizeof(array) / sizeof((array)[0]))"/> |
| 111 | + <define name="BIT(x)" value="(1UL<<x)"/> |
| 112 | + <define name="IS_ENABLED(flag)" value="flag"/> |
| 113 | +</def> |
0 commit comments