Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/tools/perf/util/
Dunwind-libdw.c44 struct unwind_info *ui) in __report_module() argument
52 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module()
60 mod = dwfl_addrmodule(ui->dwfl, ip); in __report_module()
70 mod = dwfl_report_elf(ui->dwfl, dso->short_name, dso->long_name, -1, in __report_module()
76 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1, in __report_module()
87 return mod && dwfl_addrmodule(ui->dwfl, ip) == mod ? 0 : -1; in __report_module()
90 static int report_module(u64 ip, struct unwind_info *ui) in report_module() argument
94 return __report_module(&al, ip, ui); in report_module()
101 static int entry(u64 ip, struct unwind_info *ui) in entry() argument
104 struct unwind_entry *e = &ui->entries[ui->idx++]; in entry()
[all …]
Dunwind-libunwind-local.c367 static struct map *find_map(unw_word_t ip, struct unwind_info *ui) in find_map() argument
370 return thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al); in find_map()
377 struct unwind_info *ui = arg; in find_proc_info() local
383 map = find_map(ip, ui); in find_proc_info()
390 if (!read_unwind_spec_eh_frame(map->dso, ui->machine, in find_proc_info()
407 !read_unwind_spec_debug_frame(map->dso, ui->machine, &segbase)) { in find_proc_info()
408 int fd = dso__data_get_fd(map->dso, ui->machine); in find_proc_info()
464 static int access_dso_mem(struct unwind_info *ui, unw_word_t addr, in access_dso_mem() argument
470 map = find_map(addr, ui); in access_dso_mem()
479 size = dso__data_read_addr(map->dso, map, ui->machine, in access_dso_mem()
[all …]
/kernel/linux/linux-5.10/drivers/phy/
Dphy-core-mipi-dphy.c28 unsigned long long ui; in phy_mipi_dphy_get_default_config() local
36 ui = ALIGN(PSEC_PER_SEC, hs_clk_rate); in phy_mipi_dphy_get_default_config()
37 do_div(ui, hs_clk_rate); in phy_mipi_dphy_get_default_config()
40 cfg->clk_post = 60000 + 52 * ui; in phy_mipi_dphy_get_default_config()
50 cfg->hs_prepare = 40000 + 4 * ui; in phy_mipi_dphy_get_default_config()
51 cfg->hs_zero = 105000 + 6 * ui; in phy_mipi_dphy_get_default_config()
52 cfg->hs_settle = 85000 + 6 * ui; in phy_mipi_dphy_get_default_config()
66 cfg->hs_trail = max(4 * 8 * ui, 60000 + 4 * 4 * ui); in phy_mipi_dphy_get_default_config()
88 unsigned long long ui; in phy_mipi_dphy_config_validate() local
93 ui = ALIGN(PSEC_PER_SEC, cfg->hs_clk_rate); in phy_mipi_dphy_config_validate()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c27 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument
33 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
34 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero()
53 s32 ui, lpx; in msm_dsi_dphy_timing_calc() local
65 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc()
68 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc()
69 tmin = S_DIV_ROUND_UP(38 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc()
72 temp = lpx / ui; in msm_dsi_dphy_timing_calc()
79 dsi_dphy_timing_calc_clk_zero(timing, ui, coeff, pcnt2); in msm_dsi_dphy_timing_calc()
81 temp = 105 * coeff + 12 * ui - 20 * coeff; in msm_dsi_dphy_timing_calc()
[all …]
/kernel/linux/linux-5.10/arch/parisc/lib/
Ducmpdi2.c9 } ui; member
17 if (au.ui.high < bu.ui.high) in __ucmpdi2()
19 else if (au.ui.high > bu.ui.high) in __ucmpdi2()
21 if (au.ui.low < bu.ui.low) in __ucmpdi2()
23 else if (au.ui.low > bu.ui.low) in __ucmpdi2()
/kernel/linux/linux-5.10/fs/ubifs/
Dfile.c292 struct ubifs_inode *ui = ubifs_inode(inode); in write_begin_slow() local
299 mutex_lock(&ui->ui_mutex); in write_begin_slow()
300 if (ui->dirty) in write_begin_slow()
305 ubifs_release_dirty_inode_budget(c, ui); in write_begin_slow()
326 struct ubifs_inode *ui, int appending) in allocate_budget() argument
338 mutex_lock(&ui->ui_mutex); in allocate_budget()
339 if (ui->dirty) in allocate_budget()
375 mutex_lock(&ui->ui_mutex); in allocate_budget()
376 if (!ui->dirty) in allocate_budget()
427 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_write_begin() local
[all …]
Dsuper.c76 const struct ubifs_inode *ui = ubifs_inode(inode); in validate_inode() local
84 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode()
85 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
89 if (ui->xattr_names + ui->xattr_cnt > XATTR_LIST_MAX) in validate_inode()
92 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode()
95 if (ui->xattr && !S_ISREG(inode->i_mode)) in validate_inode()
98 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode()
100 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode()
114 struct ubifs_inode *ui; in ubifs_iget() local
123 ui = ubifs_inode(inode); in ubifs_iget()
[all …]
Dxattr.c86 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local
125 ui = ubifs_inode(inode); in create_xattr()
126 ui->xattr = 1; in create_xattr()
127 ui->flags |= UBIFS_XATTR_FL; in create_xattr()
128 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
129 if (!ui->data) { in create_xattr()
133 inode->i_size = ui->ui_size = size; in create_xattr()
134 ui->data_len = size; in create_xattr()
195 struct ubifs_inode *ui = ubifs_inode(inode); in change_xattr() local
201 ubifs_assert(c, ui->data_len == inode->i_size); in change_xattr()
[all …]
Dioctl.c107 struct ubifs_inode *ui = ubifs_inode(inode); in setflags() local
110 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in setflags()
116 mutex_lock(&ui->ui_mutex); in setflags()
117 oldflags = ubifs2ioctl(ui->flags); in setflags()
122 ui->flags &= ~ioctl2ubifs(UBIFS_SETTABLE_IOCTL_FLAGS); in setflags()
123 ui->flags |= ioctl2ubifs(flags); in setflags()
126 release = ui->dirty; in setflags()
128 mutex_unlock(&ui->ui_mutex); in setflags()
137 mutex_unlock(&ui->ui_mutex); in setflags()
Ddir.c50 const struct ubifs_inode *ui = ubifs_inode(dir); in inherit_flags() local
59 flags = ui->flags & (UBIFS_COMPR_FL | UBIFS_SYNC_FL | UBIFS_DIRSYNC_FL); in inherit_flags()
81 struct ubifs_inode *ui; in ubifs_new_inode() local
85 ui = ubifs_inode(inode); in ubifs_new_inode()
117 inode->i_size = ui->ui_size = UBIFS_INO_NODE_SZ; in ubifs_new_inode()
132 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
135 ui->compr_type = c->default_compr; in ubifs_new_inode()
137 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
138 ui->synced_i_size = 0; in ubifs_new_inode()
161 ui->creat_sqnum = ++c->max_sqnum; in ubifs_new_inode()
[all …]
Djournal.c450 struct ubifs_inode *ui = ubifs_inode(inode); in pack_inode() local
454 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode()
464 ino->flags = cpu_to_le32(ui->flags); in pack_inode()
465 ino->size = cpu_to_le64(ui->ui_size); in pack_inode()
467 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode()
468 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode()
469 ino->xattr_cnt = cpu_to_le32(ui->xattr_cnt); in pack_inode()
470 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode()
471 ino->xattr_names = cpu_to_le32(ui->xattr_names); in pack_inode()
479 memcpy(ino->data, ui->data, ui->data_len); in pack_inode()
[all …]
Ddebug.c226 const struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_dump_inode() local
248 pr_err("\tcreat_sqnum %llu\n", ui->creat_sqnum); in ubifs_dump_inode()
249 pr_err("\txattr_size %u\n", ui->xattr_size); in ubifs_dump_inode()
250 pr_err("\txattr_cnt %u\n", ui->xattr_cnt); in ubifs_dump_inode()
251 pr_err("\txattr_names %u\n", ui->xattr_names); in ubifs_dump_inode()
252 pr_err("\tdirty %u\n", ui->dirty); in ubifs_dump_inode()
253 pr_err("\txattr %u\n", ui->xattr); in ubifs_dump_inode()
254 pr_err("\tbulk_read %u\n", ui->bulk_read); in ubifs_dump_inode()
256 (unsigned long long)ui->synced_i_size); in ubifs_dump_inode()
258 (unsigned long long)ui->ui_size); in ubifs_dump_inode()
[all …]
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debt_802_3.c27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt()
32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt()
37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dspu_save.c60 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in save_upper_240kb()
116 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in spill_regs_to_mem()
117 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in spill_regs_to_mem()
158 lscsa_ea.ui[0] = spu_readch(SPU_RdSigNotify1); in main()
159 lscsa_ea.ui[1] = spu_readch(SPU_RdSigNotify2); in main()
Dspu_utils.h16 unsigned int ui[2]; member
88 ea_low = lscsa_ea.ui[1]; in build_dma_list()
111 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in enqueue_putllc()
112 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in enqueue_putllc()
Dspu_restore.c40 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in fetch_regs_from_mem()
41 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in fetch_regs_from_mem()
60 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in restore_upper_240kb()
298 lscsa_ea.ui[0] = spu_readch(SPU_RdSigNotify1); in main()
299 lscsa_ea.ui[1] = spu_readch(SPU_RdSigNotify2); in main()
/kernel/linux/linux-5.10/block/partitions/
Dsgi.c42 __be32 *ui, cs; in sgi_partition() local
59 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
60 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
61 cs = *ui--; in sgi_partition()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c249 u32 ui; in dsi_get_phy_params() local
257 ui = 1000000 / phy_rate_kHz; in dsi_get_phy_params()
259 phy->clk_t_lpx = ROUND(50, 8 * ui); in dsi_get_phy_params()
260 phy->clk_t_hs_prepare = ROUND(133, 16 * ui) - 1; in dsi_get_phy_params()
262 phy->clk_t_hs_zero = ROUND(262, 8 * ui); in dsi_get_phy_params()
263 phy->clk_t_hs_trial = 2 * (ROUND(60, 8 * ui) - 1); in dsi_get_phy_params()
269 phy->data_t_hs_prepare = ROUND(125 + 10 * ui, 16 * ui) - 1; in dsi_get_phy_params()
270 phy->data_t_hs_zero = ROUND(105 + 6 * ui, 8 * ui); in dsi_get_phy_params()
271 phy->data_t_hs_trial = 2 * (ROUND(60 + 4 * ui, 8 * ui) - 1); in dsi_get_phy_params()
276 phy->clklp2hs_time = ROUND(407, 8 * ui) + 12; in dsi_get_phy_params()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-csiphy-2ph-1-0.c64 u32 ui; /* ps */ in csiphy_settle_cnt_calc() local
72 ui = div_u64(1000000000000LL, mipi_clock); in csiphy_settle_cnt_calc()
73 ui /= 2; in csiphy_settle_cnt_calc()
74 t_hs_prepare_max = 85000 + 6 * ui; in csiphy_settle_cnt_calc()
75 t_hs_prepare_zero_min = 145000 + 10 * ui; in csiphy_settle_cnt_calc()
Dcamss-csiphy-3ph-1-0.c118 u32 ui; /* ps */ in csiphy_settle_cnt_calc() local
125 ui = div_u64(1000000000000LL, mipi_clock); in csiphy_settle_cnt_calc()
126 ui /= 2; in csiphy_settle_cnt_calc()
127 t_hs_prepare_max = 85000 + 6 * ui; in csiphy_settle_cnt_calc()
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dcard.c536 unsigned int ui = (unsigned int)wRateIdx; in CARDwGetCCKControlRate() local
538 while (ui > RATE_1M) { in CARDwGetCCKControlRate()
539 if (priv->basic_rates & ((u32)0x1 << ui)) in CARDwGetCCKControlRate()
540 return (unsigned short)ui; in CARDwGetCCKControlRate()
542 ui--; in CARDwGetCCKControlRate()
562 unsigned int ui = (unsigned int)wRateIdx; in CARDwGetOFDMControlRate() local
572 while (ui > RATE_11M) { in CARDwGetOFDMControlRate()
573 if (priv->basic_rates & ((u32)0x1 << ui)) { in CARDwGetOFDMControlRate()
574 pr_debug("%s : %d\n", __func__, ui); in CARDwGetOFDMControlRate()
575 return (unsigned short)ui; in CARDwGetOFDMControlRate()
[all …]
/kernel/linux/linux-5.10/arch/alpha/lib/
Dchecksum.c25 unsigned int ui[2]; in from64to16() member
30 tmp_v.ul = (unsigned long) in_v.ui[0] + (unsigned long) in_v.ui[1]; in from64to16()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dunwind-libdw.c9 struct unwind_info *ui = arg; in libdw__arch_set_initial_registers() local
10 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers()
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_mm.c248 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter()
303 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd()
304 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd()
374 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc()
375 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc()
376 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc()
409 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc()
411 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc()
820 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd()
821 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dunwind-libdw.c9 struct unwind_info *ui = arg; in libdw__arch_set_initial_registers() local
10 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers()

123