Home
last modified time | relevance | path

Searched refs:crp (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/video/backlight/
H A Dcr_bllcd.c157 struct cr_panel *crp; in cr_backlight_probe() local
195 crp = devm_kzalloc(&pdev->dev, sizeof(*crp), GFP_KERNEL); in cr_backlight_probe()
196 if (!crp) { in cr_backlight_probe()
201 crp->cr_backlight_device = bdp; in cr_backlight_probe()
202 crp->cr_lcd_device = ldp; in cr_backlight_probe()
204 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_probe()
208 platform_set_drvdata(pdev, crp); in cr_backlight_probe()
233 static struct platform_device *crp; variable
243 if (IS_ERR(crp)) { in cr_backlight_init()
245 return PTR_ERR(crp); in cr_backlight_init()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c103 struct pinmux_cfg_reg *crp, in config_reg_helper() argument
117 if (crp->field_width) { in config_reg_helper()
119 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in config_reg_helper()
122 *posp = crp->reg_width; in config_reg_helper()
124 *posp -= crp->var_field_width[k]; in config_reg_helper()
129 struct pinmux_cfg_reg *crp, in read_config_reg() argument
140 crp->reg, field, crp->reg_width, crp->field_width); in read_config_reg()
146 struct pinmux_cfg_reg *crp, in write_config_reg() argument
156 crp->reg, value, field, crp->reg_width, crp->field_width); in write_config_reg()
245 struct pinmux_cfg_reg **crp, in get_config_reg() argument
[all …]
/openbmc/qemu/hw/pci-bridge/
H A Dcxl_root_port.c98 static void latch_registers(CXLRootPort *crp) in latch_registers() argument
100 uint32_t *reg_state = crp->cxl_cstate.crb.cache_mem_registers; in latch_registers()
101 uint32_t *write_msk = crp->cxl_cstate.crb.cache_mem_regs_write_mask; in latch_registers()
150 CXLRootPort *crp = CXL_ROOT_PORT(dev); in cxl_rp_realize() local
151 CXLComponentState *cxl_cstate = &crp->cxl_cstate; in cxl_rp_realize()
169 if (!crp->res_reserve.io || crp->res_reserve.io == -1) { in cxl_rp_realize()
178 build_dvsecs(&crp->cxl_cstate); in cxl_rp_realize()
192 CXLRootPort *crp = CXL_ROOT_PORT(obj); in cxl_rp_reset_hold() local
198 latch_registers(crp); in cxl_rp_reset_hold()
215 CXLRootPort *crp = CXL_ROOT_PORT(dev); in cxl_rp_dvsec_write_config() local
[all …]
/openbmc/linux/tools/perf/util/
H A Dthread-stack.c168 ts->crp = crp; in thread_stack__init()
302 struct call_return_processor *crp = ts->crp; in thread_stack__call_return() local
335 return crp->process(&cr, parent_db_id, crp->data); in thread_stack__call_return()
340 struct call_return_processor *crp = ts->crp; in __thread_stack__flush() local
343 if (!crp) { in __thread_stack__flush()
760 if (!crp) in call_return_processor__new()
763 if (!crp->cpr) in call_return_processor__new()
767 return crp; in call_return_processor__new()
770 free(crp); in call_return_processor__new()
776 if (crp) { in call_return_processor__free()
[all …]
H A Dthread-stack.h103 void call_return_processor__free(struct call_return_processor *crp);
108 struct call_return_processor *crp);
H A Ddb-export.c32 call_return_processor__free(dbe->crp); in db_export__exit()
33 dbe->crp = NULL; in db_export__exit()
403 if (dbe->crp) { in db_export__sample()
406 dbe->crp); in db_export__sample()
H A Ddb-export.h65 struct call_return_processor *crp; member
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c139 const struct pinmux_cfg_reg *crp, in sh_pfc_config_reg_helper() argument
148 if (crp->field_width) { in sh_pfc_config_reg_helper()
149 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
150 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
152 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper()
153 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
155 *posp -= crp->var_field_width[k]; in sh_pfc_config_reg_helper()
160 const struct pinmux_cfg_reg *crp, in sh_pfc_write_config_reg() argument
173 crp->reg, value, field, crp->reg_width, crp->field_width); in sh_pfc_write_config_reg()
189 const struct pinmux_cfg_reg **crp, in sh_pfc_get_config_reg() argument
[all …]
/openbmc/linux/arch/m68k/sun3/
H A Dmmu_emu.c358 pgd_t * crp; in mmu_emu_handle_fault() local
361 crp = swapper_pg_dir; in mmu_emu_handle_fault()
366 crp = swapper_pg_dir; in mmu_emu_handle_fault()
368 crp = current->mm->pgd; in mmu_emu_handle_fault()
373 read_flag ? "read" : "write", crp); in mmu_emu_handle_fault()
383 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
419 pr_info("seg:%ld crp:%p ->", get_fs().seg, crp); in mmu_emu_handle_fault()
/openbmc/linux/arch/mips/kernel/
H A Dirq_txx9.c103 u32 __iomem *crp; in txx9_irq_set_type() local
117 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
118 cr = __raw_readl(crp); in txx9_irq_set_type()
122 __raw_writel(cr, crp); in txx9_irq_set_type()
/openbmc/linux/fs/nfsd/
H A Dnfs4recover.c184 if (!crp) { in __nfsd4_create_reclaim_record_grace()
188 crp->cr_clp = clp; in __nfsd4_create_reclaim_record_grace()
380 if (crp) in __nfsd4_remove_reclaim_record_grace()
703 if (crp) { in nfsd4_check_legacy_client()
705 crp->cr_clp = clp; in nfsd4_check_legacy_client()
1296 if (crp) in nfsd4_cld_check()
1313 if (crp) in nfsd4_cld_check()
1319 crp->cr_clp = clp; in nfsd4_cld_check()
1342 if (crp) in nfsd4_cld_check_v2()
1359 if (crp) in nfsd4_cld_check_v2()
[all …]
H A Dnfs4state.c7998 return (crp && crp->cr_clp); in nfs4_has_reclaimed_state()
8014 crp = alloc_reclaim(); in nfs4_client_to_reclaim()
8015 if (crp) { in nfs4_client_to_reclaim()
8020 crp->cr_name.len = name.len; in nfs4_client_to_reclaim()
8023 crp->cr_clp = NULL; in nfs4_client_to_reclaim()
8026 return crp; in nfs4_client_to_reclaim()
8032 list_del(&crp->cr_strhash); in nfs4_remove_reclaim_record()
8033 kfree(crp->cr_name.data); in nfs4_remove_reclaim_record()
8034 kfree(crp->cr_princhash.data); in nfs4_remove_reclaim_record()
8035 kfree(crp); in nfs4_remove_reclaim_record()
[all …]
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c200 const struct pinmux_cfg_reg *crp, in sh_pfc_config_reg_helper() argument
209 if (crp->field_width) { in sh_pfc_config_reg_helper()
210 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
211 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
214 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
216 *posp -= abs(crp->var_field_width[k]); in sh_pfc_config_reg_helper()
221 const struct pinmux_cfg_reg *crp, in sh_pfc_write_config_reg() argument
232 crp->reg, value, field, crp->reg_width, hweight32(mask)); in sh_pfc_write_config_reg()
241 sh_pfc_unlock_reg(pfc, crp->reg, data); in sh_pfc_write_config_reg()
246 const struct pinmux_cfg_reg **crp, in sh_pfc_get_config_reg() argument
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dmmu_context.h236 unsigned long crp[2] = { in switch_mm_0230() local
262 : : "m" (crp[0])); in switch_mm_0230()
H A Dprocessor.h108 unsigned long crp[2]; /* cpu root pointer */ member
/openbmc/linux/arch/m68k/kernel/
H A Dasm-offsets.c35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1810 tables->dbe.crp = NULL; in set_table_handlers()
1820 tables->dbe.crp = in set_table_handlers()
1823 if (!tables->dbe.crp) in set_table_handlers()
1845 if (tables->dbe.crp) in set_table_handlers()
1846 tables->dbe.cpr = tables->dbe.crp->cpr; in set_table_handlers()
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress.c1646 const ZSTD_compResetPolicy_e crp, in ZSTD_reset_matchState() argument
1682 DEBUGLOG(4, "reset table : %u", crp!=ZSTDcrp_leaveDirty); in ZSTD_reset_matchState()
1683 if (crp!=ZSTDcrp_leaveDirty) { in ZSTD_reset_matchState()
1752 ZSTD_compResetPolicy_e const crp, in ZSTD_resetCCtx_internal() argument
1893 crp, in ZSTD_resetCCtx_internal()
/openbmc/linux/arch/powerpc/lib/
H A Dsstep.c58 unsigned int *crp);