/linux-3.4.99/drivers/video/backlight/ |
D | cr_bllcd.c | 177 struct cr_panel *crp; in cr_backlight_probe() local 215 crp = devm_kzalloc(&pdev->dev, sizeof(*crp), GFP_KERNEL); in cr_backlight_probe() 216 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-3.4.99/drivers/sh/ |
D | pfc.c | 171 struct pinmux_cfg_reg *crp, in config_reg_helper() argument 179 *mapped_regp = pfc_phys_to_virt(gpioc, crp->reg); in config_reg_helper() 181 if (crp->field_width) { in config_reg_helper() 182 *maskp = (1 << crp->field_width) - 1; in config_reg_helper() 183 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in config_reg_helper() 185 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in config_reg_helper() 186 *posp = crp->reg_width; in config_reg_helper() 188 *posp -= crp->var_field_width[k]; in config_reg_helper() 193 struct pinmux_cfg_reg *crp, in read_config_reg() argument 199 config_reg_helper(gpioc, crp, field, &mapped_reg, &mask, &pos); in read_config_reg() [all …]
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 834 struct ipath_cregs const *crp = dev->dd->ipath_cregs; in recv_pma_get_portsamplescontrol() local 853 if (crp->cr_psstat) in recv_pma_get_portsamplescontrol() 860 if (crp->cr_psstat) in recv_pma_get_portsamplescontrol() 861 p->sample_status = ipath_read_creg32(dev->dd, crp->cr_psstat); in recv_pma_get_portsamplescontrol() 883 struct ipath_cregs const *crp = dev->dd->ipath_cregs; in recv_pma_set_portsamplescontrol() local 896 if (crp->cr_psstat) in recv_pma_set_portsamplescontrol() 897 status = ipath_read_creg32(dev->dd, crp->cr_psstat); in recv_pma_set_portsamplescontrol() 909 if (crp->cr_psstat) { in recv_pma_set_portsamplescontrol() 910 ipath_write_creg(dev->dd, crp->cr_psinterval, in recv_pma_set_portsamplescontrol() 912 ipath_write_creg(dev->dd, crp->cr_psstart, in recv_pma_set_portsamplescontrol() [all …]
|
D | ipath_verbs.c | 1385 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-3.4.99/arch/m68k/sun3/ |
D | mmu_emu.c | 358 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 vaddr, read_flag ? "read" : "write", crp); in mmu_emu_handle_fault() 383 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault() 419 printk ("seg:%d crp:%p ->", get_fs().seg, crp); in mmu_emu_handle_fault()
|
/linux-3.4.99/arch/mips/txx9/generic/ |
D | irq_tx4939.c | 108 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-3.4.99/arch/mips/kernel/ |
D | irq_txx9.c | 116 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-3.4.99/arch/m68k/include/asm/ |
D | mmu_context.h | 227 unsigned long crp[2] = { in switch_mm_0230() local 253 : : "m" (crp[0])); in switch_mm_0230()
|
D | processor.h | 88 unsigned long crp[2]; /* cpu root pointer */ member
|
/linux-3.4.99/arch/m68k/kernel/ |
D | asm-offsets.c | 34 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
|
/linux-3.4.99/fs/nfsd/ |
D | nfs4state.c | 4473 struct nfs4_client_reclaim *crp = NULL; in nfs4_client_to_reclaim() local 4476 crp = alloc_reclaim(); in nfs4_client_to_reclaim() 4477 if (!crp) in nfs4_client_to_reclaim() 4480 INIT_LIST_HEAD(&crp->cr_strhash); in nfs4_client_to_reclaim() 4481 list_add(&crp->cr_strhash, &reclaim_str_hashtbl[strhashval]); in nfs4_client_to_reclaim() 4482 memcpy(crp->cr_recdir, name, HEXDIR_LEN); in nfs4_client_to_reclaim() 4490 struct nfs4_client_reclaim *crp = NULL; in nfs4_release_reclaim() local 4495 crp = list_entry(reclaim_str_hashtbl[i].next, in nfs4_release_reclaim() 4497 list_del(&crp->cr_strhash); in nfs4_release_reclaim() 4498 kfree(crp); in nfs4_release_reclaim() [all …]
|
D | state.h | 461 extern struct nfs4_client_reclaim *nfsd4_find_reclaim_client(struct nfs4_client *crp);
|
/linux-3.4.99/arch/sparc/mm/ |
D | sun4c.c | 734 static void sun4c_demap_context(struct sun4c_mmu_ring *crp, unsigned char ctx) in sun4c_demap_context() argument 736 struct sun4c_mmu_entry *head = &crp->ringhd; in sun4c_demap_context()
|