Home
last modified time | relevance | path

Searched refs:ri (Results 1 – 25 of 159) sorted by relevance

1234567

/linux-6.3-rc2/tools/net/ynl/
A Dynl-gen-c.py1115 if 'request' in ri.op[ri.op_mode]:
1119 if 'reply' in ri.op[ri.op_mode]:
1285 if 'reply' not in ri.op[ri.op_mode] and ri.op_mode != 'event':
1308 if 'reply' in ri.op[ri.op_mode]:
1321 if 'reply' in ri.op[ri.op_mode]:
1337 if 'reply' in ri.op[ri.op_mode]:
1354 if 'reply' in ri.op[ri.op_mode]:
1379 if "request" in ri.op[ri.op_mode]:
1479 if 'reply' not in ri.op[ri.op_mode]:
1499 if (ri.op_mode == 'do' or ri.op_mode == 'dump') and 'reply' in ri.op[ri.op_mode]:
[all …]
/linux-6.3-rc2/drivers/regulator/
A Daat2870-regulator.c38 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel()
53 return (val & ri->voltage_mask) >> ri->voltage_shift; in aat2870_ldo_get_voltage_sel()
61 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, in aat2870_ldo_enable()
62 ri->enable_mask); in aat2870_ldo_enable()
70 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, 0); in aat2870_ldo_disable()
131 if (ri->desc.id == id) in aat2870_get_regulator()
140 ri->enable_mask = 0x1 << ri->enable_shift; in aat2870_get_regulator()
145 ri->voltage_mask = 0xF << ri->voltage_shift; in aat2870_get_regulator()
147 return ri; in aat2870_get_regulator()
157 if (!ri) { in aat2870_regulator_probe()
[all …]
A Dtps65090-regulator.c71 ri->overcurrent_wait << CTRL_WT_BIT); in tps65090_reg_set_overcurrent_wait()
271 struct tps65090_regulator *ri, in tps65090_regulator_disable_ext_control() argument
408 struct tps65090_regulator *ri = NULL; in tps65090_regulator_probe() local
438 ri = &pmic[num]; in tps65090_regulator_probe()
439 ri->dev = &pdev->dev; in tps65090_regulator_probe()
442 ri->overcurrent_wait_valid = in tps65090_regulator_probe()
457 ri, tps_pdata); in tps65090_regulator_probe()
467 config.driver_data = ri; in tps65090_regulator_probe()
487 ri->desc->name); in tps65090_regulator_probe()
490 ri->rdev = rdev; in tps65090_regulator_probe()
[all …]
A Dtps6586x-regulator.c273 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()
294 1 << ri->enable_bit[0]); in tps6586x_regulator_preinit()
360 ri = &table[i]; in find_regulator_info()
361 if (ri->desc.id == id) in find_regulator_info()
362 return ri; in find_regulator_info()
368 if (ri->desc.id == id) in find_regulator_info()
369 return ri; in find_regulator_info()
479 if (!ri) { in tps6586x_regulator_probe()
493 config.driver_data = ri; in tps6586x_regulator_probe()
[all …]
A Dda903x-regulator.c419 struct da903x_regulator_info *ri; in find_regulator_info() local
423 ri = &da903x_regulator_info[i]; in find_regulator_info()
424 if (ri->desc.id == id) in find_regulator_info()
425 return ri; in find_regulator_info()
436 ri = find_regulator_info(pdev->id); in da903x_regulator_probe()
437 if (ri == NULL) { in da903x_regulator_probe()
445 ri->desc.n_voltages = 16; in da903x_regulator_probe()
450 if (ri->desc.id == DA9030_ID_LDO14) in da903x_regulator_probe()
453 if (ri->desc.id == DA9030_ID_LDO1 || ri->desc.id == DA9030_ID_LDO15) in da903x_regulator_probe()
458 config.driver_data = ri; in da903x_regulator_probe()
[all …]
A Drc5t583-regulator.c106 struct rc5t583_regulator_info *ri; in rc5t583_regulator_probe() local
116 ri = &rc5t583_reg_info[id]; in rc5t583_regulator_probe()
118 if (ri->deepsleep_id == RC5T583_DS_NONE) in rc5t583_regulator_probe()
122 ri->deepsleep_id, in rc5t583_regulator_probe()
136 config.driver_data = ri; in rc5t583_regulator_probe()
139 rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config); in rc5t583_regulator_probe()
142 ri->desc.name); in rc5t583_regulator_probe()
/linux-6.3-rc2/fs/jffs2/
A Dread.c27 struct jffs2_raw_inode *ri; in jffs2_read_dnode() local
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()
46 jffs2_free_raw_inode(ri); in jffs2_read_dnode()
51 crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_read_dnode()
55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), in jffs2_read_dnode()
65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode()
67 ri->dsize = ri->csize; in jffs2_read_dnode()
90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
[all …]
A Dfile.c146 struct jffs2_raw_inode ri; in jffs2_write_begin() local
159 memset(&ri, 0, sizeof(ri)); 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()
172 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
175 ri.csize = cpu_to_je32(0); in jffs2_write_begin()
177 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_write_begin()
254 struct jffs2_raw_inode *ri; in jffs2_write_end() local
281 if (!ri) { in jffs2_write_end()
295 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()
[all …]
A Dwrite.c46 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()
82 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { in jffs2_write_dnode()
106 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_dnode()
177 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) { in jffs2_write_dnode()
195 je32_to_cpu(ri->csize), je32_to_cpu(ri->node_crc), in jffs2_write_dnode()
196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen)); in jffs2_write_dnode()
377 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen); in jffs2_write_inode_range()
388 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_inode_range()
463 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_create()
[all …]
A Dgc.c812 memset(&ri, 0, sizeof(ri)); in jffs2_garbage_collect_metadata()
815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
831 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_metadata()
1026 memset(&ri, 0, sizeof(ri)); in jffs2_garbage_collect_hole()
1045 if (je32_to_cpu(ri.totlen) != sizeof(ri)) { in jffs2_garbage_collect_hole()
1048 je32_to_cpu(ri.totlen), sizeof(ri)); in jffs2_garbage_collect_hole()
1051 crc = crc32(0, &ri, sizeof(ri)-8); in jffs2_garbage_collect_hole()
1072 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole()
1099 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_hole()
1177 memset(&ri, 0, sizeof(ri)); in jffs2_garbage_collect_dnode()
[all …]
A Dfs.c37 struct jffs2_raw_inode *ri; in jffs2_do_setattr() local
79 if (!ri) { in jffs2_do_setattr()
88 jffs2_free_raw_inode(ri); 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()
121 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr()
133 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_setattr()
145 jffs2_free_raw_inode(ri); in jffs2_do_setattr()
175 jffs2_free_raw_inode(ri); in jffs2_do_setattr()
445 memset(ri, 0, sizeof(*ri)); in jffs2_new_inode()
[all …]
A Ddir.c173 if (!ri) in jffs2_create()
303 if (!ri) in jffs2_symlink()
333 ri->isize = ri->dsize = ri->csize = cpu_to_je32(inode->i_size); in jffs2_symlink()
334 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
339 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
462 if (!ri) in jffs2_mkdir()
498 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
634 if (!ri) in jffs2_mknod()
666 ri->dsize = ri->csize = cpu_to_je32(devlen); in jffs2_mknod()
667 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.c1505 if (!ri->size || !ri->keyset_sw_regs || !ri->actionset_sw_regs) { in vcap_read_rule()
1537 if (!ri->size || !ri->keyset_sw_regs || !ri->actionset_sw_regs) { in vcap_write_rule()
1988 ret = ri->vctrl->ops->validate_keyset(ri->ndev, ri->admin, rule, in vcap_val_rule()
2025 ri->vctrl->ops->add_default_fields(ri->ndev, ri->admin, rule); in vcap_val_rule()
2028 ri->size = max(ri->keyset_sw, ri->actionset_sw); in vcap_val_rule()
2048 return ((addr - ri->size) / ri->size) * ri->size; in vcap_next_rule_addr()
2074 ri->sort_key = vcap_sort_key(sw_count, ri->size, ri->data.user, in vcap_insert_rule()
2136 ri->vctrl->ops->move(ri->ndev, ri->admin, move->addr, in vcap_move_rules()
2255 ri->vctrl->ops->init(ri->ndev, ri->admin, ri->addr, ri->size); in vcap_add_rule()
2557 vctrl->ops->init(ri->ndev, admin, ri->addr, ri->size); in vcap_del_rules()
[all …]
A Dvcap_api_debugfs.c161 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_keysets()
170 if (ri->state == VCAP_RS_DISABLED) in vcap_debugfs_show_keysets()
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()
216 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_rule_actionset()
227 ri->data.actionset); in vcap_debugfs_show_rule_actionset()
239 struct vcap_rule_internal *ri) in vcap_show_admin_rule() argument
245 ri->data.id, ri->addr, ri->addr + ri->size - 1, ri->size, in vcap_show_admin_rule()
246 ri->counter_id, ri->counter.value, ri->counter.sticky); in vcap_show_admin_rule()
251 switch (ri->state) { in vcap_show_admin_rule()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Dinode.c78 struct f2fs_inode *ri) in __written_first_block() argument
80 block_t addr = le32_to_cpu(ri->i_addr[offset_in_addr(ri)]); in __written_first_block()
138 if (!F2FS_FITS_IN_INODE(ri, le16_to_cpu(ri->i_extra_isize), in f2fs_enable_inode_chksum()
170 struct f2fs_inode *ri; in f2fs_inode_chksum_verify() local
337 struct f2fs_inode *ri; in do_read_inode() local
608 struct f2fs_inode *ri; in f2fs_update_inode() local
634 memset(&ri->i_ext, 0, sizeof(ri->i_ext)); in f2fs_update_inode()
645 ri->i_current_depth = in f2fs_update_inode()
648 ri->i_gc_failures = in f2fs_update_inode()
676 ri->i_crtime = in f2fs_update_inode()
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dpci.c168 struct acpi_pci_generic_root_info *ri; in pci_acpi_generic_release_info() local
171 pci_ecam_free(ri->cfg); in pci_acpi_generic_release_info()
173 kfree(ri); in pci_acpi_generic_release_info()
179 struct acpi_pci_generic_root_info *ri; in pci_acpi_scan_root() local
184 ri = kzalloc(sizeof(*ri), GFP_KERNEL); in pci_acpi_scan_root()
185 if (!ri) in pci_acpi_scan_root()
190 kfree(ri); in pci_acpi_scan_root()
194 ri->cfg = pci_acpi_setup_ecam_mapping(root); in pci_acpi_scan_root()
195 if (!ri->cfg) { in pci_acpi_scan_root()
196 kfree(ri); in pci_acpi_scan_root()
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Drecovery.c428 segnum[2] = ri->ri_segnum; in nilfs_prepare_segment_for_recovery()
429 segnum[3] = ri->ri_nextnum; in nilfs_prepare_segment_for_recovery()
589 pseg_start = ri->ri_lsegs_start; in nilfs_do_roll_forward()
594 while (segnum != ri->ri_segnum || pseg_start <= ri->ri_pseg_start) { in nilfs_do_roll_forward()
736 if (ri->ri_lsegs_start == 0 || ri->ri_lsegs_end == 0) in nilfs_salvage_orphan_logs()
850 ri->ri_seq = seg_seq; in nilfs_search_super_root()
851 ri->ri_segnum = segnum; in nilfs_search_super_root()
854 ri->ri_nextnum = nextnum; in nilfs_search_super_root()
885 ri->ri_cno = cno++; in nilfs_search_super_root()
886 ri->ri_super_root = pseg_end; in nilfs_search_super_root()
[all …]
/linux-6.3-rc2/drivers/message/fusion/
A Dmptfc.c441 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev()
450 if (!ri) in mptfc_register_dev()
463 ri->rport = rport; in mptfc_register_dev()
471 if (ri->starget) { in mptfc_register_dev()
483 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev()
484 nn = (u64)ri->pg0.WWNN.High << 32 | (u64)ri->pg0.WWNN.Low; in mptfc_register_dev()
498 kfree(ri); in mptfc_register_dev()
499 ri = NULL; in mptfc_register_dev()
575 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_dump_lun_info()
576 nn = (u64)ri->pg0.WWNN.High << 32 | (u64)ri->pg0.WWNN.Low; in mptfc_dump_lun_info()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/s390x/
A Dprocessor.c37 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 …]
/linux-6.3-rc2/fs/dlm/
A Ddebug_fs.c438 ri = kzalloc(sizeof(*ri), GFP_NOFS); in table_seq_start()
439 if (!ri) in table_seq_start()
463 return ri; in table_seq_start()
481 kfree(ri); in table_seq_start()
495 return ri; in table_seq_start()
519 rp = ri->rsb; in table_seq_next()
529 return ri; in table_seq_next()
546 kfree(ri); in table_seq_next()
561 return ri; in table_seq_next()
571 if (ri) { in table_seq_stop()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcommon.c218 struct brcmf_rev_info *ri; in brcmf_c_preinit_dcmds() local
251 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds()
257 strscpy(ri->chipname, "UNKNOWN", sizeof(ri->chipname)); in brcmf_c_preinit_dcmds()
262 ri->corerev = le32_to_cpu(revinfo.corerev); in brcmf_c_preinit_dcmds()
263 ri->boardid = le32_to_cpu(revinfo.boardid); in brcmf_c_preinit_dcmds()
268 ri->bus = le32_to_cpu(revinfo.bus); in brcmf_c_preinit_dcmds()
269 ri->phytype = le32_to_cpu(revinfo.phytype); in brcmf_c_preinit_dcmds()
270 ri->phyrev = le32_to_cpu(revinfo.phyrev); in brcmf_c_preinit_dcmds()
271 ri->anarev = le32_to_cpu(revinfo.anarev); in brcmf_c_preinit_dcmds()
281 ri->result = err; in brcmf_c_preinit_dcmds()
[all …]
/linux-6.3-rc2/drivers/clk/mmp/
A Dclk-mix.c150 mux_div = readl(ri->reg_clk_sel); in _set_rate()
153 width = ri->width_div; in _set_rate()
154 shift = ri->shift_div; in _set_rate()
160 width = ri->width_mux; in _set_rate()
161 shift = ri->shift_mux; in _set_rate()
169 mux_div |= (1 << ri->bit_fc); in _set_rate()
186 fc_req = readl(ri->reg_clk_ctrl); in _set_rate()
187 fc_req |= 1 << ri->bit_fc; in _set_rate()
188 writel(fc_req, ri->reg_clk_ctrl); in _set_rate()
189 writel(mux_div, ri->reg_clk_sel); in _set_rate()
[all …]
/linux-6.3-rc2/fs/romfs/
A Dsuper.c155 struct romfs_inode ri; in romfs_readdir() local
197 nextfh = be32_to_cpu(ri.next); in romfs_readdir()
199 ino = be32_to_cpu(ri.spec); in romfs_readdir()
218 struct romfs_inode ri; in romfs_lookup() local
239 ret = romfs_dev_read(dir->i_sb, offset, &ri, sizeof(ri)); in romfs_lookup()
282 struct romfs_inode ri; in romfs_iget() local
292 ret = romfs_dev_read(sb, pos, &ri, sizeof(ri)); in romfs_iget()
298 nextfh = be32_to_cpu(ri.next); in romfs_iget()
302 pos = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_iget()
324 i->i_size = be32_to_cpu(ri.size); in romfs_iget()
[all …]
/linux-6.3-rc2/fs/xfs/
A Dxfs_refcount_item.c255 struct xfs_refcount_intent *ri, in xfs_trans_log_finish_refcount_update() argument
260 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()
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()
376 struct xfs_refcount_intent *ri; in xfs_refcount_update_finish_item() local
384 if (!error && ri->ri_blockcount > 0) { in xfs_refcount_update_finish_item()
[all …]
A Dxfs_rmap_item.c296 struct xfs_rmap_intent *ri, in xfs_trans_log_finish_rmap_update() argument
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()
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
378 list_for_each_entry(ri, items, ri_list) in xfs_rmap_update_create_intent()
379 xfs_rmap_update_log_item(tp, ruip, ri); in xfs_rmap_update_create_intent()
401 struct xfs_rmap_intent *ri; in xfs_rmap_update_finish_item() local
[all …]

Completed in 72 milliseconds

1234567