/drivers/staging/mei/ |
H A D | iorw.c | 99 if (i >= 0 && !dev->me_clients[i].props.fixed_address) { 107 dev->me_clients[i].props.protocol_version); 109 dev->me_clients[i].props.max_msg_length); 141 dev->me_clients[i].props.max_msg_length; 143 dev->me_clients[i].props.protocol_version; 157 client->max_msg_length = dev->me_clients[i].props.max_msg_length; 158 client->protocol_version = dev->me_clients[i].props.protocol_version; 421 cb->response_buffer.size = dev->me_clients[i].props.max_msg_length;
|
H A D | interface.c | 259 if (WARN_ON(me_cl->props.single_recv_buf == 0)) 290 if (me_cl->props.single_recv_buf != 0) {
|
/drivers/media/dvb/dvb-usb/ |
H A D | dib0700.h | 65 extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
|
H A D | dvb-usb.h | 314 struct usb_data_stream_properties props; member in struct:usb_data_stream 375 struct dvb_usb_adapter_properties props; member in struct:dvb_usb_adapter 400 * @props: copy of the struct dvb_usb_properties this device belongs to. 423 struct dvb_usb_device_properties props; member in struct:dvb_usb_device
|
H A D | dib0700_core.c | 340 int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, argument 582 if ((adap->fe_adap[0].stream.props.endpoint != 2) 583 && (adap->fe_adap[0].stream.props.endpoint != 3)) { 584 deb_info("the endpoint number (%i) is not correct, use the adapter id instead", adap->fe_adap[0].stream.props.endpoint); 591 st->channel_state |= 1 << (adap->fe_adap[0].stream.props.endpoint-2); 593 st->channel_state |= 1 << (3-adap->fe_adap[0].stream.props.endpoint); 646 d->props.rc.core.protocol = rc_type; 707 switch (d->props.rc.core.protocol) { 818 dev->props.rc.core.bulk_mode = true; 820 dev->props [all...] |
H A D | m920x.c | 72 if (d->props.rc.legacy.rc_query) { 88 for (i = 0; i < d->props.num_adapters; i++) 89 flags |= d->adapter[i].props.fe[0].caps; 93 for (i = 0; i < d->props.num_adapters; i++) { 94 epi = d->adapter[i].props.fe[0].stream.endpoint - 0x81; 149 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) 150 if (rc5_data(&d->props.rc.legacy.rc_map_table[i]) == rc_state[1]) { 151 *event = d->props.rc.legacy.rc_map_table[i].keycode; 295 int ep = adap->props.fe[0].stream.endpoint; 417 struct dvb_usb_device_properties *props, 416 m920x_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold) argument [all...] |
H A D | cxusb.c | 327 int ep = d->props.generic_bulk_ctrl_endpoint; 350 struct usb_data_stream_properties *p = &d->props.adapter[0].fe[0].stream; 388 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; 397 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { 413 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; 425 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { 441 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; 451 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { 936 for (i = 0; adap->dev->props.rc.legacy.rc_map_table != NULL && i < 5; i++) { 944 adap->dev->props 1251 bluebird_fx2_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, int *cold) argument [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_iverbs.h | 47 int ehca_query_device(struct ib_device *ibdev, struct ib_device_attr *props); 50 struct ib_port_attr *props); 61 struct ib_port_modify *props);
|
/drivers/video/backlight/ |
H A D | s6e63m0.c | 550 ret = s6e63m0_gamma_ctl(lcd, bd->props.brightness); 624 return bd->props.brightness; 629 int ret = 0, brightness = bd->props.brightness; 633 brightness > bd->props.max_brightness) { 639 ret = s6e63m0_gamma_ctl(lcd, bd->props.brightness); 699 brightness = bd->props.brightness; 742 struct backlight_properties props; local 774 memset(&props, 0, sizeof(struct backlight_properties)); 775 props.type = BACKLIGHT_RAW; 776 props [all...] |
H A D | adp8860_bl.c | 367 int brightness = bl->props.brightness; 368 if (bl->props.power != FB_BLANK_UNBLANK) 371 if (bl->props.fb_blank != FB_BLANK_UNBLANK) 663 struct backlight_properties props; local 710 memset(&props, 0, sizeof(props)); 711 props.type = BACKLIGHT_RAW; 712 props.max_brightness = ADP8860_MAX_BRIGHTNESS; 717 &client->dev, data, &adp8860_bl_ops, &props); 724 bl->props [all...] |
H A D | adp8870_bl.c | 405 int brightness = bl->props.brightness; 406 if (bl->props.power != FB_BLANK_UNBLANK) 409 if (bl->props.fb_blank != FB_BLANK_UNBLANK) 849 struct backlight_properties props; local 890 memset(&props, 0, sizeof(props)); 891 props.type = BACKLIGHT_RAW; 892 props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; 894 &client->dev, data, &adp8870_bl_ops, &props); [all...] |
/drivers/platform/x86/ |
H A D | asus-wmi.c | 1130 if ((asus->driver->brightness < bd->props.brightness) || 1131 bd->props.brightness == bd->props.max_brightness) 1133 else if ((asus->driver->brightness > bd->props.brightness) || 1134 bd->props.brightness == 0) 1137 asus->driver->brightness = bd->props.brightness; 1149 if (power != -ENODEV && bd->props.power != power) { 1150 ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK); 1154 asus->driver->panel_power = bd->props.power; 1165 ctrl_param = bd->props 1199 struct backlight_properties props; local [all...] |
H A D | fujitsu-laptop.c | 422 if (b->props.power == 4) 432 ret = set_lcd_level_alt(b->props.brightness); 434 ret = set_lcd_level(b->props.brightness); 1127 struct backlight_properties props; local 1129 memset(&props, 0, sizeof(struct backlight_properties)); 1131 props.type = BACKLIGHT_PLATFORM; 1132 props.max_brightness = max_brightness - 1; 1136 &props); 1142 fujitsu->bl_device->props.brightness = fujitsu->brightness_level; 1167 fujitsu->bl_device->props [all...] |
H A D | dell-laptop.c | 573 buffer->input[1] = bd->props.brightness; 761 struct backlight_properties props; local 762 memset(&props, 0, sizeof(struct backlight_properties)); 763 props.type = BACKLIGHT_PLATFORM; 764 props.max_brightness = max_intensity; 769 &props); 777 dell_backlight_device->props.brightness =
|
H A D | classmate-laptop.c | 453 status = cmpc_set_brightness(handle, bd->props.brightness); 560 struct backlight_properties props; local 566 memset(&props, 0, sizeof(struct backlight_properties)); 567 props.type = BACKLIGHT_PLATFORM; 568 props.max_brightness = 7; 571 &props);
|
H A D | msi-laptop.c | 275 return set_lcd_level(b->props.brightness); 889 struct backlight_properties props; local 890 memset(&props, 0, sizeof(struct backlight_properties)); 891 props.type = BACKLIGHT_PLATFORM; 892 props.max_brightness = MSI_LCD_LEVEL_MAX - 1; 895 &props);
|
H A D | compal-laptop.c | 335 int ret = set_backlight_level(b->props.brightness); 339 set_backlight_state((b->props.power == FB_BLANK_UNBLANK) 340 && !(b->props.state & BL_CORE_SUSPENDED) 341 && !(b->props.state & BL_CORE_FBBLANK)); 970 struct backlight_properties props; local 971 memset(&props, 0, sizeof(struct backlight_properties)); 972 props.type = BACKLIGHT_PLATFORM; 973 props.max_brightness = BACKLIGHT_LEVEL_MAX; 977 &props);
|
H A D | eeepc-laptop.c | 1152 return set_brightness(bd, bd->props.brightness); 1163 int old = bd->props.brightness; 1172 struct backlight_properties props; local 1175 memset(&props, 0, sizeof(struct backlight_properties)); 1176 props.type = BACKLIGHT_PLATFORM; 1177 props.max_brightness = 15; 1180 &eeepcbl_ops, &props); 1187 bd->props.brightness = read_brightness(bd); 1188 bd->props.power = FB_BLANK_UNBLANK;
|
H A D | samsung-laptop.c | 540 set_brightness(samsung, bd->props.brightness); 542 if (bd->props.power == FB_BLANK_UNBLANK) 1077 struct backlight_properties props; local 1082 memset(&props, 0, sizeof(struct backlight_properties)); 1083 props.type = BACKLIGHT_PLATFORM; 1084 props.max_brightness = samsung->config->max_brightness - 1090 &props); 1095 samsung->backlight_device->props.brightness = read_brightness(samsung); 1096 samsung->backlight_device->props.power = FB_BLANK_UNBLANK;
|
H A D | sony-laptop.c | 952 bd->props.brightness + 1, NULL); 982 value = bd->props.brightness + sdev->offset; 1564 struct sony_backlight_props *props) 1575 props->handle = handle; 1576 props->offset = 0; 1577 props->maxlvl = 0xff; 1622 props->offset = min; 1623 props->maxlvl = max; 1624 dprintk("Brightness levels: min=%d max=%d\n", props->offset, 1625 props 1563 sony_nc_backlight_ng_read_limits(int handle, struct sony_backlight_props *props) argument 1637 struct backlight_properties props; local [all...] |
/drivers/video/ |
H A D | bf537-lq035.c | 691 struct backlight_properties props; local 785 memset(&props, 0, sizeof(props)); 786 props.type = BACKLIGHT_RAW; 787 props.max_brightness = MAX_BRIGHENESS; 789 &bfin_lq035fb_bl_ops, &props); 798 lcd_dev->props.max_contrast = 255,
|
H A D | bf54x-lq043fb.c | 503 struct backlight_properties props; local 649 memset(&props, 0, sizeof(struct backlight_properties)); 650 props.type = BACKLIGHT_RAW; 651 props.max_brightness = 255; 653 &bfin_lq043fb_bl_ops, &props); 663 lcd_dev->props.max_contrast = 255, printk(KERN_INFO "Done.\n");
|
H A D | bfin-t350mcqb-fb.c | 424 struct backlight_properties props; local 547 memset(&props, 0, sizeof(struct backlight_properties)); 548 props.type = BACKLIGHT_RAW; 549 props.max_brightness = 255; 551 &bfin_lq043fb_bl_ops, &props); 561 lcd_dev->props.max_contrast = 255, printk(KERN_INFO "Done.\n");
|
/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 512 static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *props) argument 518 memset(props, 0, sizeof(*props)); 519 memcpy(&props->sys_image_guid, nesvnic->netdev->dev_addr, 6); 521 props->fw_ver = nesdev->nesadapter->firmware_version; 522 props->device_cap_flags = nesdev->nesadapter->device_cap_flags; 523 props->vendor_id = nesdev->nesadapter->vendor_id; 524 props->vendor_part_id = nesdev->nesadapter->vendor_part_id; 525 props->hw_ver = nesdev->nesadapter->hw_rev; 526 props 563 nes_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) argument [all...] |
/drivers/video/omap2/displays/ |
H A D | panel-taal.c | 539 if (dev->props.fb_blank == FB_BLANK_UNBLANK && 540 dev->props.power == FB_BLANK_UNBLANK) 541 level = dev->props.brightness; 568 if (dev->props.fb_blank == FB_BLANK_UNBLANK && 569 dev->props.power == FB_BLANK_UNBLANK) 570 return dev->props.brightness; 935 struct backlight_properties props; local 999 memset(&props, 0, sizeof(struct backlight_properties)); 1000 props.max_brightness = 255; 1002 props [all...] |