Lines Matching refs:hpos
571 uint32_t hpos;
576 hpos = 0;
593 if (hpos < temp)
594 hpos = temp;
600 if (lpos > hpos)
603 temp = hpos - lpos;
656 uint32_t hpos = loc->pos;
662 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize);
672 rpos = (hpos / 8);
682 data = (data >> (hpos % 8));
715 uint32_t hpos = loc->pos;
722 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value);
731 rpos = (hpos / 8);
733 data = ((uint64_t)value) << (hpos % 8);
734 mask = ((1ULL << hsize) - 1ULL) << (hpos % 8);