/openbmc/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 95 def _complex_member_type(self, ri): argument 101 def free(self, ri, var, ref): argument 103 ri.cw.p(f'free({var}->{ref}{self.c_name});') 105 def arg_member(self, ri): argument 106 member = self._complex_member_type(ri) 114 def struct_member(self, ri): argument 116 ri.cw.p(f"unsigned int n_{self.c_name};") 117 member = self._complex_member_type(ri) 120 ri.cw.p(f"{member} {ptr}{self.c_name};") 122 members = self.arg_member(ri) [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | aat2870-regulator.c | 35 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_set_voltage_sel() local 36 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_set_voltage_sel() 38 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel() 39 selector << ri->voltage_shift); in aat2870_ldo_set_voltage_sel() 44 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_get_voltage_sel() local 45 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_get_voltage_sel() 49 ret = aat2870->read(aat2870, ri->voltage_addr, &val); in aat2870_ldo_get_voltage_sel() 53 return (val & ri->voltage_mask) >> ri->voltage_shift; in aat2870_ldo_get_voltage_sel() 58 struct aat2870_regulator *ri = rdev_get_drvdata(rdev); in aat2870_ldo_enable() local 59 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_enable() [all …]
|
H A D | tps65090-regulator.c | 64 static int tps65090_reg_set_overcurrent_wait(struct tps65090_regulator *ri, in tps65090_reg_set_overcurrent_wait() argument 71 ri->overcurrent_wait << CTRL_WT_BIT); in tps65090_reg_set_overcurrent_wait() 255 struct tps65090_regulator *ri, bool enable) in tps65090_config_ext_control() argument 258 struct device *parent = ri->dev->parent; in tps65090_config_ext_control() 259 unsigned int reg_en_reg = ri->desc->enable_reg; in tps65090_config_ext_control() 266 dev_err(ri->dev, "Error in updating reg 0x%x\n", reg_en_reg); in tps65090_config_ext_control() 271 struct tps65090_regulator *ri, in tps65090_regulator_disable_ext_control() argument 275 struct device *parent = ri->dev->parent; in tps65090_regulator_disable_ext_control() 276 unsigned int reg_en_reg = ri->desc->enable_reg; in tps65090_regulator_disable_ext_control() 286 dev_err(ri->dev, "Error in set reg 0x%x\n", reg_en_reg); in tps65090_regulator_disable_ext_control() [all …]
|
H A D | tps6586x-regulator.c | 268 struct tps6586x_regulator *ri) in tps6586x_regulator_preinit() argument 273 if (ri->enable_reg[0] == ri->enable_reg[1] && in tps6586x_regulator_preinit() 274 ri->enable_bit[0] == ri->enable_bit[1]) in tps6586x_regulator_preinit() 277 ret = tps6586x_read(parent, ri->enable_reg[0], &val1); in tps6586x_regulator_preinit() 281 ret = tps6586x_read(parent, ri->enable_reg[1], &val2); in tps6586x_regulator_preinit() 285 if (!(val2 & (1 << ri->enable_bit[1]))) in tps6586x_regulator_preinit() 292 if (!(val1 & (1 << ri->enable_bit[0]))) { in tps6586x_regulator_preinit() 293 ret = tps6586x_set_bits(parent, ri->enable_reg[0], in tps6586x_regulator_preinit() 294 1 << ri->enable_bit[0]); in tps6586x_regulator_preinit() 299 return tps6586x_clr_bits(parent, ri->enable_reg[1], in tps6586x_regulator_preinit() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | read.c | 27 struct jffs2_raw_inode *ri; in jffs2_read_dnode() local 34 ri = jffs2_alloc_raw_inode(); in jffs2_read_dnode() 35 if (!ri) in jffs2_read_dnode() 38 ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 40 jffs2_free_raw_inode(ri); in jffs2_read_dnode() 45 if (readlen != sizeof(*ri)) { in jffs2_read_dnode() 46 jffs2_free_raw_inode(ri); in jffs2_read_dnode() 48 ref_offset(fd->raw), sizeof(*ri), readlen); in jffs2_read_dnode() 51 crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_read_dnode() 54 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() [all …]
|
H A D | file.c | 146 struct jffs2_raw_inode ri; in jffs2_write_begin() local 153 ret = jffs2_reserve_space(c, sizeof(ri), &alloc_len, in jffs2_write_begin() 159 memset(&ri, 0, sizeof(ri)); in jffs2_write_begin() 161 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_write_begin() 162 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_begin() 163 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin() 164 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin() 166 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin() 167 ri.version = cpu_to_je32(++f->highest_version); in jffs2_write_begin() 168 ri.mode = cpu_to_jemode(inode->i_mode); in jffs2_write_begin() [all …]
|
H A D | write.c | 24 uint32_t mode, struct jffs2_raw_inode *ri) in jffs2_do_new_inode() argument 42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode() 44 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_new_inode() 45 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_new_inode() 46 ri->totlen = cpu_to_je32(PAD(sizeof(*ri))); in jffs2_do_new_inode() 47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode() 48 ri->mode = cpu_to_jemode(mode); in jffs2_do_new_inode() 51 ri->version = cpu_to_je32(f->highest_version); in jffs2_do_new_inode() 60 struct jffs2_raw_inode *ri, const unsigned char *data, in jffs2_write_dnode() argument 72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode() [all …]
|
H A D | gc.c | 762 struct jffs2_raw_inode ri; in jffs2_garbage_collect_metadata() local 796 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &alloclen, in jffs2_garbage_collect_metadata() 800 sizeof(ri) + mdatalen, ret); in jffs2_garbage_collect_metadata() 812 memset(&ri, 0, sizeof(ri)); in jffs2_garbage_collect_metadata() 813 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_metadata() 814 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_metadata() 815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata() 816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata() 818 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_metadata() 819 ri.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_metadata() [all …]
|
H A D | fs.c | 37 struct jffs2_raw_inode *ri; in jffs2_do_setattr() local 78 ri = jffs2_alloc_raw_inode(); in jffs2_do_setattr() 79 if (!ri) { in jffs2_do_setattr() 85 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr() 88 jffs2_free_raw_inode(ri); in jffs2_do_setattr() 96 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_setattr() 97 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_setattr() 98 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr() 99 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr() 101 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_do_setattr() [all …]
|
H A D | dir.c | 166 struct jffs2_raw_inode *ri; in jffs2_create() local 172 ri = jffs2_alloc_raw_inode(); in jffs2_create() 173 if (!ri) in jffs2_create() 180 inode = jffs2_new_inode(dir_i, mode, ri); in jffs2_create() 184 jffs2_free_raw_inode(ri); in jffs2_create() 203 ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name); in jffs2_create() 208 ITIME(je32_to_cpu(ri->ctime))); in jffs2_create() 210 jffs2_free_raw_inode(ri); in jffs2_create() 221 jffs2_free_raw_inode(ri); in jffs2_create() 289 struct jffs2_raw_inode *ri; in jffs2_symlink() local [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 446 static void vcap_encode_keyfield(struct vcap_rule_internal *ri, in vcap_encode_keyfield() argument 451 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield() 452 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_keyfield() 500 struct vcap_rule_internal *ri, in vcap_encode_keyfield_typegroups() argument 503 int sw_width = vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield_typegroups() 504 struct vcap_cache_data *cache = &ri->admin->cache; in vcap_encode_keyfield_typegroups() 536 struct vcap_rule_internal *ri = to_intrule(rule); in vcap_copy_from_client_keyfield() local 547 if (!ri->admin->w32be) { in vcap_copy_from_client_keyfield() 591 struct vcap_rule_internal *ri = to_intrule(rule); in vcap_copy_from_client_actionfield() local 602 if (!ri->admin->w32be) { in vcap_copy_from_client_actionfield() [all …]
|
H A D | vcap_api_debugfs.c | 158 static int vcap_debugfs_show_keysets(struct vcap_rule_internal *ri, in vcap_debugfs_show_keysets() argument 161 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_keysets() 170 if (ri->state == VCAP_RS_DISABLED) in vcap_debugfs_show_keysets() 171 err = vcap_rule_get_keysets(ri, &matches); in vcap_debugfs_show_keysets() 173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype, in vcap_debugfs_show_keysets() 186 vcap_keyset_name(ri->vctrl, matches.keysets[idx])); in vcap_debugfs_show_keysets() 191 static int vcap_debugfs_show_rule_keyset(struct vcap_rule_internal *ri, in vcap_debugfs_show_rule_keyset() argument 194 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_keyset() 195 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_rule_keyset() 199 vcap_debugfs_show_keysets(ri, out); in vcap_debugfs_show_rule_keyset() [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | inode.c | 122 struct f2fs_inode *ri = &F2FS_NODE(page)->i; in f2fs_enable_inode_chksum() local 127 if (!IS_INODE(page) || !(ri->i_inline & F2FS_EXTRA_ATTR)) in f2fs_enable_inode_chksum() 130 if (!F2FS_FITS_IN_INODE(ri, le16_to_cpu(ri->i_extra_isize), in f2fs_enable_inode_chksum() 140 struct f2fs_inode *ri = &node->i; in f2fs_inode_chksum() local 142 __le32 gen = ri->i_generation; in f2fs_inode_chksum() 152 chksum = f2fs_chksum(sbi, chksum_seed, (__u8 *)ri, offset); in f2fs_inode_chksum() 155 chksum = f2fs_chksum(sbi, chksum, (__u8 *)ri + offset, in f2fs_inode_chksum() 162 struct f2fs_inode *ri; in f2fs_inode_chksum_verify() local 176 ri = &F2FS_NODE(page)->i; in f2fs_inode_chksum_verify() 177 provided = le32_to_cpu(ri->i_inode_checksum); in f2fs_inode_chksum_verify() [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | pci.c | 166 struct acpi_pci_generic_root_info *ri; in pci_acpi_generic_release_info() local 168 ri = container_of(ci, struct acpi_pci_generic_root_info, common); in pci_acpi_generic_release_info() 169 pci_ecam_free(ri->cfg); in pci_acpi_generic_release_info() 171 kfree(ri); in pci_acpi_generic_release_info() 177 struct acpi_pci_generic_root_info *ri; in pci_acpi_scan_root() local 182 ri = kzalloc(sizeof(*ri), GFP_KERNEL); in pci_acpi_scan_root() 183 if (!ri) in pci_acpi_scan_root() 188 kfree(ri); in pci_acpi_scan_root() 192 ri->cfg = pci_acpi_setup_ecam_mapping(root); in pci_acpi_scan_root() 193 if (!ri->cfg) { in pci_acpi_scan_root() [all …]
|
/openbmc/qemu/tests/tcg/plugins/ |
H A D | mem.c | 103 RegionInfo *ri = (RegionInfo *) counts->data; in plugin_exit() local 108 ri->region_address, in plugin_exit() 109 ri->reads, in plugin_exit() 110 ri->writes, in plugin_exit() 111 ri->seen_all ? "true" : "false"); in plugin_exit() 132 RegionInfo *ri; in update_region_info() local 138 ri = (RegionInfo *) g_hash_table_lookup(regions, GUINT_TO_POINTER(region)); in update_region_info() 140 if (!ri) { in update_region_info() 141 ri = g_new0(RegionInfo, 1); in update_region_info() 142 ri->region_address = region; in update_region_info() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 559 static uint64_t icv_ap_read(CPUARMState *env, const ARMCPRegInfo *ri) in icv_ap_read() argument 562 int regno = ri->opc2 & 3; in icv_ap_read() 563 int grp = (ri->crm & 1) ? GICV3_G1NS : GICV3_G0; in icv_ap_read() 566 trace_gicv3_icv_ap_read(ri->crm & 1, regno, gicv3_redist_affid(cs), value); in icv_ap_read() 570 static void icv_ap_write(CPUARMState *env, const ARMCPRegInfo *ri, in icv_ap_write() argument 574 int regno = ri->opc2 & 3; in icv_ap_write() 575 int grp = (ri->crm & 1) ? GICV3_G1NS : GICV3_G0; in icv_ap_write() 577 trace_gicv3_icv_ap_write(ri->crm & 1, regno, gicv3_redist_affid(cs), value); in icv_ap_write() 589 static uint64_t icv_bpr_read(CPUARMState *env, const ARMCPRegInfo *ri) in icv_bpr_read() argument 592 int grp = (ri->crm == 8) ? GICV3_G0 : GICV3_G1NS; in icv_bpr_read() [all …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptfc.c | 426 struct mptfc_rport_info *ri; in mptfc_register_dev() local 440 list_for_each_entry(ri, &ioc->fc_rports, list) { in mptfc_register_dev() 441 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev() 443 list_move_tail(&ri->list, &ioc->fc_rports); in mptfc_register_dev() 449 ri = kzalloc(sizeof(struct mptfc_rport_info), GFP_KERNEL); in mptfc_register_dev() 450 if (!ri) in mptfc_register_dev() 452 list_add_tail(&ri->list, &ioc->fc_rports); in mptfc_register_dev() 455 ri->pg0 = *pg0; /* add/update pg0 data */ in mptfc_register_dev() 456 ri->flags &= ~MPT_RPORT_INFO_FLAGS_MISSING; in mptfc_register_dev() 459 if (!(ri->flags & MPT_RPORT_INFO_FLAGS_REGISTERED)) { in mptfc_register_dev() [all …]
|
/openbmc/linux/fs/nilfs2/ |
H A D | recovery.c | 417 struct nilfs_recovery_info *ri) in nilfs_prepare_segment_for_recovery() argument 419 struct list_head *head = &ri->ri_used_segments; in nilfs_prepare_segment_for_recovery() 428 segnum[2] = ri->ri_segnum; in nilfs_prepare_segment_for_recovery() 429 segnum[3] = ri->ri_nextnum; in nilfs_prepare_segment_for_recovery() 465 nilfs->ns_seg_seq = ri->ri_seq + 2; in nilfs_prepare_segment_for_recovery() 571 struct nilfs_recovery_info *ri) in nilfs_do_roll_forward() argument 590 pseg_start = ri->ri_lsegs_start; in nilfs_do_roll_forward() 591 seg_seq = ri->ri_lsegs_start_seq; in nilfs_do_roll_forward() 595 while (segnum != ri->ri_segnum || pseg_start <= ri->ri_pseg_start) { in nilfs_do_roll_forward() 651 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | 37 static uint64_t virt_alloc_region(struct kvm_vm *vm, int ri) in virt_alloc_region() argument 41 taddr = vm_phy_pages_alloc(vm, ri < 4 ? PAGES_PER_REGION : 1, in virt_alloc_region() 46 | (((4 - ri) << 2) & REGION_ENTRY_TYPE) in virt_alloc_region() 47 | ((ri < 4 ? (PAGES_PER_REGION - 1) : 0) & REGION_ENTRY_LENGTH); in virt_alloc_region() 52 int ri, idx; in virt_arch_pg_map() local 74 for (ri = 1; ri <= 4; ri++) { in virt_arch_pg_map() 75 idx = (gva >> (64 - 11 * ri)) & 0x7ffu; in virt_arch_pg_map() 77 entry[idx] = virt_alloc_region(vm, ri); in virt_arch_pg_map() 91 int ri, idx; in addr_arch_gva2gpa() local 98 for (ri = 1; ri <= 4; ri++) { in addr_arch_gva2gpa() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | op_helper.c | 758 const ARMCPRegInfo *ri = get_arm_cp_reginfo(cpu->cp_regs, key); in HELPER() local 762 assert(ri != NULL); in HELPER() 764 if (arm_feature(env, ARM_FEATURE_XSCALE) && ri->cp < 14 in HELPER() 765 && extract32(env->cp15.c15_cpar, ri->cp, 1) == 0) { in HELPER() 770 if (ri->accessfn) { in HELPER() 771 res = ri->accessfn(env, ri, isread); in HELPER() 792 if (!is_a64(env) && arm_current_el(env) == 0 && ri->cp == 15 && in HELPER() 795 uint32_t mask = 1 << ri->crn; in HELPER() 797 if (ri->type & ARM_CP_64BIT) { in HELPER() 798 mask = 1 << ri->crm; in HELPER() [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | debug_fs.c | 431 struct rsbtbl_iter *ri = iter_ptr; in table_seq_show() local 433 switch (ri->format) { in table_seq_show() 435 print_format1(ri->rsb, seq); in table_seq_show() 438 if (ri->header) { in table_seq_show() 440 ri->header = 0; in table_seq_show() 442 print_format2(ri->rsb, seq); in table_seq_show() 445 if (ri->header) { in table_seq_show() 447 ri->header = 0; in table_seq_show() 449 print_format3(ri->rsb, seq); in table_seq_show() 452 if (ri->header) { in table_seq_show() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/ |
H A D | 0001-Create-subroutine-for-cleaning-recent-interfaces.patch | 28 + PosixNetworkInterface **ri = &gRecentInterfaces; 30 + while (*ri) 32 + PosixNetworkInterface *pi = *ri; 33 + if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next; 34 + else { *ri = (PosixNetworkInterface *)pi->coreIntf.next; mdns_free(pi); } 47 - PosixNetworkInterface **ri = &gRecentInterfaces; 49 - while (*ri) 51 - PosixNetworkInterface *pi = *ri; 52 - if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next; 53 - else { *ri = (PosixNetworkInterface *)pi->coreIntf.next; mdns_free(pi); }
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_refcount_item.c | 256 struct xfs_refcount_intent *ri, in xfs_trans_log_finish_refcount_update() argument 261 error = xfs_refcount_finish_one(tp, ri, pcur); in xfs_trans_log_finish_refcount_update() 316 struct xfs_refcount_intent *ri) in xfs_refcount_update_log_item() argument 332 pmap->pe_startblock = ri->ri_startblock; in xfs_refcount_update_log_item() 333 pmap->pe_len = ri->ri_blockcount; in xfs_refcount_update_log_item() 334 xfs_trans_set_refcount_flags(pmap, ri->ri_type); in xfs_refcount_update_log_item() 346 struct xfs_refcount_intent *ri; in xfs_refcount_update_create_intent() local 353 list_for_each_entry(ri, items, ri_list) in xfs_refcount_update_create_intent() 354 xfs_refcount_update_log_item(tp, cuip, ri); in xfs_refcount_update_create_intent() 372 struct xfs_refcount_intent *ri) in xfs_refcount_update_get_group() argument [all …]
|
H A D | xfs_rmap_item.c | 297 struct xfs_rmap_intent *ri, in xfs_trans_log_finish_rmap_update() argument 302 error = xfs_rmap_finish_one(tp, ri, pcur); in xfs_trans_log_finish_rmap_update() 338 struct xfs_rmap_intent *ri) in xfs_rmap_update_log_item() argument 354 map->me_owner = ri->ri_owner; in xfs_rmap_update_log_item() 355 map->me_startblock = ri->ri_bmap.br_startblock; in xfs_rmap_update_log_item() 356 map->me_startoff = ri->ri_bmap.br_startoff; in xfs_rmap_update_log_item() 357 map->me_len = ri->ri_bmap.br_blockcount; in xfs_rmap_update_log_item() 358 xfs_trans_set_rmap_flags(map, ri->ri_type, ri->ri_whichfork, in xfs_rmap_update_log_item() 359 ri->ri_bmap.br_state); in xfs_rmap_update_log_item() 371 struct xfs_rmap_intent *ri; in xfs_rmap_update_create_intent() local [all …]
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 39 static uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri) in raw_read() argument 41 assert(ri->fieldoffset); in raw_read() 42 if (cpreg_field_is_64bit(ri)) { in raw_read() 43 return CPREG_FIELD64(env, ri); in raw_read() 45 return CPREG_FIELD32(env, ri); in raw_read() 49 void raw_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value) in raw_write() argument 51 assert(ri->fieldoffset); in raw_write() 52 if (cpreg_field_is_64bit(ri)) { in raw_write() 53 CPREG_FIELD64(env, ri) = value; in raw_write() 55 CPREG_FIELD32(env, ri) = value; in raw_write() [all …]
|