Lines Matching full:addr1

844 	bus_space_handle_t addr1 = bsh1 + off1;  in bus_space_copy_region_1()  local
848 if (addr1 >= addr2) { in bus_space_copy_region_1()
850 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1()
851 outb(addr2, inb(addr1)); 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()
856 outb(addr2, inb(addr1)); in bus_space_copy_region_1()
859 if (addr1 >= addr2) { in bus_space_copy_region_1()
861 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1()
863 *(volatile u_int8_t *)(addr1); 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()
869 *(volatile u_int8_t *)(addr1); in bus_space_copy_region_1()
879 bus_space_handle_t addr1 = bsh1 + off1; in bus_space_copy_region_2() local
883 if (addr1 >= addr2) { in bus_space_copy_region_2()
885 for (; count != 0; count--, addr1 += 2, addr2 += 2) in bus_space_copy_region_2()
886 outw(addr2, inw(addr1)); 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()
891 outw(addr2, inw(addr1)); in bus_space_copy_region_2()
894 if (addr1 >= addr2) { in bus_space_copy_region_2()
896 for (; count != 0; count--, addr1 += 2, addr2 += 2) in bus_space_copy_region_2()
898 *(volatile u_int16_t *)(addr1); 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()
904 *(volatile u_int16_t *)(addr1); in bus_space_copy_region_2()
914 bus_space_handle_t addr1 = bsh1 + off1; in bus_space_copy_region_4() local
918 if (addr1 >= addr2) { in bus_space_copy_region_4()
920 for (; count != 0; count--, addr1 += 4, addr2 += 4) in bus_space_copy_region_4()
921 outl(addr2, inl(addr1)); 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()
926 outl(addr2, inl(addr1)); in bus_space_copy_region_4()
929 if (addr1 >= addr2) { in bus_space_copy_region_4()
931 for (; count != 0; count--, addr1 += 4, addr2 += 4) in bus_space_copy_region_4()
933 *(volatile u_int32_t *)(addr1); 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()
939 *(volatile u_int32_t *)(addr1); in bus_space_copy_region_4()