Lines Matching refs:res
720 unsigned int res = w - ((w >> 1) & 0x55); in qdf_get_hweight8() local
721 res = (res & 0x33) + ((res >> 2) & 0x33); in qdf_get_hweight8()
722 return (res + (res >> 4)) & 0x0F; in qdf_get_hweight8()
736 unsigned int res = (w & 0x5555) + ((w >> 1) & 0x5555); in qdf_get_hweight16() local
738 res = (res & 0x3333) + ((res >> 2) & 0x3333); in qdf_get_hweight16()
739 res = (res & 0x0F0F) + ((res >> 4) & 0x0F0F); in qdf_get_hweight16()
740 return (res & 0x00FF) + ((res >> 8) & 0x00FF); in qdf_get_hweight16()
754 unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555); in qdf_get_hweight32() local
756 res = (res & 0x33333333) + ((res >> 2) & 0x33333333); in qdf_get_hweight32()
757 res = (res & 0x0F0F0F0F) + ((res >> 4) & 0x0F0F0F0F); in qdf_get_hweight32()
758 res = (res & 0x00FF00FF) + ((res >> 8) & 0x00FF00FF); in qdf_get_hweight32()
759 return (res & 0x0000FFFF) + ((res >> 16) & 0x0000FFFF); in qdf_get_hweight32()