Searched refs:props (Results 76 - 100 of 392) sorted by relevance

1234567891011>>

/linux-master/drivers/video/backlight/
H A Dpcf50633-backlight.c55 if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) ||
56 bl->props.power != FB_BLANK_UNBLANK)
58 else if (bl->props.brightness < pcf_bl->brightness_limit)
59 new_brightness = bl->props.brightness;
136 pcf_bl->brightness = pcf_bl->bl->props.brightness + 1;
H A Dktd253-backlight.c189 bl->props.max_brightness = max_brightness;
192 bl->props.brightness = brightness;
193 bl->props.power = FB_BLANK_UNBLANK;
195 bl->props.brightness = 0;
196 bl->props.power = FB_BLANK_POWERDOWN;
H A Dmp3309c.c324 struct backlight_properties props; local
356 memset(&props, 0, sizeof(struct backlight_properties));
357 props.brightness = pdata->default_brightness;
358 props.max_brightness = pdata->max_brightness;
359 props.scale = BACKLIGHT_SCALE_LINEAR;
360 props.type = BACKLIGHT_RAW;
361 props.power = FB_BLANK_UNBLANK;
363 &mp3309c_bl_ops, &props);
391 bl->props.power = FB_BLANK_POWERDOWN;
392 bl->props
[all...]
H A Dled_bl.c177 struct backlight_properties props; local
199 memset(&props, 0, sizeof(struct backlight_properties));
200 props.type = BACKLIGHT_RAW;
201 props.max_brightness = priv->max_brightness;
202 props.brightness = priv->default_brightness;
203 props.power = (priv->default_brightness > 0) ? FB_BLANK_POWERDOWN :
206 &pdev->dev, priv, &led_bl_ops, &props);
H A Dlm3533_bl.c268 struct backlight_properties props; local
299 memset(&props, 0, sizeof(props));
300 props.type = BACKLIGHT_RAW;
301 props.max_brightness = LM3533_BL_MAX_BRIGHTNESS;
302 props.brightness = pdata->default_brightness;
305 &props);
347 bd->props.power = FB_BLANK_POWERDOWN;
348 bd->props.brightness = 0;
H A Darcxcnn_bl.c142 (bl->props.power == 0) ? 0 : ARCXCNN_CMD_STDBY);
152 struct backlight_properties *props; local
155 props = devm_kzalloc(lp->dev, sizeof(*props), GFP_KERNEL);
156 if (!props)
159 props->type = BACKLIGHT_PLATFORM;
160 props->max_brightness = MAX_BRIGHTNESS;
162 if (lp->pdata->initial_brightness > props->max_brightness)
163 lp->pdata->initial_brightness = props->max_brightness;
165 props
[all...]
H A Dsky81452-backlight.c72 const unsigned int brightness = (unsigned int)bd->props.brightness;
275 struct backlight_properties props; local
289 memset(&props, 0, sizeof(props));
290 props.max_brightness = SKY81452_MAX_BRIGHTNESS;
293 &sky81452_bl_ops, &props);
318 bd->props.power = FB_BLANK_UNBLANK;
319 bd->props.brightness = 0;
H A Dmax8925_bl.c125 struct backlight_properties props; local
151 memset(&props, 0, sizeof(struct backlight_properties));
152 props.type = BACKLIGHT_RAW;
153 props.max_brightness = MAX_BRIGHTNESS;
156 &max8925_backlight_ops, &props);
161 bl->props.brightness = MAX_BRIGHTNESS;
H A D88pm860x_bl.c187 struct backlight_properties props; local
227 memset(&props, 0, sizeof(struct backlight_properties));
228 props.type = BACKLIGHT_RAW;
229 props.max_brightness = MAX_BRIGHTNESS;
231 &pm860x_backlight_ops, &props);
236 bl->props.brightness = MAX_BRIGHTNESS;
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmain.c436 struct ib_device_attr *props,
479 memset(props, 0, sizeof *props);
483 props->fw_ver = dev->dev->caps.fw_ver;
484 props->device_cap_flags = IB_DEVICE_CHANGE_PHY_PORT |
488 props->kernel_cap_flags = IBK_BLOCK_MULTICAST_LOOPBACK;
490 props->device_cap_flags |= IB_DEVICE_BAD_PKEY_CNTR;
492 props->device_cap_flags |= IB_DEVICE_BAD_QKEY_CNTR;
494 props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG;
496 props
435 mlx4_ib_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) argument
655 ib_link_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props, int netw_view) argument
751 eth_link_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument
812 __mlx4_ib_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props, int netw_view) argument
826 mlx4_ib_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument
997 mlx4_ib_modify_device(struct ib_device *ibdev, int mask, struct ib_device_modify *props) argument
1059 mlx4_ib_modify_port(struct ib_device *ibdev, u32 port, int mask, struct ib_port_modify *props) argument
[all...]
/linux-master/drivers/input/touchscreen/
H A Dmms114.c68 struct touchscreen_properties props; member in struct:mms114_data
186 touchscreen_report_pos(input_dev, &data->props, x, y, true);
337 const struct touchscreen_properties *props = &data->props; local
354 val = (props->max_x >> 8) & 0xf;
355 val |= ((props->max_y >> 8) & 0xf) << 4;
360 val = props->max_x & 0xff;
365 val = props->max_x & 0xff;
452 struct touchscreen_properties *props = &data->props; local
[all...]
/linux-master/net/xfrm/
H A Dxfrm_state.c119 h = __xfrm_dst_hash(&x->id.daddr, &x->props.saddr,
120 x->props.reqid, x->props.family,
124 h = __xfrm_src_hash(&x->id.daddr, &x->props.saddr,
125 x->props.family,
131 x->id.proto, x->props.family,
959 x->props.saddr = tmpl->saddr;
960 if (x->props.saddr.a4 == 0)
961 x->props.saddr.a4 = saddr->a4;
966 memcpy(&x->props
[all...]
H A Dxfrm_output.c72 skb_set_network_header(skb, -x->props.header_len);
177 (prevhdr - x->props.header_len) - skb->data);
178 skb_set_network_header(skb, -x->props.header_len);
207 (prevhdr - x->props.header_len) - skb->data);
208 skb_set_network_header(skb, -x->props.header_len);
235 skb_set_network_header(skb, -x->props.header_len - hdrlen +
263 top_iph->saddr = x->props.saddr.a4;
283 skb_set_network_header(skb, -x->props.header_len);
295 if (x->props.extra_flags & XFRM_SA_XFLAG_DONT_ENCAP_DSCP)
302 flags = x->props
[all...]
/linux-master/drivers/i2c/muxes/
H A Di2c-demux-pinctrl.c212 struct property *props; local
224 props = devm_kcalloc(&pdev->dev, num_chan, sizeof(*props), GFP_KERNEL);
226 if (!priv || !props)
246 props[i].name = devm_kstrdup(&pdev->dev, "status", GFP_KERNEL);
247 props[i].value = devm_kstrdup(&pdev->dev, "ok", GFP_KERNEL);
248 if (!props[i].name || !props[i].value) {
252 props[i].length = 3;
255 of_changeset_update_property(&priv->chan[i].chgset, adap_np, &props[
[all...]
/linux-master/drivers/leds/flash/
H A Dleds-ktd2692.c72 struct expresswire_common_props props; member in struct:ktd2692_context
105 expresswire_write_u8(&led->props, brightness |
110 expresswire_write_u8(&led->props, led->mode | KTD2692_REG_MODE_BASE);
127 expresswire_write_u8(&led->props, flash_tm_reg
137 expresswire_write_u8(&led->props, led->mode | KTD2692_REG_MODE_BASE);
187 expresswire_power_off(&led->props);
190 expresswire_write_u8(&led->props, (KTD2692_MM_MIN_CURR_THRESHOLD_SCALE - 1)
192 expresswire_write_u8(&led->props, KTD2692_FLASH_MODE_CURR_PERCENT(45)
217 led->props.ctrl_gpio = devm_gpiod_get(dev, "ctrl", GPIOD_ASIS);
218 ret = PTR_ERR_OR_ZERO(led->props
[all...]
/linux-master/drivers/crypto/nx/
H A Dnx.c329 struct nx_of *props)
332 props->status = NX_WAITING;
333 props->flags |= NX_OF_FLAG_STATUS_SET;
342 struct nx_of *props)
344 if (p->length != sizeof(props->max_sg_len)) {
349 p->length, sizeof(props->max_sg_len));
353 props->max_sg_len = *(u32 *)p->value;
354 props->flags |= NX_OF_FLAG_MAXSGLEN_SET;
359 struct nx_of *props)
400 props
327 nx_of_update_status(struct device *dev, struct property *p, struct nx_of *props) argument
340 nx_of_update_sglen(struct device *dev, struct property *p, struct nx_of *props) argument
357 nx_of_update_msc(struct device *dev, struct property *p, struct nx_of *props) argument
463 nx_of_init(struct device *dev, struct nx_of *props) argument
491 struct alg_props *props = &nx_driver.of.ap[fc][mode][slot]; local
[all...]
H A Dnx-aes-cbc.c33 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128];
37 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192];
41 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256];
H A Dnx-aes-ecb.c33 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128];
37 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192];
41 nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256];
/linux-master/drivers/platform/x86/
H A Dmsi-wmi.c160 int bright = bd->props.brightness;
232 struct backlight_properties props; local
234 memset(&props, 0, sizeof(struct backlight_properties));
235 props.type = BACKLIGHT_PLATFORM;
236 props.max_brightness = ARRAY_SIZE(backlight_map) - 1;
239 &props);
249 backlight->props.brightness = err;
/linux-master/drivers/platform/x86/dell/
H A Ddell-uart-backlight.c187 ret = dell_uart_set_brightness(dell_bl, bd->props.brightness);
191 if (bd->props.power != dell_uart_get_bl_power(dell_bl))
192 return dell_uart_set_bl_power(dell_bl, bd->props.power);
272 struct backlight_properties props = {}; local
314 props.type = BACKLIGHT_PLATFORM;
315 props.brightness = ret;
316 props.max_brightness = DELL_BL_MAX_BRIGHTNESS;
317 props.power = dell_bl->power;
322 &props);
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dpd.c33 if (dev->n_pds_allocated == dev->dparms.props.max_pd) {
/linux-master/sound/soc/generic/
H A Dsimple-card-utils.c282 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); local
288 for_each_prop_dai_cpu(props, i1, dai) {
297 for_each_prop_dai_codec(props, i2, dai) {
306 if (fixed_sysclk && props->mclk_fs) {
307 unsigned int fixed_rate = fixed_sysclk / props->mclk_fs;
309 if (fixed_sysclk % props->mclk_fs) {
311 fixed_sysclk, props->mclk_fs);
324 for_each_prop_dai_codec(props, i, dai) {
330 for_each_prop_dai_cpu(props, i, dai) {
343 struct simple_dai_props *props local
434 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); local
614 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); local
[all...]
/linux-master/drivers/usb/misc/
H A Dappledisplay.c133 pdata->msgdata[1] = bd->props.brightness;
194 pdata->bd->props.brightness = retval;
204 struct backlight_properties props; local
272 memset(&props, 0, sizeof(struct backlight_properties));
273 props.type = BACKLIGHT_RAW;
274 props.max_brightness = 0xff;
276 &appledisplay_bl_data, &props);
294 pdata->bd->props.brightness = brightness;
/linux-master/net/ipv4/
H A Dxfrm4_tunnel.c27 if (x->props.mode != XFRM_MODE_TUNNEL) {
37 x->props.header_len = sizeof(struct iphdr);
/linux-master/drivers/acpi/
H A Dproperty.c350 struct acpi_device_properties *props; local
352 props = kzalloc(sizeof(*props), GFP_KERNEL);
353 if (props) {
354 INIT_LIST_HEAD(&props->list);
355 props->guid = guid;
356 props->properties = properties;
357 list_add_tail(&props->list, &data->properties);
360 return props;
404 struct acpi_device_properties *props; local
602 struct acpi_device_properties *props, *tmp; local
665 const struct acpi_device_properties *props; local
[all...]

Completed in 435 milliseconds

1234567891011>>