Lines Matching refs:res
119 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in generic_hweight32() local
120 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in generic_hweight32()
121 res = (res & 0x0F0F0F0F) + ((res >> 4) & 0x0F0F0F0F); in generic_hweight32()
122 res = (res & 0x00FF00FF) + ((res >> 8) & 0x00FF00FF); in generic_hweight32()
123 return (res & 0x0000FFFF) + ((res >> 16) & 0x0000FFFF); in generic_hweight32()
128 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in generic_hweight16() local
129 res = (res & 0x3333) + ((res >> 2) & 0x3333); in generic_hweight16()
130 res = (res & 0x0F0F) + ((res >> 4) & 0x0F0F); in generic_hweight16()
131 return (res & 0x00FF) + ((res >> 8) & 0x00FF); in generic_hweight16()
136 unsigned int res = (w & 0x55) + ((w >> 1) & 0x55); in generic_hweight8() local
137 res = (res & 0x33) + ((res >> 2) & 0x33); in generic_hweight8()
138 return (res & 0x0F) + ((res >> 4) & 0x0F); in generic_hweight8()