Searched refs:blDev (Results 1 – 10 of 10) sorted by relevance
/drivers/hdf_core/framework/model/display/driver/backlight/ |
D | hdf_bl.c | 41 struct BacklightDev *blDev[MAX_BL_DEV]; member 56 struct BacklightDev *blDev = NULL; in BlDevInstance() local 58 blDev = (struct BacklightDev *)OsalMemCalloc(sizeof(struct BacklightDev)); in BlDevInstance() 59 if (blDev == NULL) { in BlDevInstance() 63 blDev->ops = ops; in BlDevInstance() 64 ret = memcpy_s(blDev->name, MAX_BL_NAME_LEN - 1, devName, strlen(devName) + 1); in BlDevInstance() 66 HDF_LOGE("%s blDev->name %s", __func__, blDev->name); in BlDevInstance() 69 ret = memcpy_s(&blDev->props, sizeof(struct BacklightProperties), in BlDevInstance() 75 return blDev; in BlDevInstance() 77 OsalMemFree(blDev); in BlDevInstance() [all …]
|
D | hdf_bl.h | 38 void *ToBlDevPriv(struct BacklightDev *blDev); 40 int32_t UpdateBacklightState(struct BacklightDev *blDev, enum FbPowerStatus status); 41 int32_t UpdateBrightness(struct BacklightDev *blDev, uint32_t brightness); 42 int32_t GetMinBrightness(struct BacklightDev *blDev, uint32_t *brightness); 43 int32_t GetCurrBrightness(struct BacklightDev *blDev, uint32_t *brightness); 44 int32_t GetDefBrightness(struct BacklightDev *blDev, uint32_t *brightness); 45 int32_t GetMaxBrightness(struct BacklightDev *blDev, uint32_t *brightness);
|
D | pwm_bl.c | 36 static int32_t BlPwmUpdateBrightness(struct BacklightDev *blDev, uint32_t brightness) in BlPwmUpdateBrightness() argument 42 blPwmDev = ToBlDevPriv(blDev); in BlPwmUpdateBrightness() 146 struct BacklightDev *blDev = NULL; in BlPwmEntryInit() local 159 blDev = RegisterBlDev(blPwmDev->name, &blPwmDev->props, &g_blDevOps, blPwmDev); in BlPwmEntryInit() 160 if (blDev == NULL) { in BlPwmEntryInit() 164 if (UpdateBacklightState(blDev, FB_POWER_ON) != HDF_SUCCESS) { in BlPwmEntryInit() 167 if (UpdateBrightness(blDev, blPwmDev->props.defBrightness) != HDF_SUCCESS) { in BlPwmEntryInit()
|
/drivers/hdf_core/framework/model/display/driver/panel/ |
D | mipi_icn9700.c | 310 icn9700->panel.blDev = GetBacklightDev("hdf_pwm"); in Icn9700EntryInit() 311 if (icn9700->panel.blDev == NULL) { in Icn9700EntryInit()
|
D | ili9881c_boe.c | 671 ili9881cBoeDev->panel.blDev = GetBacklightDev("hdf_pwm"); in Ili9881cBoeEntryInit() 672 if (ili9881cBoeDev->panel.blDev == NULL) { in Ili9881cBoeEntryInit()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/display_template/ |
D | rk3568_display_driver_source.template | 191 ${driver_lower_case}->panel.blDev = GetBacklightDev("hdf_pwm"); 192 if (${driver_lower_case}->panel.blDev == NULL) {
|
D | hi35xx_display_driver_source.template | 212 ${driver_lower_case}->panel.blDev = GetBacklightDev("hdf_pwm"); 213 if (${driver_lower_case}->panel.blDev == NULL) {
|
/drivers/hdf_core/framework/model/display/driver/ |
D | hdf_disp.h | 114 struct BacklightDev *blDev; member
|
D | hdf_disp.c | 116 if ((panel == NULL) || (UpdateBrightness(panel->blDev, level) != HDF_SUCCESS)) { in SetDispBacklight() 187 ret = UpdateBacklightState(panel->blDev, FB_POWER_ON); in SetDispPower() 195 ret = UpdateBacklightState(panel->blDev, FB_POWER_OFF); in SetDispPower() 297 if (GetCurrBrightness(panel->blDev, &currLevel) != HDF_SUCCESS) { in GetBacklight()
|
D | hdf_drm_panel.c | 195 ret = UpdateBrightness(panel->blDev, level); in BacklightStore()
|