Searched refs:lbpc (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dcdv_device.c112 u8 lbpc; cdv_get_brightness() local
115 pci_read_config_byte(dev->pdev, 0xF4, &lbpc); cdv_get_brightness()
116 val *= lbpc; cdv_get_brightness()
137 u8 lbpc; cdv_set_brightness() local
139 lbpc = level * 0xfe / max + 1; cdv_set_brightness()
140 level /= lbpc; cdv_set_brightness()
142 pci_write_config_byte(dev->pdev, 0xF4, lbpc); cdv_set_brightness()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_panel.c509 u8 lbpc; i9xx_get_backlight() local
511 pci_read_config_byte(dev->pdev, PCI_LBPC, &lbpc); i9xx_get_backlight()
512 val *= lbpc; i9xx_get_backlight()
602 u8 lbpc; i9xx_set_backlight() local
604 lbpc = level * 0xfe / panel->backlight.max + 1; i9xx_set_backlight()
605 level /= lbpc; i9xx_set_backlight()
606 pci_write_config_byte(dev->pdev, PCI_LBPC, lbpc); i9xx_set_backlight()

Completed in 126 milliseconds