Home
last modified time | relevance | path

Searched refs:value_offset (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/nvmem/
H A Dsunxi_sid.c29 u32 value_offset; member
36 u32 value_offset; member
46 __ioread32_copy(val, sid->base + sid->value_offset + offset, bytes / 4); in sunxi_sid_read()
56 word = readl_relaxed(sid->base + sid->value_offset + offset); in sunxi_sid_read()
141 sid->value_offset = cfg->value_offset; in sunxi_sid_probe()
193 .value_offset = 0x200,
199 .value_offset = 0x200,
204 .value_offset = 0x200,
/linux/drivers/gpu/drm/imagination/
H A Dpvr_device_info.c116 .value_offset = 0 \
122 .value_offset = offsetof(struct pvr_device, features.feature) \
127 uintptr_t value_offset; member
243 if (features_mapping[i].value_offset) { in pvr_device_info_set_features()
247 *(u64 *)((u8 *)pvr_dev + features_mapping[i].value_offset) = in pvr_device_info_set_features()
/linux/fs/ntfs/
H A Dwof.c302 u16 value_offset; in parse_wof_chunk_table() local
320 value_offset = in parse_wof_chunk_table()
321 le16_to_cpu(ctx->attr->data.resident.value_offset); in parse_wof_chunk_table()
326 memcpy(table_buf, (u8 *)ctx->attr + value_offset + byte_off, in parse_wof_chunk_table()
377 u16 value_offset; in ntfs_read_wof_chunk() local
407 value_offset = le16_to_cpu(ctx->attr->data.resident.value_offset); in ntfs_read_wof_chunk()
412 memcpy(input, (u8 *)ctx->attr + value_offset + chunk_offset, in ntfs_read_wof_chunk()
H A Dinode.c589 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_is_extended_system_file()
771 le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_inode()
858 a->data.resident.value_offset), in ntfs_read_locked_inode()
939 le16_to_cpu(a->data.resident.value_offset)))) { in ntfs_read_locked_inode()
967 le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_inode()
1190 a->data.resident.value_offset); in ntfs_read_locked_inode()
1384 le16_to_cpu(a->data.resident.value_offset)))) { in ntfs_read_locked_attr_inode()
1397 le16_to_cpu(a->data.resident.value_offset); in ntfs_read_locked_attr_inode()
1573 le16_to_cpu(a->data.resident.value_offset)))) { in ntfs_read_locked_index_inode()
1579 ir = (struct index_root *)((u8 *)a + le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_index_inode()
[all …]
H A Dattrib.c674 u16 value_offset; in ntfs_resident_attr_value_get() local
682 value_offset = le16_to_cpu(a->data.resident.value_offset); in ntfs_resident_attr_value_get()
684 if (value->len > attr_len || value_offset > attr_len - value->len) in ntfs_resident_attr_value_get()
687 value->data = (const u8 *)a + value_offset; in ntfs_resident_attr_value_get()
950 a->data.resident.value_offset), in ntfs_attr_find()
1468 u16 value_offset = le16_to_cpu(a->data.resident.value_offset); in ntfs_external_attr_find() local
1471 !memcmp((u8 *)a + value_offset, val, val_len)) { in ntfs_external_attr_find()
1909 le16_to_cpu(a->data.resident.value_offset) + new_size)) in ntfs_resident_attr_value_resize()
1917 memset((u8 *)a + le16_to_cpu(a->data.resident.value_offset) + in ntfs_resident_attr_value_resize()
2081 le16_to_cpu(a->data.resident.value_offset), in ntfs_attr_make_non_resident()
[all …]
H A Ddir.c120 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_lookup_inode_by_name()
842 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_readdir()
1134 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_dir_fsync()
H A Dnamei.c291 ctx->attr->data.resident.value_offset)); in ntfs_lookup()
876 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_delete()
1627 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_get_parent()
H A Dattrlist.c377 le16_to_cpu(attr->data.resident.value_offset)), (attr->non_resident) ? in ntfs_attrlist_entry_add()
H A Dsuper.c395 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_write_volume_flags()
1495 le16_to_cpu(ctx->attr->data.resident.value_offset)), in load_system_files()
1511 le16_to_cpu(ctx->attr->data.resident.value_offset)); in load_system_files()
H A Dfile.c190 le16_to_cpu(ctx->attr->data.resident.value_offset)); in ntfs_file_fsync()
H A Dindex.c599 ir = (struct index_root *)((char *)a + le16_to_cpu(a->data.resident.value_offset)); in ntfs_ir_lookup()
H A Dmft.c923 value_ofs = le16_to_cpu(a->data.resident.value_offset); in mft_reserved_is_free()
/linux/drivers/iio/humidity/
H A Dhid-sensor-humidity.c25 int value_offset; member
85 *val = humid_st->value_offset; in humidity_read_raw()
/linux/drivers/iio/temperature/
H A Dhid-sensor-temperature.c25 int value_offset; member
87 *val = temp_st->value_offset; in temperature_read_raw()
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c31 int value_offset; member
190 *val = magn_state->magn_flux_attr.value_offset; in magn_3d_read_raw()
194 *val = magn_state->rot_attr.value_offset; in magn_3d_read_raw()
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c32 int value_offset; member
104 *val = press_state->value_offset; in press_read_raw()
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c35 int value_offset; member
125 *val = gyro_state->value_offset; in gyro_3d_read_raw()
/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c47 int value_offset; member
141 *val = st->value_offset; in hinge_read_raw()
/linux/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c36 int value_offset; member
137 *val = incl_state->value_offset; in incl_3d_read_raw()
H A Dhid-sensor-rotation.c32 int value_offset; member
145 *vals = rot_state->value_offset; in dev_rot_read_raw()
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c36 int value_offset; member
164 *val = accel_state->value_offset; in accel_3d_read_raw()
/linux/drivers/net/ethernet/sfc/
H A Def100_nic.c820 u32 value_offset; member
834 state->value_offset = 0; in ef100_tlv_feed()
849 state->value |= ((u64)byte) << (state->value_offset * 8); in ef100_tlv_feed()
850 state->value_offset++; in ef100_tlv_feed()
851 if (state->value_offset >= state->len) in ef100_tlv_feed()
/linux/drivers/iio/light/
H A Dhid-sensor-als.c39 int value_offset; member
184 *val = als_state->value_offset; in als_read_raw()
/linux/fs/ocfs2/
H A Dxattr.c1011 size_t value_offset; in ocfs2_validate_xattr_entries_flat() local
1019 value_offset = name_offset + OCFS2_XATTR_SIZE(xe->xe_name_len); in ocfs2_validate_xattr_entries_flat()
1020 if (value_offset > nv_limit) in ocfs2_validate_xattr_entries_flat()
1027 nv_limit - value_offset) in ocfs2_validate_xattr_entries_flat()
1033 nv_limit - value_offset) { in ocfs2_validate_xattr_entries_flat()
1139 size_t value_offset; in ocfs2_validate_xattr_bucket() local
1151 value_offset = block_offset + OCFS2_XATTR_SIZE(xe->xe_name_len); in ocfs2_validate_xattr_bucket()
1152 if (value_offset > nv_limit) in ocfs2_validate_xattr_bucket()
1159 nv_limit - value_offset) in ocfs2_validate_xattr_bucket()
1165 nv_limit - value_offset) { in ocfs2_validate_xattr_bucket()