Lines Matching defs:props
133 u32 brightness = bl->props.brightness;
136 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK))
145 (bl->props.power == 0) ? 0 : ARCXCNN_CMD_STDBY);
155 struct backlight_properties *props;
158 props = devm_kzalloc(lp->dev, sizeof(*props), GFP_KERNEL);
159 if (!props)
162 props->type = BACKLIGHT_PLATFORM;
163 props->max_brightness = MAX_BRIGHTNESS;
165 if (lp->pdata->initial_brightness > props->max_brightness)
166 lp->pdata->initial_brightness = props->max_brightness;
168 props->brightness = lp->pdata->initial_brightness;
171 &arcxcnn_bl_ops, props);
376 lp->bl->props.brightness = 0;