Lines Matching refs:count

254  * Read `count' 1, 2, 4, or 8 byte quantities from bus space
260 size_t count);
265 size_t count);
270 size_t count);
274 bus_size_t offset, u_int8_t *addr, size_t count)
278 insb(bsh + offset, addr, count);
286 "=D" (addr), "=c" (count) :
287 "r" (bsh + offset), "0" (addr), "1" (count) :
295 bus_size_t offset, u_int16_t *addr, size_t count)
299 insw(bsh + offset, addr, count);
307 "=D" (addr), "=c" (count) :
308 "r" (bsh + offset), "0" (addr), "1" (count) :
316 bus_size_t offset, u_int32_t *addr, size_t count)
320 insl(bsh + offset, addr, count);
328 "=D" (addr), "=c" (count) :
329 "r" (bsh + offset), "0" (addr), "1" (count) :
340 * Read `count' 1, 2, 4, or 8 byte quantities from bus space
347 size_t count);
352 size_t count);
357 size_t count);
362 bus_size_t offset, u_int8_t *addr, size_t count)
374 "=D" (addr), "=c" (count), "=d" (_port_) :
375 "0" (addr), "1" (count), "2" (_port_) :
385 "=D" (addr), "=c" (count), "=S" (_port_) :
386 "0" (addr), "1" (count), "2" (_port_) :
394 bus_size_t offset, u_int16_t *addr, size_t count)
406 "=D" (addr), "=c" (count), "=d" (_port_) :
407 "0" (addr), "1" (count), "2" (_port_) :
417 "=D" (addr), "=c" (count), "=S" (_port_) :
418 "0" (addr), "1" (count), "2" (_port_) :
426 bus_size_t offset, u_int32_t *addr, size_t count)
438 "=D" (addr), "=c" (count), "=d" (_port_) :
439 "0" (addr), "1" (count), "2" (_port_) :
449 "=D" (addr), "=c" (count), "=S" (_port_) :
450 "0" (addr), "1" (count), "2" (_port_) :
530 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer
538 size_t count);
543 size_t count);
549 size_t count);
553 bus_size_t offset, const u_int8_t *addr, size_t count)
557 outsb(bsh + offset, addr, count);
565 "=S" (addr), "=c" (count) :
566 "r" (bsh + offset), "0" (addr), "1" (count) :
574 bus_size_t offset, const u_int16_t *addr, size_t count)
578 outsw(bsh + offset, addr, count);
586 "=S" (addr), "=c" (count) :
587 "r" (bsh + offset), "0" (addr), "1" (count) :
595 bus_size_t offset, const u_int32_t *addr, size_t count)
599 outsl(bsh + offset, addr, count);
607 "=S" (addr), "=c" (count) :
608 "r" (bsh + offset), "0" (addr), "1" (count) :
620 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer provided
628 size_t count);
633 size_t count);
638 size_t count);
642 bus_size_t offset, const u_int8_t *addr, size_t count)
654 "=d" (_port_), "=S" (addr), "=c" (count) :
655 "0" (_port_), "1" (addr), "2" (count) :
665 "=D" (_port_), "=S" (addr), "=c" (count) :
666 "0" (_port_), "1" (addr), "2" (count) :
674 bus_size_t offset, const u_int16_t *addr, size_t count)
686 "=d" (_port_), "=S" (addr), "=c" (count) :
687 "0" (_port_), "1" (addr), "2" (count) :
697 "=D" (_port_), "=S" (addr), "=c" (count) :
698 "0" (_port_), "1" (addr), "2" (count) :
706 bus_size_t offset, const u_int32_t *addr, size_t count)
718 "=d" (_port_), "=S" (addr), "=c" (count) :
719 "0" (_port_), "1" (addr), "2" (count) :
729 "=D" (_port_), "=S" (addr), "=c" (count) :
730 "0" (_port_), "1" (addr), "2" (count) :
743 * by tag/handle/offset `count' times.
749 u_int8_t value, size_t count);
753 u_int16_t value, size_t count);
757 u_int32_t value, size_t count);
761 bus_size_t offset, u_int8_t value, size_t count)
766 while (count--)
769 while (count--)
775 bus_size_t offset, u_int16_t value, size_t count)
780 while (count--)
783 while (count--)
789 bus_size_t offset, u_int32_t value, size_t count)
794 while (count--)
797 while (count--)
806 * Write `count' 1, 2, 4, or 8 byte value `val' to bus space described
813 size_t count);
817 size_t count);
821 size_t count);
825 bus_size_t offset, u_int8_t value, size_t count)
830 for (; count != 0; count--, addr++)
833 for (; count != 0; count--, addr++)
839 bus_size_t offset, u_int16_t value, size_t count)
844 for (; count != 0; count--, addr += 2)
847 for (; count != 0; count--, addr += 2)
853 bus_size_t offset, u_int32_t value, size_t count)
858 for (; count != 0; count--, addr += 4)
861 for (; count != 0; count--, addr += 4)
870 * Copy `count' 1, 2, 4, or 8 byte values from bus space starting
878 bus_size_t off2, size_t count);
884 bus_size_t off2, size_t count);
890 bus_size_t off2, size_t count);
895 bus_size_t off2, size_t count)
903 for (; count != 0; count--, addr1++, addr2++)
907 for (addr1 += (count - 1), addr2 += (count - 1);
908 count != 0; count--, addr1--, addr2--)
914 for (; count != 0; count--, addr1++, addr2++)
919 for (addr1 += (count - 1), addr2 += (count - 1);
920 count != 0; count--, addr1--, addr2--)
930 bus_size_t off2, size_t count)
938 for (; count != 0; count--, addr1 += 2, addr2 += 2)
942 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
943 count != 0; count--, addr1 -= 2, addr2 -= 2)
949 for (; count != 0; count--, addr1 += 2, addr2 += 2)
954 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
955 count != 0; count--, addr1 -= 2, addr2 -= 2)
965 bus_size_t off2, size_t count)
973 for (; count != 0; count--, addr1 += 4, addr2 += 4)
977 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
978 count != 0; count--, addr1 -= 4, addr2 -= 4)
984 for (; count != 0; count--, addr1 += 4, addr2 += 4)
989 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
990 count != 0; count--, addr1 -= 4, addr2 -= 4)