Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/video/backlight/
Dcr_bllcd.c179 struct cr_panel *crp; in cr_backlight_probe() local
217 crp = devm_kzalloc(&pdev->dev, sizeof(*crp), GFP_KERNEL); in cr_backlight_probe()
218 if (!crp) { in cr_backlight_probe()
223 crp->cr_backlight_device = bdp; in cr_backlight_probe()
224 crp->cr_lcd_device = ldp; in cr_backlight_probe()
225 crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; in cr_backlight_probe()
226 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_probe()
227 cr_backlight_set_intensity(crp->cr_backlight_device); in cr_backlight_probe()
228 cr_lcd_set_power(crp->cr_lcd_device, FB_BLANK_UNBLANK); in cr_backlight_probe()
230 platform_set_drvdata(pdev, crp); in cr_backlight_probe()
[all …]
/linux-4.1.27/tools/perf/util/
Dthread-stack.c104 struct call_return_processor *crp; member
127 struct call_return_processor *crp) in thread_stack__new() argument
144 ts->crp = crp; in thread_stack__new()
199 struct call_return_processor *crp = ts->crp; in thread_stack__call_return() local
219 return crp->process(&cr, crp->data); in thread_stack__call_return()
224 struct call_return_processor *crp = ts->crp; in thread_stack__flush() local
227 if (!crp) { in thread_stack__flush()
272 if (thread->ts->crp) in thread_stack__event()
436 struct call_return_processor *crp; in call_return_processor__new() local
438 crp = zalloc(sizeof(struct call_return_processor)); in call_return_processor__new()
[all …]
Dthread-stack.h104 void call_return_processor__free(struct call_return_processor *crp);
109 struct call_return_processor *crp);
Ddb-export.c92 call_return_processor__free(dbe->crp); in db_export__exit()
93 dbe->crp = NULL; in db_export__exit()
336 if (dbe->crp) { in db_export__sample()
339 dbe->crp); in db_export__sample()
Ddb-export.h66 struct call_return_processor *crp; member
/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dcore.c181 const struct pinmux_cfg_reg *crp, in sh_pfc_config_reg_helper() argument
188 *mapped_regp = sh_pfc_phys_to_virt(pfc, crp->reg); in sh_pfc_config_reg_helper()
190 if (crp->field_width) { in sh_pfc_config_reg_helper()
191 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
192 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
194 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper()
195 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
197 *posp -= crp->var_field_width[k]; in sh_pfc_config_reg_helper()
202 const struct pinmux_cfg_reg *crp, in sh_pfc_write_config_reg() argument
209 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
[all …]
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_mad.c840 struct ipath_cregs const *crp = dev->dd->ipath_cregs; in recv_pma_get_portsamplescontrol() local
859 if (crp->cr_psstat) in recv_pma_get_portsamplescontrol()
866 if (crp->cr_psstat) in recv_pma_get_portsamplescontrol()
867 p->sample_status = ipath_read_creg32(dev->dd, crp->cr_psstat); in recv_pma_get_portsamplescontrol()
889 struct ipath_cregs const *crp = dev->dd->ipath_cregs; in recv_pma_set_portsamplescontrol() local
902 if (crp->cr_psstat) in recv_pma_set_portsamplescontrol()
903 status = ipath_read_creg32(dev->dd, crp->cr_psstat); in recv_pma_set_portsamplescontrol()
915 if (crp->cr_psstat) { in recv_pma_set_portsamplescontrol()
916 ipath_write_creg(dev->dd, crp->cr_psinterval, in recv_pma_set_portsamplescontrol()
918 ipath_write_creg(dev->dd, crp->cr_psstart, in recv_pma_set_portsamplescontrol()
[all …]
Dipath_verbs.c1385 struct ipath_cregs const *crp = dd->ipath_cregs; in ipath_get_counters() local
1394 ipath_snap_cntr(dd, crp->cr_ibsymbolerrcnt); in ipath_get_counters()
1396 ipath_snap_cntr(dd, crp->cr_iblinkerrrecovcnt); in ipath_get_counters()
1403 ipath_snap_cntr(dd, crp->cr_iblinkdowncnt); in ipath_get_counters()
1405 ipath_snap_cntr(dd, crp->cr_rxdroppktcnt) + in ipath_get_counters()
1406 ipath_snap_cntr(dd, crp->cr_rcvovflcnt) + in ipath_get_counters()
1407 ipath_snap_cntr(dd, crp->cr_portovflcnt) + in ipath_get_counters()
1408 ipath_snap_cntr(dd, crp->cr_err_rlencnt) + in ipath_get_counters()
1409 ipath_snap_cntr(dd, crp->cr_invalidrlencnt) + in ipath_get_counters()
1410 ipath_snap_cntr(dd, crp->cr_errlinkcnt) + in ipath_get_counters()
[all …]
/linux-4.1.27/arch/m68k/sun3/
Dmmu_emu.c359 pgd_t * crp; in mmu_emu_handle_fault() local
362 crp = swapper_pg_dir; in mmu_emu_handle_fault()
367 crp = swapper_pg_dir; in mmu_emu_handle_fault()
369 crp = current->mm->pgd; in mmu_emu_handle_fault()
374 vaddr, read_flag ? "read" : "write", crp); in mmu_emu_handle_fault()
384 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
420 printk ("seg:%d crp:%p ->", get_fs().seg, crp); in mmu_emu_handle_fault()
/linux-4.1.27/arch/mips/txx9/generic/
Dirq_tx4939.c108 u32 __iomem *crp; in tx4939_irq_set_type() local
132 crp = &tx4939_ircptr->dm[(irq_nr & 8) >> 3].r; in tx4939_irq_set_type()
135 crp = &tx4939_ircptr->dm2[((irq_nr & 8) >> 3)].r; in tx4939_irq_set_type()
138 cr = __raw_readl(crp); in tx4939_irq_set_type()
141 __raw_writel(cr, crp); in tx4939_irq_set_type()
/linux-4.1.27/arch/mips/kernel/
Dirq_txx9.c116 u32 __iomem *crp; in txx9_irq_set_type() local
130 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
131 cr = __raw_readl(crp); in txx9_irq_set_type()
135 __raw_writel(cr, crp); in txx9_irq_set_type()
/linux-4.1.27/fs/nfsd/
Dnfs4recover.c172 struct nfs4_client_reclaim *crp; in nfsd4_create_clid_dir() local
219 crp = nfs4_client_to_reclaim(dname, nn); in nfsd4_create_clid_dir()
220 if (crp) in nfsd4_create_clid_dir()
221 crp->cr_clp = clp; in nfsd4_create_clid_dir()
340 struct nfs4_client_reclaim *crp; in nfsd4_remove_clid_dir() local
367 crp = nfsd4_find_reclaim_client(dname, nn); in nfsd4_remove_clid_dir()
368 if (crp) in nfsd4_remove_clid_dir()
369 nfs4_remove_reclaim_record(crp, nn); in nfsd4_remove_clid_dir()
605 struct nfs4_client_reclaim *crp; in nfsd4_check_legacy_client() local
619 crp = nfsd4_find_reclaim_client(dname, nn); in nfsd4_check_legacy_client()
[all …]
Dnfs4state.c5881 struct nfs4_client_reclaim *crp; in nfs4_has_reclaimed_state() local
5883 crp = nfsd4_find_reclaim_client(name, nn); in nfs4_has_reclaimed_state()
5884 return (crp && crp->cr_clp); in nfs4_has_reclaimed_state()
5894 struct nfs4_client_reclaim *crp; in nfs4_client_to_reclaim() local
5897 crp = alloc_reclaim(); in nfs4_client_to_reclaim()
5898 if (crp) { in nfs4_client_to_reclaim()
5900 INIT_LIST_HEAD(&crp->cr_strhash); in nfs4_client_to_reclaim()
5901 list_add(&crp->cr_strhash, &nn->reclaim_str_hashtbl[strhashval]); in nfs4_client_to_reclaim()
5902 memcpy(crp->cr_recdir, name, HEXDIR_LEN); in nfs4_client_to_reclaim()
5903 crp->cr_clp = NULL; in nfs4_client_to_reclaim()
[all …]
/linux-4.1.27/arch/m68k/include/asm/
Dmmu_context.h227 unsigned long crp[2] = { in switch_mm_0230() local
253 : : "m" (crp[0])); in switch_mm_0230()
Dprocessor.h88 unsigned long crp[2]; /* cpu root pointer */ member
/linux-4.1.27/arch/m68k/kernel/
Dasm-offsets.c34 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-python.c914 tables->dbe.crp = NULL; in set_table_handlers()
924 tables->dbe.crp = in set_table_handlers()
927 if (!tables->dbe.crp) in set_table_handlers()