Lines Matching refs:val
19 unsigned int val = 0; in adfs_readval() local
22 case 4: val |= p[3] << 24; in adfs_readval()
24 case 3: val |= p[2] << 16; in adfs_readval()
26 case 2: val |= p[1] << 8; in adfs_readval()
28 default: val |= p[0]; in adfs_readval()
30 return val; in adfs_readval()
33 static inline void adfs_writeval(unsigned char *p, int len, unsigned int val) in adfs_writeval() argument
36 case 4: p[3] = val >> 24; in adfs_writeval()
38 case 3: p[2] = val >> 16; in adfs_writeval()
40 case 2: p[1] = val >> 8; in adfs_writeval()
42 default: p[0] = val; in adfs_writeval()