Home
last modified time | relevance | path

Searched refs:ext_offset (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/target/riscv/tcg/
H A Dtcg-cpu.c46 static bool cpu_cfg_ext_is_user_set(uint32_t ext_offset) in cpu_cfg_ext_is_user_set() argument
49 GUINT_TO_POINTER(ext_offset)); in cpu_cfg_ext_is_user_set()
58 static void cpu_cfg_ext_add_user_opt(uint32_t ext_offset, bool value) in cpu_cfg_ext_add_user_opt() argument
60 g_hash_table_insert(multi_ext_user_opts, GUINT_TO_POINTER(ext_offset), in cpu_cfg_ext_add_user_opt()
153 static int cpu_cfg_ext_get_min_version(uint32_t ext_offset) in cpu_cfg_ext_get_min_version() argument
158 if (edata->ext_enable_offset != ext_offset) { in cpu_cfg_ext_get_min_version()
168 static const char *cpu_cfg_ext_get_name(uint32_t ext_offset) in cpu_cfg_ext_get_name() argument
174 if (edata->ext_enable_offset == ext_offset) { in cpu_cfg_ext_get_name()
180 if (feat->offset == ext_offset) { in cpu_cfg_ext_get_name()
188 static bool cpu_cfg_offset_is_named_feat(uint32_t ext_offset) in cpu_cfg_offset_is_named_feat() argument
[all …]
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py107 self.ext_offset = 0
155 self.ext_offset = struct.calcsize(
159 free_space = self.cluster_size - self.ext_offset - \
191 free_space = high_border - self.ext_offset
199 ['>I', self.ext_offset, 0xE2792ACA, 'ext_magic'],
200 ['>I', self.ext_offset + UINT32_S, ext_data_len,
202 [ext_data_fmt, self.ext_offset + UINT32_S * 2,
205 self.ext_offset = \
223 free_space = high_border - self.ext_offset
232 inner_offset = self.ext_offset + ext_header_len
[all …]
/openbmc/linux/fs/udf/
H A Dpartition.c282 sector_t ext_offset; in udf_try_read_meta() local
288 err = inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset, &etype); in udf_try_read_meta()
296 ext_offset + offset); in udf_try_read_meta()
/openbmc/linux/drivers/video/fbdev/
H A Di740fb.c74 u8 ext_offset; member
587 par->ext_offset = vxres >> 11; in i740fb_decode_var()
596 par->ext_offset = vxres >> 10; in i740fb_decode_var()
602 par->ext_offset = (vxres * 3) >> 11; in i740fb_decode_var()
610 par->ext_offset = vxres >> 9; in i740fb_decode_var()
815 i740outreg(par, VGA_CRT_IC, EXT_OFFSET, par->ext_offset); in i740fb_set_par()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Daqua_vanjaram.c294 u64 ext_offset; in aqua_vanjaram_encode_ext_smn_addressing() local
301 ext_offset = ((u64)(ext_id & 0x3) << 32) | (1ULL << 34); in aqua_vanjaram_encode_ext_smn_addressing()
303 return ext_offset; in aqua_vanjaram_encode_ext_smn_addressing()
/openbmc/qemu/target/riscv/
H A Dcpu.h854 void isa_ext_update_enabled(RISCVCPU *cpu, uint32_t ext_offset, bool en);
855 bool isa_ext_is_enabled(RISCVCPU *cpu, uint32_t ext_offset);
H A Dcpu.c219 bool isa_ext_is_enabled(RISCVCPU *cpu, uint32_t ext_offset) in isa_ext_is_enabled() argument
221 bool *ext_enabled = (void *)&cpu->cfg + ext_offset; in isa_ext_is_enabled()
226 void isa_ext_update_enabled(RISCVCPU *cpu, uint32_t ext_offset, bool en) in isa_ext_update_enabled() argument
228 bool *ext_enabled = (void *)&cpu->cfg + ext_offset; in isa_ext_update_enabled()