Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit cecfe27

Browse files
committed
linux_src_doc: regenerated reST from kernels's source
with the updated kernel-doc parser, see commit return42/linuxdoc@3991d3cb Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 parent e64c198 commit cecfe27

File tree

2 files changed

+120
-0
lines changed

2 files changed

+120
-0
lines changed

linux_src_doc/arch/frv/include/asm/bitops_h.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,66 @@ This is defined the same way as ffs
2121
- return 32..1 to indicate bit 31..0 most significant bit set
2222
- return 0 to indicate no bits set
2323

24+
.. _`fls64`:
25+
26+
fls64
27+
=====
28+
29+
.. c:function:: int fls64(u64 n)
30+
31+
find last bit set in a 64-bit value
32+
33+
:param u64 n:
34+
the value to search
35+
36+
.. _`fls64.this-is-defined-the-same-way-as-ffs`:
37+
38+
This is defined the same way as ffs
39+
-----------------------------------
40+
41+
- return 64..1 to indicate bit 63..0 most significant bit set
42+
- return 0 to indicate no bits set
43+
44+
.. _`ffs`:
45+
46+
ffs
47+
===
48+
49+
.. c:function:: int ffs(int x)
50+
51+
find first bit set
52+
53+
:param int x:
54+
the word to search
55+
56+
.. _`ffs.description`:
57+
58+
Description
59+
-----------
60+
61+
- return 32..1 to indicate bit 31..0 most least significant bit set
62+
- return 0 to indicate no bits set
63+
64+
.. _`__ffs`:
65+
66+
__ffs
67+
=====
68+
69+
.. c:function:: int __ffs(unsigned long x)
70+
71+
find first bit set
72+
73+
:param unsigned long x:
74+
the word to search
75+
76+
.. _`__ffs.description`:
77+
78+
Description
79+
-----------
80+
81+
- return 31..0 to indicate bit 31..0 most least significant bit set
82+
- if no bits are set in x, the result is undefined
83+
2484
.. _`__fls`:
2585
2686
__fls

linux_src_doc/arch/mn10300/include/asm/bitops_h.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11
.. -*- coding: utf-8; mode: rst -*-
22
.. src-file: arch/mn10300/include/asm/bitops.h
33
4+
.. _`__ffs`:
5+
6+
__ffs
7+
=====
8+
9+
.. c:function:: unsigned long __ffs(unsigned long x)
10+
11+
find first bit set
12+
13+
:param unsigned long x:
14+
the word to search
15+
16+
.. _`__ffs.description`:
17+
18+
Description
19+
-----------
20+
21+
- return 31..0 to indicate bit 31..0 most least significant bit set
22+
- if no bits are set in x, the result is undefined
23+
24+
.. _`fls`:
25+
26+
fls
27+
===
28+
29+
.. c:function:: int fls(int x)
30+
31+
find last bit set
32+
33+
:param int x:
34+
the word to search
35+
36+
.. _`fls.this-is-defined-the-same-way-as-ffs`:
37+
38+
This is defined the same way as ffs
39+
-----------------------------------
40+
41+
- return 32..1 to indicate bit 31..0 most significant bit set
42+
- return 0 to indicate no bits set
43+
444
.. _`__fls`:
545
646
__fls
@@ -20,5 +60,25 @@ Description
2060
2161
Undefined if no set bit exists, so code should check against 0 first.
2262
63+
.. _`ffs`:
64+
65+
ffs
66+
===
67+
68+
.. c:function:: int ffs(int x)
69+
70+
find first bit set
71+
72+
:param int x:
73+
the word to search
74+
75+
.. _`ffs.description`:
76+
77+
Description
78+
-----------
79+
80+
- return 32..1 to indicate bit 31..0 most least significant bit set
81+
- return 0 to indicate no bits set
82+
2383
.. This file was automatic generated / don't edit.
2484

0 commit comments

Comments
 (0)