Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\842\842_decompress.c Create Date:2022-07-28 06:57:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__split_next_bits

Proto:static int __split_next_bits(struct sw842_param *p, u64 *d, u8 n, u8 s)

Type:int

Parameter:

TypeParameterName
struct sw842_param *p
u64 *d
u8n
u8s
69  tmp = 0
72  If n <= s Then
73  pr_debug("split_next_bits invalid n %u s %u\n", n, s)
74  Return -EINVAL
77  ret = next_bits(p, & tmp, n - s)
78  If ret Then Return ret
80  ret = next_bits(p, d, s)
81  If ret Then Return ret
83  d |= tmp << s
84  Return 0
Caller
NameDescribe
next_bits