/linux-master/drivers/video/backlight/ |
H A D | lm3630a_bl.c | 197 bl->props.max_brightness); 272 bl->props.max_brightness); 339 struct backlight_properties props; local 342 memset(&props, 0, sizeof(struct backlight_properties)); 343 props.type = BACKLIGHT_RAW; 345 props.brightness = pdata->leda_init_brt; 346 props.max_brightness = pdata->leda_max_brt; 351 &lm3630a_bank_a_ops, &props); 358 props.brightness = pdata->ledb_init_brt; 359 props [all...] |
H A D | rave-sp-backlight.c | 20 const struct backlight_properties *p = &bd->props;
|
H A D | pwm_bl.c | 444 struct backlight_properties props; local 528 memset(&props, 0, sizeof(struct backlight_properties)); 543 props.scale = BACKLIGHT_SCALE_LINEAR; 545 props.scale = BACKLIGHT_SCALE_NON_LINEAR; 573 props.scale = BACKLIGHT_SCALE_NON_LINEAR; 585 props.type = BACKLIGHT_RAW; 586 props.max_brightness = data->max_brightness; 588 &pwm_backlight_ops, &props); 602 bl->props.brightness = data->dft_brightness; 603 bl->props [all...] |
H A D | adp5520_bl.c | 282 struct backlight_properties props; local 304 memset(&props, 0, sizeof(struct backlight_properties)); 305 props.type = BACKLIGHT_RAW; 306 props.max_brightness = ADP5020_MAX_BRIGHTNESS; 309 &props); 315 bl->props.brightness = ADP5020_MAX_BRIGHTNESS;
|
/linux-master/drivers/staging/greybus/ |
H A D | power_supply.c | 43 struct gb_power_supply_prop *props; member in struct:gb_power_supply 321 if (gbpsy->props[i].prop == psp) 322 return &gbpsy->props[i]; 523 struct_size(resp, props, props_count), 539 ret = get_psp_from_gb_prop(resp->props[i].property, &psp); 543 resp->props[i].property); 548 gbpsy->props = kcalloc(gbpsy->properties_count, sizeof(*gbpsy->props), 550 if (!gbpsy->props) { 564 ret = get_psp_from_gb_prop(resp->props[ [all...] |
/linux-master/net/ipv4/ |
H A D | esp4.c | 107 if (x->props.flags & XFRM_STATE_ESN) 166 dport, x->props.saddr.a4, sport, 0); 315 if ((x->props.flags & XFRM_STATE_ESN)) { 544 if (x->props.flags & XFRM_STATE_ESN) { 606 if ((x->props.flags & XFRM_STATE_ESN)) 630 if ((x->props.flags & XFRM_STATE_ESN)) 785 if (iph->saddr != x->props.saddr.a4 || 808 if (x->props.mode == XFRM_MODE_TRANSPORT) 813 if (x->props.mode == XFRM_MODE_TUNNEL) 849 if ((x->props [all...] |
/linux-master/net/ipv6/ |
H A D | esp6.c | 124 if (x->props.flags & XFRM_STATE_ESN) 183 dport, &x->props.saddr.in6, ntohs(sport), 0, 0); 351 if ((x->props.flags & XFRM_STATE_ESN)) { 581 if (x->props.flags & XFRM_STATE_ESN) { 643 if ((x->props.flags & XFRM_STATE_ESN)) 667 if ((x->props.flags & XFRM_STATE_ESN)) 832 if (!ipv6_addr_equal(&ip6h->saddr, &x->props.saddr.in6) || 855 if (x->props.mode == XFRM_MODE_TRANSPORT) 862 if (x->props.mode == XFRM_MODE_TUNNEL) 897 if ((x->props [all...] |
H A D | ah6.c | 350 if (x->props.flags & XFRM_STATE_ESN) { 414 if (x->props.flags & XFRM_STATE_ESN) { 479 if (x->props.mode == XFRM_MODE_TUNNEL) 562 if (x->props.flags & XFRM_STATE_ESN) { 600 if (x->props.flags & XFRM_STATE_ESN) { 627 if (x->props.mode == XFRM_MODE_TUNNEL) 717 x->props.header_len = XFRM_ALIGN8(sizeof(struct ip_auth_hdr) + 719 switch (x->props.mode) { 724 x->props.header_len += sizeof(struct ipv6hdr);
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb.h | 302 const struct dvb_usb_device_properties *props, 324 * @props: data stream properties 340 struct usb_data_stream_properties props; member in struct:usb_data_stream 388 * @props: properties 406 struct dvb_usb_adapter_properties props; member in struct:dvb_usb_adapter 431 * @props: copy of the struct dvb_usb_properties this device belongs to. 462 struct dvb_usb_device_properties props; member in struct:dvb_usb_device
|
/linux-master/drivers/base/ |
H A D | swnode.c | 141 static const void *property_entry_find(const struct property_entry *props, argument 147 prop = property_entry_get(props, propname); 159 property_entry_count_elems_of_size(const struct property_entry *props, argument 164 prop = property_entry_get(props, propname); 171 static int property_entry_read_int_array(const struct property_entry *props, argument 180 return property_entry_count_elems_of_size(props, name, 188 pointer = property_entry_find(props, name, length); 196 static int property_entry_read_string_array(const struct property_entry *props, argument 205 array_len = property_entry_count_elems_of_size(props, propname, 217 pointer = property_entry_find(props, propnam 735 struct property_entry *props; local [all...] |
/linux-master/sound/soc/intel/boards/ |
H A D | sof_sdw_rt_amp.c | 106 struct property_entry props[3] = {}; local 120 props[0] = PROPERTY_ENTRY_U8_ARRAY("realtek,bq-params", params); 121 props[1] = PROPERTY_ENTRY_U32("realtek,bq-params-cnt", pdata->bq_params_cnt); 123 fwnode = fwnode_create_software_node(props, NULL);
|
/linux-master/include/linux/ |
H A D | lcd.h | 58 struct lcd_properties props; member in struct:lcd_device
|
/linux-master/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | ipsec.c | 283 switch (x->props.mode) { 307 if (x->props.flags & XFRM_STATE_ESN) { 325 switch (x->props.aalgo) { 379 switch (x->props.ealgo) { 436 if (set_aes_keylen(cfg, x->props.ealgo, x->aead->alg_key_len - 32)) { 447 if (set_aes_keylen(cfg, x->props.ealgo, x->ealg->alg_key_len) < 0) { 500 switch (x->props.family) { 503 cfg->src_ip[0] = ntohl(x->props.saddr.a4); 509 cfg->src_ip[i] = ntohl(x->props.saddr.a6[i]); 570 if (x->props [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 96 struct perf_open_properties props = { local 107 if (!props.engine) 110 gt = props.engine->gt; 115 props.metrics_set = oa_config->id; 126 if (i915_oa_stream_init(stream, ¶m, &props)) {
|
/linux-master/net/netfilter/ |
H A D | nft_xfrm.c | 125 state->props.family, 126 state->props.mode)) { 143 *dest = (__force __u32)state->props.saddr.a4; 146 memcpy(dest, &state->props.saddr.in6, sizeof(struct in6_addr)); 149 *dest = state->props.reqid;
|
/linux-master/drivers/regulator/ |
H A D | rpi-panel-attiny-regulator.c | 286 struct backlight_properties props = { }; local 343 props.type = BACKLIGHT_RAW; 344 props.max_brightness = 0xff; 350 &props); 356 bl->props.brightness = 0xff;
|
/linux-master/sound/pci/hda/ |
H A D | cirrus_scodec_test.c | 165 struct property_entry *props; local 172 props = kunit_kzalloc(test, sizeof(props_template), GFP_KERNEL); 173 if (!props) 176 memcpy(props, props_template, sizeof(props_template)); 177 node->properties = props;
|
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-samsung-s6e63j0x03.c | 201 bl_dev->props.brightness = brightness; 209 unsigned int brightness = bl_dev->props.brightness; 228 ctx->bl_dev->props.power = FB_BLANK_NORMAL; 248 ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; 335 ctx->bl_dev->props.power = FB_BLANK_NORMAL; 396 ctx->bl_dev->props.power = FB_BLANK_UNBLANK; 474 ctx->bl_dev->props.max_brightness = MAX_BRIGHTNESS; 475 ctx->bl_dev->props.brightness = DEFAULT_BRIGHTNESS; 476 ctx->bl_dev->props.power = FB_BLANK_POWERDOWN;
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 1333 struct kfd_iolink_properties *props = NULL, *props2 = NULL; local 1373 props = kfd_alloc_struct(props); 1374 if (!props) 1377 memcpy(props, gpu_link, sizeof(struct kfd_iolink_properties)); 1378 props->weight = gpu_link->weight + cpu_link->weight; 1379 props->min_latency = gpu_link->min_latency + cpu_link->min_latency; 1380 props->max_latency = gpu_link->max_latency + cpu_link->max_latency; 1381 props->min_bandwidth = min(gpu_link->min_bandwidth, cpu_link->min_bandwidth); 1382 props 1417 struct kfd_iolink_properties *props = NULL; local [all...] |
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-sony-acx565akm.c | 366 return dev->props.brightness; 697 struct backlight_properties props; local 755 memset(&props, 0, sizeof(props)); 756 props.power = FB_BLANK_UNBLANK; 757 props.type = BACKLIGHT_RAW; 760 ddata, &acx565akm_bl_ops, &props); 783 bldev->props.max_brightness = max_brightness; 784 bldev->props.brightness = brightness;
|
/linux-master/drivers/misc/mei/ |
H A D | main.c | 430 if (me_cl->props.fixed_address) { 444 me_cl->props.protocol_version); 446 me_cl->props.max_msg_length); 449 client->max_msg_length = me_cl->props.max_msg_length; 450 client->protocol_version = me_cl->props.protocol_version; 487 ret = me_cl->props.vt_supported ? 0 : -EOPNOTSUPP; 583 client->max_msg_length = cl->me_cl->props.max_msg_length; 584 client->protocol_version = cl->me_cl->props.protocol_version; 648 struct mei_client *props; local 676 props [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 3244 * i915_oa_stream_init - validate combined props for OA stream and init 3247 * @props: The property state that configures stream (individually validated) 3263 struct perf_open_properties *props) 3270 if (!props->engine) { 3275 g = props->engine->oa_group; 3288 if (!(props->sample_flags & SAMPLE_OA_REPORT) && 3312 if (!props->oa_format) { 3318 stream->engine = props->engine; 3323 stream->oa_buffer.format = &perf->oa_formats[props->oa_format]; 3327 stream->sample_flags = props 3261 i915_oa_stream_init(struct i915_perf_stream *stream, struct drm_i915_perf_open_param *param, struct perf_open_properties *props) argument 3824 i915_perf_open_ioctl_locked(struct i915_perf *perf, struct drm_i915_perf_open_param *param, struct perf_open_properties *props, struct drm_file *file) argument 3997 read_properties_unlocked(struct i915_perf *perf, u64 __user *uprops, u32 n_props, struct perf_open_properties *props) argument 4254 struct perf_open_properties props; local [all...] |
/linux-master/include/drm/ |
H A D | drm_property.h | 244 /* instanceof for props.. handles extended type vs original types: */ 255 const struct drm_prop_enum_list *props, 259 const struct drm_prop_enum_list *props,
|
/linux-master/net/xfrm/ |
H A D | xfrm_device.c | 30 skb->transport_header -= x->props.header_len; 32 pskb_pull(skb, skb_transport_offset(skb) + x->props.header_len); 45 pskb_pull(skb, skb->mac_len + x->props.header_len); 64 pskb_pull(skb, skb->mac_len + hsize + (x->props.header_len - phlen)); 273 saddr = &x->props.saddr; 277 daddr = &x->props.saddr; 281 x->props.family, 298 if (!is_packet_offload && x->props.flags & XFRM_STATE_ESN &&
|
H A D | xfrm_user.c | 463 static int attach_one_algo(struct xfrm_algo **algpp, u8 *props, argument 480 *props = algo->desc.sadb_alg_id; 507 x->props.ealgo = algo->desc.sadb_alg_id; 519 static int attach_auth(struct xfrm_algo_auth **algpp, u8 *props, argument 536 *props = algo->desc.sadb_alg_id; 551 static int attach_auth_trunc(struct xfrm_algo_auth **algpp, u8 *props, argument 571 *props = algo->desc.sadb_alg_id; 601 x->props.ealgo = algo->desc.sadb_alg_id; 700 x->props.mode = p->mode; 701 x->props [all...] |