Lines Matching full:props
60 struct backlight_props props; in backlight_ioctl() local
68 /* Call the driver function so it fills up the props */ in backlight_ioctl()
69 bcopy(data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
70 error = BACKLIGHT_GET_STATUS(sc->dev, &props); in backlight_ioctl()
72 bcopy(&props, data, sizeof(struct backlight_props)); in backlight_ioctl()
73 sc->cached_brightness = props.brightness; in backlight_ioctl()
77 bcopy(data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
78 if (props.brightness == sc->cached_brightness) in backlight_ioctl()
80 error = BACKLIGHT_UPDATE_STATUS(sc->dev, &props); in backlight_ioctl()
82 bcopy(&props, data, sizeof(struct backlight_props)); in backlight_ioctl()
83 sc->cached_brightness = props.brightness; in backlight_ioctl()
108 struct backlight_props props; in backlight_register() local
136 error = BACKLIGHT_GET_STATUS(sc->dev, &props); in backlight_register()
137 sc->cached_brightness = props.brightness; in backlight_register()