Searched refs:byte_offset (Results 1 - 12 of 12) sorted by relevance

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

Completed in 193 milliseconds