Lines Matching refs:hpos
579 uint32_t hpos;
583 hpos = 0;
594 if (hpos < temp)
595 hpos = temp;
603 if (lpos > hpos)
606 temp = hpos - lpos;
619 uint32_t hpos;
624 hpos = 0;
641 if (hpos < temp)
642 hpos = temp;
648 if (lpos > hpos)
651 temp = hpos - lpos;
707 uint32_t hpos = loc->pos;
713 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize);
723 rpos = (hpos / 8);
733 data = (data >> (hpos % 8));
766 uint32_t hpos = loc->pos;
773 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value);
782 rpos = (hpos / 8);
784 data = ((uint64_t)value) << (hpos % 8);
785 mask = ((1ULL << hsize) - 1ULL) << (hpos % 8);