/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_common.h | 29 const struct usb_data_stream_properties *props); 32 struct usb_data_stream_properties *props);
|
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...] |
H A D | dvb_usb_core.c | 41 if (!d->props->download_firmware) { 57 ret = d->props->download_firmware(d, fw); 73 if (!d->props->i2c_algo) 77 d->i2c_adap.algo = d->props->i2c_algo; 139 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) 143 ret = d->props->get_rc_config(d, &d->rc); 164 dev->driver_name = (char *) d->props->driver_name; 245 return usb_urb_initv2(&adap->stream, &adap->props->stream); 282 if (d->props->get_stream_config) { 283 memcpy(&stream_props, &adap->props [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_hca.c | 53 int ehca_query_device(struct ib_device *ibdev, struct ib_device_attr *props) argument 86 memset(props, 0, sizeof(struct ib_device_attr)); 87 props->page_size_cap = shca->hca_cap_mr_pgsize; 88 props->fw_ver = rblock->hw_ver; 89 props->max_mr_size = rblock->max_mr_size; 90 props->vendor_id = rblock->vendor_id >> 8; 91 props->vendor_part_id = rblock->vendor_part_id >> 16; 92 props->hw_ver = rblock->hw_ver; 93 props->max_qp = limit_uint(rblock->max_qp); 94 props 182 ehca_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) argument 356 ehca_modify_port(struct ib_device *ibdev, u8 port, int port_modify_mask, struct ib_port_modify *props) argument [all...] |
/drivers/video/backlight/ |
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 | 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 | 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 | 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 | lv5207lp.c | 52 int brightness = backlight->props.brightness; 54 if (backlight->props.power != FB_BLANK_UNBLANK || 55 backlight->props.fb_blank != FB_BLANK_UNBLANK || 56 backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) 92 struct backlight_properties props; local 114 memset(&props, 0, sizeof(props)); 115 props.type = BACKLIGHT_RAW; 116 props.max_brightness = min_t(unsigned int, pdata->max_value, 118 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 | 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 | da903x_bl.c | 83 int brightness = bl->props.brightness; 85 if (bl->props.power != FB_BLANK_UNBLANK) 88 if (bl->props.fb_blank != FB_BLANK_UNBLANK) 91 if (bl->props.state & BL_CORE_SUSPENDED) 115 struct backlight_properties props; local 144 memset(&props, 0, sizeof(props)); 145 props.type = BACKLIGHT_RAW; 146 props.max_brightness = max_brightness; 149 &da903x_backlight_ops, &props); [all...] |
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...] |
/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-init.c | 34 for (n = 0; n < d->props.num_adapters; n++) { 39 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); 41 for (o = 0; o < adap->props.num_frontends; o++) { 42 struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; local 44 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { 49 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || 50 (props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { 51 info("will use the device's hardware PID filter (table count: %d).", props 176 dvb_usb_find_device(struct usb_device *udev, struct dvb_usb_device_properties *props, int *cold) argument 233 dvb_usb_device_init(struct usb_interface *intf, struct dvb_usb_device_properties *props, struct module *owner, struct dvb_usb_device **du, short *adapter_nums) argument [all...] |
H A D | dvb-usb-remote.c | 48 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; 49 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; 71 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; 72 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; 122 if (d->props.rc.legacy.rc_query(d,&event,&state)) { 181 schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); 205 deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); 206 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { 208 d->props.rc.legacy.rc_map_table[i].keycode, i); 209 set_bit(d->props [all...] |
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 | dvb-usb-i2c.c | 14 if (!(d->props.caps & DVB_USB_IS_AN_I2C_ADAPTER)) 17 if (d->props.i2c_algo == NULL) { 23 d->i2c_adap.algo = d->props.i2c_algo;
|
H A D | dvb-usb-dvb.c | 32 if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { 33 ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); 48 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && 50 adap->props.fe[adap->active_fe].pid_filter != NULL) 51 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); 61 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && 62 adap->props.fe[adap->active_fe].caps & 64 adap->props.fe[adap->active_fe].pid_filter_ctrl != NULL) { 65 ret = adap->props.fe[adap->active_fe].pid_filter_ctrl(adap, 73 if (adap->props [all...] |
/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/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/shmobile/ |
H A D | shmob_drm_backlight.c | 25 int brightness = bdev->props.brightness; 27 if (bdev->props.power != FB_BLANK_UNBLANK || 28 bdev->props.state & BL_CORE_SUSPENDED) 54 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON 78 backlight->props.max_brightness = bdata->max_brightness; 79 backlight->props.brightness = bdata->max_brightness; 80 backlight->props.power = FB_BLANK_POWERDOWN;
|
/drivers/macintosh/ |
H A D | via-pmu-backlight.c | 74 int level = bd->props.brightness; 77 if (bd->props.power != FB_BLANK_UNBLANK || 78 bd->props.fb_blank != FB_BLANK_UNBLANK) 141 struct backlight_properties props; local 159 memset(&props, 0, sizeof(struct backlight_properties)); 160 props.type = BACKLIGHT_PLATFORM; 161 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 163 &props); 171 level = bd->props.max_brightness; 181 bd->props [all...] |