/linux-master/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-urb.c | 20 if (d->props.generic_bulk_ctrl_endpoint == 0) { 32 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, 46 d->props.generic_bulk_ctrl_endpoint_response ? 47 d->props.generic_bulk_ctrl_endpoint_response : 48 d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, 95 for (i = 0; i < adap->props.num_frontends; i++) { 98 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) 102 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD) 109 &adap->props.fe[i].stream); 119 for (i = 0; i < adap->props [all...] |
H A D | dvb-usb-firmware.c | 88 const struct dvb_usb_device_properties *props) 93 if ((ret = request_firmware(&fw, props->firmware, &udev->dev)) != 0) { 95 props->firmware,ret); 99 info("downloading firmware from file '%s'",props->firmware); 101 switch (props->usb_ctrl) { 105 ret = usb_cypress_load_firmware(udev, fw, props->usb_ctrl); 108 if (props->download_firmware) 109 ret = props->download_firmware(udev,fw); 87 dvb_usb_download_firmware(struct usb_device *udev, const struct dvb_usb_device_properties *props) argument
|
H A D | dvb-usb-dvb.c | 34 if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { 35 ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); 50 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && 52 adap->props.fe[adap->active_fe].pid_filter != NULL) 53 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); 60 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && 61 adap->props.fe[adap->active_fe].caps & 63 adap->props.fe[adap->active_fe].pid_filter_ctrl != NULL) { 64 ret = adap->props.fe[adap->active_fe].pid_filter_ctrl(adap, 72 if (adap->props [all...] |
/linux-master/drivers/media/tuners/ |
H A D | tuner-i2c.h | 24 static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props, argument 27 struct i2c_msg msg = { .addr = props->addr, .flags = 0, 29 int ret = i2c_transfer(props->adap, &msg, 1); 34 static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, argument 37 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, 39 int ret = i2c_transfer(props->adap, &msg, 1); 44 static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, argument 48 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, 50 { .addr = props->addr, .flags = I2C_M_RD, 52 int ret = i2c_transfer(props [all...] |
/linux-master/drivers/video/backlight/ |
H A D | lp8788_bl.c | 63 if (bl_dev->props.state & BL_CORE_SUSPENDED) 64 bl_dev->props.brightness = 0; 66 lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, bl_dev->props.brightness); 79 struct backlight_properties props; local 81 memset(&props, 0, sizeof(struct backlight_properties)); 82 props.type = BACKLIGHT_PLATFORM; 83 props.max_brightness = MAX_BRIGHTNESS; 86 props.brightness = 0; 90 &lp8788_bl_ops, &props); 172 bl_dev->props [all...] |
H A D | omap1_bl.c | 83 if (bl->current_intensity != dev->props.brightness) { 85 omapbl_send_intensity(dev->props.brightness); 86 bl->current_intensity = dev->props.brightness; 111 struct backlight_properties props; local 124 memset(&props, 0, sizeof(struct backlight_properties)); 125 props.type = BACKLIGHT_RAW; 126 props.max_brightness = OMAPBL_MAX_INTENSITY; 128 bl, &omapbl_ops, &props); 142 dev->props.brightness = pdata->default_intensity;
|
H A D | lv5207lp.c | 83 struct backlight_properties props; local 105 memset(&props, 0, sizeof(props)); 106 props.type = BACKLIGHT_RAW; 107 props.max_brightness = min_t(unsigned int, pdata->max_value, 109 props.brightness = clamp_t(unsigned int, pdata->def_value, 0, 110 props.max_brightness); 114 lv, &lv5207lp_backlight_ops, &props); 130 backlight->props.brightness = 0;
|
H A D | locomolcd.c | 174 struct backlight_properties props; local 184 memset(&props, 0, sizeof(struct backlight_properties)); 185 props.type = BACKLIGHT_RAW; 186 props.max_brightness = 4; 189 &locomobl_data, &props); 195 locomolcd_bl_device->props.brightness = 2; 205 locomolcd_bl_device->props.brightness = 0; 206 locomolcd_bl_device->props.power = 0;
|
H A D | apple_bl.c | 58 int intensity = bd->props.brightness; 103 int intensity = bd->props.brightness; 139 struct backlight_properties props; local 178 memset(&props, 0, sizeof(struct backlight_properties)); 179 props.type = BACKLIGHT_PLATFORM; 180 props.max_brightness = 15; 182 NULL, NULL, &hw_data->backlight_ops, &props); 189 apple_backlight_device->props.brightness =
|
H A D | da9052_bl.c | 84 int brightness = bl->props.brightness; 108 struct backlight_properties props; local 120 memset(&props, 0, sizeof(struct backlight_properties)); 121 props.type = BACKLIGHT_RAW; 122 props.max_brightness = DA9052_MAX_BRIGHTNESS; 126 &da9052_backlight_ops, &props); 132 bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; 133 bl->props.brightness = 0;
|
/linux-master/include/linux/ |
H A D | backlight.h | 263 * @props: Backlight properties 265 struct backlight_properties props; member in struct:backlight_device 349 bd->props.power = FB_BLANK_UNBLANK; 350 bd->props.state &= ~BL_CORE_FBBLANK; 364 bd->props.power = FB_BLANK_POWERDOWN; 365 bd->props.state |= BL_CORE_FBBLANK; 383 return bd->props.power != FB_BLANK_UNBLANK || 384 bd->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK); 403 return bd->props.brightness; 409 const struct backlight_properties *props); [all...] |
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 29 if (!d->props->download_firmware) { 45 ret = d->props->download_firmware(d, fw); 61 if (!d->props->i2c_algo) 65 d->i2c_adap.algo = d->props->i2c_algo; 125 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) 129 ret = d->props->get_rc_config(d, &d->rc); 149 dev->driver_name = d->props->driver_name; 230 return usb_urb_initv2(&adap->stream, &adap->props->stream); 267 if (d->props->get_stream_config) { 268 memcpy(&stream_props, &adap->props [all...] |
/linux-master/drivers/gpu/drm/gma500/ |
H A D | backlight.c | 77 struct backlight_properties props __maybe_unused = {}; 94 props.brightness = dev_priv->backlight_level; 95 props.max_brightness = PSB_MAX_BRIGHTNESS; 96 props.type = BACKLIGHT_RAW; 101 &gma_backlight_ops, &props);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mad.c | 545 struct ib_port_attr *props) 559 /* props being zeroed by the caller, avoid zeroing it here */ 571 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); 572 props->lmc = out_mad->data[34] & 0x7; 573 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); 574 props->sm_sl = out_mad->data[36] & 0xf; 575 props->state = out_mad->data[32] & 0xf; 576 props->phys_state = out_mad->data[33] >> 4; 577 props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); 578 props 544 mlx5_query_mad_ifc_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument [all...] |
/linux-master/net/ipv4/ |
H A D | ipcomp.c | 67 t->id.spi = x->props.saddr.a4; 70 t->props.family = AF_INET; 71 t->props.mode = x->props.mode; 72 t->props.saddr.a4 = x->props.saddr.a4; 73 t->props.flags = x->props.flags; 74 t->props.extra_flags = x->props [all...] |
/linux-master/drivers/reset/ |
H A D | reset-microchip-sparx5.c | 28 const struct reset_props *props; member in struct:mchp_reset_context 42 regmap_update_bits(ctx->cpu_ctrl, ctx->props->protect_reg, 43 ctx->props->protect_bit, ctx->props->protect_bit); 46 regmap_write(ctx->gcb_ctrl, ctx->props->reset_reg, 47 ctx->props->reset_bit); 50 return regmap_read_poll_timeout(ctx->gcb_ctrl, ctx->props->reset_reg, val, 51 (val & ctx->props->reset_bit) == 0, 127 ctx->props = device_get_match_data(&pdev->dev);
|
/linux-master/drivers/macintosh/ |
H A D | via-pmu-backlight.c | 137 struct backlight_properties props; local 155 memset(&props, 0, sizeof(struct backlight_properties)); 156 props.type = BACKLIGHT_PLATFORM; 157 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 159 &props); 167 level = bd->props.max_brightness; 177 bd->props.max_brightness / 15); 180 bd->props.brightness = level; 181 bd->props.power = FB_BLANK_UNBLANK;
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 256 static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, argument 268 addrconf_addr_eui48((u8 *)&props->sys_image_guid, 270 props->hw_ver = CHELSIO_CHIP_RELEASE(dev->rdev.lldi.adapter_type); 271 props->fw_ver = dev->rdev.lldi.fw_vers; 272 props->device_cap_flags = IB_DEVICE_MEM_WINDOW; 273 props->kernel_cap_flags = IBK_LOCAL_DMA_LKEY; 275 props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; 276 props->page_size_cap = T4_PAGESIZE_MASK; 277 props->vendor_id = (u32)dev->rdev.lldi.pdev->vendor; 278 props 303 c4iw_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | nvidia-wmi-ec-backlight.c | 69 &bd->props.brightness); 93 struct backlight_properties props = {}; local 105 props.type = BACKLIGHT_FIRMWARE; 109 &props.max_brightness); 114 WMI_BRIGHTNESS_MODE_GET, &props.brightness); 122 &props);
|
H A D | samsung-q10.c | 36 for (i = 0; i < bd->props.brightness; i++) { 52 struct backlight_properties props; local 55 memset(&props, 0, sizeof(struct backlight_properties)); 56 props.type = BACKLIGHT_PLATFORM; 57 props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; 59 &samsungq10_bl_ops, &props);
|
/linux-master/drivers/leds/ |
H A D | led-core.c | 426 struct led_properties *props) 434 ret = fwnode_property_read_string(fwnode, "label", &props->label); 441 ret = fwnode_property_read_u32(fwnode, "color", &props->color); 444 else if (props->color >= LED_COLOR_ID_MAX) 447 props->color_present = true; 454 ret = fwnode_property_read_string(fwnode, "function", &props->function); 465 &props->func_enum); 471 props->func_enum_present = true; 478 struct led_properties props = {}; local 485 led_parse_fwnode_props(dev, fwnode, &props); 424 led_parse_fwnode_props(struct device *dev, struct fwnode_handle *fwnode, struct led_properties *props) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | ipsec.c | 23 if (x->props.mode == XFRM_MODE_TRANSPORT) 25 else if (x->props.mode == XFRM_MODE_TUNNEL)
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_backlight.c | 125 struct backlight_properties props; local 147 memset(&props, 0, sizeof(struct backlight_properties)); 148 props.type = BACKLIGHT_RAW; 149 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; 151 &radeon_bl_data, &props); 181 bd->props.brightness = bd->props.max_brightness; 182 bd->props.power = FB_BLANK_UNBLANK;
|
/linux-master/drivers/usb/dwc3/ |
H A D | host.c | 129 struct property_entry props[5]; local 161 memset(props, 0, sizeof(struct property_entry) * ARRAY_SIZE(props)); 163 props[prop_idx++] = PROPERTY_ENTRY_BOOL("xhci-sg-trb-cache-size-quirk"); 166 props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb3-lpm-capable"); 169 props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb2-lpm-disable"); 181 props[prop_idx++] = PROPERTY_ENTRY_BOOL("quirk-broken-port-ped"); 184 ret = device_create_managed_software_node(&xhci->dev, props, NULL);
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 81 int val = bd->props.brightness; 98 struct backlight_properties *props, 107 props->max_brightness = 31; 147 ret = bd->props.brightness; 188 ret = drm_edp_backlight_set_level(aux, &nv_bl->edp_info, bd->props.brightness); 233 struct backlight_properties *props, 277 props->brightness = current_level; 278 props->max_brightness = bl->edp_info.max; 285 props->max_brightness = 100; 297 struct backlight_properties props local 97 nv40_backlight_init(struct nouveau_encoder *encoder, struct backlight_properties *props, const struct backlight_ops **ops) argument 230 nv50_backlight_init(struct nouveau_backlight *bl, struct nouveau_connector *nv_conn, struct nouveau_encoder *nv_encoder, struct backlight_properties *props, const struct backlight_ops **ops) argument [all...] |