/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 | 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) 65 bd->props.state |= GENERICBL_BATTLOW; 67 bd->props.state &= ~GENERICBL_BATTLOW; 81 struct backlight_properties props; local 93 memset(&props, 0, sizeof(struct backlight_properties)); 94 props [all...] |
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) { 98 bl->props.state &= ~PANDORABL_WAS_OFF; 100 bl->props.state |= PANDORABL_WAS_OFF; 107 return bl->props.brightness; 118 struct backlight_properties props; local [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 104 memset(&props, [all...] |
H A D | jornada720_bl.c | 59 if ((bd->props.power != FB_BLANK_UNBLANK) || (bd->props.fb_blank != FB_BLANK_UNBLANK)) { 83 if (jornada_ssp_byte(BL_MAX_BRIGHT - bd->props.brightness) != TXDUMMY) { 104 struct backlight_properties props; local 108 memset(&props, 0, sizeof(struct backlight_properties)); 109 props.type = BACKLIGHT_RAW; 110 props.max_brightness = BL_MAX_BRIGHT; 112 &jornada_bl_ops, &props); 120 bd->props.power = FB_BLANK_UNBLANK; 121 bd->props [all...] |
H A D | progear_bl.c | 37 int intensity = bd->props.brightness; 39 if (bd->props.power != FB_BLANK_UNBLANK) 41 if (bd->props.fb_blank != FB_BLANK_UNBLANK) 64 struct backlight_properties props; local 86 memset(&props, 0, sizeof(struct backlight_properties)); 87 props.type = BACKLIGHT_RAW; 88 props.max_brightness = HW_LEVEL_MAX - HW_LEVEL_MIN; 92 &props); 100 progear_backlight_device->props.power = FB_BLANK_UNBLANK; 101 progear_backlight_device->props [all...] |
H A D | aat2870_bl.c | 48 val /= bd->props.max_brightness; 72 return bd->props.brightness; 80 int brightness = bd->props.brightness; 83 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { 89 bd->props.brightness, bd->props.power, bd->props.state); 91 if ((bd->props.power != FB_BLANK_UNBLANK) || 92 (bd->props.state & BL_CORE_FBBLANK) || 93 (bd->props 133 struct backlight_properties props; local [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_ops, &props); 100 bl->props.brightness = EP93XX_DEF_BRIGHT;
|
H A D | omap1_bl.c | 111 if (bl->current_intensity != dev->props.brightness) { 113 omapbl_send_intensity(dev->props.brightness); 114 bl->current_intensity = dev->props.brightness; 117 if (dev->props.fb_blank != bl->powermode) 118 omapbl_set_power(dev, dev->props.fb_blank); 136 struct backlight_properties props; local 149 memset(&props, 0, sizeof(struct backlight_properties)); 150 props.type = BACKLIGHT_RAW; 151 props.max_brightness = OMAPBL_MAX_INTENSITY; 153 &props); [all...] |
H A D | backlight.c | 49 bd->props.fb_blank = *(int *)evdata->data; 50 if (bd->props.fb_blank == FB_BLANK_UNBLANK) 51 bd->props.state &= ~BL_CORE_FBBLANK; 53 bd->props.state |= BL_CORE_FBBLANK; 109 return sprintf(buf, "%d\n", bd->props.power); 127 if (bd->props.power != power) { 128 bd->props.power = power; 143 return sprintf(buf, "%d\n", bd->props.brightness); 161 if (brightness > bd->props.max_brightness) 166 bd->props 287 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument [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) 108 struct backlight_properties props; local 111 memset(&props, 0, sizeof(struct backlight_properties)); 112 props.type = BACKLIGHT_RAW; 113 props.max_brightness = HP680_MAX_INTENSITY; 115 &hp680bl_ops, &props); 121 bd->props.brightness = HP680_DEFAULT_INTENSITY; 131 bd->props [all...] |
H A D | locomolcd.c | 115 int intensity = bd->props.brightness; 117 if (bd->props.power != FB_BLANK_UNBLANK) 119 if (bd->props.fb_blank != FB_BLANK_UNBLANK) 170 struct backlight_properties props; local 186 memset(&props, 0, sizeof(struct backlight_properties)); 187 props.type = BACKLIGHT_RAW; 188 props.max_brightness = 4; 191 &locomobl_data, &props); 197 locomolcd_bl_device->props.brightness = 2; 207 locomolcd_bl_device->props [all...] |
H A D | ot200_bl.c | 46 int brightness = bl->props.brightness; 48 if (bl->props.state & BL_CORE_FBBLANK) 83 struct backlight_properties props; local 116 props.max_brightness = 100; 117 props.brightness = 100; 118 props.type = BACKLIGHT_RAW; 121 &ot200_backlight_ops, &props);
|
/drivers/media/dvb/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-urb.c | 19 if (d->props.generic_bulk_ctrl_endpoint == 0) { 31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, 45 d->props.generic_bulk_ctrl_endpoint_response ? 46 d->props.generic_bulk_ctrl_endpoint_response : 47 d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, 86 for (i = 0; i < adap->props.num_frontends; i++) { 89 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) 96 &adap->props.fe[i].stream); 106 for (i = 0; i < adap->props.num_frontends; i++)
|
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/video/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; 87 return bd->props.brightness; 97 struct backlight_properties props; local 113 memset(&props, 0, sizeof(struct backlight_properties)); 114 props.type = BACKLIGHT_RAW; 115 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 117 &props); 129 bd->props [all...] |
/drivers/video/omap2/displays/ |
H A D | panel-sharp-ls037v7dw01.c | 57 if (bl->props.fb_blank == FB_BLANK_UNBLANK && 58 bl->props.power == FB_BLANK_UNBLANK) 59 level = bl->props.brightness; 68 if (bl->props.fb_blank == FB_BLANK_UNBLANK && 69 bl->props.power == FB_BLANK_UNBLANK) 70 return bl->props.brightness; 84 struct backlight_properties props; local 100 memset(&props, 0, sizeof(struct backlight_properties)); 101 props.max_brightness = dssdev->max_backlight_level; 102 props [all...] |
/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) 115 return bd->props.brightness; 147 struct backlight_properties props; local 165 memset(&props, 0, sizeof(struct backlight_properties)); 166 props.type = BACKLIGHT_PLATFORM; 167 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 169 &props); 177 level = bd->props [all...] |
/drivers/platform/x86/ |
H A D | samsung-q10.c | 36 int brightness = bd->props.brightness; 83 struct backlight_properties props; local 86 memset(&props, 0, sizeof(struct backlight_properties)); 87 props.type = BACKLIGHT_PLATFORM; 88 props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; 90 &samsungq10_bl_ops, &props); 96 bd->props.brightness = SAMSUNGQ10_BL_DEFAULT_INTENSITY; 107 bd->props.brightness = SAMSUNGQ10_BL_DEFAULT_INTENSITY;
|
/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 252 struct ib_device_attr *props) 259 memset(props, 0, sizeof *props); 260 memcpy(&props->sys_image_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); 261 props->hw_ver = dev->rdev.lldi.adapter_type; 262 props->fw_ver = dev->rdev.lldi.fw_vers; 263 props->device_cap_flags = dev->device_cap_flags; 264 props->page_size_cap = T4_PAGESIZE_MASK; 265 props->vendor_id = (u32)dev->rdev.lldi.pdev->vendor; 266 props 251 c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props) argument 284 c4iw_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) argument [all...] |
/drivers/gpu/drm/gma500/ |
H A D | backlight.c | 44 dev_priv->backlight_device->props.brightness = 0;
|