Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/sparc64/drivers/
H A 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 …]
/openbmc/linux/arch/um/kernel/
H A 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()
/openbmc/u-boot/drivers/net/fm/
H A Deth.c298 muram_writew(&rxqd->offset_out, 0); in fm_eth_rx_port_parameter_init()
366 muram_writew(&txqd->offset_out, 0); in fm_eth_tx_port_parameter_init()
580 u16 offset_out; in fm_eth_recv() local
614 offset_out = muram_readw(&pram->rxqd.offset_out); in fm_eth_recv()
615 offset_out += sizeof(struct fm_port_bd); in fm_eth_recv()
616 if (offset_out >= muram_readw(&pram->rxqd.bd_ring_size)) in fm_eth_recv()
617 offset_out = 0; in fm_eth_recv()
618 muram_writew(&pram->rxqd.offset_out, offset_out); in fm_eth_recv()
H A Dfm.h67 u16 offset_out; member
/openbmc/linux/arch/um/include/shared/
H A Dmem.h9 extern int phys_mapping(unsigned long phys, unsigned long long *offset_out);
/openbmc/linux/drivers/gpu/drm/meson/
H A 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()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.h963 int *chunk_out, u32 *offset_out);
H A Dyaffs_guts.c48 int *chunk_out, u32 *offset_out) in yaffs_addr_to_chunk() argument
70 *offset_out = offset; in yaffs_addr_to_chunk()