Home
last modified time | relevance | path

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

/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 …]
/drivers/pinctrl/sh-pfc/
Dcore.c182 const struct pinmux_cfg_reg *crp, in sh_pfc_config_reg_helper() argument
190 *mapped_regp = sh_pfc_phys_to_virt(pfc, crp->reg); in sh_pfc_config_reg_helper()
192 if (crp->field_width) { in sh_pfc_config_reg_helper()
193 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
194 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
196 *maskp = (1 << crp->var_field_width[in_pos]) - 1; in sh_pfc_config_reg_helper()
197 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
199 *posp -= crp->var_field_width[k]; in sh_pfc_config_reg_helper()
204 const struct pinmux_cfg_reg *crp, in sh_pfc_write_config_reg() argument
210 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
[all …]
/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 …]