Lines Matching full:count

256  * Read `count' 1, 2, 4, or 8 byte quantities from bus space
262 size_t count);
267 size_t count);
272 size_t count);
276 bus_size_t offset, u_int8_t *addr, size_t count) in bus_space_read_multi_1() argument
280 insb(bsh + offset, addr, count); in bus_space_read_multi_1()
286 "=D" (addr), "=c" (count) : in bus_space_read_multi_1()
287 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_read_multi_1()
294 bus_size_t offset, u_int16_t *addr, size_t count) in bus_space_read_multi_2() argument
298 insw(bsh + offset, addr, count); in bus_space_read_multi_2()
304 "=D" (addr), "=c" (count) : in bus_space_read_multi_2()
305 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_read_multi_2()
312 bus_size_t offset, u_int32_t *addr, size_t count) in bus_space_read_multi_4() argument
316 insl(bsh + offset, addr, count); in bus_space_read_multi_4()
322 "=D" (addr), "=c" (count) : in bus_space_read_multi_4()
323 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_read_multi_4()
333 * Read `count' 1, 2, 4, or 8 byte quantities from bus space
340 size_t count);
345 size_t count);
350 size_t count);
354 bus_size_t offset, u_int8_t *addr, size_t count) in bus_space_read_region_1() argument
364 "=D" (addr), "=c" (count), "=d" (_port_) : in bus_space_read_region_1()
365 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_1()
372 "=D" (addr), "=c" (count), "=S" (_port_) : in bus_space_read_region_1()
373 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_1()
380 bus_size_t offset, u_int16_t *addr, size_t count) in bus_space_read_region_2() argument
390 "=D" (addr), "=c" (count), "=d" (_port_) : in bus_space_read_region_2()
391 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_2()
398 "=D" (addr), "=c" (count), "=S" (_port_) : in bus_space_read_region_2()
399 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_2()
406 bus_size_t offset, u_int32_t *addr, size_t count) in bus_space_read_region_4() argument
416 "=D" (addr), "=c" (count), "=d" (_port_) : in bus_space_read_region_4()
417 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_4()
424 "=D" (addr), "=c" (count), "=S" (_port_) : in bus_space_read_region_4()
425 "0" (addr), "1" (count), "2" (_port_) : in bus_space_read_region_4()
504 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer
512 size_t count);
517 size_t count);
523 size_t count);
527 bus_size_t offset, const u_int8_t *addr, size_t count) in bus_space_write_multi_1() argument
531 outsb(bsh + offset, addr, count); in bus_space_write_multi_1()
537 "=S" (addr), "=c" (count) : in bus_space_write_multi_1()
538 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_write_multi_1()
545 bus_size_t offset, const u_int16_t *addr, size_t count) in bus_space_write_multi_2() argument
549 outsw(bsh + offset, addr, count); in bus_space_write_multi_2()
555 "=S" (addr), "=c" (count) : in bus_space_write_multi_2()
556 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_write_multi_2()
563 bus_size_t offset, const u_int32_t *addr, size_t count) in bus_space_write_multi_4() argument
567 outsl(bsh + offset, addr, count); in bus_space_write_multi_4()
573 "=S" (addr), "=c" (count) : in bus_space_write_multi_4()
574 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_write_multi_4()
585 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer provided
593 size_t count);
598 size_t count);
603 size_t count);
607 bus_size_t offset, const u_int8_t *addr, size_t count) in bus_space_write_region_1() argument
617 "=d" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_1()
618 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_1()
625 "=D" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_1()
626 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_1()
633 bus_size_t offset, const u_int16_t *addr, size_t count) in bus_space_write_region_2() argument
643 "=d" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_2()
644 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_2()
651 "=D" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_2()
652 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_2()
659 bus_size_t offset, const u_int32_t *addr, size_t count) in bus_space_write_region_4() argument
669 "=d" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_4()
670 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_4()
677 "=D" (_port_), "=S" (addr), "=c" (count) : in bus_space_write_region_4()
678 "0" (_port_), "1" (addr), "2" (count) : in bus_space_write_region_4()
690 * by tag/handle/offset `count' times.
696 u_int8_t value, size_t count);
700 u_int16_t value, size_t count);
704 u_int32_t value, size_t count);
708 bus_size_t offset, u_int8_t value, size_t count) in bus_space_set_multi_1() argument
713 while (count--) in bus_space_set_multi_1()
716 while (count--) in bus_space_set_multi_1()
722 bus_size_t offset, u_int16_t value, size_t count) in bus_space_set_multi_2() argument
727 while (count--) in bus_space_set_multi_2()
730 while (count--) in bus_space_set_multi_2()
736 bus_size_t offset, u_int32_t value, size_t count) in bus_space_set_multi_4() argument
741 while (count--) in bus_space_set_multi_4()
744 while (count--) in bus_space_set_multi_4()
753 * Write `count' 1, 2, 4, or 8 byte value `val' to bus space described
760 size_t count);
764 size_t count);
768 size_t count);
772 bus_size_t offset, u_int8_t value, size_t count) in bus_space_set_region_1() argument
777 for (; count != 0; count--, addr++) in bus_space_set_region_1()
780 for (; count != 0; count--, addr++) in bus_space_set_region_1()
786 bus_size_t offset, u_int16_t value, size_t count) in bus_space_set_region_2() argument
791 for (; count != 0; count--, addr += 2) in bus_space_set_region_2()
794 for (; count != 0; count--, addr += 2) in bus_space_set_region_2()
800 bus_size_t offset, u_int32_t value, size_t count) in bus_space_set_region_4() argument
805 for (; count != 0; count--, addr += 4) in bus_space_set_region_4()
808 for (; count != 0; count--, addr += 4) in bus_space_set_region_4()
817 * Copy `count' 1, 2, 4, or 8 byte values from bus space starting
825 bus_size_t off2, size_t count);
831 bus_size_t off2, size_t count);
837 bus_size_t off2, size_t count);
842 bus_size_t off2, size_t count) in bus_space_copy_region_1() argument
850 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1()
854 for (addr1 += (count - 1), addr2 += (count - 1); in bus_space_copy_region_1()
855 count != 0; count--, addr1--, addr2--) in bus_space_copy_region_1()
861 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1()
866 for (addr1 += (count - 1), addr2 += (count - 1); in bus_space_copy_region_1()
867 count != 0; count--, addr1--, addr2--) in bus_space_copy_region_1()
877 bus_size_t off2, size_t count) in bus_space_copy_region_2() argument
885 for (; count != 0; count--, addr1 += 2, addr2 += 2) in bus_space_copy_region_2()
889 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1); in bus_space_copy_region_2()
890 count != 0; count--, addr1 -= 2, addr2 -= 2) in bus_space_copy_region_2()
896 for (; count != 0; count--, addr1 += 2, addr2 += 2) in bus_space_copy_region_2()
901 for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1); in bus_space_copy_region_2()
902 count != 0; count--, addr1 -= 2, addr2 -= 2) in bus_space_copy_region_2()
912 bus_size_t off2, size_t count) in bus_space_copy_region_4() argument
920 for (; count != 0; count--, addr1 += 4, addr2 += 4) in bus_space_copy_region_4()
924 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1); in bus_space_copy_region_4()
925 count != 0; count--, addr1 -= 4, addr2 -= 4) in bus_space_copy_region_4()
931 for (; count != 0; count--, addr1 += 4, addr2 += 4) in bus_space_copy_region_4()
936 for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1); in bus_space_copy_region_4()
937 count != 0; count--, addr1 -= 4, addr2 -= 4) in bus_space_copy_region_4()