/drivers/hid/ |
H A D | hid-picolcd_backlight.c | 42 data->lcd_brightness = bdev->props.brightness & 0x0ff; 43 data->lcd_power = bdev->props.power; 67 struct backlight_properties props; local 76 memset(&props, 0, sizeof(props)); 77 props.type = BACKLIGHT_RAW; 78 props.max_brightness = 0xff; 80 &picolcd_blops, &props); 85 bdev->props.brightness = 0xff; 115 data->backlight->props [all...] |
/drivers/video/backlight/ |
H A D | generic_bl.c | 29 int intensity = bd->props.brightness; 31 if (bd->props.power != FB_BLANK_UNBLANK) 33 if (bd->props.state & BL_CORE_FBBLANK) 35 if (bd->props.state & BL_CORE_SUSPENDED) 37 if (bd->props.state & GENERICBL_BATTLOW) 63 struct backlight_properties props; local 75 memset(&props, 0, sizeof(struct backlight_properties)); 76 props.type = BACKLIGHT_RAW; 77 props.max_brightness = machinfo->max_intensity; 79 NULL, &genericbl_ops, &props); [all...] |
H A D | jornada720_bl.c | 61 if ((bd->props.power != FB_BLANK_UNBLANK) || (bd->props.fb_blank != FB_BLANK_UNBLANK)) { 87 if (jornada_ssp_byte(BL_MAX_BRIGHT - bd->props.brightness) 111 struct backlight_properties props; local 115 memset(&props, 0, sizeof(struct backlight_properties)); 116 props.type = BACKLIGHT_RAW; 117 props.max_brightness = BL_MAX_BRIGHT; 121 &props); 128 bd->props.power = FB_BLANK_UNBLANK; 129 bd->props [all...] |
H A D | ep93xx_bl.c | 42 int brightness = bl->props.brightness; 44 if (bl->props.power != FB_BLANK_UNBLANK || 45 bl->props.fb_blank != FB_BLANK_UNBLANK) 67 struct backlight_properties props; local 92 memset(&props, 0, sizeof(struct backlight_properties)); 93 props.type = BACKLIGHT_RAW; 94 props.max_brightness = EP93XX_MAX_BRIGHT; 96 ep93xxbl, &ep93xxbl_ops, &props); 100 bl->props.brightness = EP93XX_DEF_BRIGHT;
|
H A D | aat2870_bl.c | 48 val /= bd->props.max_brightness; 75 int brightness = bd->props.brightness; 78 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { 84 bd->props.brightness, bd->props.power, bd->props.state); 86 if ((bd->props.power != FB_BLANK_UNBLANK) || 87 (bd->props.state & BL_CORE_FBBLANK) || 88 (bd->props.state & BL_CORE_SUSPENDED)) 127 struct backlight_properties props; local [all...] |
H A D | da9052_bl.c | 89 int brightness = bl->props.brightness; 113 struct backlight_properties props; local 125 props.type = BACKLIGHT_RAW; 126 props.max_brightness = DA9052_MAX_BRIGHTNESS; 130 &da9052_backlight_ops, &props); 136 bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; 137 bl->props.brightness = 0;
|
H A D | gpio_backlight.c | 34 int brightness = bl->props.brightness; 36 if (bl->props.power != FB_BLANK_UNBLANK || 37 bl->props.fb_blank != FB_BLANK_UNBLANK || 38 bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) 88 struct backlight_properties props; local 126 memset(&props, 0, sizeof(props)); 127 props.type = BACKLIGHT_RAW; 128 props.max_brightness = 1; 131 &props); [all...] |
H A D | hp680_bl.c | 36 int intensity = bd->props.brightness; 38 if (bd->props.power != FB_BLANK_UNBLANK) 40 if (bd->props.fb_blank != FB_BLANK_UNBLANK) 107 struct backlight_properties props; local 110 memset(&props, 0, sizeof(struct backlight_properties)); 111 props.type = BACKLIGHT_RAW; 112 props.max_brightness = HP680_MAX_INTENSITY; 114 NULL, &hp680bl_ops, &props); 120 bd->props.brightness = HP680_DEFAULT_INTENSITY; 130 bd->props [all...] |
H A D | locomolcd.c | 114 int intensity = bd->props.brightness; 116 if (bd->props.power != FB_BLANK_UNBLANK) 118 if (bd->props.fb_blank != FB_BLANK_UNBLANK) 180 struct backlight_properties props; local 198 memset(&props, 0, sizeof(struct backlight_properties)); 199 props.type = BACKLIGHT_RAW; 200 props.max_brightness = 4; 203 &locomobl_data, &props); 209 locomolcd_bl_device->props.brightness = 2; 219 locomolcd_bl_device->props [all...] |
H A D | max8925_bl.c | 70 int brightness = bl->props.brightness; 72 if (bl->props.power != FB_BLANK_UNBLANK) 75 if (bl->props.fb_blank != FB_BLANK_UNBLANK) 78 if (bl->props.state & BL_CORE_SUSPENDED) 137 struct backlight_properties props; local 163 memset(&props, 0, sizeof(struct backlight_properties)); 164 props.type = BACKLIGHT_RAW; 165 props.max_brightness = MAX_BRIGHTNESS; 168 &max8925_backlight_ops, &props); 173 bl->props [all...] |
H A D | omap1_bl.c | 108 if (bl->current_intensity != dev->props.brightness) { 110 omapbl_send_intensity(dev->props.brightness); 111 bl->current_intensity = dev->props.brightness; 114 if (dev->props.fb_blank != bl->powermode) 115 omapbl_set_power(dev, dev->props.fb_blank); 134 struct backlight_properties props; local 147 memset(&props, 0, sizeof(struct backlight_properties)); 148 props.type = BACKLIGHT_RAW; 149 props.max_brightness = OMAPBL_MAX_INTENSITY; 151 bl, &omapbl_ops, &props); [all...] |
H A D | ot200_bl.c | 47 int brightness = bl->props.brightness; 49 if (bl->props.state & BL_CORE_FBBLANK) 84 struct backlight_properties props; local 117 props.max_brightness = 100; 118 props.brightness = 100; 119 props.type = BACKLIGHT_RAW; 123 &props);
|
H A D | pandora_bl.c | 42 int brightness = bl->props.brightness; 45 if (bl->props.power != FB_BLANK_UNBLANK) 47 if (bl->props.state & BL_CORE_FBBLANK) 49 if (bl->props.state & BL_CORE_SUSPENDED) 56 if (bl->props.state & PANDORABL_WAS_OFF) 69 if (bl->props.state & PANDORABL_WAS_OFF) { 96 bl->props.state &= ~PANDORABL_WAS_OFF; 98 bl->props.state |= PANDORABL_WAS_OFF; 110 struct backlight_properties props; local 114 memset(&props, [all...] |
H A D | tosa_bl.c | 56 struct backlight_properties *props = &dev->props; local 58 int power = max(props->power, props->fb_blank); 59 int brightness = props->brightness; 71 struct backlight_properties *props = &dev->props; local 73 return props->brightness; 84 struct backlight_properties props; local 105 memset(&props, [all...] |
H A D | wm831x_bl.c | 97 int brightness = bl->props.brightness; 99 if (bl->props.power != FB_BLANK_UNBLANK) 102 if (bl->props.fb_blank != FB_BLANK_UNBLANK) 105 if (bl->props.state & BL_CORE_SUSPENDED) 131 struct backlight_properties props; local 196 memset(&props, 0, sizeof(props)); 197 props.type = BACKLIGHT_RAW; 198 props.max_brightness = max_isel; 200 data, &wm831x_backlight_ops, &props); [all...] |
/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 141 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, 142 stream->props.u.bulk.buffersize)) < 0) 146 for (i = 0; i < stream->props.count; i++) { 155 usb_rcvbulkpipe(stream->udev,stream->props.endpoint), 157 stream->props.u.bulk.buffersize, 171 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, 172 stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) 176 for (i = 0; i < stream->props.count; i++) { 180 stream->urb_list[i] = usb_alloc_urb(stream->props 212 usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) argument [all...] |
H A D | a800.c | 33 static int a800_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, argument
|
H A D | dvb-usb-firmware.c | 78 int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_device_properties *props) argument 83 if ((ret = request_firmware(&fw, props->firmware, &udev->dev)) != 0) { 86 props->firmware,ret); 90 info("downloading firmware from file '%s'",props->firmware); 92 switch (props->usb_ctrl) { 96 ret = usb_cypress_load_firmware(udev, fw, props->usb_ctrl); 99 if (props->download_firmware) 100 ret = props->download_firmware(udev,fw);
|
/drivers/platform/x86/ |
H A D | samsung-q10.c | 40 for (i = 0; i < bd->props.brightness; i++) { 56 struct backlight_properties props; local 59 memset(&props, 0, sizeof(struct backlight_properties)); 60 props.type = BACKLIGHT_PLATFORM; 61 props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; 63 &samsungq10_bl_ops, &props);
|
/drivers/video/fbdev/aty/ |
H A D | radeon_backlight.c | 63 if (bd->props.power != FB_BLANK_UNBLANK || 64 bd->props.fb_blank != FB_BLANK_UNBLANK) 67 level = bd->props.brightness; 132 struct backlight_properties props; local 154 memset(&props, 0, sizeof(struct backlight_properties)); 155 props.type = BACKLIGHT_RAW; 156 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 158 &radeon_bl_data, &props); 188 bd->props.brightness = bd->props [all...] |
/drivers/video/fbdev/nvidia/ |
H A D | nv_backlight.c | 60 if (bd->props.power != FB_BLANK_UNBLANK || 61 bd->props.fb_blank != FB_BLANK_UNBLANK) 64 level = bd->props.brightness; 91 struct backlight_properties props; local 107 memset(&props, 0, sizeof(struct backlight_properties)); 108 props.type = BACKLIGHT_RAW; 109 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 111 &props); 123 bd->props.brightness = bd->props [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 55 int val = bd->props.brightness; 75 struct backlight_properties props; local 81 memset(&props, 0, sizeof(struct backlight_properties)); 82 props.type = BACKLIGHT_RAW; 83 props.max_brightness = 31; 85 &nv40_bl_ops, &props); 89 bd->props.brightness = nv40_get_intensity(bd); 118 u32 val = (bd->props.brightness * div) / 100; 159 val = (bd->props.brightness * div) / 100; 182 struct backlight_properties props; local [all...] |
/drivers/media/usb/dvb-usb-v2/ |
H A D | usb_urb.c | 16 struct usb_data_stream_properties *props); 91 struct usb_data_stream_properties *props) 95 if (props) { 96 ret = usb_urb_reconfig(stream, props); 140 for (i = 0; i < stream->props.count; i++) { 152 stream->props.endpoint), 154 stream->props.u.bulk.buffersize, 169 for (i = 0; i < stream->props.count; i++) { 174 stream->props.u.isoc.framesperurb, GFP_ATOMIC); 188 stream->props 90 usb_urb_submitv2(struct usb_data_stream *stream, struct usb_data_stream_properties *props) argument 259 usb_urb_reconfig(struct usb_data_stream *stream, struct usb_data_stream_properties *props) argument 315 usb_urb_initv2(struct usb_data_stream *stream, const struct usb_data_stream_properties *props) argument [all...] |
/drivers/gpu/drm/gma500/ |
H A D | oaktrail_device.c | 68 int level = bd->props.brightness; 151 struct backlight_properties props; local 153 memset(&props, 0, sizeof(struct backlight_properties)); 154 props.max_brightness = 100; 155 props.type = BACKLIGHT_PLATFORM; 158 NULL, (void *)dev, &oaktrail_ops, &props); 168 oaktrail_backlight_device->props.brightness = 100; 169 oaktrail_backlight_device->props.max_brightness = 100;
|
H A D | psb_device.c | 107 int level = bd->props.brightness; 127 struct backlight_properties props; local 129 memset(&props, 0, sizeof(struct backlight_properties)); 130 props.max_brightness = 100; 131 props.type = BACKLIGHT_PLATFORM; 134 NULL, (void *)dev, &psb_ops, &props); 144 psb_backlight_device->props.brightness = 100; 145 psb_backlight_device->props.max_brightness = 100;
|