Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 14 of 14) sorted by relevance

/u-boot/fs/
A Dfs_internal.c18 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() argument
30 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
37 sector += byte_offset >> log2blksz; in fs_devread()
38 byte_offset &= blk->blksz - 1; in fs_devread()
40 log_debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len); in fs_devread()
42 if (byte_offset != 0) { in fs_devread()
50 readlen = min((int)blk->blksz - byte_offset, in fs_devread()
52 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread()
/u-boot/fs/btrfs/
A Ddev.c19 int byte_offset; in btrfs_devread() local
22 byte_offset = address % btrfs_blk_desc->blksz; in btrfs_devread()
24 return fs_devread(btrfs_blk_desc, btrfs_part_info, sector, byte_offset, in btrfs_devread()
A Dcompat.h59 int byte_offset; in __btrfs_devread() local
63 byte_offset = offset % desc->blksz; in __btrfs_devread()
66 ret = fs_devread(desc, part, sector, byte_offset, size, buf); in __btrfs_devread()
/u-boot/fs/reiserfs/
A Ddev.c24 int reiserfs_devread(int sector, int byte_offset, int byte_len, char *buf) in reiserfs_devread() argument
26 return fs_devread(reiserfs_blk_desc, part_info, sector, byte_offset, in reiserfs_devread()
A Dreiserfs_private.h509 extern int reiserfs_devread (int sector, int byte_offset, int byte_len, char *buf);
/u-boot/fs/zfs/
A Ddev.c26 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) in zfs_devread() argument
28 return fs_devread(zfs_blk_desc, part_info, sector, byte_offset, in zfs_devread()
/u-boot/drivers/misc/
A Dnpcm_otp.c129 u32 byte_offset, u8 bit_offset) in npcm_otp_bit_is_programmed() argument
134 npcm_otp_read_byte(arr, byte_offset, (u8 *)&data); in npcm_otp_bit_is_programmed()
153 static int npcm_otp_program_bit(u32 arr, u32 byte_offset, in npcm_otp_program_bit() argument
164 if (npcm_otp_bit_is_programmed(arr, byte_offset, bit_offset)) in npcm_otp_program_bit()
168 writel(FADDR_VAL(byte_offset, bit_offset), &regs->faddr); in npcm_otp_program_bit()
223 static int npcm_otp_program_byte(u32 arr, u32 byte_offset, in npcm_otp_program_byte() argument
231 rc = npcm_otp_check_inputs(arr, byte_offset); in npcm_otp_program_byte()
239 npcm_otp_read_byte(arr, byte_offset, &data); in npcm_otp_program_byte()
249 int last_status = npcm_otp_program_bit(arr, byte_offset, (u8)i); in npcm_otp_program_byte()
/u-boot/fs/ext4/
A Ddev.c50 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, in ext4fs_devread() argument
53 return fs_devread(get_fs()->dev_desc, part_info, sector, byte_offset, in ext4fs_devread()
/u-boot/include/
A Dzfs_common.h102 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf);
A Dext4fs.h156 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf);
/u-boot/drivers/ram/octeon/
A Docteon_ddr.c2042 int dll_offset_mode, int byte_offset, int byte) in load_dll_offset() argument
2063 (abs(byte_offset) & (~(-1 << field_width))) | in load_dll_offset()
2064 (_sign(byte_offset) << field_width)); in load_dll_offset()
2084 int byte_offset; in process_custom_dll_offsets() local
2114 byte_offset = (provided) ? offsets[byte] : 0; in process_custom_dll_offsets()
2120 byte_offset = simple_strtol(s, NULL, 0); in process_custom_dll_offsets()
2124 load_dll_offset(priv, if_num, mode, byte_offset, byte); in process_custom_dll_offsets()
A Docteon3_lmc.c10285 int byte_offset, new_best_offset[9]; in hw_assist_test_dll_offset() local
10352 for (byte_offset = -63; byte_offset < 64; in hw_assist_test_dll_offset()
10353 byte_offset += BYTE_OFFSET_INCR) { in hw_assist_test_dll_offset()
10359 byte_offset, bytelane); in hw_assist_test_dll_offset()
10401 mode_str, byte_offset, in hw_assist_test_dll_offset()
10410 byte_offset); in hw_assist_test_dll_offset()
10426 byte_offset); in hw_assist_test_dll_offset()
10429 byte_offset; in hw_assist_test_dll_offset()
10452 byte_offset, in hw_assist_test_dll_offset()
/u-boot/arch/mips/mach-octeon/include/mach/
A Docteon_ddr.h778 int byte_offset, int byte);
/u-boot/drivers/mtd/
A Dcfi_flash.c212 unsigned int byte_offset = offset * info->portwidth; in flash_map() local
214 return (void *)(info->start[sect] + (byte_offset << info->chip_lsb)); in flash_map()

Completed in 53 milliseconds