Home
last modified time | relevance | path

Searched refs:offset_out (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/sparc64/drivers/
Dadi-test.c471 off_t offset_out, offset_in; in test4_lseek() local
476 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
477 if (offset_out != offset_in) { in test4_lseek()
483 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
484 if (offset_out < 0 && errno == EINVAL) in test4_lseek()
492 offset_out = seek_adi(fd, 0, SEEK_CUR); in test4_lseek()
493 if (offset_out != offset_in) { in test4_lseek()
498 offset_out = seek_adi(fd, OFFSET_ADD, SEEK_CUR); in test4_lseek()
499 if (offset_out != (offset_in + OFFSET_ADD)) { in test4_lseek()
504 offset_out = seek_adi(fd, OFFSET_SUBTRACT, SEEK_CUR); in test4_lseek()
[all …]
/linux-6.6.21/arch/um/kernel/
Dphysmem.c118 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument
124 *offset_out = phys; in phys_mapping()
133 *offset_out = phys - region->phys; in phys_mapping()
141 *offset_out = phys - iomem_size; in phys_mapping()
/linux-6.6.21/arch/um/include/shared/
Dmem.h9 extern int phys_mapping(unsigned long phys, unsigned long long *offset_out);
/linux-6.6.21/drivers/gpu/drm/meson/
Dmeson_overlay.c204 int offset_out = 0; in meson_overlay_get_vertical_phase() local
208 offset_out = (1 * ratio_y) >> 10; in meson_overlay_get_vertical_phase()
210 while ((offset_in + (4 << 8)) <= offset_out) { in meson_overlay_get_vertical_phase()
215 *phase = (offset_out - offset_in) >> 2; in meson_overlay_get_vertical_phase()