Home
last modified time | relevance | path

Searched refs:crp (Results 1 – 20 of 20) 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()
203 crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; in cr_backlight_probe()
204 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_probe()
205 cr_backlight_set_intensity(crp->cr_backlight_device); in cr_backlight_probe()
206 cr_lcd_set_power(crp->cr_lcd_device, FB_BLANK_UNBLANK); in cr_backlight_probe()
208 platform_set_drvdata(pdev, crp); in cr_backlight_probe()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c103 struct pinmux_cfg_reg *crp, in config_reg_helper() argument
115 *mapped_regp = pfc_phys_to_virt(gpioc, crp->reg); in config_reg_helper()
117 if (crp->field_width) { in config_reg_helper()
118 *maskp = (1 << crp->field_width) - 1; in config_reg_helper()
119 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in config_reg_helper()
121 *maskp = (1 << crp->var_field_width[in_pos]) - 1; 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
136 config_reg_helper(gpioc, crp, field, &mapped_reg, &mask, &pos); in read_config_reg()
[all …]
/openbmc/qemu/hw/pci-bridge/
H A Dcxl_root_port.c99 static void latch_registers(CXLRootPort *crp) in latch_registers() argument
101 uint32_t *reg_state = crp->cxl_cstate.crb.cache_mem_registers; in latch_registers()
102 uint32_t *write_msk = crp->cxl_cstate.crb.cache_mem_regs_write_mask; in latch_registers()
151 CXLRootPort *crp = CXL_ROOT_PORT(dev); in cxl_rp_realize() local
152 CXLComponentState *cxl_cstate = &crp->cxl_cstate; in cxl_rp_realize()
164 pci_bridge_qemu_reserve_cap_init(pci_dev, 0, crp->res_reserve, errp); in cxl_rp_realize()
170 if (!crp->res_reserve.io || crp->res_reserve.io == -1) { in cxl_rp_realize()
193 CXLRootPort *crp = CXL_ROOT_PORT(obj); in cxl_rp_reset_hold() local
199 latch_registers(crp); in cxl_rp_reset_hold()
220 CXLRootPort *crp = CXL_ROOT_PORT(dev); in cxl_rp_dvsec_write_config() local
[all …]
/openbmc/linux/tools/perf/util/
H A Dthread-stack.c98 struct call_return_processor *crp; member
137 struct call_return_processor *crp, in thread_stack__init() argument
168 ts->crp = crp; in thread_stack__init()
174 struct call_return_processor *crp, in thread_stack__new() argument
202 thread_stack__init(ts, thread, crp, callstack, br_stack_sz)) in thread_stack__new()
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()
443 if (ts->crp || !callstack) in thread_stack__event()
[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
146 *mapped_regp = (void __iomem *)(uintptr_t)crp->reg; in sh_pfc_config_reg_helper()
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
169 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
[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/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A DCVE-2024-26458_CVE-2024-26461.patch11 store port_ptr into crp->port_ptr as soon as it is allocated;
192 port_ptr = (caddr_t)(void *)crp->port_ptr;
194 - xdr_u_int32) && xdr_u_int32(xdrs, &crp->resultslen)) {
195 - crp->port_ptr = (uint32_t *)(void *)port_ptr;
199 + crp->port_ptr = (uint32_t *)(void *)port_ptr;
200 + if (xdr_u_int32(xdrs, &crp->resultslen))
201 return ((*(crp->xdr_results))(xdrs, crp->results_ptr));
/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.c174 struct nfs4_client_reclaim *crp; in __nfsd4_create_reclaim_record_grace() local
183 crp = nfs4_client_to_reclaim(name, princhash, nn); in __nfsd4_create_reclaim_record_grace()
184 if (!crp) { in __nfsd4_create_reclaim_record_grace()
188 crp->cr_clp = clp; in __nfsd4_create_reclaim_record_grace()
369 struct nfs4_client_reclaim *crp; in __nfsd4_remove_reclaim_record_grace() local
378 crp = nfsd4_find_reclaim_client(name, nn); in __nfsd4_remove_reclaim_record_grace()
380 if (crp) in __nfsd4_remove_reclaim_record_grace()
381 nfs4_remove_reclaim_record(crp, nn); in __nfsd4_remove_reclaim_record_grace()
680 struct nfs4_client_reclaim *crp; in nfsd4_check_legacy_client() local
702 crp = nfsd4_find_reclaim_client(name, nn); in nfsd4_check_legacy_client()
[all …]
H A Dnfs4state.c8015 struct nfs4_client_reclaim *crp; in nfs4_has_reclaimed_state() local
8017 crp = nfsd4_find_reclaim_client(name, nn); in nfs4_has_reclaimed_state()
8018 return (crp && crp->cr_clp); in nfs4_has_reclaimed_state()
8032 struct nfs4_client_reclaim *crp; in nfs4_client_to_reclaim() local
8034 crp = alloc_reclaim(); in nfs4_client_to_reclaim()
8035 if (crp) { in nfs4_client_to_reclaim()
8037 INIT_LIST_HEAD(&crp->cr_strhash); in nfs4_client_to_reclaim()
8038 list_add(&crp->cr_strhash, &nn->reclaim_str_hashtbl[strhashval]); in nfs4_client_to_reclaim()
8039 crp->cr_name.data = name.data; in nfs4_client_to_reclaim()
8040 crp->cr_name.len = name.len; in nfs4_client_to_reclaim()
[all …]
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c200 const struct pinmux_cfg_reg *crp, in sh_pfc_config_reg_helper() argument
207 *mapped_regp = sh_pfc_phys_to_virt(pfc, crp->reg); in sh_pfc_config_reg_helper()
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()
213 *maskp = (1 << crp->var_field_width[in_pos]) - 1; 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
228 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
[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);