props 119 arch/powerpc/kernel/traps.c struct backlight_properties *props; props 121 arch/powerpc/kernel/traps.c props = &pmac_backlight->props; props 122 arch/powerpc/kernel/traps.c props->brightness = props->max_brightness; props 123 arch/powerpc/kernel/traps.c props->power = FB_BLANK_UNBLANK; props 108 arch/powerpc/platforms/powermac/backlight.c struct backlight_properties *props; props 111 arch/powerpc/platforms/powermac/backlight.c props = &pmac_backlight->props; props 113 arch/powerpc/platforms/powermac/backlight.c brightness = props->brightness + props 115 arch/powerpc/platforms/powermac/backlight.c (props->max_brightness / 15)); props 119 arch/powerpc/platforms/powermac/backlight.c else if (brightness > props->max_brightness) props 120 arch/powerpc/platforms/powermac/backlight.c brightness = props->max_brightness; props 122 arch/powerpc/platforms/powermac/backlight.c props->brightness = brightness; props 147 arch/powerpc/platforms/powermac/backlight.c struct backlight_properties *props; props 149 arch/powerpc/platforms/powermac/backlight.c props = &pmac_backlight->props; props 150 arch/powerpc/platforms/powermac/backlight.c props->brightness = brightness * props 151 arch/powerpc/platforms/powermac/backlight.c (props->max_brightness + 1) / props 154 arch/powerpc/platforms/powermac/backlight.c if (props->brightness > props->max_brightness) props 155 arch/powerpc/platforms/powermac/backlight.c props->brightness = props->max_brightness; props 156 arch/powerpc/platforms/powermac/backlight.c else if (props->brightness < 0) props 157 arch/powerpc/platforms/powermac/backlight.c props->brightness = 0; props 196 arch/powerpc/platforms/powermac/backlight.c struct backlight_properties *props; props 198 arch/powerpc/platforms/powermac/backlight.c props = &pmac_backlight->props; props 200 arch/powerpc/platforms/powermac/backlight.c result = props->brightness * props 202 arch/powerpc/platforms/powermac/backlight.c (props->max_brightness + 1); props 246 drivers/acpi/acpi_video.c int request_level = bd->props.brightness + ACPI_VIDEO_FIRST_LEVEL; props 366 drivers/acpi/acpi_video.c device->backlight->props.brightness = props 1742 drivers/acpi/acpi_video.c struct backlight_properties props; props 1770 drivers/acpi/acpi_video.c memset(&props, 0, sizeof(struct backlight_properties)); props 1771 drivers/acpi/acpi_video.c props.type = BACKLIGHT_FIRMWARE; props 1772 drivers/acpi/acpi_video.c props.max_brightness = props 1778 drivers/acpi/acpi_video.c &props); props 1789 drivers/acpi/acpi_video.c device->backlight->props.brightness = props 327 drivers/acpi/property.c struct acpi_device_properties *props; props 329 drivers/acpi/property.c props = kzalloc(sizeof(*props), GFP_KERNEL); props 330 drivers/acpi/property.c if (props) { props 331 drivers/acpi/property.c INIT_LIST_HEAD(&props->list); props 332 drivers/acpi/property.c props->guid = guid; props 333 drivers/acpi/property.c props->properties = properties; props 334 drivers/acpi/property.c list_add_tail(&props->list, &data->properties); props 337 drivers/acpi/property.c return props; props 451 drivers/acpi/property.c struct acpi_device_properties *props, *tmp; props 457 drivers/acpi/property.c list_for_each_entry_safe(props, tmp, &adev->data.properties, list) { props 458 drivers/acpi/property.c list_del(&props->list); props 459 drivers/acpi/property.c kfree(props); props 485 drivers/acpi/property.c const struct acpi_device_properties *props; props 493 drivers/acpi/property.c list_for_each_entry(props, &data->properties, list) { props 497 drivers/acpi/property.c properties = props->properties; props 376 drivers/acpi/video_detect.c if (backlight->props.type == BACKLIGHT_RAW && props 30 drivers/acpi/x86/apple.c union acpi_object *props, *newprops; props 37 drivers/acpi/x86/apple.c props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0, props 39 drivers/acpi/x86/apple.c if (!props) props 42 drivers/acpi/x86/apple.c if (!props->buffer.length) props 45 drivers/acpi/x86/apple.c if (props->buffer.pointer[0] != 3) { props 48 drivers/acpi/x86/apple.c props->buffer.length, props->buffer.pointer); props 52 drivers/acpi/x86/apple.c ACPI_FREE(props); props 53 drivers/acpi/x86/apple.c props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1, props 55 drivers/acpi/x86/apple.c if (!props) props 58 drivers/acpi/x86/apple.c numprops = props->package.count / 2; props 68 drivers/acpi/x86/apple.c union acpi_object *key = &props->package.elements[i * 2]; props 69 drivers/acpi/x86/apple.c union acpi_object *val = &props->package.elements[i * 2 + 1]; props 103 drivers/acpi/x86/apple.c union acpi_object *key = &props->package.elements[i * 2]; props 104 drivers/acpi/x86/apple.c union acpi_object *val = &props->package.elements[i * 2 + 1]; props 136 drivers/acpi/x86/apple.c ACPI_FREE(props); props 197 drivers/auxdisplay/ht16k33.c int brightness = bl->props.brightness; props 200 drivers/auxdisplay/ht16k33.c if (bl->props.power != FB_BLANK_UNBLANK || props 201 drivers/auxdisplay/ht16k33.c bl->props.fb_blank != FB_BLANK_UNBLANK || props 202 drivers/auxdisplay/ht16k33.c bl->props.state & BL_CORE_FBBLANK || brightness == 0) { props 491 drivers/auxdisplay/ht16k33.c bl->props.brightness = dft_brightness; props 173 drivers/base/swnode.c static const void *property_entry_find(const struct property_entry *props, props 179 drivers/base/swnode.c prop = property_entry_get(props, propname); props 190 drivers/base/swnode.c static int property_entry_read_u8_array(const struct property_entry *props, props 197 drivers/base/swnode.c pointer = property_entry_find(props, propname, length); props 205 drivers/base/swnode.c static int property_entry_read_u16_array(const struct property_entry *props, props 212 drivers/base/swnode.c pointer = property_entry_find(props, propname, length); props 220 drivers/base/swnode.c static int property_entry_read_u32_array(const struct property_entry *props, props 227 drivers/base/swnode.c pointer = property_entry_find(props, propname, length); props 235 drivers/base/swnode.c static int property_entry_read_u64_array(const struct property_entry *props, props 242 drivers/base/swnode.c pointer = property_entry_find(props, propname, length); props 251 drivers/base/swnode.c property_entry_count_elems_of_size(const struct property_entry *props, props 256 drivers/base/swnode.c prop = property_entry_get(props, propname); props 263 drivers/base/swnode.c static int property_entry_read_int_array(const struct property_entry *props, props 269 drivers/base/swnode.c return property_entry_count_elems_of_size(props, name, props 273 drivers/base/swnode.c return property_entry_read_u8_array(props, name, val, nval); props 275 drivers/base/swnode.c return property_entry_read_u16_array(props, name, val, nval); props 277 drivers/base/swnode.c return property_entry_read_u32_array(props, name, val, nval); props 279 drivers/base/swnode.c return property_entry_read_u64_array(props, name, val, nval); props 285 drivers/base/swnode.c static int property_entry_read_string_array(const struct property_entry *props, props 294 drivers/base/swnode.c prop = property_entry_get(props, propname); props 300 drivers/base/swnode.c array_len = property_entry_count_elems_of_size(props, propname, props 313 drivers/base/swnode.c pointer = property_entry_find(props, propname, length); props 667 drivers/base/swnode.c struct property_entry *props; props 669 drivers/base/swnode.c props = property_entries_dup(properties); props 670 drivers/base/swnode.c if (IS_ERR(props)) props 671 drivers/base/swnode.c return PTR_ERR(props); props 673 drivers/base/swnode.c node->properties = props; props 200 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.aalgo != SADB_AALG_NONE) { props 204 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.calgo != SADB_X_CALG_NONE) { props 208 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.family != AF_INET && props 209 drivers/crypto/chelsio/chcr_ipsec.c x->props.family != AF_INET6) { props 213 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.mode != XFRM_MODE_TRANSPORT && props 214 drivers/crypto/chelsio/chcr_ipsec.c x->props.mode != XFRM_MODE_TUNNEL) { props 260 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.flags & XFRM_STATE_ESN) props 290 drivers/crypto/chelsio/chcr_ipsec.c if (x->props.family == AF_INET) { props 33 drivers/crypto/nx/nx-aes-cbc.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 37 drivers/crypto/nx/nx-aes-cbc.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192]; props 41 drivers/crypto/nx/nx-aes-cbc.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256]; props 37 drivers/crypto/nx/nx-aes-ccm.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 34 drivers/crypto/nx/nx-aes-ctr.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 38 drivers/crypto/nx/nx-aes-ctr.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192]; props 42 drivers/crypto/nx/nx-aes-ctr.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256]; props 33 drivers/crypto/nx/nx-aes-ecb.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 37 drivers/crypto/nx/nx-aes-ecb.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192]; props 41 drivers/crypto/nx/nx-aes-ecb.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256]; props 37 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 42 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_192]; props 47 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_256]; props 37 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_AES_128]; props 31 drivers/crypto/nx/nx-sha256.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_SHA256]; props 30 drivers/crypto/nx/nx-sha512.c nx_ctx->ap = &nx_ctx->props[NX_PROPS_SHA512]; props 328 drivers/crypto/nx/nx.c struct nx_of *props) props 331 drivers/crypto/nx/nx.c props->status = NX_WAITING; props 332 drivers/crypto/nx/nx.c props->flags |= NX_OF_FLAG_STATUS_SET; props 341 drivers/crypto/nx/nx.c struct nx_of *props) props 343 drivers/crypto/nx/nx.c if (p->length != sizeof(props->max_sg_len)) { props 348 drivers/crypto/nx/nx.c p->length, sizeof(props->max_sg_len)); props 352 drivers/crypto/nx/nx.c props->max_sg_len = *(u32 *)p->value; props 353 drivers/crypto/nx/nx.c props->flags |= NX_OF_FLAG_MAXSGLEN_SET; props 358 drivers/crypto/nx/nx.c struct nx_of *props) props 399 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][0].databytelen = props 401 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][0].sglen = props 405 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][1].databytelen = props 407 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][1].sglen = props 412 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][2]. props 414 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][2].sglen = props 418 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][1]. props 420 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][1].sglen = props 429 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][2].databytelen = props 431 drivers/crypto/nx/nx.c props->ap[msc->fc][msc->mode][2].sglen = props 448 drivers/crypto/nx/nx.c props->flags |= NX_OF_FLAG_MAXSYNCCOP_SET; props 462 drivers/crypto/nx/nx.c static void nx_of_init(struct device *dev, struct nx_of *props) props 471 drivers/crypto/nx/nx.c nx_of_update_status(dev, p, props); props 478 drivers/crypto/nx/nx.c nx_of_update_sglen(dev, p, props); props 485 drivers/crypto/nx/nx.c nx_of_update_msc(dev, p, props); props 490 drivers/crypto/nx/nx.c struct alg_props *props = &nx_driver.of.ap[fc][mode][slot]; props 492 drivers/crypto/nx/nx.c if (!props->sglen || props->databytelen < NX_PAGE_SIZE) { props 496 drivers/crypto/nx/nx.c props->sglen, props->databytelen); props 686 drivers/crypto/nx/nx.c memcpy(nx_ctx->props, nx_driver.of.ap[fc][mode], props 130 drivers/crypto/nx/nx.h struct alg_props props[3];/* openFirmware properties for requests */ props 39 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props; props 259 drivers/gpio/gpio-aspeed.c static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props) props 261 drivers/gpio/gpio-aspeed.c return !(props->input || props->output); props 267 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props = gpio->config->props; props 269 drivers/gpio/gpio-aspeed.c while (!is_bank_props_sentinel(props)) { props 270 drivers/gpio/gpio-aspeed.c if (props->bank == GPIO_BANK(offset)) props 271 drivers/gpio/gpio-aspeed.c return props; props 272 drivers/gpio/gpio-aspeed.c props++; props 280 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props = find_bank_props(gpio, offset); props 285 drivers/gpio/gpio-aspeed.c (!props || ((props->input | props->output) & GPIO_BIT(offset))); props 290 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props = find_bank_props(gpio, offset); props 292 drivers/gpio/gpio-aspeed.c return !props || (props->input & GPIO_BIT(offset)); props 300 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props = find_bank_props(gpio, offset); props 302 drivers/gpio/gpio-aspeed.c return !props || (props->output & GPIO_BIT(offset)); props 692 drivers/gpio/gpio-aspeed.c const struct aspeed_bank_props *props = gpio->config->props; props 694 drivers/gpio/gpio-aspeed.c while (!is_bank_props_sentinel(props)) { props 696 drivers/gpio/gpio-aspeed.c const unsigned long int input = props->input; props 700 drivers/gpio/gpio-aspeed.c unsigned int i = props->bank * 32 + offset; props 708 drivers/gpio/gpio-aspeed.c props++; props 1102 drivers/gpio/gpio-aspeed.c { .nr_gpios = 220, .props = ast2400_bank_props, }; props 1114 drivers/gpio/gpio-aspeed.c { .nr_gpios = 232, .props = ast2500_bank_props, }; props 1129 drivers/gpio/gpio-aspeed.c { .nr_gpios = 208, .props = ast2600_bank_props, }; props 128 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bd->props.brightness < 0) props 130 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c else if (bd->props.brightness > AMDGPU_MAX_BL_LEVEL) props 133 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c level = bd->props.brightness; props 171 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c struct backlight_properties props; props 196 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&props, 0, sizeof(props)); props 197 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c props.max_brightness = AMDGPU_MAX_BL_LEVEL; props 198 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c props.type = BACKLIGHT_RAW; props 202 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c pdata, &amdgpu_atombios_encoder_backlight_ops, &props); props 215 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bd->props.brightness = amdgpu_atombios_encoder_get_backlight_brightness(bd); props 216 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bd->props.power = FB_BLANK_UNBLANK; props 201 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct kfd_mem_properties *props; props 203 drivers/gpu/drm/amd/amdkfd/kfd_crat.c list_for_each_entry(props, &dev->mem_props, list) { props 204 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (props->heap_type == heap_type props 205 drivers/gpu/drm/amd/amdkfd/kfd_crat.c && props->flags == flags props 206 drivers/gpu/drm/amd/amdkfd/kfd_crat.c && props->width == width) props 207 drivers/gpu/drm/amd/amdkfd/kfd_crat.c return props; props 218 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct kfd_mem_properties *props; props 256 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props = find_subtype_mem(heap_type, flags, width, dev); props 257 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (props) { props 258 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->size_in_bytes += size_in_bytes; props 262 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props = kfd_alloc_struct(props); props 263 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!props) props 266 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->heap_type = heap_type; props 267 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->flags = flags; props 268 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->size_in_bytes = size_in_bytes; props 269 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->width = width; props 272 drivers/gpu/drm/amd/amdkfd/kfd_crat.c list_add_tail(&props->list, &dev->mem_props); props 287 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct kfd_cache_properties *props; props 313 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props = kfd_alloc_struct(props); props 314 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!props) props 317 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->processor_id_low = id; props 318 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_level = cache->cache_level; props 319 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_size = cache->cache_size; props 320 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cacheline_size = cache->cache_line_size; props 321 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cachelines_per_tag = cache->lines_per_tag; props 322 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_assoc = cache->associativity; props 323 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_latency = cache->cache_latency; props 324 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(props->sibling_map, cache->sibling_map, props 325 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sizeof(props->sibling_map)); props 328 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_type |= HSA_CACHE_TYPE_DATA; props 330 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; props 332 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_type |= HSA_CACHE_TYPE_CPU; props 334 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->cache_type |= HSA_CACHE_TYPE_HSACU; props 338 drivers/gpu/drm/amd/amdkfd/kfd_crat.c list_add_tail(&props->list, &dev->cache_props); props 353 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct kfd_iolink_properties *props = NULL, *props2; props 365 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props = kfd_alloc_struct(props); props 366 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!props) props 369 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->node_from = id_from; props 370 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->node_to = id_to; props 371 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->ver_maj = iolink->version_major; props 372 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->ver_min = iolink->version_minor; props 373 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->iolink_type = iolink->io_interface_type; props 375 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (props->iolink_type == CRAT_IOLINK_TYPE_PCIEXPRESS) props 376 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = 20; props 377 drivers/gpu/drm/amd/amdkfd/kfd_crat.c else if (props->iolink_type == CRAT_IOLINK_TYPE_XGMI) props 378 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = 15 * iolink->num_hops_xgmi; props 380 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = node_distance(id_from, id_to); props 382 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->min_latency = iolink->minimum_latency; props 383 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->max_latency = iolink->maximum_latency; props 384 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->min_bandwidth = iolink->minimum_bandwidth_mbs; props 385 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->max_bandwidth = iolink->maximum_bandwidth_mbs; props 386 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->rec_transfer_size = props 391 drivers/gpu/drm/amd/amdkfd/kfd_crat.c list_add_tail(&props->list, &dev->io_link_props); props 404 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (props && (iolink->flags & CRAT_IOLINK_FLAGS_BI_DIRECTIONAL)) { props 409 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props2 = kmemdup(props, sizeof(*props2), GFP_KERNEL); props 343 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c struct kfd_perf_properties *props; props 351 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c props = kfd_alloc_struct(props); props 352 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c if (!props) props 354 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c strcpy(props->block_name, "iommu"); props 355 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c props->max_concurrent = amd_iommu_pc_get_max_banks(0) * props 357 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c list_add_tail(&props->list, &kdev->perf_props); props 2088 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c uint32_t brightness = bd->props.brightness; props 2121 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c return bd->props.brightness; props 2135 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct backlight_properties props = { 0 }; props 2139 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c props.max_brightness = AMDGPU_MAX_BL_LEVEL; props 2140 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c props.brightness = AMDGPU_MAX_BL_LEVEL; props 2141 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c props.type = BACKLIGHT_RAW; props 2150 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &props); props 287 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness); props 333 drivers/gpu/drm/bridge/parade-ps8622.c int ret, brightness = bl->props.brightness; props 335 drivers/gpu/drm/bridge/parade-ps8622.c if (bl->props.power != FB_BLANK_UNBLANK || props 336 drivers/gpu/drm/bridge/parade-ps8622.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 586 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.max_brightness = PS8622_MAX_BRIGHTNESS; props 587 drivers/gpu/drm/bridge/parade-ps8622.c ps8622->bl->props.brightness = PS8622_MAX_BRIGHTNESS; props 256 drivers/gpu/drm/drm_blend.c static const struct drm_prop_enum_list props[] = { props 271 drivers/gpu/drm/drm_blend.c props, ARRAY_SIZE(props), props 557 drivers/gpu/drm/drm_blend.c static const struct drm_prop_enum_list props[] = { props 577 drivers/gpu/drm/drm_blend.c for (i = 0; i < ARRAY_SIZE(props); i++) { props 580 drivers/gpu/drm/drm_blend.c if (!(BIT(props[i].type) & supported_modes)) props 583 drivers/gpu/drm/drm_blend.c ret = drm_property_add_enum(prop, props[i].type, props 584 drivers/gpu/drm/drm_blend.c props[i].name); props 164 drivers/gpu/drm/drm_property.c const struct drm_prop_enum_list *props, props 178 drivers/gpu/drm/drm_property.c props[i].type, props 179 drivers/gpu/drm/drm_property.c props[i].name); props 212 drivers/gpu/drm/drm_property.c const struct drm_prop_enum_list *props, props 226 drivers/gpu/drm/drm_property.c if (!(supported_bits & (1ULL << props[i].type))) props 230 drivers/gpu/drm/drm_property.c props[i].type, props 231 drivers/gpu/drm/drm_property.c props[i].name); props 30 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = dev_priv->backlight_level; props 42 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = 0; props 54 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = v; props 76 drivers/gpu/drm/gma500/backlight.c dev_priv->backlight_device->props.brightness = 0; props 114 drivers/gpu/drm/gma500/cdv_device.c int level = bd->props.brightness; props 148 drivers/gpu/drm/gma500/cdv_device.c struct backlight_properties props; props 150 drivers/gpu/drm/gma500/cdv_device.c memset(&props, 0, sizeof(struct backlight_properties)); props 151 drivers/gpu/drm/gma500/cdv_device.c props.max_brightness = 100; props 152 drivers/gpu/drm/gma500/cdv_device.c props.type = BACKLIGHT_PLATFORM; props 155 drivers/gpu/drm/gma500/cdv_device.c NULL, (void *)dev, &cdv_ops, &props); props 159 drivers/gpu/drm/gma500/cdv_device.c cdv_backlight_device->props.brightness = props 45 drivers/gpu/drm/gma500/mdfld_device.c int level = bd->props.brightness; props 116 drivers/gpu/drm/gma500/mdfld_device.c struct backlight_properties props; props 119 drivers/gpu/drm/gma500/mdfld_device.c memset(&props, 0, sizeof(struct backlight_properties)); props 120 drivers/gpu/drm/gma500/mdfld_device.c props.max_brightness = BRIGHTNESS_MAX_LEVEL; props 121 drivers/gpu/drm/gma500/mdfld_device.c props.type = BACKLIGHT_PLATFORM; props 123 drivers/gpu/drm/gma500/mdfld_device.c NULL, (void *)dev, &mdfld_ops, &props); props 132 drivers/gpu/drm/gma500/mdfld_device.c mdfld_backlight_device->props.brightness = BRIGHTNESS_MAX_LEVEL; props 133 drivers/gpu/drm/gma500/mdfld_device.c mdfld_backlight_device->props.max_brightness = BRIGHTNESS_MAX_LEVEL; props 58 drivers/gpu/drm/gma500/oaktrail_device.c int level = bd->props.brightness; props 141 drivers/gpu/drm/gma500/oaktrail_device.c struct backlight_properties props; props 143 drivers/gpu/drm/gma500/oaktrail_device.c memset(&props, 0, sizeof(struct backlight_properties)); props 144 drivers/gpu/drm/gma500/oaktrail_device.c props.max_brightness = 100; props 145 drivers/gpu/drm/gma500/oaktrail_device.c props.type = BACKLIGHT_PLATFORM; props 148 drivers/gpu/drm/gma500/oaktrail_device.c NULL, (void *)dev, &oaktrail_ops, &props); props 158 drivers/gpu/drm/gma500/oaktrail_device.c oaktrail_backlight_device->props.brightness = 100; props 159 drivers/gpu/drm/gma500/oaktrail_device.c oaktrail_backlight_device->props.max_brightness = 100; props 166 drivers/gpu/drm/gma500/opregion.c gma_backlight_set(dev, bclp * bd->props.max_brightness / 255); props 95 drivers/gpu/drm/gma500/psb_device.c int level = bd->props.brightness; props 115 drivers/gpu/drm/gma500/psb_device.c struct backlight_properties props; props 117 drivers/gpu/drm/gma500/psb_device.c memset(&props, 0, sizeof(struct backlight_properties)); props 118 drivers/gpu/drm/gma500/psb_device.c props.max_brightness = 100; props 119 drivers/gpu/drm/gma500/psb_device.c props.type = BACKLIGHT_PLATFORM; props 122 drivers/gpu/drm/gma500/psb_device.c NULL, (void *)dev, &psb_ops, &props); props 132 drivers/gpu/drm/gma500/psb_device.c psb_backlight_device->props.brightness = 100; props 133 drivers/gpu/drm/gma500/psb_device.c psb_backlight_device->props.max_brightness = 100; props 404 drivers/gpu/drm/gma500/psb_drv.c bd->props.brightness = bd->ops->get_brightness(bd); props 718 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.brightness = props 721 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.max_brightness); props 867 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.power = FB_BLANK_POWERDOWN; props 1174 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.brightness = props 1177 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.max_brightness); props 1183 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.power = FB_BLANK_UNBLANK; props 1259 drivers/gpu/drm/i915/display/intel_panel.c bd->props.brightness, bd->props.max_brightness); props 1260 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_set_backlight(connector->base.state, bd->props.brightness, props 1261 drivers/gpu/drm/i915/display/intel_panel.c bd->props.max_brightness); props 1271 drivers/gpu/drm/i915/display/intel_panel.c bool enable = bd->props.power == FB_BLANK_UNBLANK && props 1272 drivers/gpu/drm/i915/display/intel_panel.c bd->props.brightness != 0; props 1276 drivers/gpu/drm/i915/display/intel_panel.c bd->props.power = FB_BLANK_POWERDOWN; props 1298 drivers/gpu/drm/i915/display/intel_panel.c hw_level, bd->props.max_brightness); props 1314 drivers/gpu/drm/i915/display/intel_panel.c struct backlight_properties props; props 1324 drivers/gpu/drm/i915/display/intel_panel.c memset(&props, 0, sizeof(props)); props 1325 drivers/gpu/drm/i915/display/intel_panel.c props.type = BACKLIGHT_RAW; props 1331 drivers/gpu/drm/i915/display/intel_panel.c props.max_brightness = panel->backlight.max; props 1332 drivers/gpu/drm/i915/display/intel_panel.c props.brightness = scale_hw_to_user(connector, props 1334 drivers/gpu/drm/i915/display/intel_panel.c props.max_brightness); props 1337 drivers/gpu/drm/i915/display/intel_panel.c props.power = FB_BLANK_UNBLANK; props 1339 drivers/gpu/drm/i915/display/intel_panel.c props.power = FB_BLANK_POWERDOWN; props 1349 drivers/gpu/drm/i915/display/intel_panel.c &intel_backlight_device_ops, &props); props 2167 drivers/gpu/drm/i915/i915_perf.c struct perf_open_properties *props) props 2182 drivers/gpu/drm/i915/i915_perf.c if (!(props->sample_flags & SAMPLE_OA_REPORT)) { props 2201 drivers/gpu/drm/i915/i915_perf.c if (!props->oa_format) { props 2208 drivers/gpu/drm/i915/i915_perf.c format_size = dev_priv->perf.oa_formats[props->oa_format].size; props 2218 drivers/gpu/drm/i915/i915_perf.c dev_priv->perf.oa_formats[props->oa_format].format; props 2220 drivers/gpu/drm/i915/i915_perf.c stream->periodic = props->oa_periodic; props 2222 drivers/gpu/drm/i915/i915_perf.c stream->period_exponent = props->oa_period_exponent; props 2232 drivers/gpu/drm/i915/i915_perf.c ret = get_oa_config(dev_priv, props->metrics_set, &stream->oa_config); props 2234 drivers/gpu/drm/i915/i915_perf.c DRM_DEBUG("Invalid OA config id=%i\n", props->metrics_set); props 2708 drivers/gpu/drm/i915/i915_perf.c struct perf_open_properties *props, props 2718 drivers/gpu/drm/i915/i915_perf.c if (props->single_context) { props 2719 drivers/gpu/drm/i915/i915_perf.c u32 ctx_handle = props->ctx_handle; props 2769 drivers/gpu/drm/i915/i915_perf.c ret = i915_oa_stream_init(stream, param, props); props 2777 drivers/gpu/drm/i915/i915_perf.c if (WARN_ON(stream->sample_flags != props->sample_flags)) { props 2843 drivers/gpu/drm/i915/i915_perf.c struct perf_open_properties *props) props 2848 drivers/gpu/drm/i915/i915_perf.c memset(props, 0, sizeof(struct perf_open_properties)); props 2886 drivers/gpu/drm/i915/i915_perf.c props->single_context = 1; props 2887 drivers/gpu/drm/i915/i915_perf.c props->ctx_handle = value; props 2891 drivers/gpu/drm/i915/i915_perf.c props->sample_flags |= SAMPLE_OA_REPORT; props 2898 drivers/gpu/drm/i915/i915_perf.c props->metrics_set = value; props 2911 drivers/gpu/drm/i915/i915_perf.c props->oa_format = value; props 2949 drivers/gpu/drm/i915/i915_perf.c props->oa_periodic = true; props 2950 drivers/gpu/drm/i915/i915_perf.c props->oa_period_exponent = value; props 2992 drivers/gpu/drm/i915/i915_perf.c struct perf_open_properties props; props 3012 drivers/gpu/drm/i915/i915_perf.c &props); props 3017 drivers/gpu/drm/i915/i915_perf.c ret = i915_perf_open_ioctl_locked(dev_priv, param, &props, file); props 48 drivers/gpu/drm/nouveau/dispnv04/overlay.c } props; props 249 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (property == nv_plane->props.colorkey) props 251 drivers/gpu/drm/nouveau/dispnv04/overlay.c else if (property == nv_plane->props.contrast) props 253 drivers/gpu/drm/nouveau/dispnv04/overlay.c else if (property == nv_plane->props.brightness) props 255 drivers/gpu/drm/nouveau/dispnv04/overlay.c else if (property == nv_plane->props.hue) props 257 drivers/gpu/drm/nouveau/dispnv04/overlay.c else if (property == nv_plane->props.saturation) props 304 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.colorkey = drm_property_create_range( props 306 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.contrast = drm_property_create_range( props 308 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness = drm_property_create_range( props 310 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.hue = drm_property_create_range( props 312 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.saturation = drm_property_create_range( props 314 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (!plane->props.colorkey || props 315 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.contrast || props 316 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.brightness || props 317 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.hue || props 318 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.saturation) props 323 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.colorkey, plane->colorkey); props 327 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.contrast, plane->contrast); props 331 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness, plane->brightness); props 335 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.hue, plane->hue); props 339 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.saturation, plane->saturation); props 482 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.colorkey = drm_property_create_range( props 484 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness = drm_property_create_range( props 486 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (!plane->props.colorkey || props 487 drivers/gpu/drm/nouveau/dispnv04/overlay.c !plane->props.brightness) props 492 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.colorkey, plane->colorkey); props 496 drivers/gpu/drm/nouveau/dispnv04/overlay.c plane->props.brightness, plane->brightness); props 83 drivers/gpu/drm/nouveau/nouveau_backlight.c int val = bd->props.brightness; props 100 drivers/gpu/drm/nouveau/nouveau_backlight.c struct backlight_properties *props, props 109 drivers/gpu/drm/nouveau/nouveau_backlight.c props->type = BACKLIGHT_RAW; props 110 drivers/gpu/drm/nouveau/nouveau_backlight.c props->max_brightness = 31; props 138 drivers/gpu/drm/nouveau/nouveau_backlight.c u32 val = (bd->props.brightness * div) / 100; props 179 drivers/gpu/drm/nouveau/nouveau_backlight.c val = (bd->props.brightness * div) / 100; props 199 drivers/gpu/drm/nouveau/nouveau_backlight.c struct backlight_properties *props, props 215 drivers/gpu/drm/nouveau/nouveau_backlight.c props->type = BACKLIGHT_RAW; props 216 drivers/gpu/drm/nouveau/nouveau_backlight.c props->max_brightness = 100; props 229 drivers/gpu/drm/nouveau/nouveau_backlight.c struct backlight_properties props = {0}; props 250 drivers/gpu/drm/nouveau/nouveau_backlight.c ret = nv40_backlight_init(nv_encoder, &props, &ops); props 259 drivers/gpu/drm/nouveau/nouveau_backlight.c ret = nv50_backlight_init(nv_encoder, &props, &ops); props 280 drivers/gpu/drm/nouveau/nouveau_backlight.c nv_encoder, ops, &props); props 289 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->dev->props.brightness = bl->dev->ops->get_brightness(bl->dev); props 114 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.fb_blank = FB_BLANK_UNBLANK; props 115 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.state = ~(BL_CORE_FBBLANK | BL_CORE_SUSPENDED); props 116 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.power = FB_BLANK_UNBLANK; props 118 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.fb_blank = FB_BLANK_NORMAL; props 119 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.power = FB_BLANK_POWERDOWN; props 120 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.state |= BL_CORE_FBBLANK | BL_CORE_SUSPENDED; props 368 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 369 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) props 370 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c level = dev->props.brightness; props 395 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 396 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) props 397 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c return dev->props.brightness; props 1308 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c struct backlight_properties props = { 0 }; props 1309 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c props.max_brightness = 255; props 1310 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c props.type = BACKLIGHT_RAW; props 1313 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev, ddata, &dsicm_bl_ops, &props); props 331 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c u16 brightness = bl->props.brightness; props 351 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); props 369 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c struct backlight_properties props; props 371 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c memset(&props, 0, sizeof(props)); props 372 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c props.type = BACKLIGHT_RAW; props 373 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c props.brightness = 255; props 374 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c props.max_brightness = 255; props 377 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c &dsi_bl_ops, &props); props 54 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.power = FB_BLANK_POWERDOWN; props 55 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.state |= BL_CORE_FBBLANK; props 101 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.state &= ~BL_CORE_FBBLANK; props 102 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.power = FB_BLANK_UNBLANK; props 397 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c if (bd->props.power <= FB_BLANK_NORMAL) { props 403 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c data[1] = bd->props.brightness; props 472 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.max_brightness = OTM8009A_BACKLIGHT_MAX; props 473 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.brightness = OTM8009A_BACKLIGHT_DEFAULT; props 474 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; props 475 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.type = BACKLIGHT_RAW; props 66 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.power = FB_BLANK_POWERDOWN; props 67 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.state |= BL_CORE_FBBLANK; props 146 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.power = FB_BLANK_UNBLANK; props 147 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.state &= ~BL_CORE_FBBLANK; props 482 drivers/gpu/drm/panel/panel-raydium-rm67191.c bl->props.brightness = brightness; props 498 drivers/gpu/drm/panel/panel-raydium-rm67191.c ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); props 413 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c return bl_dev->props.brightness; props 419 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int brightness = bl_dev->props.brightness; props 445 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c bl_dev->props.brightness = brightness; props 453 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int brightness = bl_dev->props.brightness; props 457 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c brightness > bl_dev->props.max_brightness) { props 462 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c if (bl_dev->props.power > FB_BLANK_NORMAL) props 512 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; props 558 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; props 605 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_UNBLANK; props 731 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.max_brightness = S6E3HA2_MAX_BRIGHTNESS; props 732 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.brightness = S6E3HA2_DEFAULT_BRIGHTNESS; props 733 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; props 203 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c bl_dev->props.brightness = brightness; props 211 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int brightness = bl_dev->props.brightness; props 230 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; props 250 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; props 337 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; props 398 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_UNBLANK; props 480 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.max_brightness = MAX_BRIGHTNESS; props 481 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.brightness = DEFAULT_BRIGHTNESS; props 482 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; props 398 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c int brightness = bd->props.brightness; props 416 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c struct backlight_properties props = { props 426 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c &props); props 132 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.power = FB_BLANK_POWERDOWN; props 133 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.state |= BL_CORE_FBBLANK; props 201 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.state &= ~BL_CORE_FBBLANK; props 202 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.power = FB_BLANK_UNBLANK; props 239 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.power = FB_BLANK_POWERDOWN; props 240 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.state |= BL_CORE_FBBLANK; props 310 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.state &= ~BL_CORE_FBBLANK; props 311 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.power = FB_BLANK_UNBLANK; props 327 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.state &= ~BL_CORE_FBBLANK; props 328 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.power = FB_BLANK_UNBLANK; props 343 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.power = FB_BLANK_POWERDOWN; props 344 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.state |= BL_CORE_FBBLANK; props 303 drivers/gpu/drm/panel/panel-sony-acx565akm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 304 drivers/gpu/drm/panel/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) props 305 drivers/gpu/drm/panel/panel-sony-acx565akm.c level = dev->props.brightness; props 333 drivers/gpu/drm/panel/panel-sony-acx565akm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 334 drivers/gpu/drm/panel/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) props 351 drivers/gpu/drm/panel/panel-sony-acx565akm.c struct backlight_properties props = { props 360 drivers/gpu/drm/panel/panel-sony-acx565akm.c &props); props 380 drivers/gpu/drm/panel/panel-sony-acx565akm.c lcd->backlight->props.max_brightness = 255; props 381 drivers/gpu/drm/panel/panel-sony-acx565akm.c lcd->backlight->props.brightness = acx565akm_get_actual_brightness(lcd); props 150 drivers/gpu/drm/radeon/atombios_encoders.c if (bd->props.brightness < 0) props 152 drivers/gpu/drm/radeon/atombios_encoders.c else if (bd->props.brightness > RADEON_MAX_BL_LEVEL) props 155 drivers/gpu/drm/radeon/atombios_encoders.c level = bd->props.brightness; props 191 drivers/gpu/drm/radeon/atombios_encoders.c struct backlight_properties props; props 218 drivers/gpu/drm/radeon/atombios_encoders.c memset(&props, 0, sizeof(props)); props 219 drivers/gpu/drm/radeon/atombios_encoders.c props.max_brightness = RADEON_MAX_BL_LEVEL; props 220 drivers/gpu/drm/radeon/atombios_encoders.c props.type = BACKLIGHT_RAW; props 224 drivers/gpu/drm/radeon/atombios_encoders.c pdata, &radeon_atom_backlight_ops, &props); props 235 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.brightness = radeon_atom_backlight_get_brightness(bd); props 241 drivers/gpu/drm/radeon/atombios_encoders.c if (bd->props.brightness == 0) props 242 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.brightness = RADEON_MAX_BL_LEVEL; props 243 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.power = FB_BLANK_UNBLANK; props 328 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (bd->props.brightness < 0) props 330 drivers/gpu/drm/radeon/radeon_legacy_encoders.c else if (bd->props.brightness > RADEON_MAX_BL_LEVEL) props 333 drivers/gpu/drm/radeon/radeon_legacy_encoders.c level = bd->props.brightness; props 377 drivers/gpu/drm/radeon/radeon_legacy_encoders.c struct backlight_properties props; props 397 drivers/gpu/drm/radeon/radeon_legacy_encoders.c memset(&props, 0, sizeof(props)); props 398 drivers/gpu/drm/radeon/radeon_legacy_encoders.c props.max_brightness = RADEON_MAX_BL_LEVEL; props 399 drivers/gpu/drm/radeon/radeon_legacy_encoders.c props.type = BACKLIGHT_RAW; props 403 drivers/gpu/drm/radeon/radeon_legacy_encoders.c pdata, &radeon_backlight_ops, &props); props 446 drivers/gpu/drm/radeon/radeon_legacy_encoders.c bd->props.brightness = radeon_legacy_backlight_get_brightness(bd); props 447 drivers/gpu/drm/radeon/radeon_legacy_encoders.c bd->props.power = FB_BLANK_UNBLANK; props 92 drivers/gpu/drm/rcar-du/rcar_du_drv.h } props; props 533 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcdu->props.colorkey = props 536 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (rcdu->props.colorkey == NULL) props 705 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (property == rcdu->props.colorkey) props 721 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (property == rcdu->props.colorkey) props 792 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcdu->props.colorkey, props 21 drivers/gpu/drm/shmobile/shmob_drm_backlight.c int brightness = bdev->props.brightness; props 23 drivers/gpu/drm/shmobile/shmob_drm_backlight.c if (bdev->props.power != FB_BLANK_UNBLANK || props 24 drivers/gpu/drm/shmobile/shmob_drm_backlight.c bdev->props.state & BL_CORE_SUSPENDED) props 50 drivers/gpu/drm/shmobile/shmob_drm_backlight.c scon->backlight->props.power = mode == DRM_MODE_DPMS_ON props 74 drivers/gpu/drm/shmobile/shmob_drm_backlight.c backlight->props.max_brightness = bdata->max_brightness; props 75 drivers/gpu/drm/shmobile/shmob_drm_backlight.c backlight->props.brightness = bdata->max_brightness; props 76 drivers/gpu/drm/shmobile/shmob_drm_backlight.c backlight->props.power = FB_BLANK_POWERDOWN; props 50 drivers/gpu/drm/tilcdc/tilcdc_panel.c backlight->props.power = mode == DRM_MODE_DPMS_ON ? props 32 drivers/hid/hid-picolcd_backlight.c data->lcd_brightness = bdev->props.brightness & 0x0ff; props 33 drivers/hid/hid-picolcd_backlight.c data->lcd_power = bdev->props.power; props 57 drivers/hid/hid-picolcd_backlight.c struct backlight_properties props; props 66 drivers/hid/hid-picolcd_backlight.c memset(&props, 0, sizeof(props)); props 67 drivers/hid/hid-picolcd_backlight.c props.type = BACKLIGHT_RAW; props 68 drivers/hid/hid-picolcd_backlight.c props.max_brightness = 0xff; props 70 drivers/hid/hid-picolcd_backlight.c &picolcd_blops, &props); props 75 drivers/hid/hid-picolcd_backlight.c bdev->props.brightness = 0xff; props 104 drivers/hid/hid-picolcd_backlight.c data->backlight->props.power = FB_BLANK_POWERDOWN; props 106 drivers/hid/hid-picolcd_backlight.c data->lcd_power = data->backlight->props.power = bl_power; props 73 drivers/hid/hid-picolcd_lcd.c ldev->props.max_contrast = 0x0ff; props 133 drivers/hid/intel-ish-hid/ishtp/bus.c if (guid_equal(uuid, &dev->fw_clients[i].props.protocol_name)) props 158 drivers/hid/intel-ish-hid/ishtp/bus.c if (i < 0 || dev->fw_clients[i].props.fixed_address) props 244 drivers/hid/intel-ish-hid/ishtp/bus.c &device->fw_client->props.protocol_name); props 678 drivers/hid/intel-ish-hid/ishtp/bus.c device_uuid = dev->fw_clients[i].props.protocol_name; props 21 drivers/hid/intel-ish-hid/ishtp/client-buffers.c size_t len = cl->device->fw_client->props.max_msg_length; props 59 drivers/hid/intel-ish-hid/ishtp/client-buffers.c size_t len = cl->device->fw_client->props.max_msg_length; props 22 drivers/hid/intel-ish-hid/ishtp/client.c size = cl->tx_ring_free_size * cl->device->fw_client->props.max_msg_length; props 558 drivers/hid/intel-ish-hid/ishtp/client.c if (length > dev->fw_clients[id].props.max_msg_length) { props 628 drivers/hid/intel-ish-hid/ishtp/hbm.c fw_client->props = props_res->client_properties; props 70 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h struct ishtp_client_properties props; props 212 drivers/i2c/muxes/i2c-demux-pinctrl.c struct property *props; props 224 drivers/i2c/muxes/i2c-demux-pinctrl.c props = devm_kcalloc(&pdev->dev, num_chan, sizeof(*props), GFP_KERNEL); props 226 drivers/i2c/muxes/i2c-demux-pinctrl.c if (!priv || !props) props 244 drivers/i2c/muxes/i2c-demux-pinctrl.c props[i].name = devm_kstrdup(&pdev->dev, "status", GFP_KERNEL); props 245 drivers/i2c/muxes/i2c-demux-pinctrl.c props[i].value = devm_kstrdup(&pdev->dev, "ok", GFP_KERNEL); props 246 drivers/i2c/muxes/i2c-demux-pinctrl.c props[i].length = 3; props 249 drivers/i2c/muxes/i2c-demux-pinctrl.c of_changeset_update_property(&priv->chan[i].chgset, adap_np, &props[i]); props 24 drivers/iio/afe/iio-rescale.c int (*props)(struct device *dev, struct rescale *rescale); props 244 drivers/iio/afe/iio-rescale.c .props = rescale_current_sense_amplifier_props, props 248 drivers/iio/afe/iio-rescale.c .props = rescale_current_sense_shunt_props, props 252 drivers/iio/afe/iio-rescale.c .props = rescale_voltage_divider_props, props 303 drivers/iio/afe/iio-rescale.c ret = rescale->cfg->props(dev, rescale); props 1067 drivers/infiniband/core/user_mad.c struct ib_port_modify props = { props 1091 drivers/infiniband/core/user_mad.c ret = ib_modify_port(port->ib_dev, port->port_num, 0, &props); props 1110 drivers/infiniband/core/user_mad.c struct ib_port_modify props = { props 1117 drivers/infiniband/core/user_mad.c ret = ib_modify_port(port->ib_dev, port->port_num, 0, &props); props 954 drivers/infiniband/hw/cxgb3/iwch_provider.c static int iwch_query_device(struct ib_device *ibdev, struct ib_device_attr *props, props 966 drivers/infiniband/hw/cxgb3/iwch_provider.c memcpy(&props->sys_image_guid, dev->rdev.t3cdev_p->lldev->dev_addr, 6); props 967 drivers/infiniband/hw/cxgb3/iwch_provider.c props->hw_ver = dev->rdev.t3cdev_p->type; props 968 drivers/infiniband/hw/cxgb3/iwch_provider.c props->fw_ver = fw_vers_string_to_u64(dev); props 969 drivers/infiniband/hw/cxgb3/iwch_provider.c props->device_cap_flags = dev->device_cap_flags; props 970 drivers/infiniband/hw/cxgb3/iwch_provider.c props->page_size_cap = dev->attr.mem_pgsizes_bitmask; props 971 drivers/infiniband/hw/cxgb3/iwch_provider.c props->vendor_id = (u32)dev->rdev.rnic_info.pdev->vendor; props 972 drivers/infiniband/hw/cxgb3/iwch_provider.c props->vendor_part_id = (u32)dev->rdev.rnic_info.pdev->device; props 973 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_mr_size = dev->attr.max_mr_size; props 974 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_qp = dev->attr.max_qps; props 975 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_qp_wr = dev->attr.max_wrs; props 976 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_send_sge = dev->attr.max_sge_per_wr; props 977 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_recv_sge = dev->attr.max_sge_per_wr; props 978 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_sge_rd = 1; props 979 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_qp_rd_atom = dev->attr.max_rdma_reads_per_qp; props 980 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_qp_init_rd_atom = dev->attr.max_rdma_reads_per_qp; props 981 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_cq = dev->attr.max_cqs; props 982 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_cqe = dev->attr.max_cqes_per_cq; props 983 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_mr = dev->attr.max_mem_regs; props 984 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_pd = dev->attr.max_pds; props 985 drivers/infiniband/hw/cxgb3/iwch_provider.c props->local_ca_ack_delay = 0; props 986 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_fast_reg_page_list_len = T3_MAX_FASTREG_DEPTH; props 992 drivers/infiniband/hw/cxgb3/iwch_provider.c u8 port, struct ib_port_attr *props) props 996 drivers/infiniband/hw/cxgb3/iwch_provider.c props->port_cap_flags = props 1002 drivers/infiniband/hw/cxgb3/iwch_provider.c props->gid_tbl_len = 1; props 1003 drivers/infiniband/hw/cxgb3/iwch_provider.c props->pkey_tbl_len = 1; props 1004 drivers/infiniband/hw/cxgb3/iwch_provider.c props->active_width = 2; props 1005 drivers/infiniband/hw/cxgb3/iwch_provider.c props->active_speed = IB_SPEED_DDR; props 1006 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_msg_sz = -1; props 262 drivers/infiniband/hw/cxgb4/provider.c static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, props 274 drivers/infiniband/hw/cxgb4/provider.c memcpy(&props->sys_image_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); props 275 drivers/infiniband/hw/cxgb4/provider.c props->hw_ver = CHELSIO_CHIP_RELEASE(dev->rdev.lldi.adapter_type); props 276 drivers/infiniband/hw/cxgb4/provider.c props->fw_ver = dev->rdev.lldi.fw_vers; props 277 drivers/infiniband/hw/cxgb4/provider.c props->device_cap_flags = dev->device_cap_flags; props 278 drivers/infiniband/hw/cxgb4/provider.c props->page_size_cap = T4_PAGESIZE_MASK; props 279 drivers/infiniband/hw/cxgb4/provider.c props->vendor_id = (u32)dev->rdev.lldi.pdev->vendor; props 280 drivers/infiniband/hw/cxgb4/provider.c props->vendor_part_id = (u32)dev->rdev.lldi.pdev->device; props 281 drivers/infiniband/hw/cxgb4/provider.c props->max_mr_size = T4_MAX_MR_SIZE; props 282 drivers/infiniband/hw/cxgb4/provider.c props->max_qp = dev->rdev.lldi.vr->qp.size / 2; props 283 drivers/infiniband/hw/cxgb4/provider.c props->max_srq = dev->rdev.lldi.vr->srq.size; props 284 drivers/infiniband/hw/cxgb4/provider.c props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; props 285 drivers/infiniband/hw/cxgb4/provider.c props->max_srq_wr = dev->rdev.hw_queue.t4_max_qp_depth; props 286 drivers/infiniband/hw/cxgb4/provider.c props->max_send_sge = min(T4_MAX_SEND_SGE, T4_MAX_WRITE_SGE); props 287 drivers/infiniband/hw/cxgb4/provider.c props->max_recv_sge = T4_MAX_RECV_SGE; props 288 drivers/infiniband/hw/cxgb4/provider.c props->max_srq_sge = T4_MAX_RECV_SGE; props 289 drivers/infiniband/hw/cxgb4/provider.c props->max_sge_rd = 1; props 290 drivers/infiniband/hw/cxgb4/provider.c props->max_res_rd_atom = dev->rdev.lldi.max_ird_adapter; props 291 drivers/infiniband/hw/cxgb4/provider.c props->max_qp_rd_atom = min(dev->rdev.lldi.max_ordird_qp, props 293 drivers/infiniband/hw/cxgb4/provider.c props->max_qp_init_rd_atom = props->max_qp_rd_atom; props 294 drivers/infiniband/hw/cxgb4/provider.c props->max_cq = dev->rdev.lldi.vr->qp.size; props 295 drivers/infiniband/hw/cxgb4/provider.c props->max_cqe = dev->rdev.hw_queue.t4_max_cq_depth; props 296 drivers/infiniband/hw/cxgb4/provider.c props->max_mr = c4iw_num_stags(&dev->rdev); props 297 drivers/infiniband/hw/cxgb4/provider.c props->max_pd = T4_MAX_NUM_PD; props 298 drivers/infiniband/hw/cxgb4/provider.c props->local_ca_ack_delay = 0; props 299 drivers/infiniband/hw/cxgb4/provider.c props->max_fast_reg_page_list_len = props 306 drivers/infiniband/hw/cxgb4/provider.c struct ib_port_attr *props) props 310 drivers/infiniband/hw/cxgb4/provider.c props->port_cap_flags = props 316 drivers/infiniband/hw/cxgb4/provider.c props->gid_tbl_len = 1; props 317 drivers/infiniband/hw/cxgb4/provider.c props->pkey_tbl_len = 1; props 318 drivers/infiniband/hw/cxgb4/provider.c props->active_width = 2; props 319 drivers/infiniband/hw/cxgb4/provider.c props->active_speed = IB_SPEED_DDR; props 320 drivers/infiniband/hw/cxgb4/provider.c props->max_msg_sz = -1; props 120 drivers/infiniband/hw/efa/efa.h struct ib_device_attr *props, props 123 drivers/infiniband/hw/efa/efa.h struct ib_port_attr *props); props 276 drivers/infiniband/hw/efa/efa_verbs.c struct ib_device_attr *props, props 293 drivers/infiniband/hw/efa/efa_verbs.c memset(props, 0, sizeof(*props)); props 294 drivers/infiniband/hw/efa/efa_verbs.c props->max_mr_size = dev_attr->max_mr_pages * PAGE_SIZE; props 295 drivers/infiniband/hw/efa/efa_verbs.c props->page_size_cap = dev_attr->page_size_cap; props 296 drivers/infiniband/hw/efa/efa_verbs.c props->vendor_id = dev->pdev->vendor; props 297 drivers/infiniband/hw/efa/efa_verbs.c props->vendor_part_id = dev->pdev->device; props 298 drivers/infiniband/hw/efa/efa_verbs.c props->hw_ver = dev->pdev->subsystem_device; props 299 drivers/infiniband/hw/efa/efa_verbs.c props->max_qp = dev_attr->max_qp; props 300 drivers/infiniband/hw/efa/efa_verbs.c props->max_cq = dev_attr->max_cq; props 301 drivers/infiniband/hw/efa/efa_verbs.c props->max_pd = dev_attr->max_pd; props 302 drivers/infiniband/hw/efa/efa_verbs.c props->max_mr = dev_attr->max_mr; props 303 drivers/infiniband/hw/efa/efa_verbs.c props->max_ah = dev_attr->max_ah; props 304 drivers/infiniband/hw/efa/efa_verbs.c props->max_cqe = dev_attr->max_cq_depth; props 305 drivers/infiniband/hw/efa/efa_verbs.c props->max_qp_wr = min_t(u32, dev_attr->max_sq_depth, props 307 drivers/infiniband/hw/efa/efa_verbs.c props->max_send_sge = dev_attr->max_sq_sge; props 308 drivers/infiniband/hw/efa/efa_verbs.c props->max_recv_sge = dev_attr->max_rq_sge; props 329 drivers/infiniband/hw/efa/efa_verbs.c struct ib_port_attr *props) props 333 drivers/infiniband/hw/efa/efa_verbs.c props->lmc = 1; props 335 drivers/infiniband/hw/efa/efa_verbs.c props->state = IB_PORT_ACTIVE; props 336 drivers/infiniband/hw/efa/efa_verbs.c props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; props 337 drivers/infiniband/hw/efa/efa_verbs.c props->gid_tbl_len = 1; props 338 drivers/infiniband/hw/efa/efa_verbs.c props->pkey_tbl_len = 1; props 339 drivers/infiniband/hw/efa/efa_verbs.c props->active_speed = IB_SPEED_EDR; props 340 drivers/infiniband/hw/efa/efa_verbs.c props->active_width = IB_WIDTH_4X; props 341 drivers/infiniband/hw/efa/efa_verbs.c props->max_mtu = ib_mtu_int_to_enum(dev->mtu); props 342 drivers/infiniband/hw/efa/efa_verbs.c props->active_mtu = ib_mtu_int_to_enum(dev->mtu); props 343 drivers/infiniband/hw/efa/efa_verbs.c props->max_msg_sz = dev->mtu; props 344 drivers/infiniband/hw/efa/efa_verbs.c props->max_vl_num = 1; props 1334 drivers/infiniband/hw/hfi1/verbs.c memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); props 1336 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.fw_ver = ((u64)(dc8051_ver_maj(ver)) << 32) | props 1340 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | props 1346 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.page_size_cap = PAGE_SIZE; props 1347 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.vendor_id = dd->oui1 << 16 | dd->oui2 << 8 | dd->oui3; props 1348 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.vendor_part_id = dd->pcidev->device; props 1349 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.hw_ver = dd->minrev; props 1350 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.sys_image_guid = ib_hfi1_sys_image_guid; props 1351 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_mr_size = U64_MAX; props 1352 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_fast_reg_page_list_len = UINT_MAX; props 1353 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_qp = hfi1_max_qps; props 1354 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_qp_wr = props 1357 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_send_sge = hfi1_max_sges; props 1358 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_recv_sge = hfi1_max_sges; props 1359 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_sge_rd = hfi1_max_sges; props 1360 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_cq = hfi1_max_cqs; props 1361 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_ah = hfi1_max_ahs; props 1362 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_cqe = hfi1_max_cqes; props 1363 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_map_per_fmr = 32767; props 1364 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_pd = hfi1_max_pds; props 1365 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_qp_rd_atom = HFI1_MAX_RDMA_ATOMIC; props 1366 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_qp_init_rd_atom = 255; props 1367 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_srq = hfi1_max_srqs; props 1368 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_srq_wr = hfi1_max_srq_wrs; props 1369 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_srq_sge = hfi1_max_srq_sges; props 1370 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.atomic_cap = IB_ATOMIC_GLOB; props 1371 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_pkeys = hfi1_get_npkeys(dd); props 1372 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_mcast_grp = hfi1_max_mcast_grps; props 1373 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_mcast_qp_attach = hfi1_max_mcast_qp_attached; props 1374 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_total_mcast_qp_attach = props 1375 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_mcast_qp_attach * props 1376 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_mcast_grp; props 1411 drivers/infiniband/hw/hfi1/verbs.c struct ib_port_attr *props) props 1419 drivers/infiniband/hw/hfi1/verbs.c props->lid = lid ? lid : 0; props 1420 drivers/infiniband/hw/hfi1/verbs.c props->lmc = ppd->lmc; props 1422 drivers/infiniband/hw/hfi1/verbs.c props->state = driver_lstate(ppd); props 1423 drivers/infiniband/hw/hfi1/verbs.c props->phys_state = driver_pstate(ppd); props 1424 drivers/infiniband/hw/hfi1/verbs.c props->gid_tbl_len = HFI1_GUIDS_PER_PORT; props 1425 drivers/infiniband/hw/hfi1/verbs.c props->active_width = (u8)opa_width_to_ib(ppd->link_width_active); props 1427 drivers/infiniband/hw/hfi1/verbs.c props->active_speed = (u8)opa_speed_to_ib(ppd->link_speed_active); props 1428 drivers/infiniband/hw/hfi1/verbs.c props->max_vl_num = ppd->vls_supported; props 1438 drivers/infiniband/hw/hfi1/verbs.c props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ? props 1440 drivers/infiniband/hw/hfi1/verbs.c props->active_mtu = !valid_ib_mtu(ppd->ibmtu) ? props->max_mtu : props 181 drivers/infiniband/hw/hns/hns_roce_main.c struct ib_device_attr *props, props 186 drivers/infiniband/hw/hns/hns_roce_main.c memset(props, 0, sizeof(*props)); props 188 drivers/infiniband/hw/hns/hns_roce_main.c props->fw_ver = hr_dev->caps.fw_ver; props 189 drivers/infiniband/hw/hns/hns_roce_main.c props->sys_image_guid = cpu_to_be64(hr_dev->sys_image_guid); props 190 drivers/infiniband/hw/hns/hns_roce_main.c props->max_mr_size = (u64)(~(0ULL)); props 191 drivers/infiniband/hw/hns/hns_roce_main.c props->page_size_cap = hr_dev->caps.page_size_cap; props 192 drivers/infiniband/hw/hns/hns_roce_main.c props->vendor_id = hr_dev->vendor_id; props 193 drivers/infiniband/hw/hns/hns_roce_main.c props->vendor_part_id = hr_dev->vendor_part_id; props 194 drivers/infiniband/hw/hns/hns_roce_main.c props->hw_ver = hr_dev->hw_rev; props 195 drivers/infiniband/hw/hns/hns_roce_main.c props->max_qp = hr_dev->caps.num_qps; props 196 drivers/infiniband/hw/hns/hns_roce_main.c props->max_qp_wr = hr_dev->caps.max_wqes; props 197 drivers/infiniband/hw/hns/hns_roce_main.c props->device_cap_flags = IB_DEVICE_PORT_ACTIVE_EVENT | props 199 drivers/infiniband/hw/hns/hns_roce_main.c props->max_send_sge = hr_dev->caps.max_sq_sg; props 200 drivers/infiniband/hw/hns/hns_roce_main.c props->max_recv_sge = hr_dev->caps.max_rq_sg; props 201 drivers/infiniband/hw/hns/hns_roce_main.c props->max_sge_rd = 1; props 202 drivers/infiniband/hw/hns/hns_roce_main.c props->max_cq = hr_dev->caps.num_cqs; props 203 drivers/infiniband/hw/hns/hns_roce_main.c props->max_cqe = hr_dev->caps.max_cqes; props 204 drivers/infiniband/hw/hns/hns_roce_main.c props->max_mr = hr_dev->caps.num_mtpts; props 205 drivers/infiniband/hw/hns/hns_roce_main.c props->max_pd = hr_dev->caps.num_pds; props 206 drivers/infiniband/hw/hns/hns_roce_main.c props->max_qp_rd_atom = hr_dev->caps.max_qp_dest_rdma; props 207 drivers/infiniband/hw/hns/hns_roce_main.c props->max_qp_init_rd_atom = hr_dev->caps.max_qp_init_rdma; props 208 drivers/infiniband/hw/hns/hns_roce_main.c props->atomic_cap = hr_dev->caps.flags & HNS_ROCE_CAP_FLAG_ATOMIC ? props 210 drivers/infiniband/hw/hns/hns_roce_main.c props->max_pkeys = 1; props 211 drivers/infiniband/hw/hns/hns_roce_main.c props->local_ca_ack_delay = hr_dev->caps.local_ca_ack_delay; props 213 drivers/infiniband/hw/hns/hns_roce_main.c props->max_srq = hr_dev->caps.max_srqs; props 214 drivers/infiniband/hw/hns/hns_roce_main.c props->max_srq_wr = hr_dev->caps.max_srq_wrs; props 215 drivers/infiniband/hw/hns/hns_roce_main.c props->max_srq_sge = hr_dev->caps.max_srq_sges; props 219 drivers/infiniband/hw/hns/hns_roce_main.c props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; props 220 drivers/infiniband/hw/hns/hns_roce_main.c props->max_fast_reg_page_list_len = HNS_ROCE_FRMR_MAX_PA; props 227 drivers/infiniband/hw/hns/hns_roce_main.c struct ib_port_attr *props) props 241 drivers/infiniband/hw/hns/hns_roce_main.c props->max_mtu = hr_dev->caps.max_mtu; props 242 drivers/infiniband/hw/hns/hns_roce_main.c props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; props 243 drivers/infiniband/hw/hns/hns_roce_main.c props->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP | props 246 drivers/infiniband/hw/hns/hns_roce_main.c props->max_msg_sz = HNS_ROCE_MAX_MSG_LEN; props 247 drivers/infiniband/hw/hns/hns_roce_main.c props->pkey_tbl_len = 1; props 248 drivers/infiniband/hw/hns/hns_roce_main.c props->active_width = IB_WIDTH_4X; props 249 drivers/infiniband/hw/hns/hns_roce_main.c props->active_speed = 1; props 261 drivers/infiniband/hw/hns/hns_roce_main.c props->active_mtu = mtu ? min(props->max_mtu, mtu) : IB_MTU_256; props 262 drivers/infiniband/hw/hns/hns_roce_main.c props->state = (netif_running(net_dev) && netif_carrier_ok(net_dev)) ? props 264 drivers/infiniband/hw/hns/hns_roce_main.c props->phys_state = (props->state == IB_PORT_ACTIVE) ? props 288 drivers/infiniband/hw/hns/hns_roce_main.c struct ib_device_modify *props) props 297 drivers/infiniband/hw/hns/hns_roce_main.c memcpy(ib_dev->node_desc, props->node_desc, NODE_DESC_SIZE); props 305 drivers/infiniband/hw/hns/hns_roce_main.c struct ib_port_modify *props) props 58 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct ib_device_attr *props, props 65 drivers/infiniband/hw/i40iw/i40iw_verbs.c memset(props, 0, sizeof(*props)); props 66 drivers/infiniband/hw/i40iw/i40iw_verbs.c ether_addr_copy((u8 *)&props->sys_image_guid, iwdev->netdev->dev_addr); props 67 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->fw_ver = I40IW_FW_VERSION; props 68 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->device_cap_flags = iwdev->device_cap_flags; props 69 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->vendor_id = iwdev->ldev->pcidev->vendor; props 70 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->vendor_part_id = iwdev->ldev->pcidev->device; props 71 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->hw_ver = (u32)iwdev->sc_dev.hw_rev; props 72 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_mr_size = I40IW_MAX_OUTBOUND_MESSAGE_SIZE; props 73 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_qp = iwdev->max_qp - iwdev->used_qps; props 74 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_qp_wr = I40IW_MAX_QP_WRS; props 75 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_send_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; props 76 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; props 77 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_cq = iwdev->max_cq - iwdev->used_cqs; props 78 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_cqe = iwdev->max_cqe; props 79 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_mr = iwdev->max_mr - iwdev->used_mrs; props 80 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_pd = iwdev->max_pd - iwdev->used_pds; props 81 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_sge_rd = I40IW_MAX_SGE_RD; props 82 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_qp_rd_atom = I40IW_MAX_IRD_SIZE; props 83 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_qp_init_rd_atom = props->max_qp_rd_atom; props 84 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->atomic_cap = IB_ATOMIC_NONE; props 85 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_map_per_fmr = 1; props 86 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_fast_reg_page_list_len = I40IW_MAX_PAGES_PER_FMR; props 98 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct ib_port_attr *props) props 100 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->lid = 1; props 101 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP | props 103 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->gid_tbl_len = 1; props 104 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->pkey_tbl_len = 1; props 105 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->active_width = IB_WIDTH_4X; props 106 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->active_speed = 1; props 107 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_msg_sz = I40IW_MAX_OUTBOUND_MESSAGE_SIZE; props 434 drivers/infiniband/hw/mlx4/main.c struct ib_device_attr *props, props 477 drivers/infiniband/hw/mlx4/main.c memset(props, 0, sizeof *props); props 481 drivers/infiniband/hw/mlx4/main.c props->fw_ver = dev->dev->caps.fw_ver; props 482 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags = IB_DEVICE_CHANGE_PHY_PORT | props 488 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_BAD_PKEY_CNTR; props 490 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_BAD_QKEY_CNTR; props 492 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG; props 494 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_UD_AV_PORT_ENFORCE; props 496 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_UD_IP_CSUM; props 500 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_UD_TSO; props 502 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_LOCAL_DMA_LKEY; props 506 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; props 508 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_XRC; props 510 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_MEM_WINDOW; props 513 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_MEM_WINDOW_TYPE_2B; props 515 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_MEM_WINDOW_TYPE_2A; props 518 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_MANAGED_FLOW_STEERING; props 520 drivers/infiniband/hw/mlx4/main.c props->device_cap_flags |= IB_DEVICE_RAW_IP_CSUM; props 522 drivers/infiniband/hw/mlx4/main.c props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & props 524 drivers/infiniband/hw/mlx4/main.c props->vendor_part_id = dev->dev->persist->pdev->device; props 525 drivers/infiniband/hw/mlx4/main.c props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); props 526 drivers/infiniband/hw/mlx4/main.c memcpy(&props->sys_image_guid, out_mad->data + 4, 8); props 528 drivers/infiniband/hw/mlx4/main.c props->max_mr_size = ~0ull; props 529 drivers/infiniband/hw/mlx4/main.c props->page_size_cap = dev->dev->caps.page_size_cap; props 530 drivers/infiniband/hw/mlx4/main.c props->max_qp = dev->dev->quotas.qp; props 531 drivers/infiniband/hw/mlx4/main.c props->max_qp_wr = dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE; props 532 drivers/infiniband/hw/mlx4/main.c props->max_send_sge = props 534 drivers/infiniband/hw/mlx4/main.c props->max_recv_sge = props 536 drivers/infiniband/hw/mlx4/main.c props->max_sge_rd = MLX4_MAX_SGE_RD; props 537 drivers/infiniband/hw/mlx4/main.c props->max_cq = dev->dev->quotas.cq; props 538 drivers/infiniband/hw/mlx4/main.c props->max_cqe = dev->dev->caps.max_cqes; props 539 drivers/infiniband/hw/mlx4/main.c props->max_mr = dev->dev->quotas.mpt; props 540 drivers/infiniband/hw/mlx4/main.c props->max_pd = dev->dev->caps.num_pds - dev->dev->caps.reserved_pds; props 541 drivers/infiniband/hw/mlx4/main.c props->max_qp_rd_atom = dev->dev->caps.max_qp_dest_rdma; props 542 drivers/infiniband/hw/mlx4/main.c props->max_qp_init_rd_atom = dev->dev->caps.max_qp_init_rdma; props 543 drivers/infiniband/hw/mlx4/main.c props->max_res_rd_atom = props->max_qp_rd_atom * props->max_qp; props 544 drivers/infiniband/hw/mlx4/main.c props->max_srq = dev->dev->quotas.srq; props 545 drivers/infiniband/hw/mlx4/main.c props->max_srq_wr = dev->dev->caps.max_srq_wqes - 1; props 546 drivers/infiniband/hw/mlx4/main.c props->max_srq_sge = dev->dev->caps.max_srq_sge; props 547 drivers/infiniband/hw/mlx4/main.c props->max_fast_reg_page_list_len = MLX4_MAX_FAST_REG_PAGES; props 548 drivers/infiniband/hw/mlx4/main.c props->local_ca_ack_delay = dev->dev->caps.local_ca_ack_delay; props 549 drivers/infiniband/hw/mlx4/main.c props->atomic_cap = dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_ATOMIC ? props 551 drivers/infiniband/hw/mlx4/main.c props->masked_atomic_cap = props->atomic_cap; props 552 drivers/infiniband/hw/mlx4/main.c props->max_pkeys = dev->dev->caps.pkey_table_len[1]; props 553 drivers/infiniband/hw/mlx4/main.c props->max_mcast_grp = dev->dev->caps.num_mgms + dev->dev->caps.num_amgms; props 554 drivers/infiniband/hw/mlx4/main.c props->max_mcast_qp_attach = dev->dev->caps.num_qp_per_mgm; props 555 drivers/infiniband/hw/mlx4/main.c props->max_total_mcast_qp_attach = props->max_mcast_qp_attach * props 556 drivers/infiniband/hw/mlx4/main.c props->max_mcast_grp; props 557 drivers/infiniband/hw/mlx4/main.c props->max_map_per_fmr = dev->dev->caps.max_fmr_maps; props 558 drivers/infiniband/hw/mlx4/main.c props->hca_core_clock = dev->dev->caps.hca_core_clock * 1000UL; props 559 drivers/infiniband/hw/mlx4/main.c props->timestamp_mask = 0xFFFFFFFFFFFFULL; props 560 drivers/infiniband/hw/mlx4/main.c props->max_ah = INT_MAX; props 565 drivers/infiniband/hw/mlx4/main.c props->rss_caps.max_rwq_indirection_tables = props 566 drivers/infiniband/hw/mlx4/main.c props->max_qp; props 567 drivers/infiniband/hw/mlx4/main.c props->rss_caps.max_rwq_indirection_table_size = props 569 drivers/infiniband/hw/mlx4/main.c props->rss_caps.supported_qpts = 1 << IB_QPT_RAW_PACKET; props 570 drivers/infiniband/hw/mlx4/main.c props->max_wq_type_rq = props->max_qp; props 574 drivers/infiniband/hw/mlx4/main.c props->raw_packet_caps |= IB_RAW_PACKET_CAP_SCATTER_FCS; props 577 drivers/infiniband/hw/mlx4/main.c props->cq_caps.max_cq_moderation_count = MLX4_MAX_CQ_COUNT; props 578 drivers/infiniband/hw/mlx4/main.c props->cq_caps.max_cq_moderation_period = MLX4_MAX_CQ_PERIOD; props 599 drivers/infiniband/hw/mlx4/main.c if (props->rss_caps.supported_qpts) { props 658 drivers/infiniband/hw/mlx4/main.c struct ib_port_attr *props, int netw_view) props 684 drivers/infiniband/hw/mlx4/main.c props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); props 685 drivers/infiniband/hw/mlx4/main.c props->lmc = out_mad->data[34] & 0x7; props 686 drivers/infiniband/hw/mlx4/main.c props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); props 687 drivers/infiniband/hw/mlx4/main.c props->sm_sl = out_mad->data[36] & 0xf; props 688 drivers/infiniband/hw/mlx4/main.c props->state = out_mad->data[32] & 0xf; props 689 drivers/infiniband/hw/mlx4/main.c props->phys_state = out_mad->data[33] >> 4; props 690 drivers/infiniband/hw/mlx4/main.c props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); props 692 drivers/infiniband/hw/mlx4/main.c props->gid_tbl_len = out_mad->data[50]; props 694 drivers/infiniband/hw/mlx4/main.c props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; props 695 drivers/infiniband/hw/mlx4/main.c props->max_msg_sz = to_mdev(ibdev)->dev->caps.max_msg_sz; props 696 drivers/infiniband/hw/mlx4/main.c props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; props 697 drivers/infiniband/hw/mlx4/main.c props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); props 698 drivers/infiniband/hw/mlx4/main.c props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); props 699 drivers/infiniband/hw/mlx4/main.c props->active_width = out_mad->data[31] & 0xf; props 700 drivers/infiniband/hw/mlx4/main.c props->active_speed = out_mad->data[35] >> 4; props 701 drivers/infiniband/hw/mlx4/main.c props->max_mtu = out_mad->data[41] & 0xf; props 702 drivers/infiniband/hw/mlx4/main.c props->active_mtu = out_mad->data[36] >> 4; props 703 drivers/infiniband/hw/mlx4/main.c props->subnet_timeout = out_mad->data[51] & 0x1f; props 704 drivers/infiniband/hw/mlx4/main.c props->max_vl_num = out_mad->data[37] >> 4; props 705 drivers/infiniband/hw/mlx4/main.c props->init_type_reply = out_mad->data[41] >> 4; props 708 drivers/infiniband/hw/mlx4/main.c if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { props 713 drivers/infiniband/hw/mlx4/main.c props->active_speed = IB_SPEED_FDR; props 716 drivers/infiniband/hw/mlx4/main.c props->active_speed = IB_SPEED_EDR; props 722 drivers/infiniband/hw/mlx4/main.c if (props->active_speed == IB_SPEED_QDR) { props 734 drivers/infiniband/hw/mlx4/main.c props->active_speed = IB_SPEED_FDR10; props 738 drivers/infiniband/hw/mlx4/main.c if (props->state == IB_PORT_DOWN) props 739 drivers/infiniband/hw/mlx4/main.c props->active_speed = IB_SPEED_SDR; props 754 drivers/infiniband/hw/mlx4/main.c struct ib_port_attr *props) props 775 drivers/infiniband/hw/mlx4/main.c props->active_width = (((u8 *)mailbox->buf)[5] == 0x40) || props 778 drivers/infiniband/hw/mlx4/main.c props->active_speed = (((u8 *)mailbox->buf)[5] == 0x20 /*56Gb*/) ? props 780 drivers/infiniband/hw/mlx4/main.c props->port_cap_flags = IB_PORT_CM_SUP; props 781 drivers/infiniband/hw/mlx4/main.c props->ip_gids = true; props 782 drivers/infiniband/hw/mlx4/main.c props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; props 783 drivers/infiniband/hw/mlx4/main.c props->max_msg_sz = mdev->dev->caps.max_msg_sz; props 784 drivers/infiniband/hw/mlx4/main.c props->pkey_tbl_len = 1; props 785 drivers/infiniband/hw/mlx4/main.c props->max_mtu = IB_MTU_4096; props 786 drivers/infiniband/hw/mlx4/main.c props->max_vl_num = 2; props 787 drivers/infiniband/hw/mlx4/main.c props->state = IB_PORT_DOWN; props 788 drivers/infiniband/hw/mlx4/main.c props->phys_state = state_to_phys_state(props->state); props 789 drivers/infiniband/hw/mlx4/main.c props->active_mtu = IB_MTU_256; props 801 drivers/infiniband/hw/mlx4/main.c props->active_mtu = tmp ? min(props->max_mtu, tmp) : IB_MTU_256; props 803 drivers/infiniband/hw/mlx4/main.c props->state = (netif_running(ndev) && netif_carrier_ok(ndev)) ? props 805 drivers/infiniband/hw/mlx4/main.c props->phys_state = state_to_phys_state(props->state); props 814 drivers/infiniband/hw/mlx4/main.c struct ib_port_attr *props, int netw_view) props 821 drivers/infiniband/hw/mlx4/main.c ib_link_query_port(ibdev, port, props, netw_view) : props 822 drivers/infiniband/hw/mlx4/main.c eth_link_query_port(ibdev, port, props); props 828 drivers/infiniband/hw/mlx4/main.c struct ib_port_attr *props) props 831 drivers/infiniband/hw/mlx4/main.c return __mlx4_ib_query_port(ibdev, port, props, 0); props 997 drivers/infiniband/hw/mlx4/main.c struct ib_device_modify *props) props 1012 drivers/infiniband/hw/mlx4/main.c memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); props 1023 drivers/infiniband/hw/mlx4/main.c memcpy(mailbox->buf, props->node_desc, IB_DEVICE_NODE_DESC_MAX); props 1059 drivers/infiniband/hw/mlx4/main.c struct ib_port_modify *props) props 1080 drivers/infiniband/hw/mlx4/main.c cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & props 1081 drivers/infiniband/hw/mlx4/main.c ~props->clr_port_cap_mask; props 804 drivers/infiniband/hw/mlx4/mlx4_ib.h struct ib_port_attr *props, int netw_view); props 535 drivers/infiniband/hw/mlx5/mad.c struct ib_port_attr *props) props 561 drivers/infiniband/hw/mlx5/mad.c props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); props 562 drivers/infiniband/hw/mlx5/mad.c props->lmc = out_mad->data[34] & 0x7; props 563 drivers/infiniband/hw/mlx5/mad.c props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); props 564 drivers/infiniband/hw/mlx5/mad.c props->sm_sl = out_mad->data[36] & 0xf; props 565 drivers/infiniband/hw/mlx5/mad.c props->state = out_mad->data[32] & 0xf; props 566 drivers/infiniband/hw/mlx5/mad.c props->phys_state = out_mad->data[33] >> 4; props 567 drivers/infiniband/hw/mlx5/mad.c props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); props 568 drivers/infiniband/hw/mlx5/mad.c props->gid_tbl_len = out_mad->data[50]; props 569 drivers/infiniband/hw/mlx5/mad.c props->max_msg_sz = 1 << MLX5_CAP_GEN(mdev, log_max_msg); props 570 drivers/infiniband/hw/mlx5/mad.c props->pkey_tbl_len = mdev->port_caps[port - 1].pkey_table_len; props 571 drivers/infiniband/hw/mlx5/mad.c props->bad_pkey_cntr = be16_to_cpup((__be16 *)(out_mad->data + 46)); props 572 drivers/infiniband/hw/mlx5/mad.c props->qkey_viol_cntr = be16_to_cpup((__be16 *)(out_mad->data + 48)); props 573 drivers/infiniband/hw/mlx5/mad.c props->active_width = out_mad->data[31] & 0xf; props 574 drivers/infiniband/hw/mlx5/mad.c props->active_speed = out_mad->data[35] >> 4; props 575 drivers/infiniband/hw/mlx5/mad.c props->max_mtu = out_mad->data[41] & 0xf; props 576 drivers/infiniband/hw/mlx5/mad.c props->active_mtu = out_mad->data[36] >> 4; props 577 drivers/infiniband/hw/mlx5/mad.c props->subnet_timeout = out_mad->data[51] & 0x1f; props 578 drivers/infiniband/hw/mlx5/mad.c props->max_vl_num = out_mad->data[37] >> 4; props 579 drivers/infiniband/hw/mlx5/mad.c props->init_type_reply = out_mad->data[41] >> 4; props 581 drivers/infiniband/hw/mlx5/mad.c if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) { props 582 drivers/infiniband/hw/mlx5/mad.c props->port_cap_flags2 = props 585 drivers/infiniband/hw/mlx5/mad.c if (props->port_cap_flags2 & IB_PORT_LINK_WIDTH_2X_SUP) props 586 drivers/infiniband/hw/mlx5/mad.c props->active_width = out_mad->data[31] & 0x1f; props 590 drivers/infiniband/hw/mlx5/mad.c if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { props 595 drivers/infiniband/hw/mlx5/mad.c props->active_speed = 16; /* FDR */ props 598 drivers/infiniband/hw/mlx5/mad.c props->active_speed = 32; /* EDR */ props 601 drivers/infiniband/hw/mlx5/mad.c if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP && props 602 drivers/infiniband/hw/mlx5/mad.c props->port_cap_flags2 & IB_PORT_LINK_SPEED_HDR_SUP) props 603 drivers/infiniband/hw/mlx5/mad.c props->active_speed = IB_SPEED_HDR; props 609 drivers/infiniband/hw/mlx5/mad.c if (props->active_speed == 4) { props 623 drivers/infiniband/hw/mlx5/mad.c props->active_speed = 8; props 483 drivers/infiniband/hw/mlx5/main.c struct ib_port_attr *props) props 523 drivers/infiniband/hw/mlx5/main.c props->active_width = IB_WIDTH_4X; props 524 drivers/infiniband/hw/mlx5/main.c props->active_speed = IB_SPEED_QDR; props 526 drivers/infiniband/hw/mlx5/main.c translate_eth_proto_oper(eth_prot_oper, &props->active_speed, props 527 drivers/infiniband/hw/mlx5/main.c &props->active_width, ext); props 529 drivers/infiniband/hw/mlx5/main.c props->port_cap_flags |= IB_PORT_CM_SUP; props 530 drivers/infiniband/hw/mlx5/main.c props->ip_gids = true; props 532 drivers/infiniband/hw/mlx5/main.c props->gid_tbl_len = MLX5_CAP_ROCE(dev->mdev, props 534 drivers/infiniband/hw/mlx5/main.c props->max_mtu = IB_MTU_4096; props 535 drivers/infiniband/hw/mlx5/main.c props->max_msg_sz = 1 << MLX5_CAP_GEN(dev->mdev, log_max_msg); props 536 drivers/infiniband/hw/mlx5/main.c props->pkey_tbl_len = 1; props 537 drivers/infiniband/hw/mlx5/main.c props->state = IB_PORT_DOWN; props 538 drivers/infiniband/hw/mlx5/main.c props->phys_state = IB_PORT_PHYS_STATE_DISABLED; props 541 drivers/infiniband/hw/mlx5/main.c props->qkey_viol_cntr = qkey_viol_cntr; props 563 drivers/infiniband/hw/mlx5/main.c props->state = IB_PORT_ACTIVE; props 564 drivers/infiniband/hw/mlx5/main.c props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; props 571 drivers/infiniband/hw/mlx5/main.c props->active_mtu = min(props->max_mtu, ndev_ib_mtu); props 668 drivers/infiniband/hw/mlx5/main.c struct ib_device_attr *props) props 682 drivers/infiniband/hw/mlx5/main.c props->atomic_cap = IB_ATOMIC_HCA; props 684 drivers/infiniband/hw/mlx5/main.c props->atomic_cap = IB_ATOMIC_NONE; props 689 drivers/infiniband/hw/mlx5/main.c struct ib_device_attr *props) props 693 drivers/infiniband/hw/mlx5/main.c get_atomic_caps(dev, atomic_size_qp, props); props 697 drivers/infiniband/hw/mlx5/main.c struct ib_device_attr *props) props 701 drivers/infiniband/hw/mlx5/main.c get_atomic_caps(dev, atomic_size_qp, props); props 706 drivers/infiniband/hw/mlx5/main.c struct ib_device_attr props = {}; props 708 drivers/infiniband/hw/mlx5/main.c get_atomic_caps_dc(dev, &props); props 709 drivers/infiniband/hw/mlx5/main.c return (props.atomic_cap == IB_ATOMIC_HCA) ? true : false; props 829 drivers/infiniband/hw/mlx5/main.c struct ib_device_attr *props, props 854 drivers/infiniband/hw/mlx5/main.c memset(props, 0, sizeof(*props)); props 856 drivers/infiniband/hw/mlx5/main.c &props->sys_image_guid); props 860 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_max_pkeys(ibdev, &props->max_pkeys); props 864 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_vendor_id(ibdev, &props->vendor_id); props 868 drivers/infiniband/hw/mlx5/main.c props->fw_ver = ((u64)fw_rev_maj(dev->mdev) << 32) | props 871 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags = IB_DEVICE_CHANGE_PHY_PORT | props 877 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_BAD_PKEY_CNTR; props 879 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_BAD_QKEY_CNTR; props 881 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG; props 883 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_XRC; props 885 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_MEM_WINDOW | props 887 drivers/infiniband/hw/mlx5/main.c props->max_mw = 1 << MLX5_CAP_GEN(mdev, log_max_mkey); props 889 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_SG_GAPS_REG; props 891 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; props 893 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_INTEGRITY_HANDOVER; props 895 drivers/infiniband/hw/mlx5/main.c props->sig_prot_cap = IB_PROT_T10DIF_TYPE_1 | props 898 drivers/infiniband/hw/mlx5/main.c props->sig_guard_cap = IB_GUARD_T10DIF_CRC | props 902 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_BLOCK_MULTICAST_LOOPBACK; props 907 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_RAW_IP_CSUM; props 908 drivers/infiniband/hw/mlx5/main.c props->raw_packet_caps |= IB_RAW_PACKET_CAP_IP_CSUM; props 912 drivers/infiniband/hw/mlx5/main.c props->raw_packet_caps |= props 952 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_UD_IP_CSUM; props 953 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_UD_TSO; props 959 drivers/infiniband/hw/mlx5/main.c props->raw_packet_caps |= IB_RAW_PACKET_CAP_DELAY_DROP; props 963 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_UD_IP_CSUM; props 969 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_RAW_SCATTER_FCS; props 970 drivers/infiniband/hw/mlx5/main.c props->raw_packet_caps |= IB_RAW_PACKET_CAP_SCATTER_FCS; props 974 drivers/infiniband/hw/mlx5/main.c props->max_dm_size = props 979 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_MANAGED_FLOW_STEERING; props 982 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_PCI_WRITE_END_PADDING; props 984 drivers/infiniband/hw/mlx5/main.c props->vendor_part_id = mdev->pdev->device; props 985 drivers/infiniband/hw/mlx5/main.c props->hw_ver = mdev->pdev->revision; props 987 drivers/infiniband/hw/mlx5/main.c props->max_mr_size = ~0ull; props 988 drivers/infiniband/hw/mlx5/main.c props->page_size_cap = ~(min_page_size - 1); props 989 drivers/infiniband/hw/mlx5/main.c props->max_qp = 1 << MLX5_CAP_GEN(mdev, log_max_qp); props 990 drivers/infiniband/hw/mlx5/main.c props->max_qp_wr = 1 << MLX5_CAP_GEN(mdev, log_max_qp_sz); props 997 drivers/infiniband/hw/mlx5/main.c props->max_send_sge = max_sq_sg; props 998 drivers/infiniband/hw/mlx5/main.c props->max_recv_sge = max_rq_sg; props 999 drivers/infiniband/hw/mlx5/main.c props->max_sge_rd = MLX5_MAX_SGE_RD; props 1000 drivers/infiniband/hw/mlx5/main.c props->max_cq = 1 << MLX5_CAP_GEN(mdev, log_max_cq); props 1001 drivers/infiniband/hw/mlx5/main.c props->max_cqe = (1 << MLX5_CAP_GEN(mdev, log_max_cq_sz)) - 1; props 1002 drivers/infiniband/hw/mlx5/main.c props->max_mr = 1 << MLX5_CAP_GEN(mdev, log_max_mkey); props 1003 drivers/infiniband/hw/mlx5/main.c props->max_pd = 1 << MLX5_CAP_GEN(mdev, log_max_pd); props 1004 drivers/infiniband/hw/mlx5/main.c props->max_qp_rd_atom = 1 << MLX5_CAP_GEN(mdev, log_max_ra_req_qp); props 1005 drivers/infiniband/hw/mlx5/main.c props->max_qp_init_rd_atom = 1 << MLX5_CAP_GEN(mdev, log_max_ra_res_qp); props 1006 drivers/infiniband/hw/mlx5/main.c props->max_srq = 1 << MLX5_CAP_GEN(mdev, log_max_srq); props 1007 drivers/infiniband/hw/mlx5/main.c props->max_srq_wr = (1 << MLX5_CAP_GEN(mdev, log_max_srq_sz)) - 1; props 1008 drivers/infiniband/hw/mlx5/main.c props->local_ca_ack_delay = MLX5_CAP_GEN(mdev, local_ca_ack_delay); props 1009 drivers/infiniband/hw/mlx5/main.c props->max_res_rd_atom = props->max_qp_rd_atom * props->max_qp; props 1010 drivers/infiniband/hw/mlx5/main.c props->max_srq_sge = max_rq_sg - 1; props 1011 drivers/infiniband/hw/mlx5/main.c props->max_fast_reg_page_list_len = props 1013 drivers/infiniband/hw/mlx5/main.c props->max_pi_fast_reg_page_list_len = props 1014 drivers/infiniband/hw/mlx5/main.c props->max_fast_reg_page_list_len / 2; props 1015 drivers/infiniband/hw/mlx5/main.c get_atomic_caps_qp(dev, props); props 1016 drivers/infiniband/hw/mlx5/main.c props->masked_atomic_cap = IB_ATOMIC_NONE; props 1017 drivers/infiniband/hw/mlx5/main.c props->max_mcast_grp = 1 << MLX5_CAP_GEN(mdev, log_max_mcg); props 1018 drivers/infiniband/hw/mlx5/main.c props->max_mcast_qp_attach = MLX5_CAP_GEN(mdev, max_qp_mcg); props 1019 drivers/infiniband/hw/mlx5/main.c props->max_total_mcast_qp_attach = props->max_mcast_qp_attach * props 1020 drivers/infiniband/hw/mlx5/main.c props->max_mcast_grp; props 1021 drivers/infiniband/hw/mlx5/main.c props->max_map_per_fmr = INT_MAX; /* no limit in ConnectIB */ props 1022 drivers/infiniband/hw/mlx5/main.c props->max_ah = INT_MAX; props 1023 drivers/infiniband/hw/mlx5/main.c props->hca_core_clock = MLX5_CAP_GEN(mdev, device_frequency_khz); props 1024 drivers/infiniband/hw/mlx5/main.c props->timestamp_mask = 0x7FFFFFFFFFFFFFFFULL; props 1028 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_ON_DEMAND_PAGING; props 1029 drivers/infiniband/hw/mlx5/main.c props->odp_caps = dev->odp_caps; props 1033 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_CROSS_CHANNEL; props 1036 drivers/infiniband/hw/mlx5/main.c props->device_cap_flags |= IB_DEVICE_VIRTUAL_FUNCTION; props 1040 drivers/infiniband/hw/mlx5/main.c props->rss_caps.max_rwq_indirection_tables = props 1042 drivers/infiniband/hw/mlx5/main.c props->rss_caps.max_rwq_indirection_table_size = props 1044 drivers/infiniband/hw/mlx5/main.c props->rss_caps.supported_qpts = 1 << IB_QPT_RAW_PACKET; props 1045 drivers/infiniband/hw/mlx5/main.c props->max_wq_type_rq = props 1050 drivers/infiniband/hw/mlx5/main.c props->tm_caps.max_num_tags = props 1052 drivers/infiniband/hw/mlx5/main.c props->tm_caps.max_ops = props 1054 drivers/infiniband/hw/mlx5/main.c props->tm_caps.max_sge = MLX5_TM_MAX_SGE; props 1059 drivers/infiniband/hw/mlx5/main.c props->tm_caps.flags = IB_TM_CAP_RNDV_RC; props 1060 drivers/infiniband/hw/mlx5/main.c props->tm_caps.max_rndv_hdr_size = MLX5_TM_MAX_RNDV_MSG_SIZE; props 1064 drivers/infiniband/hw/mlx5/main.c props->cq_caps.max_cq_moderation_count = props 1066 drivers/infiniband/hw/mlx5/main.c props->cq_caps.max_cq_moderation_period = props 1296 drivers/infiniband/hw/mlx5/main.c struct ib_port_attr *props) props 1319 drivers/infiniband/hw/mlx5/main.c props->lid = rep->lid; props 1320 drivers/infiniband/hw/mlx5/main.c props->lmc = rep->lmc; props 1321 drivers/infiniband/hw/mlx5/main.c props->sm_lid = rep->sm_lid; props 1322 drivers/infiniband/hw/mlx5/main.c props->sm_sl = rep->sm_sl; props 1323 drivers/infiniband/hw/mlx5/main.c props->state = rep->vport_state; props 1324 drivers/infiniband/hw/mlx5/main.c props->phys_state = rep->port_physical_state; props 1325 drivers/infiniband/hw/mlx5/main.c props->port_cap_flags = rep->cap_mask1; props 1326 drivers/infiniband/hw/mlx5/main.c props->gid_tbl_len = mlx5_get_gid_table_len(MLX5_CAP_GEN(mdev, gid_table_size)); props 1327 drivers/infiniband/hw/mlx5/main.c props->max_msg_sz = 1 << MLX5_CAP_GEN(mdev, log_max_msg); props 1328 drivers/infiniband/hw/mlx5/main.c props->pkey_tbl_len = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(mdev, pkey_table_size)); props 1329 drivers/infiniband/hw/mlx5/main.c props->bad_pkey_cntr = rep->pkey_violation_counter; props 1330 drivers/infiniband/hw/mlx5/main.c props->qkey_viol_cntr = rep->qkey_violation_counter; props 1331 drivers/infiniband/hw/mlx5/main.c props->subnet_timeout = rep->subnet_timeout; props 1332 drivers/infiniband/hw/mlx5/main.c props->init_type_reply = rep->init_type_reply; props 1334 drivers/infiniband/hw/mlx5/main.c if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) props 1335 drivers/infiniband/hw/mlx5/main.c props->port_cap_flags2 = rep->cap_mask2; props 1341 drivers/infiniband/hw/mlx5/main.c translate_active_width(ibdev, ib_link_width_oper, &props->active_width); props 1343 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_port_ib_proto_oper(mdev, &props->active_speed, port); props 1349 drivers/infiniband/hw/mlx5/main.c props->max_mtu = mlx5_mtu_to_ib_mtu(max_mtu); props 1353 drivers/infiniband/hw/mlx5/main.c props->active_mtu = mlx5_mtu_to_ib_mtu(oper_mtu); props 1360 drivers/infiniband/hw/mlx5/main.c &props->max_vl_num); props 1367 drivers/infiniband/hw/mlx5/main.c struct ib_port_attr *props) props 1374 drivers/infiniband/hw/mlx5/main.c ret = mlx5_query_mad_ifc_port(ibdev, port, props); props 1378 drivers/infiniband/hw/mlx5/main.c ret = mlx5_query_hca_port(ibdev, port, props); props 1382 drivers/infiniband/hw/mlx5/main.c ret = mlx5_query_port_roce(ibdev, port, props); props 1389 drivers/infiniband/hw/mlx5/main.c if (!ret && props) { props 1406 drivers/infiniband/hw/mlx5/main.c props->gid_tbl_len -= count; props 1412 drivers/infiniband/hw/mlx5/main.c struct ib_port_attr *props) props 1419 drivers/infiniband/hw/mlx5/main.c ret = mlx5_query_port_roce(ibdev, port, props); props 1420 drivers/infiniband/hw/mlx5/main.c if (ret || !props) props 1424 drivers/infiniband/hw/mlx5/main.c props->gid_tbl_len = 0; props 1491 drivers/infiniband/hw/mlx5/main.c struct ib_device_modify *props) props 1508 drivers/infiniband/hw/mlx5/main.c memcpy(&in, props->node_desc, IB_DEVICE_NODE_DESC_MAX); props 1514 drivers/infiniband/hw/mlx5/main.c memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); props 1554 drivers/infiniband/hw/mlx5/main.c struct ib_port_modify *props) props 1572 drivers/infiniband/hw/mlx5/main.c change_mask = props->clr_port_cap_mask | props->set_port_cap_mask; props 1573 drivers/infiniband/hw/mlx5/main.c value = ~props->clr_port_cap_mask | props->set_port_cap_mask; props 1583 drivers/infiniband/hw/mlx5/main.c tmp = (attr.port_cap_flags | props->set_port_cap_mask) & props 1584 drivers/infiniband/hw/mlx5/main.c ~props->clr_port_cap_mask; props 1206 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_port_attr *props); props 1208 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_port_attr *props); props 61 drivers/infiniband/hw/mthca/mthca_provider.c static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, props 77 drivers/infiniband/hw/mthca/mthca_provider.c memset(props, 0, sizeof *props); props 79 drivers/infiniband/hw/mthca/mthca_provider.c props->fw_ver = mdev->fw_ver; props 89 drivers/infiniband/hw/mthca/mthca_provider.c props->device_cap_flags = mdev->device_cap_flags; props 90 drivers/infiniband/hw/mthca/mthca_provider.c props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & props 92 drivers/infiniband/hw/mthca/mthca_provider.c props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); props 93 drivers/infiniband/hw/mthca/mthca_provider.c props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); props 94 drivers/infiniband/hw/mthca/mthca_provider.c memcpy(&props->sys_image_guid, out_mad->data + 4, 8); props 96 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mr_size = ~0ull; props 97 drivers/infiniband/hw/mthca/mthca_provider.c props->page_size_cap = mdev->limits.page_size_cap; props 98 drivers/infiniband/hw/mthca/mthca_provider.c props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; props 99 drivers/infiniband/hw/mthca/mthca_provider.c props->max_qp_wr = mdev->limits.max_wqes; props 100 drivers/infiniband/hw/mthca/mthca_provider.c props->max_send_sge = mdev->limits.max_sg; props 101 drivers/infiniband/hw/mthca/mthca_provider.c props->max_recv_sge = mdev->limits.max_sg; props 102 drivers/infiniband/hw/mthca/mthca_provider.c props->max_sge_rd = mdev->limits.max_sg; props 103 drivers/infiniband/hw/mthca/mthca_provider.c props->max_cq = mdev->limits.num_cqs - mdev->limits.reserved_cqs; props 104 drivers/infiniband/hw/mthca/mthca_provider.c props->max_cqe = mdev->limits.max_cqes; props 105 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; props 106 drivers/infiniband/hw/mthca/mthca_provider.c props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; props 107 drivers/infiniband/hw/mthca/mthca_provider.c props->max_qp_rd_atom = 1 << mdev->qp_table.rdb_shift; props 108 drivers/infiniband/hw/mthca/mthca_provider.c props->max_qp_init_rd_atom = mdev->limits.max_qp_init_rdma; props 109 drivers/infiniband/hw/mthca/mthca_provider.c props->max_res_rd_atom = props->max_qp_rd_atom * props->max_qp; props 110 drivers/infiniband/hw/mthca/mthca_provider.c props->max_srq = mdev->limits.num_srqs - mdev->limits.reserved_srqs; props 111 drivers/infiniband/hw/mthca/mthca_provider.c props->max_srq_wr = mdev->limits.max_srq_wqes; props 112 drivers/infiniband/hw/mthca/mthca_provider.c props->max_srq_sge = mdev->limits.max_srq_sge; props 113 drivers/infiniband/hw/mthca/mthca_provider.c props->local_ca_ack_delay = mdev->limits.local_ca_ack_delay; props 114 drivers/infiniband/hw/mthca/mthca_provider.c props->atomic_cap = mdev->limits.flags & DEV_LIM_FLAG_ATOMIC ? props 116 drivers/infiniband/hw/mthca/mthca_provider.c props->max_pkeys = mdev->limits.pkey_table_len; props 117 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mcast_grp = mdev->limits.num_mgms + mdev->limits.num_amgms; props 118 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mcast_qp_attach = MTHCA_QP_PER_MGM; props 119 drivers/infiniband/hw/mthca/mthca_provider.c props->max_total_mcast_qp_attach = props->max_mcast_qp_attach * props 120 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mcast_grp; props 127 drivers/infiniband/hw/mthca/mthca_provider.c props->max_map_per_fmr = 255; props 129 drivers/infiniband/hw/mthca/mthca_provider.c props->max_map_per_fmr = props 140 drivers/infiniband/hw/mthca/mthca_provider.c u8 port, struct ib_port_attr *props) props 162 drivers/infiniband/hw/mthca/mthca_provider.c props->lid = be16_to_cpup((__be16 *) (out_mad->data + 16)); props 163 drivers/infiniband/hw/mthca/mthca_provider.c props->lmc = out_mad->data[34] & 0x7; props 164 drivers/infiniband/hw/mthca/mthca_provider.c props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); props 165 drivers/infiniband/hw/mthca/mthca_provider.c props->sm_sl = out_mad->data[36] & 0xf; props 166 drivers/infiniband/hw/mthca/mthca_provider.c props->state = out_mad->data[32] & 0xf; props 167 drivers/infiniband/hw/mthca/mthca_provider.c props->phys_state = out_mad->data[33] >> 4; props 168 drivers/infiniband/hw/mthca/mthca_provider.c props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); props 169 drivers/infiniband/hw/mthca/mthca_provider.c props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; props 170 drivers/infiniband/hw/mthca/mthca_provider.c props->max_msg_sz = 0x80000000; props 171 drivers/infiniband/hw/mthca/mthca_provider.c props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; props 172 drivers/infiniband/hw/mthca/mthca_provider.c props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); props 173 drivers/infiniband/hw/mthca/mthca_provider.c props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); props 174 drivers/infiniband/hw/mthca/mthca_provider.c props->active_width = out_mad->data[31] & 0xf; props 175 drivers/infiniband/hw/mthca/mthca_provider.c props->active_speed = out_mad->data[35] >> 4; props 176 drivers/infiniband/hw/mthca/mthca_provider.c props->max_mtu = out_mad->data[41] & 0xf; props 177 drivers/infiniband/hw/mthca/mthca_provider.c props->active_mtu = out_mad->data[36] >> 4; props 178 drivers/infiniband/hw/mthca/mthca_provider.c props->subnet_timeout = out_mad->data[51] & 0x1f; props 179 drivers/infiniband/hw/mthca/mthca_provider.c props->max_vl_num = out_mad->data[37] >> 4; props 180 drivers/infiniband/hw/mthca/mthca_provider.c props->init_type_reply = out_mad->data[41] >> 4; props 190 drivers/infiniband/hw/mthca/mthca_provider.c struct ib_device_modify *props) props 198 drivers/infiniband/hw/mthca/mthca_provider.c memcpy(ibdev->node_desc, props->node_desc, props 208 drivers/infiniband/hw/mthca/mthca_provider.c struct ib_port_modify *props) props 224 drivers/infiniband/hw/mthca/mthca_provider.c set_ib.cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & props 225 drivers/infiniband/hw/mthca/mthca_provider.c ~props->clr_port_cap_mask; props 155 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u8 port, struct ib_port_attr *props) props 166 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; props 169 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->phys_state = IB_PORT_PHYS_STATE_DISABLED; props 171 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->max_mtu = IB_MTU_4096; props 172 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->active_mtu = iboe_get_mtu(netdev->mtu); props 173 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->lid = 0; props 174 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->lmc = 0; props 175 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->sm_lid = 0; props 176 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->sm_sl = 0; props 177 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->state = port_state; props 178 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP | props 181 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->ip_gids = true; props 182 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->gid_tbl_len = OCRDMA_MAX_SGID; props 183 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->pkey_tbl_len = 1; props 184 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->bad_pkey_cntr = 0; props 185 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->qkey_viol_cntr = 0; props 186 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c get_link_speed_and_width(dev, &props->active_speed, props 187 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c &props->active_width); props 188 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->max_msg_sz = 0x80000000; props 189 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c props->max_vl_num = 4; props 194 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct ib_port_modify *props) props 54 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h int ocrdma_query_device(struct ib_device *, struct ib_device_attr *props, props 56 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h int ocrdma_query_port(struct ib_device *, u8 port, struct ib_port_attr *props); props 58 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h struct ib_port_modify *props); props 255 drivers/infiniband/hw/qedr/verbs.c struct ib_port_modify *props) props 37 drivers/infiniband/hw/qedr/verbs.h int qedr_query_port(struct ib_device *, u8 port, struct ib_port_attr *props); props 39 drivers/infiniband/hw/qedr/verbs.h struct ib_port_modify *props); props 1193 drivers/infiniband/hw/qib/qib_verbs.c struct ib_port_attr *props) props 1202 drivers/infiniband/hw/qib/qib_verbs.c props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE); props 1203 drivers/infiniband/hw/qib/qib_verbs.c props->lmc = ppd->lmc; props 1204 drivers/infiniband/hw/qib/qib_verbs.c props->state = dd->f_iblink_state(ppd->lastibcstat); props 1205 drivers/infiniband/hw/qib/qib_verbs.c props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); props 1206 drivers/infiniband/hw/qib/qib_verbs.c props->gid_tbl_len = QIB_GUIDS_PER_PORT; props 1207 drivers/infiniband/hw/qib/qib_verbs.c props->active_width = ppd->link_width_active; props 1209 drivers/infiniband/hw/qib/qib_verbs.c props->active_speed = ppd->link_speed_active; props 1210 drivers/infiniband/hw/qib/qib_verbs.c props->max_vl_num = qib_num_vls(ppd->vls_supported); props 1212 drivers/infiniband/hw/qib/qib_verbs.c props->max_mtu = qib_ibmtu ? qib_ibmtu : IB_MTU_4096; props 1232 drivers/infiniband/hw/qib/qib_verbs.c props->active_mtu = mtu; props 1441 drivers/infiniband/hw/qib/qib_verbs.c memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); props 1443 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_pd = ib_qib_max_pds; props 1444 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_ah = ib_qib_max_ahs; props 1445 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | props 1449 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.page_size_cap = PAGE_SIZE; props 1450 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.vendor_id = props 1452 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.vendor_part_id = dd->deviceid; props 1453 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.hw_ver = dd->minrev; props 1454 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.sys_image_guid = ib_qib_sys_image_guid; props 1455 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_mr_size = ~0ULL; props 1456 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_qp = ib_qib_max_qps; props 1457 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_qp_wr = ib_qib_max_qp_wrs; props 1458 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_send_sge = ib_qib_max_sges; props 1459 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_recv_sge = ib_qib_max_sges; props 1460 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_sge_rd = ib_qib_max_sges; props 1461 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_cq = ib_qib_max_cqs; props 1462 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_cqe = ib_qib_max_cqes; props 1463 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_ah = ib_qib_max_ahs; props 1464 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_map_per_fmr = 32767; props 1465 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_qp_rd_atom = QIB_MAX_RDMA_ATOMIC; props 1466 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_qp_init_rd_atom = 255; props 1467 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_srq = ib_qib_max_srqs; props 1468 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_srq_wr = ib_qib_max_srq_wrs; props 1469 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_srq_sge = ib_qib_max_srq_sges; props 1470 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.atomic_cap = IB_ATOMIC_GLOB; props 1471 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_pkeys = qib_get_npkeys(dd); props 1472 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_mcast_grp = ib_qib_max_mcast_grps; props 1473 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_mcast_qp_attach = ib_qib_max_mcast_qp_attached; props 1474 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_total_mcast_qp_attach = props 1475 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_mcast_qp_attach * props 1476 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_mcast_grp; props 276 drivers/infiniband/hw/usnic/usnic_ib_verbs.c struct ib_device_attr *props, props 290 drivers/infiniband/hw/usnic/usnic_ib_verbs.c memset(props, 0, sizeof(*props)); props 293 drivers/infiniband/hw/usnic/usnic_ib_verbs.c memcpy(&props->sys_image_guid, &gid.global.interface_id, props 295 drivers/infiniband/hw/usnic/usnic_ib_verbs.c usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver); props 296 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_mr_size = USNIC_UIOM_MAX_MR_SIZE; props 297 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->page_size_cap = USNIC_UIOM_PAGE_SIZE; props 298 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->vendor_id = PCI_VENDOR_ID_CISCO; props 299 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->vendor_part_id = PCI_DEVICE_ID_CISCO_VIC_USPACE_NIC; props 300 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->hw_ver = us_ibdev->pdev->subsystem_device; props 303 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_qp = qp_per_vf * props 305 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->device_cap_flags = IB_DEVICE_PORT_ACTIVE_EVENT | props 307 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_cq = us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_CQ] * props 309 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_pd = USNIC_UIOM_MAX_PD_CNT; props 310 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_mr = USNIC_UIOM_MAX_MR_CNT; props 311 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->local_ca_ack_delay = 0; props 312 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_pkeys = 0; props 313 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->atomic_cap = IB_ATOMIC_NONE; props 314 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->masked_atomic_cap = props->atomic_cap; props 315 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_qp_rd_atom = 0; props 316 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_qp_init_rd_atom = 0; props 317 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_res_rd_atom = 0; props 318 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_srq = 0; props 319 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_srq_wr = 0; props 320 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_srq_sge = 0; props 321 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_fast_reg_page_list_len = 0; props 322 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_mcast_grp = 0; props 323 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_mcast_qp_attach = 0; props 324 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_total_mcast_qp_attach = 0; props 325 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_map_per_fmr = 0; props 334 drivers/infiniband/hw/usnic/usnic_ib_verbs.c struct ib_port_attr *props) props 340 drivers/infiniband/hw/usnic/usnic_ib_verbs.c if (ib_get_eth_speed(ibdev, port, &props->active_speed, props 341 drivers/infiniband/hw/usnic/usnic_ib_verbs.c &props->active_width)) props 352 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->lid = 0; props 353 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->lmc = 1; props 354 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->sm_lid = 0; props 355 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->sm_sl = 0; props 358 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->state = IB_PORT_DOWN; props 359 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->phys_state = IB_PORT_PHYS_STATE_DISABLED; props 361 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->state = IB_PORT_INIT; props 362 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->phys_state = props 365 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->state = IB_PORT_ACTIVE; props 366 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; props 369 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->port_cap_flags = 0; props 370 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->gid_tbl_len = 1; props 371 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->pkey_tbl_len = 1; props 372 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->bad_pkey_cntr = 0; props 373 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->qkey_viol_cntr = 0; props 374 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_mtu = IB_MTU_4096; props 375 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->active_mtu = iboe_get_mtu(us_ibdev->ufdev->mtu); props 377 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_msg_sz = us_ibdev->ufdev->mtu; props 378 drivers/infiniband/hw/usnic/usnic_ib_verbs.c props->max_vl_num = 1; props 42 drivers/infiniband/hw/usnic/usnic_ib_verbs.h struct ib_device_attr *props, props 45 drivers/infiniband/hw/usnic/usnic_ib_verbs.h struct ib_port_attr *props); props 66 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c struct ib_device_attr *props, props 74 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->fw_ver = dev->dsr->caps.fw_ver; props 75 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->sys_image_guid = dev->dsr->caps.sys_image_guid; props 76 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_mr_size = dev->dsr->caps.max_mr_size; props 77 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->page_size_cap = dev->dsr->caps.page_size_cap; props 78 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->vendor_id = dev->dsr->caps.vendor_id; props 79 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->vendor_part_id = dev->pdev->device; props 80 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->hw_ver = dev->dsr->caps.hw_ver; props 81 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_qp = dev->dsr->caps.max_qp; props 82 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_qp_wr = dev->dsr->caps.max_qp_wr; props 83 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->device_cap_flags = dev->dsr->caps.device_cap_flags; props 84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_send_sge = dev->dsr->caps.max_sge; props 85 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_recv_sge = dev->dsr->caps.max_sge; props 86 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_sge_rd = PVRDMA_GET_CAP(dev, dev->dsr->caps.max_sge, props 88 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_srq = dev->dsr->caps.max_srq; props 89 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_srq_wr = dev->dsr->caps.max_srq_wr; props 90 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_srq_sge = dev->dsr->caps.max_srq_sge; props 91 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_cq = dev->dsr->caps.max_cq; props 92 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_cqe = dev->dsr->caps.max_cqe; props 93 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_mr = dev->dsr->caps.max_mr; props 94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_pd = dev->dsr->caps.max_pd; props 95 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_qp_rd_atom = dev->dsr->caps.max_qp_rd_atom; props 96 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_qp_init_rd_atom = dev->dsr->caps.max_qp_init_rd_atom; props 97 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->atomic_cap = props 101 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->masked_atomic_cap = props->atomic_cap; props 102 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_ah = dev->dsr->caps.max_ah; props 103 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_pkeys = dev->dsr->caps.max_pkeys; props 104 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->local_ca_ack_delay = dev->dsr->caps.local_ca_ack_delay; props 108 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; props 109 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_fast_reg_page_list_len = PVRDMA_GET_CAP(dev, props 114 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->device_cap_flags |= IB_DEVICE_PORT_ACTIVE_EVENT | props 129 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c struct ib_port_attr *props) props 151 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->state = pvrdma_port_state_to_ib(resp->attrs.state); props 152 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_mtu = pvrdma_mtu_to_ib(resp->attrs.max_mtu); props 153 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->active_mtu = pvrdma_mtu_to_ib(resp->attrs.active_mtu); props 154 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->gid_tbl_len = resp->attrs.gid_tbl_len; props 155 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->port_cap_flags = props 157 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->port_cap_flags |= IB_PORT_CM_SUP; props 158 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->ip_gids = true; props 159 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_msg_sz = resp->attrs.max_msg_sz; props 160 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->bad_pkey_cntr = resp->attrs.bad_pkey_cntr; props 161 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->qkey_viol_cntr = resp->attrs.qkey_viol_cntr; props 162 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->pkey_tbl_len = resp->attrs.pkey_tbl_len; props 163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->lid = resp->attrs.lid; props 164 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->sm_lid = resp->attrs.sm_lid; props 165 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->lmc = resp->attrs.lmc; props 166 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_vl_num = resp->attrs.max_vl_num; props 167 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->sm_sl = resp->attrs.sm_sl; props 168 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->subnet_timeout = resp->attrs.subnet_timeout; props 169 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->init_type_reply = resp->attrs.init_type_reply; props 170 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->active_width = pvrdma_port_width_to_ib(resp->attrs.active_width); props 171 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->active_speed = pvrdma_port_speed_to_ib(resp->attrs.active_speed); props 172 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->phys_state = resp->attrs.phys_state; props 241 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c struct ib_device_modify *props) props 254 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c memcpy(ibdev->node_desc, props->node_desc, 64); props 261 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c cpu_to_be64(props->sys_image_guid); props 278 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c struct ib_port_modify *props) props 295 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c vdev->port_cap_mask |= props->set_port_cap_mask; props 296 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c vdev->port_cap_mask &= ~props->clr_port_cap_mask; props 384 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h struct ib_device_attr *props, props 387 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h struct ib_port_attr *props); props 395 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h struct ib_device_modify *props); props 397 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h int mask, struct ib_port_modify *props); props 112 drivers/infiniband/sw/rdmavt/ah.c if (dev->n_ahs_allocated == dev->dparms.props.max_ah) { props 216 drivers/infiniband/sw/rdmavt/cq.c if (entries < 1 || entries > rdi->dparms.props.max_cqe) props 263 drivers/infiniband/sw/rdmavt/cq.c if (rdi->n_cqs_allocated == rdi->dparms.props.max_cq) { props 391 drivers/infiniband/sw/rdmavt/cq.c if (cqe < 1 || cqe > rdi->dparms.props.max_cqe) props 234 drivers/infiniband/sw/rdmavt/mcast.c rdi->dparms.props.max_mcast_qp_attach) { props 247 drivers/infiniband/sw/rdmavt/mcast.c if (rdi->n_mcast_grps_allocated == rdi->dparms.props.max_mcast_grp) { props 99 drivers/infiniband/sw/rdmavt/mr.c rdi->dparms.props.max_mr = rdi->lkey_table.max; props 100 drivers/infiniband/sw/rdmavt/mr.c rdi->dparms.props.max_fmr = rdi->lkey_table.max; props 75 drivers/infiniband/sw/rdmavt/pd.c if (dev->n_pds_allocated == dev->dparms.props.max_pd) { props 1081 drivers/infiniband/sw/rdmavt/qp.c if (init_attr->cap.max_send_sge > rdi->dparms.props.max_send_sge || props 1082 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_send_wr > rdi->dparms.props.max_qp_wr || props 1089 drivers/infiniband/sw/rdmavt/qp.c rdi->dparms.props.max_recv_sge || props 1090 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_recv_wr > rdi->dparms.props.max_qp_wr) props 1263 drivers/infiniband/sw/rdmavt/qp.c if (rdi->n_qps_allocated == rdi->dparms.props.max_qp) { props 88 drivers/infiniband/sw/rdmavt/srq.c srq_init_attr->attr.max_sge > dev->dparms.props.max_srq_sge || props 90 drivers/infiniband/sw/rdmavt/srq.c srq_init_attr->attr.max_wr > dev->dparms.props.max_srq_wr) props 132 drivers/infiniband/sw/rdmavt/srq.c if (dev->n_srqs_allocated == dev->dparms.props.max_srq) { props 182 drivers/infiniband/sw/rdmavt/srq.c if ((attr->max_wr > dev->dparms.props.max_srq_wr) || props 122 drivers/infiniband/sw/rdmavt/vt.c struct ib_device_attr *props, props 132 drivers/infiniband/sw/rdmavt/vt.c *props = rdi->dparms.props; props 157 drivers/infiniband/sw/rdmavt/vt.c struct ib_port_attr *props) props 168 drivers/infiniband/sw/rdmavt/vt.c props->sm_lid = rvp->sm_lid; props 169 drivers/infiniband/sw/rdmavt/vt.c props->sm_sl = rvp->sm_sl; props 170 drivers/infiniband/sw/rdmavt/vt.c props->port_cap_flags = rvp->port_cap_flags; props 171 drivers/infiniband/sw/rdmavt/vt.c props->max_msg_sz = 0x80000000; props 172 drivers/infiniband/sw/rdmavt/vt.c props->pkey_tbl_len = rvt_get_npkeys(rdi); props 173 drivers/infiniband/sw/rdmavt/vt.c props->bad_pkey_cntr = rvp->pkey_violations; props 174 drivers/infiniband/sw/rdmavt/vt.c props->qkey_viol_cntr = rvp->qkey_violations; props 175 drivers/infiniband/sw/rdmavt/vt.c props->subnet_timeout = rvp->subnet_timeout; props 176 drivers/infiniband/sw/rdmavt/vt.c props->init_type_reply = 0; props 179 drivers/infiniband/sw/rdmavt/vt.c return rdi->driver_f.query_port_state(rdi, port_num, props); props 192 drivers/infiniband/sw/rdmavt/vt.c int port_modify_mask, struct ib_port_modify *props) props 204 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap3_flags |= props->set_port_cap_mask; props 205 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap3_flags &= ~props->clr_port_cap_mask; props 207 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap_flags |= props->set_port_cap_mask; props 208 drivers/infiniband/sw/rdmavt/vt.c rvp->port_cap_flags &= ~props->clr_port_cap_mask; props 211 drivers/infiniband/sw/rdmavt/vt.c if (props->set_port_cap_mask || props->clr_port_cap_mask) props 137 drivers/input/rmi4/rmi_f01.c struct f01_basic_properties *props) props 162 drivers/input/rmi4/rmi_f01.c props->manufacturer_id = queries[0]; props 164 drivers/input/rmi4/rmi_f01.c props->has_lts = queries[1] & RMI_F01_QRY1_HAS_LTS; props 165 drivers/input/rmi4/rmi_f01.c props->has_adjustable_doze = props 167 drivers/input/rmi4/rmi_f01.c props->has_adjustable_doze_holdoff = props 172 drivers/input/rmi4/rmi_f01.c snprintf(props->dom, sizeof(props->dom), "20%02d/%02d/%02d", props 177 drivers/input/rmi4/rmi_f01.c memcpy(props->product_id, &queries[11], props 179 drivers/input/rmi4/rmi_f01.c props->product_id[RMI_PRODUCT_ID_LENGTH] = '\0'; props 181 drivers/input/rmi4/rmi_f01.c props->productinfo = props 232 drivers/input/rmi4/rmi_f01.c props->package_id = get_unaligned_le64(queries); props 246 drivers/input/rmi4/rmi_f01.c props->firmware_id = queries[1] << 8 | queries[0]; props 247 drivers/input/rmi4/rmi_f01.c props->firmware_id += queries[2] * 65536; props 160 drivers/input/touchscreen/bu21013_ts.c struct touchscreen_properties props; props 213 drivers/input/touchscreen/bu21013_ts.c &ts->props, x, y); props 454 drivers/input/touchscreen/bu21013_ts.c touchscreen_parse_properties(in_dev, true, &ts->props); props 457 drivers/input/touchscreen/bu21013_ts.c if (!ts->props.invert_x && props 464 drivers/input/touchscreen/bu21013_ts.c if (!ts->props.invert_y && props 30 drivers/input/touchscreen/eeti_ts.c struct touchscreen_properties props; props 61 drivers/input/touchscreen/eeti_ts.c touchscreen_report_pos(eeti->input, &eeti->props, x, y, false); props 196 drivers/input/touchscreen/eeti_ts.c touchscreen_parse_properties(input, false, &eeti->props); props 64 drivers/input/touchscreen/mms114.c struct touchscreen_properties props; props 184 drivers/input/touchscreen/mms114.c touchscreen_report_pos(input_dev, &data->props, x, y, true); props 282 drivers/input/touchscreen/mms114.c const struct touchscreen_properties *props = &data->props; props 298 drivers/input/touchscreen/mms114.c val = (props->max_x >> 8) & 0xf; props 299 drivers/input/touchscreen/mms114.c val |= ((props->max_y >> 8) & 0xf) << 4; props 304 drivers/input/touchscreen/mms114.c val = props->max_x & 0xff; props 309 drivers/input/touchscreen/mms114.c val = props->max_x & 0xff; props 396 drivers/input/touchscreen/mms114.c struct touchscreen_properties *props = &data->props; props 398 drivers/input/touchscreen/mms114.c if (device_property_read_u32(dev, "x-size", &props->max_x)) { props 403 drivers/input/touchscreen/mms114.c if (device_property_read_u32(dev, "y-size", &props->max_y)) { props 414 drivers/input/touchscreen/mms114.c props->invert_x = true; props 416 drivers/input/touchscreen/mms114.c props->invert_y = true; props 418 drivers/input/touchscreen/mms114.c props->swap_x_y = false; props 460 drivers/input/touchscreen/mms114.c touchscreen_parse_properties(input_dev, true, &data->props); props 461 drivers/input/touchscreen/mms114.c if (!data->props.max_x || !data->props.max_y) { props 469 drivers/input/touchscreen/mms114.c 0, data->props.max_x, 0, 0); props 471 drivers/input/touchscreen/mms114.c 0, data->props.max_y, 0, 0); props 104 drivers/input/touchscreen/sx8654.c struct touchscreen_properties props; props 181 drivers/input/touchscreen/sx8654.c touchscreen_report_pos(ts->input, &ts->props, x, y, false); props 228 drivers/input/touchscreen/sx8654.c touchscreen_report_pos(sx8654->input, &sx8654->props, x, y, props 364 drivers/input/touchscreen/sx8654.c touchscreen_parse_properties(input, false, &sx8654->props); props 370 drivers/leds/led-core.c struct led_properties *props) props 378 drivers/leds/led-core.c ret = fwnode_property_read_string(fwnode, "label", &props->label); props 385 drivers/leds/led-core.c ret = fwnode_property_read_u32(fwnode, "color", &props->color); props 388 drivers/leds/led-core.c else if (props->color >= LED_COLOR_ID_MAX) props 391 drivers/leds/led-core.c props->color_present = true; props 398 drivers/leds/led-core.c ret = fwnode_property_read_string(fwnode, "function", &props->function); props 409 drivers/leds/led-core.c &props->func_enum); props 415 drivers/leds/led-core.c props->func_enum_present = true; props 422 drivers/leds/led-core.c struct led_properties props = {}; props 429 drivers/leds/led-core.c led_parse_fwnode_props(dev, fwnode, &props); props 431 drivers/leds/led-core.c if (props.label) { props 439 drivers/leds/led-core.c strscpy(led_classdev_name, props.label, props 443 drivers/leds/led-core.c devicename, props.label); props 445 drivers/leds/led-core.c } else if (props.function || props.color_present) { props 448 drivers/leds/led-core.c if (props.func_enum_present) { props 450 drivers/leds/led-core.c props.color_present ? led_colors[props.color] : "", props 451 drivers/leds/led-core.c props.function ?: "", props.func_enum); props 454 drivers/leds/led-core.c props.color_present ? led_colors[props.color] : "", props 455 drivers/leds/led-core.c props.function ?: ""); props 75 drivers/macintosh/via-pmu-backlight.c int level = bd->props.brightness; props 78 drivers/macintosh/via-pmu-backlight.c if (bd->props.power != FB_BLANK_UNBLANK || props 79 drivers/macintosh/via-pmu-backlight.c bd->props.fb_blank != FB_BLANK_UNBLANK) props 142 drivers/macintosh/via-pmu-backlight.c struct backlight_properties props; props 160 drivers/macintosh/via-pmu-backlight.c memset(&props, 0, sizeof(struct backlight_properties)); props 161 drivers/macintosh/via-pmu-backlight.c props.type = BACKLIGHT_PLATFORM; props 162 drivers/macintosh/via-pmu-backlight.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 164 drivers/macintosh/via-pmu-backlight.c &props); props 172 drivers/macintosh/via-pmu-backlight.c level = bd->props.max_brightness; props 182 drivers/macintosh/via-pmu-backlight.c bd->props.max_brightness / 15); props 185 drivers/macintosh/via-pmu-backlight.c bd->props.brightness = level; props 186 drivers/macintosh/via-pmu-backlight.c bd->props.power = FB_BLANK_UNBLANK; props 1373 drivers/media/common/cx2341x.c u32 props; props 1401 drivers/media/common/cx2341x.c props = (hdl->audio_sampling_freq->val << 0) | props 1406 drivers/media/common/cx2341x.c props |= 3 << 12; props 1408 drivers/media/common/cx2341x.c props |= hdl->audio_emphasis->val << 12; props 1411 drivers/media/common/cx2341x.c props |= props 1420 drivers/media/common/cx2341x.c props |= props 1425 drivers/media/common/cx2341x.c CX2341X_ENC_SET_AUDIO_PROPERTIES, 1, props); props 1429 drivers/media/common/cx2341x.c hdl->audio_properties = props; props 2061 drivers/media/dvb-core/dvb_frontend.c compat_uptr_t props; props 2091 drivers/media/dvb-core/dvb_frontend.c tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); props 2122 drivers/media/dvb-core/dvb_frontend.c tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); props 2148 drivers/media/dvb-core/dvb_frontend.c if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp, props 2330 drivers/media/dvb-core/dvb_frontend.c __func__, tvps->props); props 2339 drivers/media/dvb-core/dvb_frontend.c tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); props 2361 drivers/media/dvb-core/dvb_frontend.c if (copy_to_user((void __user *)tvps->props, tvp, props 2408 drivers/media/dvb-core/dvb_frontend.c __func__, tvps->props); props 2417 drivers/media/dvb-core/dvb_frontend.c tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); props 1803 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c struct dtv_frontend_properties *props) props 1807 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !props) { props 1815 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_get_frontend_t(fe, props); props 1818 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_get_frontend_t2(fe, props); props 103 drivers/media/dvb-frontends/drxd_hard.c struct dtv_frontend_properties props; props 1613 drivers/media/dvb-frontends/drxd_hard.c switch (state->props.bandwidth_hz) { props 1797 drivers/media/dvb-frontends/drxd_hard.c if (state->props.bandwidth_hz == 8000000) { props 1899 drivers/media/dvb-frontends/drxd_hard.c struct dtv_frontend_properties *p = &state->props; props 1964 drivers/media/dvb-frontends/drxd_hard.c mirrorFreqSpect = (state->props.inversion == INVERSION_ON); props 2864 drivers/media/dvb-frontends/drxd_hard.c state->props = *p; props 1829 drivers/media/dvb-frontends/drxk_hard.c state->m_b_mirror_freq_spect = (state->props.inversion == INVERSION_ON); props 2449 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.modulation) { props 2682 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.modulation) { props 3771 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.transmission_mode) { props 3785 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.guard_interval) { props 3805 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.hierarchy) { props 3826 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.modulation) { props 3869 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.code_rate_HP) { props 3904 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.bandwidth_hz) { props 3906 drivers/media/dvb-frontends/drxk_hard.c state->props.bandwidth_hz = 8000000; props 5278 drivers/media/dvb-frontends/drxk_hard.c if (state->props.symbol_rate <= 1188750) props 5280 drivers/media/dvb-frontends/drxk_hard.c else if (state->props.symbol_rate <= 2377500) props 5282 drivers/media/dvb-frontends/drxk_hard.c else if (state->props.symbol_rate <= 4755000) props 5291 drivers/media/dvb-frontends/drxk_hard.c symb_freq = state->props.symbol_rate * (1 << ratesel); props 5307 drivers/media/dvb-frontends/drxk_hard.c symb_freq = state->props.symbol_rate; props 5468 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.modulation) { props 5544 drivers/media/dvb-frontends/drxk_hard.c state->props.symbol_rate); props 5628 drivers/media/dvb-frontends/drxk_hard.c switch (state->props.modulation) { props 6360 drivers/media/dvb-frontends/drxk_hard.c old_delsys = state->props.delivery_system; props 6361 drivers/media/dvb-frontends/drxk_hard.c state->props = *p; props 213 drivers/media/dvb-frontends/drxk_hard.h struct dtv_frontend_properties props; props 860 drivers/media/dvb-frontends/rtl2832_sdr.c if (d->props->power_ctrl) props 861 drivers/media/dvb-frontends/rtl2832_sdr.c d->props->power_ctrl(d, 1); props 864 drivers/media/dvb-frontends/rtl2832_sdr.c if (d->props->frontend_ctrl) props 865 drivers/media/dvb-frontends/rtl2832_sdr.c d->props->frontend_ctrl(pdata->dvb_frontend, 1); props 931 drivers/media/dvb-frontends/rtl2832_sdr.c if (d->props->frontend_ctrl) props 932 drivers/media/dvb-frontends/rtl2832_sdr.c d->props->frontend_ctrl(pdata->dvb_frontend, 0); props 934 drivers/media/dvb-frontends/rtl2832_sdr.c if (d->props->power_ctrl) props 935 drivers/media/dvb-frontends/rtl2832_sdr.c d->props->power_ctrl(d, 0); props 1421 drivers/media/dvb-frontends/stb0899_drv.c struct dtv_frontend_properties *props = &fe->dtv_property_cache; props 1425 drivers/media/dvb-frontends/stb0899_drv.c i_params->freq = props->frequency; props 1426 drivers/media/dvb-frontends/stb0899_drv.c i_params->srate = props->symbol_rate; props 1427 drivers/media/dvb-frontends/stb0899_drv.c state->delsys = props->delivery_system; props 3466 drivers/media/dvb-frontends/stv090x.c struct dtv_frontend_properties *props = &fe->dtv_property_cache; props 3468 drivers/media/dvb-frontends/stv090x.c if (props->frequency == 0) props 3471 drivers/media/dvb-frontends/stv090x.c switch (props->delivery_system) { props 3485 drivers/media/dvb-frontends/stv090x.c state->frequency = props->frequency; props 3486 drivers/media/dvb-frontends/stv090x.c state->srate = props->symbol_rate; props 3498 drivers/media/dvb-frontends/stv090x.c stv090x_set_pls(state, props->scrambling_sequence_index); props 3499 drivers/media/dvb-frontends/stv090x.c stv090x_set_mis(state, props->stream_id); props 24 drivers/media/tuners/tuner-i2c.h static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props, props 27 drivers/media/tuners/tuner-i2c.h struct i2c_msg msg = { .addr = props->addr, .flags = 0, props 29 drivers/media/tuners/tuner-i2c.h int ret = i2c_transfer(props->adap, &msg, 1); props 34 drivers/media/tuners/tuner-i2c.h static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, props 37 drivers/media/tuners/tuner-i2c.h struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, props 39 drivers/media/tuners/tuner-i2c.h int ret = i2c_transfer(props->adap, &msg, 1); props 44 drivers/media/tuners/tuner-i2c.h static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, props 48 drivers/media/tuners/tuner-i2c.h struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, props 50 drivers/media/tuners/tuner-i2c.h { .addr = props->addr, .flags = I2C_M_RD, props 52 drivers/media/tuners/tuner-i2c.h int ret = i2c_transfer(props->adap, msg, 2); props 71 drivers/media/usb/dvb-usb-v2/anysee.c d->props->generic_bulk_ctrl_endpoint), props 94 drivers/media/usb/dvb-usb-v2/dvb_usb.h .props = (props_), \ props 112 drivers/media/usb/dvb-usb-v2/dvb_usb.h const struct dvb_usb_device_properties *props; props 278 drivers/media/usb/dvb-usb-v2/dvb_usb.h struct usb_data_stream_properties props; props 318 drivers/media/usb/dvb-usb-v2/dvb_usb.h const struct dvb_usb_adapter_properties *props; props 362 drivers/media/usb/dvb-usb-v2/dvb_usb.h const struct dvb_usb_device_properties *props; props 16 drivers/media/usb/dvb-usb-v2/dvb_usb_common.h const struct usb_data_stream_properties *props); props 19 drivers/media/usb/dvb-usb-v2/dvb_usb_common.h struct usb_data_stream_properties *props); props 29 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (!d->props->download_firmware) { props 45 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->download_firmware(d, fw); props 61 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (!d->props->i2c_algo) props 65 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->i2c_adap.algo = d->props->i2c_algo; props 125 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) props 129 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->get_rc_config(d, &d->rc); props 149 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dev->driver_name = d->props->driver_name; props 229 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c return usb_urb_initv2(&adap->stream, &adap->props->stream); props 266 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->get_stream_config) { props 267 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c memcpy(&stream_props, &adap->props->stream, props 269 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->get_stream_config(adap->fe[adap->active_fe], props 276 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c stream_props = adap->props->stream; props 296 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->pid_filtering && adap->props->pid_filter_ctrl) { props 297 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter_ctrl(adap, 1); props 305 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->streaming_ctrl) { props 306 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->streaming_ctrl(adap->fe[adap->active_fe], 1); props 315 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->pid_filtering && adap->props->pid_filter) { props 316 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter(adap, dvbdmxfeed->index, props 343 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->pid_filtering && adap->props->pid_filter) { props 344 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter(adap, dvbdmxfeed->index, props 356 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->streaming_ctrl) { props 357 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->streaming_ctrl(adap->fe[adap->active_fe], 0); props 365 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->pid_filtering && adap->props->pid_filter_ctrl) { props 366 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter_ctrl(adap, 0); props 438 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = dvb_register_adapter(&adap->dvb_adap, d->name, d->props->owner, props 439 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c &d->udev->dev, d->props->adapter_nr); props 455 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->read_mac_address) { props 456 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->read_mac_address(adap, props 539 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->power_ctrl) { props 540 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->power_ctrl(d, onoff); props 569 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->frontend_ctrl) { props 570 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_ctrl(fe, 1); props 611 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->frontend_ctrl) { props 612 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_ctrl(fe, 0); props 640 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->frontend_attach) { props 641 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_attach(adap); props 674 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->tuner_attach) { props 675 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->tuner_attach(adap); props 722 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->tuner_detach) { props 723 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->tuner_detach(adap); props 730 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->frontend_detach) { props 731 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_detach(adap); props 748 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adapter_count = d->props->num_adapters; props 749 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->get_adapter_count) { props 750 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->get_adapter_count(d); props 760 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->props = &d->props->adapter[i]; props 764 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c !(adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { props 771 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || props 772 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c (adap->props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { props 776 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->props->pid_filter_count); props 778 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->max_feed_count = adap->props->pid_filter_count; props 788 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->props->caps & DVB_USB_ADAP_HAS_PID_FILTER) { props 793 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->max_feed_count = adap->props->pid_filter_count; props 825 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->adapter[i].props) { props 855 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->read_config) { props 856 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->read_config(d); props 869 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->init) { props 870 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->init(d); props 917 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props = driver_info->props; props 920 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->bInterfaceNumber) { props 928 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->size_of_priv) { props 929 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->priv = kzalloc(d->props->size_of_priv, GFP_KERNEL); props 938 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->probe) { props 939 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->probe(d); props 944 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->identify_state) { props 946 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->identify_state(d, &name); props 953 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c name = d->props->firmware; props 993 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->disconnect) props 994 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->disconnect(d); props 1014 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->exit) props 1015 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->exit(d); props 1019 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->disconnect) props 1020 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->disconnect(d); props 1048 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->streaming_ctrl) props 1049 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->streaming_ctrl(fe, 0); props 1078 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->streaming_ctrl) props 1079 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->streaming_ctrl(fe, 1); props 1110 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->props->init) props 1111 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->init(d); props 16 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint || props 17 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c !d->props->generic_bulk_ctrl_endpoint_response) { props 25 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c d->props->generic_bulk_ctrl_endpoint), wbuf, wlen, props 40 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c if (d->props->generic_bulk_ctrl_delay) props 41 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c usleep_range(d->props->generic_bulk_ctrl_delay, props 42 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c d->props->generic_bulk_ctrl_delay props 46 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c d->props->generic_bulk_ctrl_endpoint_response), props 337 drivers/media/usb/dvb-usb-v2/ec168.c .props = &ec168_props, props 1154 drivers/media/usb/dvb-usb-v2/lmedm04.c d->props->bInterfaceNumber, 1); props 17 drivers/media/usb/dvb-usb-v2/usb_urb.c struct usb_data_stream_properties *props); props 92 drivers/media/usb/dvb-usb-v2/usb_urb.c struct usb_data_stream_properties *props) props 96 drivers/media/usb/dvb-usb-v2/usb_urb.c if (props) { props 97 drivers/media/usb/dvb-usb-v2/usb_urb.c ret = usb_urb_reconfig(stream, props); props 141 drivers/media/usb/dvb-usb-v2/usb_urb.c for (i = 0; i < stream->props.count; i++) { props 153 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.endpoint), props 155 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize, props 168 drivers/media/usb/dvb-usb-v2/usb_urb.c for (i = 0; i < stream->props.count; i++) { props 173 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb, GFP_ATOMIC); props 187 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.endpoint); props 189 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->interval = stream->props.u.isoc.interval; props 190 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->number_of_packets = stream->props.u.isoc.framesperurb; props 191 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->transfer_buffer_length = stream->props.u.isoc.framesize * props 192 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb; props 195 drivers/media/usb/dvb-usb-v2/usb_urb.c for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { props 198 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize; props 199 drivers/media/usb/dvb-usb-v2/usb_urb.c frame_offset += stream->props.u.isoc.framesize; props 251 drivers/media/usb/dvb-usb-v2/usb_urb.c struct usb_data_stream_properties *props) props 255 drivers/media/usb/dvb-usb-v2/usb_urb.c if (!props) props 259 drivers/media/usb/dvb-usb-v2/usb_urb.c if (props->type == USB_BULK) { props 260 drivers/media/usb/dvb-usb-v2/usb_urb.c buf_size = stream->props.u.bulk.buffersize; props 261 drivers/media/usb/dvb-usb-v2/usb_urb.c } else if (props->type == USB_ISOC) { props 262 drivers/media/usb/dvb-usb-v2/usb_urb.c buf_size = props->u.isoc.framesize * props->u.isoc.framesperurb; props 265 drivers/media/usb/dvb-usb-v2/usb_urb.c KBUILD_MODNAME, props->type); props 269 drivers/media/usb/dvb-usb-v2/usb_urb.c if (stream->buf_num < props->count || stream->buf_size < buf_size) { props 277 drivers/media/usb/dvb-usb-v2/usb_urb.c if (stream->props.type == props->type && props 278 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.count == props->count && props 279 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.endpoint == props->endpoint) { props 280 drivers/media/usb/dvb-usb-v2/usb_urb.c if (props->type == USB_BULK && props 281 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.bulk.buffersize == props 282 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize) props 284 drivers/media/usb/dvb-usb-v2/usb_urb.c else if (props->type == USB_ISOC && props 285 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.framesperurb == props 286 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb && props 287 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.framesize == props 288 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize && props 289 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.interval == props 290 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.interval) props 297 drivers/media/usb/dvb-usb-v2/usb_urb.c memcpy(&stream->props, props, sizeof(*props)); props 298 drivers/media/usb/dvb-usb-v2/usb_urb.c if (props->type == USB_BULK) props 300 drivers/media/usb/dvb-usb-v2/usb_urb.c else if (props->type == USB_ISOC) props 307 drivers/media/usb/dvb-usb-v2/usb_urb.c const struct usb_data_stream_properties *props) props 311 drivers/media/usb/dvb-usb-v2/usb_urb.c if (!stream || !props) props 314 drivers/media/usb/dvb-usb-v2/usb_urb.c memcpy(&stream->props, props, sizeof(*props)); props 323 drivers/media/usb/dvb-usb-v2/usb_urb.c switch (stream->props.type) { props 325 drivers/media/usb/dvb-usb-v2/usb_urb.c ret = usb_alloc_stream_buffers(stream, stream->props.count, props 326 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize); props 332 drivers/media/usb/dvb-usb-v2/usb_urb.c ret = usb_alloc_stream_buffers(stream, stream->props.count, props 333 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize * props 334 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb); props 30 drivers/media/usb/dvb-usb/a800.c static int a800_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, props 958 drivers/media/usb/dvb-usb/af9005.c struct dvb_usb_device_properties *props, props 1054 drivers/media/usb/dvb-usb/az6027.c struct dvb_usb_device_properties *props, props 312 drivers/media/usb/dvb-usb/cxusb.c bool is_medion = d->props.devices[0].warm_ids[0] == &cxusb_table[MEDION_MD95700]; props 425 drivers/media/usb/dvb-usb/cxusb.c bool is_medion = dvbdev->props.devices[0].warm_ids[0] == props 460 drivers/media/usb/dvb-usb/cxusb.c int ep = d->props.generic_bulk_ctrl_endpoint; props 483 drivers/media/usb/dvb-usb/cxusb.c struct usb_data_stream_properties *p = &d->props.adapter[0].fe[0].stream; props 704 drivers/media/usb/dvb-usb/cxusb.c bool is_medion = dvbdev->props.devices[0].warm_ids[0] == props 902 drivers/media/usb/dvb-usb/cxusb.c bool is_medion = dvbdev->props.devices[0].warm_ids[0] == props 1020 drivers/media/usb/dvb-usb/cxusb.c for (i = 0; adap->dev->props.rc.core.rc_codes && i < 5; i++) { props 1028 drivers/media/usb/dvb-usb/cxusb.c adap->dev->props.rc.core.rc_codes = NULL; props 1266 drivers/media/usb/dvb-usb/cxusb.c d->props.generic_bulk_ctrl_endpoint)); props 1269 drivers/media/usb/dvb-usb/cxusb.c d->props.generic_bulk_ctrl_endpoint)); props 1272 drivers/media/usb/dvb-usb/cxusb.c d->props.adapter[0].fe[0].stream.endpoint)); props 1327 drivers/media/usb/dvb-usb/cxusb.c d->props.generic_bulk_ctrl_endpoint)); props 1330 drivers/media/usb/dvb-usb/cxusb.c d->props.generic_bulk_ctrl_endpoint)); props 1333 drivers/media/usb/dvb-usb/cxusb.c d->props.adapter[0].fe[0].stream.endpoint)); props 1364 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_device_properties *props, props 1678 drivers/media/usb/dvb-usb/cxusb.c if (d->props.devices[0].warm_ids[0] == &cxusb_table[MEDION_MD95700]) props 64 drivers/media/usb/dvb-usb/dib0700.h extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, props 375 drivers/media/usb/dvb-usb/dib0700_core.c int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, props 614 drivers/media/usb/dvb-usb/dib0700_core.c if ((adap->fe_adap[0].stream.props.endpoint != 2) props 615 drivers/media/usb/dvb-usb/dib0700_core.c && (adap->fe_adap[0].stream.props.endpoint != 3)) { props 616 drivers/media/usb/dvb-usb/dib0700_core.c deb_info("the endpoint number (%i) is not correct, use the adapter id instead", adap->fe_adap[0].stream.props.endpoint); props 623 drivers/media/usb/dvb-usb/dib0700_core.c st->channel_state |= 1 << (adap->fe_adap[0].stream.props.endpoint-2); props 625 drivers/media/usb/dvb-usb/dib0700_core.c st->channel_state |= 1 << (3-adap->fe_adap[0].stream.props.endpoint); props 680 drivers/media/usb/dvb-usb/dib0700_core.c d->props.rc.core.protocol = *rc_proto; props 744 drivers/media/usb/dvb-usb/dib0700_core.c switch (d->props.rc.core.protocol) { props 899 drivers/media/usb/dvb-usb/dib0700_core.c dev->props.rc.core.bulk_mode = true; props 901 drivers/media/usb/dvb-usb/dib0700_core.c dev->props.rc.core.bulk_mode = false; props 550 drivers/media/usb/dvb-usb/dib0700_devices.c switch (d->props.rc.core.protocol) { props 94 drivers/media/usb/dvb-usb/digitv.c dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, props 253 drivers/media/usb/dvb-usb/digitv.c for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { props 254 drivers/media/usb/dvb-usb/digitv.c if (rc5_custom(&d->props.rc.legacy.rc_map_table[i]) == key[1] && props 255 drivers/media/usb/dvb-usb/digitv.c rc5_data(&d->props.rc.legacy.rc_map_table[i]) == key[2]) { props 256 drivers/media/usb/dvb-usb/digitv.c *event = d->props.rc.legacy.rc_map_table[i].keycode; props 33 drivers/media/usb/dvb-usb/dvb-usb-common.h extern int usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props); props 34 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { props 35 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); props 50 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && props 52 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter != NULL) props 53 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); props 60 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && props 61 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].caps & props 63 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter_ctrl != NULL) { props 64 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].pid_filter_ctrl(adap, props 72 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { props 73 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 1); props 164 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->dev->props.read_mac_address) { props 165 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->dev->props.read_mac_address(adap->dev, adap->dvb_adap.proposed_mac) == 0) props 176 drivers/media/usb/dvb-usb/dvb-usb-dvb.c for (i = 0; i < adap->props.num_frontends; i++) { props 237 drivers/media/usb/dvb-usb/dvb-usb-dvb.c int ret = (adap->props.frontend_ctrl) ? props 238 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.frontend_ctrl(fe, onoff) : 0; props 281 drivers/media/usb/dvb-usb/dvb-usb-dvb.c for (i = 0; i < adap->props.num_frontends; i++) { props 283 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[i].frontend_attach == NULL) { props 290 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[i].frontend_attach(adap); props 321 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[i].tuner_attach != NULL) props 322 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[i].tuner_attach(adap); props 87 drivers/media/usb/dvb-usb/dvb-usb-firmware.c int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_device_properties *props) props 92 drivers/media/usb/dvb-usb/dvb-usb-firmware.c if ((ret = request_firmware(&fw, props->firmware, &udev->dev)) != 0) { props 94 drivers/media/usb/dvb-usb/dvb-usb-firmware.c props->firmware,ret); props 98 drivers/media/usb/dvb-usb/dvb-usb-firmware.c info("downloading firmware from file '%s'",props->firmware); props 100 drivers/media/usb/dvb-usb/dvb-usb-firmware.c switch (props->usb_ctrl) { props 104 drivers/media/usb/dvb-usb/dvb-usb-firmware.c ret = usb_cypress_load_firmware(udev, fw, props->usb_ctrl); props 107 drivers/media/usb/dvb-usb/dvb-usb-firmware.c if (props->download_firmware) props 108 drivers/media/usb/dvb-usb/dvb-usb-firmware.c ret = props->download_firmware(udev,fw); props 15 drivers/media/usb/dvb-usb/dvb-usb-i2c.c if (!(d->props.caps & DVB_USB_IS_AN_I2C_ADAPTER)) props 18 drivers/media/usb/dvb-usb/dvb-usb-i2c.c if (d->props.i2c_algo == NULL) { props 24 drivers/media/usb/dvb-usb/dvb-usb-i2c.c d->i2c_adap.algo = d->props.i2c_algo; props 31 drivers/media/usb/dvb-usb/dvb-usb-init.c for (n = 0; n < d->props.num_adapters; n++) { props 36 drivers/media/usb/dvb-usb/dvb-usb-init.c memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); props 38 drivers/media/usb/dvb-usb/dvb-usb-init.c for (o = 0; o < adap->props.num_frontends; o++) { props 39 drivers/media/usb/dvb-usb/dvb-usb-init.c struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; props 41 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { props 46 drivers/media/usb/dvb-usb/dvb-usb-init.c if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || props 47 drivers/media/usb/dvb-usb/dvb-usb-init.c (props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { props 48 drivers/media/usb/dvb-usb/dvb-usb-init.c info("will use the device's hardware PID filter (table count: %d).", props->pid_filter_count); props 50 drivers/media/usb/dvb-usb/dvb-usb-init.c adap->fe_adap[o].max_feed_count = props->pid_filter_count; props 59 drivers/media/usb/dvb-usb/dvb-usb-init.c props->caps & DVB_USB_ADAP_HAS_PID_FILTER) { props 62 drivers/media/usb/dvb-usb/dvb-usb-init.c adap->fe_adap[o].max_feed_count = props->pid_filter_count; props 65 drivers/media/usb/dvb-usb/dvb-usb-init.c if (props->size_of_priv > 0) { props 66 drivers/media/usb/dvb-usb/dvb-usb-init.c adap->fe_adap[o].priv = kzalloc(props->size_of_priv, GFP_KERNEL); props 74 drivers/media/usb/dvb-usb/dvb-usb-init.c if (adap->props.size_of_priv > 0) { props 75 drivers/media/usb/dvb-usb/dvb-usb-init.c adap->priv = kzalloc(adap->props.size_of_priv, GFP_KERNEL); props 100 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->props.generic_bulk_ctrl_endpoint != 0) { props 101 drivers/media/usb/dvb-usb/dvb-usb-init.c usb_clear_halt(d->udev, usb_sndbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint)); props 102 drivers/media/usb/dvb-usb/dvb-usb-init.c usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint)); props 134 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->priv != NULL && d->props.priv_destroy != NULL) props 135 drivers/media/usb/dvb-usb/dvb-usb-init.c d->props.priv_destroy(d); props 152 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->props.size_of_priv > 0) { props 153 drivers/media/usb/dvb-usb/dvb-usb-init.c d->priv = kzalloc(d->props.size_of_priv, GFP_KERNEL); props 159 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->props.priv_init != NULL) { props 160 drivers/media/usb/dvb-usb/dvb-usb-init.c ret = d->props.priv_init(d); props 187 drivers/media/usb/dvb-usb/dvb-usb-init.c static struct dvb_usb_device_description *dvb_usb_find_device(struct usb_device *udev, struct dvb_usb_device_properties *props, int *cold) props 194 drivers/media/usb/dvb-usb/dvb-usb-init.c for (i = 0; i < props->num_device_descs; i++) { props 196 drivers/media/usb/dvb-usb/dvb-usb-init.c for (j = 0; j < DVB_USB_ID_MAX_NUM && props->devices[i].cold_ids[j] != NULL; j++) { props 197 drivers/media/usb/dvb-usb/dvb-usb-init.c deb_info("check for cold %x %x\n", props->devices[i].cold_ids[j]->idVendor, props->devices[i].cold_ids[j]->idProduct); props 198 drivers/media/usb/dvb-usb/dvb-usb-init.c if (props->devices[i].cold_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && props 199 drivers/media/usb/dvb-usb/dvb-usb-init.c props->devices[i].cold_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) { props 201 drivers/media/usb/dvb-usb/dvb-usb-init.c desc = &props->devices[i]; props 209 drivers/media/usb/dvb-usb/dvb-usb-init.c for (j = 0; j < DVB_USB_ID_MAX_NUM && props->devices[i].warm_ids[j] != NULL; j++) { props 210 drivers/media/usb/dvb-usb/dvb-usb-init.c deb_info("check for warm %x %x\n", props->devices[i].warm_ids[j]->idVendor, props->devices[i].warm_ids[j]->idProduct); props 211 drivers/media/usb/dvb-usb/dvb-usb-init.c if (props->devices[i].warm_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) && props 212 drivers/media/usb/dvb-usb/dvb-usb-init.c props->devices[i].warm_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) { props 214 drivers/media/usb/dvb-usb/dvb-usb-init.c desc = &props->devices[i]; props 220 drivers/media/usb/dvb-usb/dvb-usb-init.c if (desc != NULL && props->identify_state != NULL) props 221 drivers/media/usb/dvb-usb/dvb-usb-init.c props->identify_state(udev, props, &desc, cold); props 235 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->props.power_ctrl) props 236 drivers/media/usb/dvb-usb/dvb-usb-init.c return d->props.power_ctrl(d, onoff); props 245 drivers/media/usb/dvb-usb/dvb-usb-init.c struct dvb_usb_device_properties *props, props 258 drivers/media/usb/dvb-usb/dvb-usb-init.c if ((desc = dvb_usb_find_device(udev, props, &cold)) == NULL) { props 265 drivers/media/usb/dvb-usb/dvb-usb-init.c ret = dvb_usb_download_firmware(udev, props); props 266 drivers/media/usb/dvb-usb/dvb-usb-init.c if (!props->no_reconnect || ret != 0) props 278 drivers/media/usb/dvb-usb/dvb-usb-init.c memcpy(&d->props, props, sizeof(struct dvb_usb_device_properties)); props 49 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; props 50 drivers/media/usb/dvb-usb/dvb-usb-remote.c unsigned int keymap_size = d->props.rc.legacy.rc_map_size; props 72 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; props 73 drivers/media/usb/dvb-usb/dvb-usb-remote.c unsigned int keymap_size = d->props.rc.legacy.rc_map_size; props 123 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (d->props.rc.legacy.rc_query(d,&event,&state)) { props 187 drivers/media/usb/dvb-usb/dvb-usb-remote.c schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); props 211 drivers/media/usb/dvb-usb/dvb-usb-remote.c deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); props 212 drivers/media/usb/dvb-usb/dvb-usb-remote.c for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { props 214 drivers/media/usb/dvb-usb/dvb-usb-remote.c d->props.rc.legacy.rc_map_table[i].keycode, i); props 215 drivers/media/usb/dvb-usb/dvb-usb-remote.c set_bit(d->props.rc.legacy.rc_map_table[i].keycode, input_dev->keybit); props 219 drivers/media/usb/dvb-usb/dvb-usb-remote.c input_dev->rep[REP_PERIOD] = d->props.rc.legacy.rc_interval; props 220 drivers/media/usb/dvb-usb/dvb-usb-remote.c input_dev->rep[REP_DELAY] = d->props.rc.legacy.rc_interval + 150; props 228 drivers/media/usb/dvb-usb/dvb-usb-remote.c rc_interval = d->props.rc.legacy.rc_interval; props 258 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (dvb_usb_disable_rc_polling || d->props.rc.core.bulk_mode) props 261 drivers/media/usb/dvb-usb/dvb-usb-remote.c err = d->props.rc.core.rc_query(d); props 266 drivers/media/usb/dvb-usb/dvb-usb-remote.c msecs_to_jiffies(d->props.rc.core.rc_interval)); props 274 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev = rc_allocate_device(d->props.rc.core.driver_type); props 278 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev->driver_name = d->props.rc.core.module_name; props 279 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev->map_name = d->props.rc.core.rc_codes; props 280 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev->change_protocol = d->props.rc.core.change_protocol; props 281 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev->allowed_protocols = d->props.rc.core.allowed_protos; props 287 drivers/media/usb/dvb-usb/dvb-usb-remote.c dev->scancode_mask = d->props.rc.core.scancode_mask; props 298 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (!d->props.rc.core.rc_query || d->props.rc.core.bulk_mode) props 304 drivers/media/usb/dvb-usb/dvb-usb-remote.c rc_interval = d->props.rc.core.rc_interval; props 320 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (d->props.rc.legacy.rc_map_table && d->props.rc.legacy.rc_query) props 321 drivers/media/usb/dvb-usb/dvb-usb-remote.c d->props.rc.mode = DVB_RC_LEGACY; props 322 drivers/media/usb/dvb-usb/dvb-usb-remote.c else if (d->props.rc.core.rc_codes) props 323 drivers/media/usb/dvb-usb/dvb-usb-remote.c d->props.rc.mode = DVB_RC_CORE; props 331 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (d->props.rc.legacy.rc_interval < 40) props 332 drivers/media/usb/dvb-usb/dvb-usb-remote.c d->props.rc.legacy.rc_interval = 100; /* default */ props 334 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (d->props.rc.mode == DVB_RC_LEGACY) props 350 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (d->props.rc.mode == DVB_RC_LEGACY) props 366 drivers/media/usb/dvb-usb/dvb-usb-remote.c struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; props 379 drivers/media/usb/dvb-usb/dvb-usb-remote.c for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) props 20 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (d->props.generic_bulk_ctrl_endpoint == 0) { props 32 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, props 46 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint_response ? props 47 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint_response : props 48 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, props 95 drivers/media/usb/dvb-usb/dvb-usb-urb.c for (i = 0; i < adap->props.num_frontends; i++) { props 98 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) props 102 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD) props 109 drivers/media/usb/dvb-usb/dvb-usb-urb.c &adap->props.fe[i].stream); props 119 drivers/media/usb/dvb-usb/dvb-usb-urb.c for (i = 0; i < adap->props.num_frontends; i++) props 325 drivers/media/usb/dvb-usb/dvb-usb.h struct usb_data_stream_properties props; props 386 drivers/media/usb/dvb-usb/dvb-usb.h struct dvb_usb_adapter_properties props; props 438 drivers/media/usb/dvb-usb/dvb-usb.h struct dvb_usb_device_properties props; props 958 drivers/media/usb/dvb-usb/dw2102.c struct dvb_usb_device_properties *props, props 1665 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { props 1686 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { props 1708 drivers/media/usb/dvb-usb/dw2102.c if (d->props.i2c_algo->master_xfer(&d->i2c_adap, &msg, 1) == 1) { props 81 drivers/media/usb/dvb-usb/m920x.c if (d->props.rc.legacy.rc_query || d->props.rc.core.rc_query) { props 92 drivers/media/usb/dvb-usb/m920x.c for (i = 0; i < d->props.num_adapters; i++) props 93 drivers/media/usb/dvb-usb/m920x.c flags |= d->adapter[i].props.fe[0].caps; props 97 drivers/media/usb/dvb-usb/m920x.c for (i = 0; i < d->props.num_adapters; i++) { props 98 drivers/media/usb/dvb-usb/m920x.c epi = d->adapter[i].props.fe[0].stream.endpoint - 0x81; props 200 drivers/media/usb/dvb-usb/m920x.c for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) props 201 drivers/media/usb/dvb-usb/m920x.c if (rc5_data(&d->props.rc.legacy.rc_map_table[i]) == rc_state[1]) { props 202 drivers/media/usb/dvb-usb/m920x.c *event = d->props.rc.legacy.rc_map_table[i].keycode; props 340 drivers/media/usb/dvb-usb/m920x.c int ep = adap->props.fe[0].stream.endpoint; props 462 drivers/media/usb/dvb-usb/m920x.c struct dvb_usb_device_properties *props, props 333 drivers/media/usb/dvb-usb/technisat-usb2.c struct dvb_usb_device_properties *props, props 471 drivers/media/usb/dvb-usb/ttusb2.c dvb_usb_device_properties *props, struct dvb_usb_device_description **desc, props 142 drivers/media/usb/dvb-usb/usb-urb.c if ((i = usb_allocate_stream_buffers(stream,stream->props.count, props 143 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.bulk.buffersize)) < 0) props 147 drivers/media/usb/dvb-usb/usb-urb.c for (i = 0; i < stream->props.count; i++) { props 156 drivers/media/usb/dvb-usb/usb-urb.c usb_rcvbulkpipe(stream->udev,stream->props.endpoint), props 158 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.bulk.buffersize, props 172 drivers/media/usb/dvb-usb/usb-urb.c if ((i = usb_allocate_stream_buffers(stream,stream->props.count, props 173 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) props 177 drivers/media/usb/dvb-usb/usb-urb.c for (i = 0; i < stream->props.count; i++) { props 181 drivers/media/usb/dvb-usb/usb-urb.c stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_KERNEL); props 194 drivers/media/usb/dvb-usb/usb-urb.c urb->pipe = usb_rcvisocpipe(stream->udev,stream->props.endpoint); props 196 drivers/media/usb/dvb-usb/usb-urb.c urb->interval = stream->props.u.isoc.interval; props 197 drivers/media/usb/dvb-usb/usb-urb.c urb->number_of_packets = stream->props.u.isoc.framesperurb; props 202 drivers/media/usb/dvb-usb/usb-urb.c for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { props 204 drivers/media/usb/dvb-usb/usb-urb.c urb->iso_frame_desc[j].length = stream->props.u.isoc.framesize; props 205 drivers/media/usb/dvb-usb/usb-urb.c frame_offset += stream->props.u.isoc.framesize; props 213 drivers/media/usb/dvb-usb/usb-urb.c int usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) props 215 drivers/media/usb/dvb-usb/usb-urb.c if (stream == NULL || props == NULL) props 218 drivers/media/usb/dvb-usb/usb-urb.c memcpy(&stream->props, props, sizeof(*props)); props 220 drivers/media/usb/dvb-usb/usb-urb.c usb_clear_halt(stream->udev,usb_rcvbulkpipe(stream->udev,stream->props.endpoint)); props 227 drivers/media/usb/dvb-usb/usb-urb.c switch (stream->props.type) { props 954 drivers/media/v4l2-core/v4l2-fwnode.c const char * const *props, props 983 drivers/media/v4l2-core/v4l2-fwnode.c if (fwnode_property_read_u32(child, *props, &val)) props 999 drivers/media/v4l2-core/v4l2-fwnode.c props++; props 1009 drivers/media/v4l2-core/v4l2-fwnode.c const char * const *props; props 1045 drivers/media/v4l2-core/v4l2-fwnode.c const char * const *props = p->props; props 1052 drivers/media/v4l2-core/v4l2-fwnode.c props, nprops); props 1071 drivers/media/v4l2-core/v4l2-fwnode.c props, props 1096 drivers/media/v4l2-core/v4l2-fwnode.c static const struct v4l2_fwnode_int_props props[] = { props 1102 drivers/media/v4l2-core/v4l2-fwnode.c for (i = 0; i < ARRAY_SIZE(props); i++) { props 1105 drivers/media/v4l2-core/v4l2-fwnode.c if (props[i].props && is_acpi_node(dev_fwnode(dev))) props 1108 drivers/media/v4l2-core/v4l2-fwnode.c &props[i]); props 1111 drivers/media/v4l2-core/v4l2-fwnode.c props[i].name); props 1114 drivers/media/v4l2-core/v4l2-fwnode.c props[i].name, ret); props 51 drivers/misc/mei/bus-fixup.c if (cldev->me_cl->props.max_number_of_connections > 1) props 263 drivers/misc/mei/bus-fixup.c cldev->me_cl->props.protocol_version = 0x2; props 140 drivers/misc/mei/client.c pn = &me_cl->props.protocol_name; props 220 drivers/misc/mei/client.c pn = &me_cl->props.protocol_name; props 783 drivers/misc/mei/client.c if (me_cl->props.fixed_address) { props 57 drivers/misc/mei/client.h return &me_cl->props.protocol_name; props 69 drivers/misc/mei/client.h return me_cl->props.protocol_version; props 135 drivers/misc/mei/client.h return cl->me_cl->props.max_msg_length; props 147 drivers/misc/mei/client.h return cl->me_cl && cl->me_cl->props.fixed_address; props 160 drivers/misc/mei/client.h return cl->me_cl->props.single_recv_buf; props 42 drivers/misc/mei/debugfs.c me_cl->props.fixed_address, props 43 drivers/misc/mei/debugfs.c &me_cl->props.protocol_name, props 44 drivers/misc/mei/debugfs.c me_cl->props.max_number_of_connections, props 45 drivers/misc/mei/debugfs.c me_cl->props.max_msg_length, props 46 drivers/misc/mei/debugfs.c me_cl->props.single_recv_buf, props 389 drivers/misc/mei/hbm.c me_cl->props = res->client_properties; props 708 drivers/misc/mei/hbm.c if (WARN_ON(me_cl->props.single_recv_buf == 0)) { props 370 drivers/misc/mei/main.c if (me_cl->props.fixed_address) { props 384 drivers/misc/mei/main.c me_cl->props.protocol_version); props 386 drivers/misc/mei/main.c me_cl->props.max_msg_length); props 390 drivers/misc/mei/main.c client->max_msg_length = me_cl->props.max_msg_length; props 391 drivers/misc/mei/main.c client->protocol_version = me_cl->props.protocol_version; props 159 drivers/misc/mei/mei_dev.h struct mei_client_properties props; props 193 drivers/mtd/nand/raw/qcom_nandc.c #define dev_cmd_reg_addr(nandc, reg) ((nandc)->props->dev_cmd_reg_start + (reg)) props 404 drivers/mtd/nand/raw/qcom_nandc.c const struct qcom_nandc_props *props; props 520 drivers/mtd/nand/raw/qcom_nandc.c if (!nandc->props->is_bam) props 586 drivers/mtd/nand/raw/qcom_nandc.c if (!nandc->props->is_bam) props 982 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1026 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1049 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1067 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1094 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1254 drivers/mtd/nand/raw/qcom_nandc.c nandc->props->is_bam ? 0 : DM_EN); props 1290 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 1315 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 1346 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) props 1613 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 1852 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 2508 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->ecc_modes & ECC_BCH_4BIT) { props 2665 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 2727 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 2759 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 2826 drivers/mtd/nand/raw/qcom_nandc.c if (nandc->props->is_bam) { props 2879 drivers/mtd/nand/raw/qcom_nandc.c if (!nandc->props->is_bam) { props 2919 drivers/mtd/nand/raw/qcom_nandc.c nandc->props = dev_data; props 405 drivers/net/ethernet/cavium/liquidio/lio_core.c netdev = oct->props[0].netdev; props 431 drivers/net/ethernet/cavium/liquidio/lio_core.c struct net_device *netdev = oct->props[0].netdev; props 505 drivers/net/ethernet/cavium/liquidio/lio_core.c netdev = oct->props[iq->ifidx].netdev; props 818 drivers/net/ethernet/cavium/liquidio/lio_core.c netdev = octeon_dev->props[ifidx].netdev; props 1675 drivers/net/ethernet/cavium/liquidio/lio_core.c if (oct->props[lio->ifidx].fec == on_off) props 1734 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec = var; props 1736 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec = 1; props 1738 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec = 0; props 1743 drivers/net/ethernet/cavium/liquidio/lio_core.c if (oct->props[lio->ifidx].fec != props 1744 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec_boot) { props 1747 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec ? "on" : "off"); props 1801 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec = 1; props 1803 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec = 0; props 1807 drivers/net/ethernet/cavium/liquidio/lio_core.c if (oct->props[lio->ifidx].fec != props 1808 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec_boot) { props 1811 drivers/net/ethernet/cavium/liquidio/lio_core.c oct->props[lio->ifidx].fec ? "on" : "off"); props 319 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (oct->props[lio->ifidx].fec == 1) { props 3069 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (oct->props[lio->ifidx].fec == 1) props 768 drivers/net/ethernet/cavium/liquidio/lio_main.c netdev = oct->props[i].netdev; props 1189 drivers/net/ethernet/cavium/liquidio/lio_main.c if (oct->props[lio->ifidx].rx_on == start_stop) props 1230 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[lio->ifidx].rx_on = start_stop; props 1245 drivers/net/ethernet/cavium/liquidio/lio_main.c struct net_device *netdev = oct->props[ifidx].netdev; props 1264 drivers/net/ethernet/cavium/liquidio/lio_main.c if (oct->props[lio->ifidx].napi_enabled == 1) { props 1268 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[lio->ifidx].napi_enabled = 0; props 1292 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[ifidx].gmxport = -1; props 1294 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[ifidx].netdev = NULL; props 1319 drivers/net/ethernet/cavium/liquidio/lio_main.c lio = GET_LIO(oct->props[i].netdev); props 1820 drivers/net/ethernet/cavium/liquidio/lio_main.c if (oct->props[lio->ifidx].napi_enabled == 0) { props 1826 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[lio->ifidx].napi_enabled = 1; props 1916 drivers/net/ethernet/cavium/liquidio/lio_main.c if (oct->props[lio->ifidx].napi_enabled == 1) { props 1920 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[lio->ifidx].napi_enabled = 0; props 3326 drivers/net/ethernet/cavium/liquidio/lio_main.c if (oct->props[i].gmxport == gmxport) { props 3327 drivers/net/ethernet/cavium/liquidio/lio_main.c update_link_status(oct->props[i].netdev, ls); props 3356 drivers/net/ethernet/cavium/liquidio/lio_main.c struct octdev_props *props; props 3553 drivers/net/ethernet/cavium/liquidio/lio_main.c props = &octeon_dev->props[i]; props 3554 drivers/net/ethernet/cavium/liquidio/lio_main.c props->gmxport = resp->cfg_info.linfo.gmxport; props 3555 drivers/net/ethernet/cavium/liquidio/lio_main.c props->netdev = netdev; props 3624 drivers/net/ethernet/cavium/liquidio/lio_main.c lio->octprops = props; props 3762 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->props[lio->ifidx].fec_boot = props 3763 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->props[lio->ifidx].fec; props 3922 drivers/net/ethernet/cavium/liquidio/lio_main.c memset(oct->props, 0, sizeof(struct octdev_props) * num_nic_ports); props 3925 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->props[i].gmxport = -1; props 179 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c netif_device_detach(oct->props[i].netdev); props 608 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (oct->props[lio->ifidx].rx_on == start_stop) props 643 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[lio->ifidx].rx_on = start_stop; props 658 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct net_device *netdev = oct->props[ifidx].netdev; props 677 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (oct->props[lio->ifidx].napi_enabled == 1) { props 681 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[lio->ifidx].napi_enabled = 0; props 703 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[ifidx].gmxport = -1; props 705 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[ifidx].netdev = NULL; props 728 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lio = GET_LIO(oct->props[i].netdev); props 913 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (!oct->props[lio->ifidx].napi_enabled) { props 919 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[lio->ifidx].napi_enabled = 1; props 977 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (oct->props[lio->ifidx].napi_enabled == 1) { props 981 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[lio->ifidx].napi_enabled = 0; props 1903 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (oct->props[i].gmxport == gmxport) { props 1904 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c update_link_status(oct->props[i].netdev, ls); props 1931 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c struct octdev_props *props; props 2052 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c props = &octeon_dev->props[i]; props 2053 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c props->gmxport = resp->cfg_info.linfo.gmxport; props 2054 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c props->netdev = netdev; props 2120 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c lio->octprops = props; props 2244 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c memset(oct->props, 0, props 2248 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c oct->props[i].gmxport = -1; props 523 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c vf_rep->parent_ndev = oct->props[0].netdev; props 446 drivers/net/ethernet/cavium/liquidio/octeon_device.h struct octdev_props props[MAX_OCTEON_LINKS]; props 505 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET) { props 614 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET6) props 679 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (rsa.xs->props.family == AF_INET6) props 816 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET) { props 915 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->props.family = sam->family; props 916 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->props.family == AF_INET6) props 935 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->props.ealgo = algo->desc.sadb_alg_id; props 31 drivers/net/ethernet/intel/ixgbevf/ipsec.c sam->family = xs->props.family; props 33 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET6) props 306 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET6) props 316 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (rsa.xs->props.family == AF_INET6) props 421 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->props.family == AF_INET) { props 122 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (!(sa_entry->x->props.flags & XFRM_STATE_ESN)) { props 199 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c attrs->flags |= (x->props.mode == XFRM_MODE_TRANSPORT) ? props 211 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.aalgo != SADB_AALG_NONE) { props 215 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.ealgo != SADB_X_EALG_AES_GCM_ICV16) { props 219 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.calgo != SADB_X_CALG_NONE) { props 223 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.flags & XFRM_STATE_ESN && props 229 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family != AF_INET && props 230 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c x->props.family != AF_INET6) { props 234 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.mode != XFRM_MODE_TRANSPORT && props 235 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c x->props.mode != XFRM_MODE_TUNNEL) { props 272 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET6 && props 316 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c sa_entry->set_iv_op = (x->props.flags & XFRM_STATE_ESN) ? props 334 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET) { props 335 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c saddr[3] = x->props.saddr.a4; props 338 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c memcpy(saddr, x->props.saddr.a6, sizeof(saddr)); props 446 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->props.family == AF_INET) { props 279 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c mlx5e_ipsec_set_swp(skb, &wqe->eth, x->props.mode, xo); props 177 drivers/net/netdevsim/ipsec.c if (xs->props.family == AF_INET6) props 1445 drivers/platform/x86/acer-wmi.c int intensity = bd->props.brightness; props 1447 drivers/platform/x86/acer-wmi.c if (bd->props.power != FB_BLANK_UNBLANK) props 1449 drivers/platform/x86/acer-wmi.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 1464 drivers/platform/x86/acer-wmi.c struct backlight_properties props; props 1467 drivers/platform/x86/acer-wmi.c memset(&props, 0, sizeof(struct backlight_properties)); props 1468 drivers/platform/x86/acer-wmi.c props.type = BACKLIGHT_PLATFORM; props 1469 drivers/platform/x86/acer-wmi.c props.max_brightness = max_brightness; props 1471 drivers/platform/x86/acer-wmi.c &props); props 1480 drivers/platform/x86/acer-wmi.c bd->props.power = FB_BLANK_UNBLANK; props 1481 drivers/platform/x86/acer-wmi.c bd->props.brightness = read_brightness(bd); props 294 drivers/platform/x86/apple-gmux.c u32 brightness = bd->props.brightness; props 296 drivers/platform/x86/apple-gmux.c if (bd->props.state & BL_CORE_SUSPENDED) props 606 drivers/platform/x86/apple-gmux.c struct backlight_properties props; props 670 drivers/platform/x86/apple-gmux.c memset(&props, 0, sizeof(props)); props 671 drivers/platform/x86/apple-gmux.c props.type = BACKLIGHT_PLATFORM; props 672 drivers/platform/x86/apple-gmux.c props.max_brightness = gmux_read32(gmux_data, GMUX_PORT_MAX_BRIGHTNESS); props 680 drivers/platform/x86/apple-gmux.c if (WARN_ON(props.max_brightness > GMUX_MAX_BRIGHTNESS)) props 681 drivers/platform/x86/apple-gmux.c props.max_brightness = GMUX_MAX_BRIGHTNESS; props 684 drivers/platform/x86/apple-gmux.c gmux_data, &gmux_bl_ops, &props); props 691 drivers/platform/x86/apple-gmux.c bdev->props.brightness = gmux_get_brightness(bdev); props 784 drivers/platform/x86/asus-laptop.c int value = bd->props.brightness; props 797 drivers/platform/x86/asus-laptop.c int old = bd->props.brightness; props 807 drivers/platform/x86/asus-laptop.c struct backlight_properties props; props 813 drivers/platform/x86/asus-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 814 drivers/platform/x86/asus-laptop.c props.max_brightness = 15; props 815 drivers/platform/x86/asus-laptop.c props.type = BACKLIGHT_PLATFORM; props 819 drivers/platform/x86/asus-laptop.c &asusbl_ops, &props); props 827 drivers/platform/x86/asus-laptop.c bd->props.brightness = asus_read_brightness(bd); props 828 drivers/platform/x86/asus-laptop.c bd->props.power = FB_BLANK_UNBLANK; props 1778 drivers/platform/x86/asus-wmi.c if ((asus->driver->brightness < bd->props.brightness) || props 1779 drivers/platform/x86/asus-wmi.c bd->props.brightness == bd->props.max_brightness) props 1781 drivers/platform/x86/asus-wmi.c else if ((asus->driver->brightness > bd->props.brightness) || props 1782 drivers/platform/x86/asus-wmi.c bd->props.brightness == 0) props 1785 drivers/platform/x86/asus-wmi.c asus->driver->brightness = bd->props.brightness; props 1797 drivers/platform/x86/asus-wmi.c if (power != -ENODEV && bd->props.power != power) { props 1798 drivers/platform/x86/asus-wmi.c ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK); props 1802 drivers/platform/x86/asus-wmi.c asus->driver->panel_power = bd->props.power; props 1813 drivers/platform/x86/asus-wmi.c ctrl_param = bd->props.brightness; props 1829 drivers/platform/x86/asus-wmi.c int old = bd->props.brightness; props 1837 drivers/platform/x86/asus-wmi.c bd->props.brightness = new; props 1847 drivers/platform/x86/asus-wmi.c struct backlight_properties props; props 1861 drivers/platform/x86/asus-wmi.c memset(&props, 0, sizeof(struct backlight_properties)); props 1862 drivers/platform/x86/asus-wmi.c props.type = BACKLIGHT_PLATFORM; props 1863 drivers/platform/x86/asus-wmi.c props.max_brightness = max; props 1866 drivers/platform/x86/asus-wmi.c &asus_wmi_bl_ops, &props); props 1877 drivers/platform/x86/asus-wmi.c bd->props.brightness = read_brightness(bd); props 1878 drivers/platform/x86/asus-wmi.c bd->props.power = power; props 1881 drivers/platform/x86/asus-wmi.c asus->driver->brightness = bd->props.brightness; props 830 drivers/platform/x86/classmate-laptop.c status = cmpc_set_brightness(handle, bd->props.brightness); props 937 drivers/platform/x86/classmate-laptop.c struct backlight_properties props; props 943 drivers/platform/x86/classmate-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 944 drivers/platform/x86/classmate-laptop.c props.type = BACKLIGHT_PLATFORM; props 945 drivers/platform/x86/classmate-laptop.c props.max_brightness = 7; props 948 drivers/platform/x86/classmate-laptop.c &props); props 323 drivers/platform/x86/compal-laptop.c int ret = set_backlight_level(b->props.brightness); props 327 drivers/platform/x86/compal-laptop.c set_backlight_state((b->props.power == FB_BLANK_UNBLANK) props 328 drivers/platform/x86/compal-laptop.c && !(b->props.state & BL_CORE_SUSPENDED) props 329 drivers/platform/x86/compal-laptop.c && !(b->props.state & BL_CORE_FBBLANK)); props 985 drivers/platform/x86/compal-laptop.c struct backlight_properties props; props 986 drivers/platform/x86/compal-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 987 drivers/platform/x86/compal-laptop.c props.type = BACKLIGHT_PLATFORM; props 988 drivers/platform/x86/compal-laptop.c props.max_brightness = BACKLIGHT_LEVEL_MAX; props 992 drivers/platform/x86/compal-laptop.c &props); props 912 drivers/platform/x86/dell-laptop.c token->location, bd->props.brightness, 0, 0); props 2227 drivers/platform/x86/dell-laptop.c struct backlight_properties props; props 2228 drivers/platform/x86/dell-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 2229 drivers/platform/x86/dell-laptop.c props.type = BACKLIGHT_PLATFORM; props 2230 drivers/platform/x86/dell-laptop.c props.max_brightness = max_intensity; props 2235 drivers/platform/x86/dell-laptop.c &props); props 2243 drivers/platform/x86/dell-laptop.c dell_backlight_device->props.brightness = props 2245 drivers/platform/x86/dell-laptop.c if (dell_backlight_device->props.brightness < 0) { props 2246 drivers/platform/x86/dell-laptop.c ret = dell_backlight_device->props.brightness; props 1106 drivers/platform/x86/eeepc-laptop.c return set_brightness(bd, bd->props.brightness); props 1117 drivers/platform/x86/eeepc-laptop.c int old = bd->props.brightness; props 1126 drivers/platform/x86/eeepc-laptop.c struct backlight_properties props; props 1129 drivers/platform/x86/eeepc-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 1130 drivers/platform/x86/eeepc-laptop.c props.type = BACKLIGHT_PLATFORM; props 1131 drivers/platform/x86/eeepc-laptop.c props.max_brightness = 15; props 1134 drivers/platform/x86/eeepc-laptop.c &eeepcbl_ops, &props); props 1141 drivers/platform/x86/eeepc-laptop.c bd->props.brightness = read_brightness(bd); props 1142 drivers/platform/x86/eeepc-laptop.c bd->props.power = FB_BLANK_UNBLANK; props 248 drivers/platform/x86/fujitsu-laptop.c return b->props.power == FB_BLANK_POWERDOWN ? 0 : get_lcd_level(device); props 256 drivers/platform/x86/fujitsu-laptop.c if (b->props.power == FB_BLANK_POWERDOWN) props 264 drivers/platform/x86/fujitsu-laptop.c return set_lcd_level(device, b->props.brightness); props 367 drivers/platform/x86/fujitsu-laptop.c const struct backlight_properties props = { props 376 drivers/platform/x86/fujitsu-laptop.c &fujitsu_bl_ops, &props); props 825 drivers/platform/x86/fujitsu-laptop.c fujitsu_bl->bl_device->props.power = FB_BLANK_POWERDOWN; props 827 drivers/platform/x86/fujitsu-laptop.c fujitsu_bl->bl_device->props.power = FB_BLANK_UNBLANK; props 784 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness)) props 787 drivers/platform/x86/ideapad-laptop.c blightdev->props.power == FB_BLANK_POWERDOWN ? 0 : 1)) props 801 drivers/platform/x86/ideapad-laptop.c struct backlight_properties props; props 811 drivers/platform/x86/ideapad-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 812 drivers/platform/x86/ideapad-laptop.c props.max_brightness = max; props 813 drivers/platform/x86/ideapad-laptop.c props.type = BACKLIGHT_PLATFORM; props 818 drivers/platform/x86/ideapad-laptop.c &props); props 825 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness = now; props 826 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; props 847 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; props 216 drivers/platform/x86/intel_oaktrail.c u8 percent = (u8) b->props.brightness; props 234 drivers/platform/x86/intel_oaktrail.c struct backlight_properties props; props 236 drivers/platform/x86/intel_oaktrail.c memset(&props, 0, sizeof(struct backlight_properties)); props 237 drivers/platform/x86/intel_oaktrail.c props.type = BACKLIGHT_PLATFORM; props 238 drivers/platform/x86/intel_oaktrail.c props.max_brightness = OT_EC_BL_BRIGHTNESS_MAX; props 242 drivers/platform/x86/intel_oaktrail.c &props); props 252 drivers/platform/x86/intel_oaktrail.c bd->props.brightness = get_backlight_brightness(bd); props 253 drivers/platform/x86/intel_oaktrail.c bd->props.power = FB_BLANK_UNBLANK; props 295 drivers/platform/x86/msi-laptop.c return set_lcd_level(b->props.brightness); props 1054 drivers/platform/x86/msi-laptop.c struct backlight_properties props; props 1055 drivers/platform/x86/msi-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 1056 drivers/platform/x86/msi-laptop.c props.type = BACKLIGHT_PLATFORM; props 1057 drivers/platform/x86/msi-laptop.c props.max_brightness = MSI_LCD_LEVEL_MAX - 1; props 1060 drivers/platform/x86/msi-laptop.c &props); props 158 drivers/platform/x86/msi-wmi.c int bright = bd->props.brightness; props 230 drivers/platform/x86/msi-wmi.c struct backlight_properties props; props 232 drivers/platform/x86/msi-wmi.c memset(&props, 0, sizeof(struct backlight_properties)); props 233 drivers/platform/x86/msi-wmi.c props.type = BACKLIGHT_PLATFORM; props 234 drivers/platform/x86/msi-wmi.c props.max_brightness = ARRAY_SIZE(backlight_map) - 1; props 237 drivers/platform/x86/msi-wmi.c &props); props 247 drivers/platform/x86/msi-wmi.c backlight->props.brightness = err; props 319 drivers/platform/x86/panasonic-laptop.c int bright = bd->props.brightness; props 540 drivers/platform/x86/panasonic-laptop.c struct backlight_properties props; props 588 drivers/platform/x86/panasonic-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 589 drivers/platform/x86/panasonic-laptop.c props.type = BACKLIGHT_PLATFORM; props 590 drivers/platform/x86/panasonic-laptop.c props.max_brightness = pcc->sinf[SINF_AC_MAX_BRIGHT]; props 592 drivers/platform/x86/panasonic-laptop.c &pcc_backlight_ops, &props); props 599 drivers/platform/x86/panasonic-laptop.c pcc->backlight->props.brightness = pcc->sinf[SINF_AC_CUR_BRIGHT]; props 565 drivers/platform/x86/samsung-laptop.c set_brightness(samsung, bd->props.brightness); props 567 drivers/platform/x86/samsung-laptop.c if (bd->props.power == FB_BLANK_UNBLANK) props 1186 drivers/platform/x86/samsung-laptop.c struct backlight_properties props; props 1191 drivers/platform/x86/samsung-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 1192 drivers/platform/x86/samsung-laptop.c props.type = BACKLIGHT_PLATFORM; props 1193 drivers/platform/x86/samsung-laptop.c props.max_brightness = samsung->config->max_brightness - props 1199 drivers/platform/x86/samsung-laptop.c &props); props 1204 drivers/platform/x86/samsung-laptop.c samsung->backlight_device->props.brightness = read_brightness(samsung); props 1205 drivers/platform/x86/samsung-laptop.c samsung->backlight_device->props.power = FB_BLANK_UNBLANK; props 36 drivers/platform/x86/samsung-q10.c for (i = 0; i < bd->props.brightness; i++) { props 52 drivers/platform/x86/samsung-q10.c struct backlight_properties props; props 55 drivers/platform/x86/samsung-q10.c memset(&props, 0, sizeof(struct backlight_properties)); props 56 drivers/platform/x86/samsung-q10.c props.type = BACKLIGHT_PLATFORM; props 57 drivers/platform/x86/samsung-q10.c props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; props 59 drivers/platform/x86/samsung-q10.c &samsungq10_bl_ops, &props); props 1026 drivers/platform/x86/sony-laptop.c int arg = bd->props.brightness + 1; props 1057 drivers/platform/x86/sony-laptop.c value = bd->props.brightness + sdev->offset; props 3045 drivers/platform/x86/sony-laptop.c struct sony_backlight_props *props) props 3053 drivers/platform/x86/sony-laptop.c props->handle = handle; props 3054 drivers/platform/x86/sony-laptop.c props->offset = 0; props 3055 drivers/platform/x86/sony-laptop.c props->maxlvl = 0xff; props 3095 drivers/platform/x86/sony-laptop.c props->offset = min; props 3096 drivers/platform/x86/sony-laptop.c props->maxlvl = max; props 3097 drivers/platform/x86/sony-laptop.c dprintk("Brightness levels: min=%d max=%d\n", props->offset, props 3098 drivers/platform/x86/sony-laptop.c props->maxlvl); props 3105 drivers/platform/x86/sony-laptop.c struct backlight_properties props; props 3144 drivers/platform/x86/sony-laptop.c memset(&props, 0, sizeof(struct backlight_properties)); props 3145 drivers/platform/x86/sony-laptop.c props.type = BACKLIGHT_PLATFORM; props 3146 drivers/platform/x86/sony-laptop.c props.max_brightness = max_brightness; props 3149 drivers/platform/x86/sony-laptop.c ops, &props); props 3155 drivers/platform/x86/sony-laptop.c sony_bl_props.dev->props.brightness = props 4173 drivers/platform/x86/sony-laptop.c sony_bl_props.dev->props.brightness = props 6803 drivers/platform/x86/thinkpad_acpi.c (bd->props.fb_blank == FB_BLANK_UNBLANK && props 6804 drivers/platform/x86/thinkpad_acpi.c bd->props.power == FB_BLANK_UNBLANK) ? props 6805 drivers/platform/x86/thinkpad_acpi.c bd->props.brightness : 0; props 6969 drivers/platform/x86/thinkpad_acpi.c struct backlight_properties props; props 7034 drivers/platform/x86/thinkpad_acpi.c memset(&props, 0, sizeof(struct backlight_properties)); props 7035 drivers/platform/x86/thinkpad_acpi.c props.type = BACKLIGHT_PLATFORM; props 7036 drivers/platform/x86/thinkpad_acpi.c props.max_brightness = bright_maxlvl; props 7037 drivers/platform/x86/thinkpad_acpi.c props.brightness = b & TP_EC_BACKLIGHT_LVLMSK; props 7041 drivers/platform/x86/thinkpad_acpi.c &props); props 1362 drivers/platform/x86/toshiba_acpi.c levels = dev->backlight_dev->props.max_brightness + 1; props 1407 drivers/platform/x86/toshiba_acpi.c return set_lcd_brightness(dev, bd->props.brightness); props 1424 drivers/platform/x86/toshiba_acpi.c levels = dev->backlight_dev->props.max_brightness + 1; props 2867 drivers/platform/x86/toshiba_acpi.c struct backlight_properties props; props 2905 drivers/platform/x86/toshiba_acpi.c memset(&props, 0, sizeof(props)); props 2906 drivers/platform/x86/toshiba_acpi.c props.type = BACKLIGHT_PLATFORM; props 2907 drivers/platform/x86/toshiba_acpi.c props.max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1; props 2911 drivers/platform/x86/toshiba_acpi.c props.max_brightness++; props 2917 drivers/platform/x86/toshiba_acpi.c &props); props 2925 drivers/platform/x86/toshiba_acpi.c dev->backlight_dev->props.brightness = brightness; props 768 drivers/power/supply/bq25890_charger.c } props[] = { props 785 drivers/power/supply/bq25890_charger.c for (i = 0; i < ARRAY_SIZE(props); i++) { props 786 drivers/power/supply/bq25890_charger.c ret = device_property_read_u32(bq->dev, props[i].name, props 789 drivers/power/supply/bq25890_charger.c if (props[i].optional) props 793 drivers/power/supply/bq25890_charger.c props[i].name); props 798 drivers/power/supply/bq25890_charger.c *props[i].conv_data = bq25890_find_idx(property, props 799 drivers/power/supply/bq25890_charger.c props[i].tbl_id); props 781 drivers/power/supply/bq27xxx_battery.c .props = ref##_props, \ props 789 drivers/power/supply/bq27xxx_battery.c enum power_supply_property *props; props 1881 drivers/power/supply/bq27xxx_battery.c psy_desc->properties = bq27xxx_chip_data[di->chip].props; props 13 drivers/power/supply/power_supply_hwmon.c unsigned long *props; props 132 drivers/power/supply/power_supply_hwmon.c if (prop < 0 || !test_bit(prop, psyhw->props)) props 300 drivers/power/supply/power_supply_hwmon.c psyhw->props = bitmap_zalloc(POWER_SUPPLY_PROP_TIME_TO_FULL_AVG + 1, props 302 drivers/power/supply/power_supply_hwmon.c if (!psyhw->props) { props 308 drivers/power/supply/power_supply_hwmon.c psyhw->props); props 331 drivers/power/supply/power_supply_hwmon.c set_bit(prop, psyhw->props); props 159 drivers/power/supply/wm97xx_battery.c int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ props 186 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_STATUS */ props 190 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */ props 192 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_TEMP */ props 194 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_NOW */ props 196 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_MAX */ props 198 drivers/power/supply/wm97xx_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_MIN */ props 200 drivers/power/supply/wm97xx_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); props 231 drivers/power/supply/wm97xx_battery.c bat_psy_desc.num_properties = props; props 128 drivers/power/supply/z2_battery.c static int z2_batt_ps_init(struct z2_charger *charger, int props) props 135 drivers/power/supply/z2_battery.c props++; /* POWER_SUPPLY_PROP_STATUS */ props 137 drivers/power/supply/z2_battery.c props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */ props 139 drivers/power/supply/z2_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_NOW */ props 141 drivers/power/supply/z2_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_MAX */ props 143 drivers/power/supply/z2_battery.c props++; /* POWER_SUPPLY_PROP_VOLTAGE_MIN */ props 145 drivers/power/supply/z2_battery.c prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); props 171 drivers/power/supply/z2_battery.c charger->batt_ps_desc.num_properties = props; props 185 drivers/power/supply/z2_battery.c int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ props 227 drivers/power/supply/z2_battery.c ret = z2_batt_ps_init(charger, props); props 629 drivers/scsi/storvsc_drv.c struct vmstorage_channel_properties props; props 636 drivers/scsi/storvsc_drv.c memset(&props, 0, sizeof(struct vmstorage_channel_properties)); props 641 drivers/scsi/storvsc_drv.c (void *)&props, props 1187 drivers/scsi/storvsc_drv.c struct vmstorage_channel_properties props; props 1190 drivers/scsi/storvsc_drv.c memset(&props, 0, sizeof(struct vmstorage_channel_properties)); props 1195 drivers/scsi/storvsc_drv.c (void *)&props, props 199 drivers/staging/fbtft/fb_ssd1351.c __func__, bd->props.power, bd->props.fb_blank); props 201 drivers/staging/fbtft/fb_ssd1351.c on = (bd->props.power == FB_BLANK_UNBLANK) && props 202 drivers/staging/fbtft/fb_ssd1351.c (bd->props.fb_blank == FB_BLANK_UNBLANK); props 222 drivers/staging/fbtft/fb_watterott.c int brightness = bd->props.brightness; props 226 drivers/staging/fbtft/fb_watterott.c bd->props.brightness, bd->props.power, props 227 drivers/staging/fbtft/fb_watterott.c bd->props.fb_blank); props 229 drivers/staging/fbtft/fb_watterott.c if (bd->props.power != FB_BLANK_UNBLANK) props 232 drivers/staging/fbtft/fb_watterott.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 148 drivers/staging/fbtft/fbtft-core.c __func__, polarity, bd->props.power, bd->props.fb_blank); props 150 drivers/staging/fbtft/fbtft-core.c if ((bd->props.power == FB_BLANK_UNBLANK) && props 151 drivers/staging/fbtft/fbtft-core.c (bd->props.fb_blank == FB_BLANK_UNBLANK)) props 161 drivers/staging/fbtft/fbtft-core.c return bd->props.brightness; props 167 drivers/staging/fbtft/fbtft-core.c par->info->bl_dev->props.power = FB_BLANK_POWERDOWN; props 863 drivers/staging/fbtft/fbtft-core.c fb_info->bl_dev->props.power = FB_BLANK_UNBLANK; props 43 drivers/staging/greybus/power_supply.c struct gb_power_supply_prop *props; props 321 drivers/staging/greybus/power_supply.c if (gbpsy->props[i].prop == psp) props 322 drivers/staging/greybus/power_supply.c return &gbpsy->props[i]; props 523 drivers/staging/greybus/power_supply.c struct_size(resp, props, props_count), props 539 drivers/staging/greybus/power_supply.c ret = get_psp_from_gb_prop(resp->props[i].property, &psp); props 543 drivers/staging/greybus/power_supply.c resp->props[i].property); props 548 drivers/staging/greybus/power_supply.c gbpsy->props = kcalloc(gbpsy->properties_count, sizeof(*gbpsy->props), props 550 drivers/staging/greybus/power_supply.c if (!gbpsy->props) { props 564 drivers/staging/greybus/power_supply.c ret = get_psp_from_gb_prop(resp->props[i].property, &psp); props 569 drivers/staging/greybus/power_supply.c gbpsy->props[i - r].prop = psp; props 570 drivers/staging/greybus/power_supply.c gbpsy->props[i - r].gb_prop = resp->props[i].property; props 572 drivers/staging/greybus/power_supply.c if (resp->props[i].is_writeable) props 573 drivers/staging/greybus/power_supply.c gbpsy->props[i - r].is_writeable = true; props 710 drivers/staging/greybus/power_supply.c gbpsy->props[i].prop); props 843 drivers/staging/greybus/power_supply.c kfree(gbpsy->props); props 519 drivers/staging/olpc_dcon/olpc_dcon.c u8 level = dev->props.brightness & 0x0F; props 521 drivers/staging/olpc_dcon/olpc_dcon.c if (dev->props.power != FB_BLANK_UNBLANK) props 529 drivers/staging/olpc_dcon/olpc_dcon.c dcon_sleep(dcon, !!(dev->props.state & BL_CORE_FBBLANK)); props 37 drivers/thermal/intel/int340x_thermal/int3406_thermal.c #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100) props 38 drivers/thermal/intel/int340x_thermal/int3406_thermal.c #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness) props 75 drivers/thermal/intel/int340x_thermal/int3406_thermal.c acpi_level = RAW_TO_ACPI(d->raw_bd->props.brightness, d); props 46 drivers/usb/dwc3/host.c struct property_entry props[4]; props 88 drivers/usb/dwc3/host.c memset(props, 0, sizeof(struct property_entry) * ARRAY_SIZE(props)); props 91 drivers/usb/dwc3/host.c props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb3-lpm-capable"); props 94 drivers/usb/dwc3/host.c props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb2-lpm-disable"); props 106 drivers/usb/dwc3/host.c props[prop_idx++] = PROPERTY_ENTRY_BOOL("quirk-broken-port-ped"); props 109 drivers/usb/dwc3/host.c ret = platform_device_add_properties(xhci, props); props 133 drivers/usb/misc/appledisplay.c pdata->msgdata[1] = bd->props.brightness; props 194 drivers/usb/misc/appledisplay.c pdata->bd->props.brightness = retval; props 204 drivers/usb/misc/appledisplay.c struct backlight_properties props; props 272 drivers/usb/misc/appledisplay.c memset(&props, 0, sizeof(struct backlight_properties)); props 273 drivers/usb/misc/appledisplay.c props.type = BACKLIGHT_RAW; props 274 drivers/usb/misc/appledisplay.c props.max_brightness = 0xff; props 276 drivers/usb/misc/appledisplay.c &appledisplay_bl_data, &props); props 294 drivers/usb/misc/appledisplay.c pdata->bd->props.brightness = brightness; props 124 drivers/video/backlight/88pm860x_bl.c int brightness = bl->props.brightness; props 126 drivers/video/backlight/88pm860x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 129 drivers/video/backlight/88pm860x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 132 drivers/video/backlight/88pm860x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 198 drivers/video/backlight/88pm860x_bl.c struct backlight_properties props; props 238 drivers/video/backlight/88pm860x_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 239 drivers/video/backlight/88pm860x_bl.c props.type = BACKLIGHT_RAW; props 240 drivers/video/backlight/88pm860x_bl.c props.max_brightness = MAX_BRIGHTNESS; props 242 drivers/video/backlight/88pm860x_bl.c &pm860x_backlight_ops, &props); props 247 drivers/video/backlight/88pm860x_bl.c bl->props.brightness = MAX_BRIGHTNESS; props 35 drivers/video/backlight/aat2870_bl.c val /= bd->props.max_brightness; props 62 drivers/video/backlight/aat2870_bl.c int brightness = bd->props.brightness; props 65 drivers/video/backlight/aat2870_bl.c if ((brightness < 0) || (bd->props.max_brightness < brightness)) { props 71 drivers/video/backlight/aat2870_bl.c bd->props.brightness, bd->props.power, bd->props.state); props 73 drivers/video/backlight/aat2870_bl.c if ((bd->props.power != FB_BLANK_UNBLANK) || props 74 drivers/video/backlight/aat2870_bl.c (bd->props.state & BL_CORE_FBBLANK) || props 75 drivers/video/backlight/aat2870_bl.c (bd->props.state & BL_CORE_SUSPENDED)) props 114 drivers/video/backlight/aat2870_bl.c struct backlight_properties props; props 137 drivers/video/backlight/aat2870_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 139 drivers/video/backlight/aat2870_bl.c props.type = BACKLIGHT_RAW; props 142 drivers/video/backlight/aat2870_bl.c &props); props 166 drivers/video/backlight/aat2870_bl.c bd->props.max_brightness = pdata->max_brightness; props 168 drivers/video/backlight/aat2870_bl.c bd->props.max_brightness = 255; props 171 drivers/video/backlight/aat2870_bl.c bd->props.power = FB_BLANK_UNBLANK; props 172 drivers/video/backlight/aat2870_bl.c bd->props.brightness = bd->props.max_brightness; props 191 drivers/video/backlight/aat2870_bl.c bd->props.power = FB_BLANK_POWERDOWN; props 192 drivers/video/backlight/aat2870_bl.c bd->props.brightness = 0; props 68 drivers/video/backlight/adp5520_bl.c int brightness = bl->props.brightness; props 70 drivers/video/backlight/adp5520_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 73 drivers/video/backlight/adp5520_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 290 drivers/video/backlight/adp5520_bl.c struct backlight_properties props; props 312 drivers/video/backlight/adp5520_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 313 drivers/video/backlight/adp5520_bl.c props.type = BACKLIGHT_RAW; props 314 drivers/video/backlight/adp5520_bl.c props.max_brightness = ADP5020_MAX_BRIGHTNESS; props 317 drivers/video/backlight/adp5520_bl.c &props); props 323 drivers/video/backlight/adp5520_bl.c bl->props.brightness = ADP5020_MAX_BRIGHTNESS; props 364 drivers/video/backlight/adp8860_bl.c int brightness = bl->props.brightness; props 366 drivers/video/backlight/adp8860_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 369 drivers/video/backlight/adp8860_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 666 drivers/video/backlight/adp8860_bl.c struct backlight_properties props; props 713 drivers/video/backlight/adp8860_bl.c memset(&props, 0, sizeof(props)); props 714 drivers/video/backlight/adp8860_bl.c props.type = BACKLIGHT_RAW; props 715 drivers/video/backlight/adp8860_bl.c props.max_brightness = ADP8860_MAX_BRIGHTNESS; props 721 drivers/video/backlight/adp8860_bl.c &client->dev, data, &adp8860_bl_ops, &props); props 727 drivers/video/backlight/adp8860_bl.c bl->props.brightness = ADP8860_MAX_BRIGHTNESS; props 402 drivers/video/backlight/adp8870_bl.c int brightness = bl->props.brightness; props 404 drivers/video/backlight/adp8870_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 407 drivers/video/backlight/adp8870_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 850 drivers/video/backlight/adp8870_bl.c struct backlight_properties props; props 891 drivers/video/backlight/adp8870_bl.c memset(&props, 0, sizeof(props)); props 892 drivers/video/backlight/adp8870_bl.c props.type = BACKLIGHT_RAW; props 893 drivers/video/backlight/adp8870_bl.c props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; props 896 drivers/video/backlight/adp8870_bl.c &client->dev, data, &adp8870_bl_ops, &props); props 342 drivers/video/backlight/ams369fg06.c ret = ams369fg06_gamma_ctl(lcd, bd->props.brightness); props 412 drivers/video/backlight/ams369fg06.c int brightness = bd->props.brightness; props 416 drivers/video/backlight/ams369fg06.c brightness > bd->props.max_brightness) { props 422 drivers/video/backlight/ams369fg06.c ret = ams369fg06_gamma_ctl(lcd, bd->props.brightness); props 446 drivers/video/backlight/ams369fg06.c struct backlight_properties props; props 477 drivers/video/backlight/ams369fg06.c memset(&props, 0, sizeof(struct backlight_properties)); props 478 drivers/video/backlight/ams369fg06.c props.type = BACKLIGHT_RAW; props 479 drivers/video/backlight/ams369fg06.c props.max_brightness = MAX_BRIGHTNESS; props 483 drivers/video/backlight/ams369fg06.c &ams369fg06_backlight_ops, &props); props 487 drivers/video/backlight/ams369fg06.c bd->props.brightness = DEFAULT_BRIGHTNESS; props 58 drivers/video/backlight/apple_bl.c int intensity = bd->props.brightness; props 103 drivers/video/backlight/apple_bl.c int intensity = bd->props.brightness; props 139 drivers/video/backlight/apple_bl.c struct backlight_properties props; props 178 drivers/video/backlight/apple_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 179 drivers/video/backlight/apple_bl.c props.type = BACKLIGHT_PLATFORM; props 180 drivers/video/backlight/apple_bl.c props.max_brightness = 15; props 182 drivers/video/backlight/apple_bl.c NULL, NULL, &hw_data->backlight_ops, &props); props 189 drivers/video/backlight/apple_bl.c apple_backlight_device->props.brightness = props 133 drivers/video/backlight/arcxcnn_bl.c u32 brightness = bl->props.brightness; props 136 drivers/video/backlight/arcxcnn_bl.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 145 drivers/video/backlight/arcxcnn_bl.c (bl->props.power == 0) ? 0 : ARCXCNN_CMD_STDBY); props 155 drivers/video/backlight/arcxcnn_bl.c struct backlight_properties *props; props 158 drivers/video/backlight/arcxcnn_bl.c props = devm_kzalloc(lp->dev, sizeof(*props), GFP_KERNEL); props 159 drivers/video/backlight/arcxcnn_bl.c if (!props) props 162 drivers/video/backlight/arcxcnn_bl.c props->type = BACKLIGHT_PLATFORM; props 163 drivers/video/backlight/arcxcnn_bl.c props->max_brightness = MAX_BRIGHTNESS; props 165 drivers/video/backlight/arcxcnn_bl.c if (lp->pdata->initial_brightness > props->max_brightness) props 166 drivers/video/backlight/arcxcnn_bl.c lp->pdata->initial_brightness = props->max_brightness; props 168 drivers/video/backlight/arcxcnn_bl.c props->brightness = lp->pdata->initial_brightness; props 171 drivers/video/backlight/arcxcnn_bl.c &arcxcnn_bl_ops, props); props 376 drivers/video/backlight/arcxcnn_bl.c lp->bl->props.brightness = 0; props 107 drivers/video/backlight/as3711_bl.c int brightness = bl->props.brightness; props 111 drivers/video/backlight/as3711_bl.c __func__, bl->props.brightness, bl->props.power, props 112 drivers/video/backlight/as3711_bl.c bl->props.fb_blank, bl->props.state); props 114 drivers/video/backlight/as3711_bl.c if (bl->props.power != FB_BLANK_UNBLANK || props 115 drivers/video/backlight/as3711_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK || props 116 drivers/video/backlight/as3711_bl.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 232 drivers/video/backlight/as3711_bl.c struct backlight_properties props = {.type = BACKLIGHT_RAW,}; props 236 drivers/video/backlight/as3711_bl.c props.max_brightness = max_brightness; props 242 drivers/video/backlight/as3711_bl.c &as3711_bl_ops, &props); props 248 drivers/video/backlight/as3711_bl.c bl->props.brightness = props.max_brightness; props 69 drivers/video/backlight/backlight.c bd->props.state &= ~BL_CORE_FBBLANK; props 70 drivers/video/backlight/backlight.c bd->props.fb_blank = FB_BLANK_UNBLANK; props 77 drivers/video/backlight/backlight.c bd->props.state |= BL_CORE_FBBLANK; props 78 drivers/video/backlight/backlight.c bd->props.fb_blank = fb_blank; props 136 drivers/video/backlight/backlight.c return sprintf(buf, "%d\n", bd->props.power); props 154 drivers/video/backlight/backlight.c if (bd->props.power != power) { props 155 drivers/video/backlight/backlight.c old_power = bd->props.power; props 156 drivers/video/backlight/backlight.c bd->props.power = power; props 159 drivers/video/backlight/backlight.c bd->props.power = old_power; props 177 drivers/video/backlight/backlight.c return sprintf(buf, "%d\n", bd->props.brightness); props 187 drivers/video/backlight/backlight.c if (brightness > bd->props.max_brightness) props 191 drivers/video/backlight/backlight.c bd->props.brightness = brightness; props 225 drivers/video/backlight/backlight.c return sprintf(buf, "%s\n", backlight_types[bd->props.type]); props 234 drivers/video/backlight/backlight.c return sprintf(buf, "%d\n", bd->props.max_brightness); props 248 drivers/video/backlight/backlight.c rc = sprintf(buf, "%d\n", bd->props.brightness); props 260 drivers/video/backlight/backlight.c if (WARN_ON(bd->props.scale > BACKLIGHT_SCALE_NON_LINEAR)) props 263 drivers/video/backlight/backlight.c return sprintf(buf, "%s\n", backlight_scale_types[bd->props.scale]); props 276 drivers/video/backlight/backlight.c bd->props.state |= BL_CORE_SUSPENDED; props 290 drivers/video/backlight/backlight.c bd->props.state &= ~BL_CORE_SUSPENDED; props 332 drivers/video/backlight/backlight.c bd->props.brightness = bd->ops->get_brightness(bd); props 353 drivers/video/backlight/backlight.c const struct backlight_properties *props) props 374 drivers/video/backlight/backlight.c if (props) { props 375 drivers/video/backlight/backlight.c memcpy(&new_bd->props, props, props 377 drivers/video/backlight/backlight.c if (props->type <= 0 || props->type >= BACKLIGHT_TYPE_MAX) { props 379 drivers/video/backlight/backlight.c new_bd->props.type = BACKLIGHT_RAW; props 382 drivers/video/backlight/backlight.c new_bd->props.type = BACKLIGHT_RAW; props 424 drivers/video/backlight/backlight.c if (bd->props.type == type) { props 532 drivers/video/backlight/backlight.c const struct backlight_properties *props) props 542 drivers/video/backlight/backlight.c props); props 637 drivers/video/backlight/backlight.c if (!bd->props.brightness) props 638 drivers/video/backlight/backlight.c bd->props.brightness = bd->props.max_brightness; props 84 drivers/video/backlight/bd6107.c int brightness = backlight->props.brightness; props 86 drivers/video/backlight/bd6107.c if (backlight->props.power != FB_BLANK_UNBLANK || props 87 drivers/video/backlight/bd6107.c backlight->props.fb_blank != FB_BLANK_UNBLANK || props 88 drivers/video/backlight/bd6107.c backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 124 drivers/video/backlight/bd6107.c struct backlight_properties props; props 154 drivers/video/backlight/bd6107.c memset(&props, 0, sizeof(props)); props 155 drivers/video/backlight/bd6107.c props.type = BACKLIGHT_RAW; props 156 drivers/video/backlight/bd6107.c props.max_brightness = 128; props 157 drivers/video/backlight/bd6107.c props.brightness = clamp_t(unsigned int, pdata->def_value, 0, props 158 drivers/video/backlight/bd6107.c props.max_brightness); props 163 drivers/video/backlight/bd6107.c &bd6107_backlight_ops, &props); props 179 drivers/video/backlight/bd6107.c backlight->props.brightness = 0; props 424 drivers/video/backlight/corgi_lcd.c int intensity = bd->props.brightness; props 426 drivers/video/backlight/corgi_lcd.c if (bd->props.power != FB_BLANK_UNBLANK) props 429 drivers/video/backlight/corgi_lcd.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 532 drivers/video/backlight/corgi_lcd.c struct backlight_properties props; props 556 drivers/video/backlight/corgi_lcd.c memset(&props, 0, sizeof(struct backlight_properties)); props 557 drivers/video/backlight/corgi_lcd.c props.type = BACKLIGHT_RAW; props 558 drivers/video/backlight/corgi_lcd.c props.max_brightness = pdata->max_intensity; props 561 drivers/video/backlight/corgi_lcd.c &props); props 565 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.brightness = pdata->default_intensity; props 566 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.power = FB_BLANK_UNBLANK; props 587 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.power = FB_BLANK_UNBLANK; props 588 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.brightness = 0; props 62 drivers/video/backlight/cr_bllcd.c int intensity = bd->props.brightness; props 66 drivers/video/backlight/cr_bllcd.c if (bd->props.power == FB_BLANK_UNBLANK) props 68 drivers/video/backlight/cr_bllcd.c if (bd->props.fb_blank == FB_BLANK_UNBLANK) props 70 drivers/video/backlight/cr_bllcd.c if (bd->props.power == FB_BLANK_POWERDOWN) props 72 drivers/video/backlight/cr_bllcd.c if (bd->props.fb_blank == FB_BLANK_POWERDOWN) props 162 drivers/video/backlight/cr_bllcd.c struct backlight_properties props; props 182 drivers/video/backlight/cr_bllcd.c memset(&props, 0, sizeof(struct backlight_properties)); props 183 drivers/video/backlight/cr_bllcd.c props.type = BACKLIGHT_RAW; props 186 drivers/video/backlight/cr_bllcd.c &props); props 211 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; props 212 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.brightness = 0; props 225 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.power = FB_BLANK_POWERDOWN; props 226 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.brightness = 0; props 227 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.max_brightness = 0; props 80 drivers/video/backlight/da903x_bl.c int brightness = bl->props.brightness; props 82 drivers/video/backlight/da903x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 85 drivers/video/backlight/da903x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 88 drivers/video/backlight/da903x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 112 drivers/video/backlight/da903x_bl.c struct backlight_properties props; props 141 drivers/video/backlight/da903x_bl.c memset(&props, 0, sizeof(props)); props 142 drivers/video/backlight/da903x_bl.c props.type = BACKLIGHT_RAW; props 143 drivers/video/backlight/da903x_bl.c props.max_brightness = max_brightness; props 146 drivers/video/backlight/da903x_bl.c &da903x_backlight_ops, &props); props 152 drivers/video/backlight/da903x_bl.c bl->props.brightness = max_brightness; props 84 drivers/video/backlight/da9052_bl.c int brightness = bl->props.brightness; props 108 drivers/video/backlight/da9052_bl.c struct backlight_properties props; props 120 drivers/video/backlight/da9052_bl.c props.type = BACKLIGHT_RAW; props 121 drivers/video/backlight/da9052_bl.c props.max_brightness = DA9052_MAX_BRIGHTNESS; props 125 drivers/video/backlight/da9052_bl.c &da9052_backlight_ops, &props); props 131 drivers/video/backlight/da9052_bl.c bl->props.max_brightness = DA9052_MAX_BRIGHTNESS; props 132 drivers/video/backlight/da9052_bl.c bl->props.brightness = 0; props 39 drivers/video/backlight/ep93xx_bl.c int brightness = bl->props.brightness; props 41 drivers/video/backlight/ep93xx_bl.c if (bl->props.power != FB_BLANK_UNBLANK || props 42 drivers/video/backlight/ep93xx_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK) props 64 drivers/video/backlight/ep93xx_bl.c struct backlight_properties props; props 89 drivers/video/backlight/ep93xx_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 90 drivers/video/backlight/ep93xx_bl.c props.type = BACKLIGHT_RAW; props 91 drivers/video/backlight/ep93xx_bl.c props.max_brightness = EP93XX_MAX_BRIGHT; props 93 drivers/video/backlight/ep93xx_bl.c ep93xxbl, &ep93xxbl_ops, &props); props 97 drivers/video/backlight/ep93xx_bl.c bl->props.brightness = EP93XX_DEF_BRIGHT; props 22 drivers/video/backlight/generic_bl.c int intensity = bd->props.brightness; props 24 drivers/video/backlight/generic_bl.c if (bd->props.power != FB_BLANK_UNBLANK) props 26 drivers/video/backlight/generic_bl.c if (bd->props.state & BL_CORE_FBBLANK) props 28 drivers/video/backlight/generic_bl.c if (bd->props.state & BL_CORE_SUSPENDED) props 54 drivers/video/backlight/generic_bl.c struct backlight_properties props; props 66 drivers/video/backlight/generic_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 67 drivers/video/backlight/generic_bl.c props.type = BACKLIGHT_RAW; props 68 drivers/video/backlight/generic_bl.c props.max_brightness = machinfo->max_intensity; props 70 drivers/video/backlight/generic_bl.c NULL, &genericbl_ops, &props); props 76 drivers/video/backlight/generic_bl.c bd->props.power = FB_BLANK_UNBLANK; props 77 drivers/video/backlight/generic_bl.c bd->props.brightness = machinfo->default_intensity; props 90 drivers/video/backlight/generic_bl.c bd->props.power = 0; props 91 drivers/video/backlight/generic_bl.c bd->props.brightness = 0; props 32 drivers/video/backlight/gpio_backlight.c int brightness = bl->props.brightness; props 34 drivers/video/backlight/gpio_backlight.c if (bl->props.power != FB_BLANK_UNBLANK || props 35 drivers/video/backlight/gpio_backlight.c bl->props.fb_blank != FB_BLANK_UNBLANK || props 36 drivers/video/backlight/gpio_backlight.c bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 100 drivers/video/backlight/gpio_backlight.c struct backlight_properties props; props 142 drivers/video/backlight/gpio_backlight.c memset(&props, 0, sizeof(props)); props 143 drivers/video/backlight/gpio_backlight.c props.type = BACKLIGHT_RAW; props 144 drivers/video/backlight/gpio_backlight.c props.max_brightness = 1; props 147 drivers/video/backlight/gpio_backlight.c &props); props 153 drivers/video/backlight/gpio_backlight.c bl->props.power = gpio_backlight_initial_power_state(gbl); props 154 drivers/video/backlight/gpio_backlight.c bl->props.brightness = 1; props 36 drivers/video/backlight/hp680_bl.c int intensity = bd->props.brightness; props 38 drivers/video/backlight/hp680_bl.c if (bd->props.power != FB_BLANK_UNBLANK) props 40 drivers/video/backlight/hp680_bl.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 107 drivers/video/backlight/hp680_bl.c struct backlight_properties props; props 110 drivers/video/backlight/hp680_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 111 drivers/video/backlight/hp680_bl.c props.type = BACKLIGHT_RAW; props 112 drivers/video/backlight/hp680_bl.c props.max_brightness = HP680_MAX_INTENSITY; props 114 drivers/video/backlight/hp680_bl.c NULL, &hp680bl_ops, &props); props 120 drivers/video/backlight/hp680_bl.c bd->props.brightness = HP680_DEFAULT_INTENSITY; props 130 drivers/video/backlight/hp680_bl.c bd->props.brightness = 0; props 131 drivers/video/backlight/hp680_bl.c bd->props.power = 0; props 19 drivers/video/backlight/ipaq_micro_bl.c int intensity = bd->props.brightness; props 25 drivers/video/backlight/ipaq_micro_bl.c if (bd->props.power != FB_BLANK_UNBLANK) props 27 drivers/video/backlight/ipaq_micro_bl.c if (bd->props.state & (BL_CORE_FBBLANK | BL_CORE_SUSPENDED)) props 57 drivers/video/backlight/jornada720_bl.c if ((bd->props.power != FB_BLANK_UNBLANK) || (bd->props.fb_blank != FB_BLANK_UNBLANK)) { props 83 drivers/video/backlight/jornada720_bl.c if (jornada_ssp_byte(BL_MAX_BRIGHT - bd->props.brightness) props 107 drivers/video/backlight/jornada720_bl.c struct backlight_properties props; props 111 drivers/video/backlight/jornada720_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 112 drivers/video/backlight/jornada720_bl.c props.type = BACKLIGHT_RAW; props 113 drivers/video/backlight/jornada720_bl.c props.max_brightness = BL_MAX_BRIGHT; props 117 drivers/video/backlight/jornada720_bl.c &props); props 124 drivers/video/backlight/jornada720_bl.c bd->props.power = FB_BLANK_UNBLANK; props 125 drivers/video/backlight/jornada720_bl.c bd->props.brightness = BL_DEF_BRIGHT; props 90 drivers/video/backlight/kb3886_bl.c int intensity = bd->props.brightness; props 92 drivers/video/backlight/kb3886_bl.c if (bd->props.power != FB_BLANK_UNBLANK) props 94 drivers/video/backlight/kb3886_bl.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 139 drivers/video/backlight/kb3886_bl.c struct backlight_properties props; props 146 drivers/video/backlight/kb3886_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 147 drivers/video/backlight/kb3886_bl.c props.type = BACKLIGHT_RAW; props 148 drivers/video/backlight/kb3886_bl.c props.max_brightness = machinfo->max_intensity; props 152 drivers/video/backlight/kb3886_bl.c &props); props 158 drivers/video/backlight/kb3886_bl.c kb3886_backlight_device->props.power = FB_BLANK_UNBLANK; props 159 drivers/video/backlight/kb3886_bl.c kb3886_backlight_device->props.brightness = machinfo->default_intensity; props 158 drivers/video/backlight/lcd.c return sprintf(buf, "%d\n", ld->props.max_contrast); props 42 drivers/video/backlight/lm3533_bl.c int brightness = bd->props.brightness; props 44 drivers/video/backlight/lm3533_bl.c if (bd->props.power != FB_BLANK_UNBLANK) props 46 drivers/video/backlight/lm3533_bl.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 274 drivers/video/backlight/lm3533_bl.c struct backlight_properties props; props 305 drivers/video/backlight/lm3533_bl.c memset(&props, 0, sizeof(props)); props 306 drivers/video/backlight/lm3533_bl.c props.type = BACKLIGHT_RAW; props 307 drivers/video/backlight/lm3533_bl.c props.max_brightness = LM3533_BL_MAX_BRIGHTNESS; props 308 drivers/video/backlight/lm3533_bl.c props.brightness = pdata->default_brightness; props 311 drivers/video/backlight/lm3533_bl.c &props); props 353 drivers/video/backlight/lm3533_bl.c bd->props.power = FB_BLANK_POWERDOWN; props 354 drivers/video/backlight/lm3533_bl.c bd->props.brightness = 0; props 189 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, props 190 drivers/video/backlight/lm3630a_bl.c bl->props.max_brightness); props 191 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 200 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_A, bl->props.brightness); props 201 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) props 212 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 244 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; props 245 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 266 drivers/video/backlight/lm3630a_bl.c lm3630a_pwm_ctrl(pchip, bl->props.brightness, props 267 drivers/video/backlight/lm3630a_bl.c bl->props.max_brightness); props 268 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 277 drivers/video/backlight/lm3630a_bl.c ret = lm3630a_write(pchip, REG_BRT_B, bl->props.brightness); props 278 drivers/video/backlight/lm3630a_bl.c if (bl->props.brightness < 0x4) props 289 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 321 drivers/video/backlight/lm3630a_bl.c bl->props.brightness = brightness; props 322 drivers/video/backlight/lm3630a_bl.c return bl->props.brightness; props 337 drivers/video/backlight/lm3630a_bl.c struct backlight_properties props; props 340 drivers/video/backlight/lm3630a_bl.c props.type = BACKLIGHT_RAW; props 342 drivers/video/backlight/lm3630a_bl.c props.brightness = pdata->leda_init_brt; props 343 drivers/video/backlight/lm3630a_bl.c props.max_brightness = pdata->leda_max_brt; props 348 drivers/video/backlight/lm3630a_bl.c &lm3630a_bank_a_ops, &props); props 355 drivers/video/backlight/lm3630a_bl.c props.brightness = pdata->ledb_init_brt; props 356 drivers/video/backlight/lm3630a_bl.c props.max_brightness = pdata->ledb_max_brt; props 361 drivers/video/backlight/lm3630a_bl.c &lm3630a_bank_b_ops, &props); props 111 drivers/video/backlight/lm3639_bl.c pdata->pwm_set_intensity(bl->props.brightness, props 116 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 120 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); props 123 drivers/video/backlight/lm3639_bl.c ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); props 127 drivers/video/backlight/lm3639_bl.c if (!bl->props.brightness) props 134 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 137 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 149 drivers/video/backlight/lm3639_bl.c bl->props.brightness = pdata->pwm_get_intensity(); props 153 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 165 drivers/video/backlight/lm3639_bl.c bl->props.brightness = reg_val; props 167 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 170 drivers/video/backlight/lm3639_bl.c return bl->props.brightness; props 305 drivers/video/backlight/lm3639_bl.c struct backlight_properties props; props 342 drivers/video/backlight/lm3639_bl.c props.type = BACKLIGHT_RAW; props 343 drivers/video/backlight/lm3639_bl.c props.brightness = pdata->init_brt_led; props 344 drivers/video/backlight/lm3639_bl.c props.max_brightness = pdata->max_brt_led; props 348 drivers/video/backlight/lm3639_bl.c &props); props 114 drivers/video/backlight/locomolcd.c int intensity = bd->props.brightness; props 116 drivers/video/backlight/locomolcd.c if (bd->props.power != FB_BLANK_UNBLANK) props 118 drivers/video/backlight/locomolcd.c if (bd->props.fb_blank != FB_BLANK_UNBLANK) props 180 drivers/video/backlight/locomolcd.c struct backlight_properties props; props 198 drivers/video/backlight/locomolcd.c memset(&props, 0, sizeof(struct backlight_properties)); props 199 drivers/video/backlight/locomolcd.c props.type = BACKLIGHT_RAW; props 200 drivers/video/backlight/locomolcd.c props.max_brightness = 4; props 203 drivers/video/backlight/locomolcd.c &locomobl_data, &props); props 209 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.brightness = 2; props 219 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.brightness = 0; props 220 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.power = 0; props 265 drivers/video/backlight/lp855x_bl.c int brightness = bl->props.brightness; props 267 drivers/video/backlight/lp855x_bl.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 271 drivers/video/backlight/lp855x_bl.c lp855x_pwm_ctrl(lp, brightness, bl->props.max_brightness); props 286 drivers/video/backlight/lp855x_bl.c struct backlight_properties props; props 290 drivers/video/backlight/lp855x_bl.c memset(&props, 0, sizeof(props)); props 291 drivers/video/backlight/lp855x_bl.c props.type = BACKLIGHT_PLATFORM; props 292 drivers/video/backlight/lp855x_bl.c props.max_brightness = MAX_BRIGHTNESS; props 294 drivers/video/backlight/lp855x_bl.c if (pdata->initial_brightness > props.max_brightness) props 295 drivers/video/backlight/lp855x_bl.c pdata->initial_brightness = props.max_brightness; props 297 drivers/video/backlight/lp855x_bl.c props.brightness = pdata->initial_brightness; props 300 drivers/video/backlight/lp855x_bl.c &lp855x_bl_ops, &props); props 498 drivers/video/backlight/lp855x_bl.c lp->bl->props.brightness = 0; props 164 drivers/video/backlight/lp8788_bl.c if (bl_dev->props.state & BL_CORE_SUSPENDED) props 165 drivers/video/backlight/lp8788_bl.c bl_dev->props.brightness = 0; props 168 drivers/video/backlight/lp8788_bl.c int brt = bl_dev->props.brightness; props 169 drivers/video/backlight/lp8788_bl.c int max = bl_dev->props.max_brightness; props 173 drivers/video/backlight/lp8788_bl.c u8 brt = bl_dev->props.brightness; props 189 drivers/video/backlight/lp8788_bl.c struct backlight_properties props; props 194 drivers/video/backlight/lp8788_bl.c props.type = BACKLIGHT_PLATFORM; props 195 drivers/video/backlight/lp8788_bl.c props.max_brightness = MAX_BRIGHTNESS; props 200 drivers/video/backlight/lp8788_bl.c props.max_brightness); props 204 drivers/video/backlight/lp8788_bl.c props.brightness = init_brt; props 213 drivers/video/backlight/lp8788_bl.c &lp8788_bl_ops, &props); props 306 drivers/video/backlight/lp8788_bl.c bl_dev->props.brightness = 0; props 49 drivers/video/backlight/lv5207lp.c int brightness = backlight->props.brightness; props 51 drivers/video/backlight/lv5207lp.c if (backlight->props.power != FB_BLANK_UNBLANK || props 52 drivers/video/backlight/lv5207lp.c backlight->props.fb_blank != FB_BLANK_UNBLANK || props 53 drivers/video/backlight/lv5207lp.c backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 89 drivers/video/backlight/lv5207lp.c struct backlight_properties props; props 111 drivers/video/backlight/lv5207lp.c memset(&props, 0, sizeof(props)); props 112 drivers/video/backlight/lv5207lp.c props.type = BACKLIGHT_RAW; props 113 drivers/video/backlight/lv5207lp.c props.max_brightness = min_t(unsigned int, pdata->max_value, props 115 drivers/video/backlight/lv5207lp.c props.brightness = clamp_t(unsigned int, pdata->def_value, 0, props 116 drivers/video/backlight/lv5207lp.c props.max_brightness); props 120 drivers/video/backlight/lv5207lp.c lv, &lv5207lp_backlight_ops, &props); props 136 drivers/video/backlight/lv5207lp.c backlight->props.brightness = 0; props 67 drivers/video/backlight/max8925_bl.c int brightness = bl->props.brightness; props 69 drivers/video/backlight/max8925_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 72 drivers/video/backlight/max8925_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 75 drivers/video/backlight/max8925_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 136 drivers/video/backlight/max8925_bl.c struct backlight_properties props; props 162 drivers/video/backlight/max8925_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 163 drivers/video/backlight/max8925_bl.c props.type = BACKLIGHT_RAW; props 164 drivers/video/backlight/max8925_bl.c props.max_brightness = MAX_BRIGHTNESS; props 167 drivers/video/backlight/max8925_bl.c &max8925_backlight_ops, &props); props 172 drivers/video/backlight/max8925_bl.c bl->props.brightness = MAX_BRIGHTNESS; props 95 drivers/video/backlight/omap1_bl.c if (bl->current_intensity != dev->props.brightness) { props 97 drivers/video/backlight/omap1_bl.c omapbl_send_intensity(dev->props.brightness); props 98 drivers/video/backlight/omap1_bl.c bl->current_intensity = dev->props.brightness; props 101 drivers/video/backlight/omap1_bl.c if (dev->props.fb_blank != bl->powermode) props 102 drivers/video/backlight/omap1_bl.c omapbl_set_power(dev, dev->props.fb_blank); props 121 drivers/video/backlight/omap1_bl.c struct backlight_properties props; props 134 drivers/video/backlight/omap1_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 135 drivers/video/backlight/omap1_bl.c props.type = BACKLIGHT_RAW; props 136 drivers/video/backlight/omap1_bl.c props.max_brightness = OMAPBL_MAX_INTENSITY; props 138 drivers/video/backlight/omap1_bl.c bl, &omapbl_ops, &props); props 152 drivers/video/backlight/omap1_bl.c dev->props.fb_blank = FB_BLANK_UNBLANK; props 153 drivers/video/backlight/omap1_bl.c dev->props.brightness = pdata->default_intensity; props 44 drivers/video/backlight/ot200_bl.c int brightness = bl->props.brightness; props 46 drivers/video/backlight/ot200_bl.c if (bl->props.state & BL_CORE_FBBLANK) props 81 drivers/video/backlight/ot200_bl.c struct backlight_properties props; props 114 drivers/video/backlight/ot200_bl.c props.max_brightness = 100; props 115 drivers/video/backlight/ot200_bl.c props.brightness = 100; props 116 drivers/video/backlight/ot200_bl.c props.type = BACKLIGHT_RAW; props 120 drivers/video/backlight/ot200_bl.c &props); props 42 drivers/video/backlight/pandora_bl.c int brightness = bl->props.brightness; props 46 drivers/video/backlight/pandora_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 48 drivers/video/backlight/pandora_bl.c if (bl->props.state & BL_CORE_FBBLANK) props 50 drivers/video/backlight/pandora_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 111 drivers/video/backlight/pandora_bl.c struct backlight_properties props; props 122 drivers/video/backlight/pandora_bl.c memset(&props, 0, sizeof(props)); props 123 drivers/video/backlight/pandora_bl.c props.max_brightness = MAX_USER_VALUE; props 124 drivers/video/backlight/pandora_bl.c props.type = BACKLIGHT_RAW; props 126 drivers/video/backlight/pandora_bl.c priv, &pandora_backlight_ops, &props); props 138 drivers/video/backlight/pandora_bl.c bl->props.brightness = MAX_USER_VALUE; props 55 drivers/video/backlight/pcf50633-backlight.c if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK) || props 56 drivers/video/backlight/pcf50633-backlight.c bl->props.power != FB_BLANK_UNBLANK) props 58 drivers/video/backlight/pcf50633-backlight.c else if (bl->props.brightness < pcf_bl->brightness_limit) props 59 drivers/video/backlight/pcf50633-backlight.c new_brightness = bl->props.brightness; props 136 drivers/video/backlight/pcf50633-backlight.c pcf_bl->brightness = pcf_bl->bl->props.brightness + 1; props 84 drivers/video/backlight/pm8941-wled.c u16 val = bl->props.brightness; props 89 drivers/video/backlight/pm8941-wled.c if (bl->props.power != FB_BLANK_UNBLANK || props 90 drivers/video/backlight/pm8941-wled.c bl->props.fb_blank != FB_BLANK_UNBLANK || props 91 drivers/video/backlight/pm8941-wled.c bl->props.state & BL_CORE_FBBLANK) props 367 drivers/video/backlight/pm8941-wled.c struct backlight_properties props; props 397 drivers/video/backlight/pm8941-wled.c memset(&props, 0, sizeof(struct backlight_properties)); props 398 drivers/video/backlight/pm8941-wled.c props.type = BACKLIGHT_RAW; props 399 drivers/video/backlight/pm8941-wled.c props.brightness = val; props 400 drivers/video/backlight/pm8941-wled.c props.max_brightness = PM8941_WLED_REG_VAL_MAX; props 403 drivers/video/backlight/pm8941-wled.c &pm8941_wled_ops, &props); props 112 drivers/video/backlight/pwm_bl.c int brightness = bl->props.brightness; props 115 drivers/video/backlight/pwm_bl.c if (bl->props.power != FB_BLANK_UNBLANK || props 116 drivers/video/backlight/pwm_bl.c bl->props.fb_blank != FB_BLANK_UNBLANK || props 117 drivers/video/backlight/pwm_bl.c bl->props.state & BL_CORE_FBBLANK) props 449 drivers/video/backlight/pwm_bl.c struct backlight_properties props; props 564 drivers/video/backlight/pwm_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 580 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_LINEAR; props 582 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_NON_LINEAR; props 610 drivers/video/backlight/pwm_bl.c props.scale = BACKLIGHT_SCALE_NON_LINEAR; props 621 drivers/video/backlight/pwm_bl.c props.type = BACKLIGHT_RAW; props 622 drivers/video/backlight/pwm_bl.c props.max_brightness = data->max_brightness; props 624 drivers/video/backlight/pwm_bl.c &pwm_backlight_ops, &props); props 640 drivers/video/backlight/pwm_bl.c bl->props.brightness = data->dft_brightness; props 641 drivers/video/backlight/pwm_bl.c bl->props.power = pwm_backlight_initial_power_state(pb); props 20 drivers/video/backlight/rave-sp-backlight.c const struct backlight_properties *p = &bd->props; props 51 drivers/video/backlight/sky81452-backlight.c const unsigned int brightness = (unsigned int)bd->props.brightness; props 257 drivers/video/backlight/sky81452-backlight.c struct backlight_properties props; props 282 drivers/video/backlight/sky81452-backlight.c memset(&props, 0, sizeof(props)); props 283 drivers/video/backlight/sky81452-backlight.c props.max_brightness = SKY81452_MAX_BRIGHTNESS, props 286 drivers/video/backlight/sky81452-backlight.c &sky81452_bl_ops, &props); props 311 drivers/video/backlight/sky81452-backlight.c bd->props.power = FB_BLANK_UNBLANK; props 312 drivers/video/backlight/sky81452-backlight.c bd->props.brightness = 0; props 52 drivers/video/backlight/tosa_bl.c struct backlight_properties *props = &dev->props; props 54 drivers/video/backlight/tosa_bl.c int power = max(props->power, props->fb_blank); props 55 drivers/video/backlight/tosa_bl.c int brightness = props->brightness; props 67 drivers/video/backlight/tosa_bl.c struct backlight_properties *props = &dev->props; props 69 drivers/video/backlight/tosa_bl.c return props->brightness; props 80 drivers/video/backlight/tosa_bl.c struct backlight_properties props; props 101 drivers/video/backlight/tosa_bl.c memset(&props, 0, sizeof(struct backlight_properties)); props 102 drivers/video/backlight/tosa_bl.c props.type = BACKLIGHT_RAW; props 103 drivers/video/backlight/tosa_bl.c props.max_brightness = 512 - 1; props 106 drivers/video/backlight/tosa_bl.c &props); props 112 drivers/video/backlight/tosa_bl.c data->bl->props.brightness = 69; props 113 drivers/video/backlight/tosa_bl.c data->bl->props.power = FB_BLANK_UNBLANK; props 80 drivers/video/backlight/tps65217_bl.c int brightness = bl->props.brightness; props 82 drivers/video/backlight/tps65217_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 85 drivers/video/backlight/tps65217_bl.c if ((bl->props.power != FB_BLANK_UNBLANK) || props 86 drivers/video/backlight/tps65217_bl.c (bl->props.fb_blank != FB_BLANK_UNBLANK)) props 307 drivers/video/backlight/tps65217_bl.c tps65217_bl->bl->props.brightness = pdata->dft_brightness; props 94 drivers/video/backlight/wm831x_bl.c int brightness = bl->props.brightness; props 96 drivers/video/backlight/wm831x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) props 99 drivers/video/backlight/wm831x_bl.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 102 drivers/video/backlight/wm831x_bl.c if (bl->props.state & BL_CORE_SUSPENDED) props 128 drivers/video/backlight/wm831x_bl.c struct backlight_properties props; props 193 drivers/video/backlight/wm831x_bl.c memset(&props, 0, sizeof(props)); props 194 drivers/video/backlight/wm831x_bl.c props.type = BACKLIGHT_RAW; props 195 drivers/video/backlight/wm831x_bl.c props.max_brightness = max_isel; props 197 drivers/video/backlight/wm831x_bl.c data, &wm831x_backlight_ops, &props); props 203 drivers/video/backlight/wm831x_bl.c bl->props.brightness = max_isel; props 71 drivers/video/fbdev/amba-clcd.c fb->panel->backlight->props.power = FB_BLANK_POWERDOWN; props 124 drivers/video/fbdev/amba-clcd.c fb->panel->backlight->props.power = FB_BLANK_UNBLANK; props 113 drivers/video/fbdev/atmel_lcdfb.c int brightness = bl->props.brightness; props 119 drivers/video/fbdev/atmel_lcdfb.c if (bl->props.fb_blank != sinfo->bl_power) props 120 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.fb_blank; props 121 drivers/video/fbdev/atmel_lcdfb.c else if (bl->props.power != sinfo->bl_power) props 122 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.power; props 136 drivers/video/fbdev/atmel_lcdfb.c bl->props.fb_blank = bl->props.power = sinfo->bl_power = power; props 155 drivers/video/fbdev/atmel_lcdfb.c struct backlight_properties props; props 163 drivers/video/fbdev/atmel_lcdfb.c memset(&props, 0, sizeof(struct backlight_properties)); props 164 drivers/video/fbdev/atmel_lcdfb.c props.type = BACKLIGHT_RAW; props 165 drivers/video/fbdev/atmel_lcdfb.c props.max_brightness = 0xff; props 167 drivers/video/fbdev/atmel_lcdfb.c &atmel_lcdc_bl_ops, &props); props 175 drivers/video/fbdev/atmel_lcdfb.c bl->props.power = FB_BLANK_UNBLANK; props 176 drivers/video/fbdev/atmel_lcdfb.c bl->props.fb_blank = FB_BLANK_UNBLANK; props 177 drivers/video/fbdev/atmel_lcdfb.c bl->props.brightness = atmel_bl_get_brightness(bl); props 186 drivers/video/fbdev/atmel_lcdfb.c sinfo->backlight->props.power = FB_BLANK_POWERDOWN; props 1774 drivers/video/fbdev/aty/aty128fb.c if (bd->props.power != FB_BLANK_UNBLANK || props 1775 drivers/video/fbdev/aty/aty128fb.c bd->props.fb_blank != FB_BLANK_UNBLANK || props 1779 drivers/video/fbdev/aty/aty128fb.c level = bd->props.brightness; props 1830 drivers/video/fbdev/aty/aty128fb.c info->bl_dev->props.power = power; props 1837 drivers/video/fbdev/aty/aty128fb.c struct backlight_properties props; props 1853 drivers/video/fbdev/aty/aty128fb.c memset(&props, 0, sizeof(struct backlight_properties)); props 1854 drivers/video/fbdev/aty/aty128fb.c props.type = BACKLIGHT_RAW; props 1855 drivers/video/fbdev/aty/aty128fb.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 1857 drivers/video/fbdev/aty/aty128fb.c &props); props 1869 drivers/video/fbdev/aty/aty128fb.c bd->props.brightness = bd->props.max_brightness; props 1870 drivers/video/fbdev/aty/aty128fb.c bd->props.power = FB_BLANK_UNBLANK; props 2184 drivers/video/fbdev/aty/atyfb_base.c if (bd->props.power != FB_BLANK_UNBLANK || props 2185 drivers/video/fbdev/aty/atyfb_base.c bd->props.fb_blank != FB_BLANK_UNBLANK) props 2188 drivers/video/fbdev/aty/atyfb_base.c level = bd->props.brightness; props 2209 drivers/video/fbdev/aty/atyfb_base.c struct backlight_properties props; props 2221 drivers/video/fbdev/aty/atyfb_base.c memset(&props, 0, sizeof(struct backlight_properties)); props 2222 drivers/video/fbdev/aty/atyfb_base.c props.type = BACKLIGHT_RAW; props 2223 drivers/video/fbdev/aty/atyfb_base.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 2225 drivers/video/fbdev/aty/atyfb_base.c &props); props 2237 drivers/video/fbdev/aty/atyfb_base.c bd->props.brightness = bd->props.max_brightness; props 2238 drivers/video/fbdev/aty/atyfb_base.c bd->props.power = FB_BLANK_UNBLANK; props 60 drivers/video/fbdev/aty/radeon_backlight.c if (bd->props.power != FB_BLANK_UNBLANK || props 61 drivers/video/fbdev/aty/radeon_backlight.c bd->props.fb_blank != FB_BLANK_UNBLANK) props 64 drivers/video/fbdev/aty/radeon_backlight.c level = bd->props.brightness; props 129 drivers/video/fbdev/aty/radeon_backlight.c struct backlight_properties props; props 151 drivers/video/fbdev/aty/radeon_backlight.c memset(&props, 0, sizeof(struct backlight_properties)); props 152 drivers/video/fbdev/aty/radeon_backlight.c props.type = BACKLIGHT_RAW; props 153 drivers/video/fbdev/aty/radeon_backlight.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 155 drivers/video/fbdev/aty/radeon_backlight.c &radeon_bl_data, &props); props 185 drivers/video/fbdev/aty/radeon_backlight.c bd->props.brightness = bd->props.max_brightness; props 186 drivers/video/fbdev/aty/radeon_backlight.c bd->props.power = FB_BLANK_UNBLANK; props 394 drivers/video/fbdev/chipsfb.c pmac_backlight->props.power = FB_BLANK_UNBLANK; props 1032 drivers/video/fbdev/imxfb.c lcd->props.max_contrast = 0xff; props 286 drivers/video/fbdev/mx3fb.c int brightness = bl->props.brightness; props 288 drivers/video/fbdev/mx3fb.c if (bl->props.power != FB_BLANK_UNBLANK) props 290 drivers/video/fbdev/mx3fb.c if (bl->props.fb_blank != FB_BLANK_UNBLANK) props 307 drivers/video/fbdev/mx3fb.c struct backlight_properties props; props 313 drivers/video/fbdev/mx3fb.c memset(&props, 0, sizeof(struct backlight_properties)); props 314 drivers/video/fbdev/mx3fb.c props.max_brightness = 0xff; props 315 drivers/video/fbdev/mx3fb.c props.type = BACKLIGHT_RAW; props 319 drivers/video/fbdev/mx3fb.c &mx3fb_lcdc_bl_ops, &props); props 327 drivers/video/fbdev/mx3fb.c bl->props.power = FB_BLANK_UNBLANK; props 328 drivers/video/fbdev/mx3fb.c bl->props.fb_blank = FB_BLANK_UNBLANK; props 329 drivers/video/fbdev/mx3fb.c bl->props.brightness = mx3fb_bl_get_brightness(bl); props 57 drivers/video/fbdev/nvidia/nv_backlight.c if (bd->props.power != FB_BLANK_UNBLANK || props 58 drivers/video/fbdev/nvidia/nv_backlight.c bd->props.fb_blank != FB_BLANK_UNBLANK) props 61 drivers/video/fbdev/nvidia/nv_backlight.c level = bd->props.brightness; props 88 drivers/video/fbdev/nvidia/nv_backlight.c struct backlight_properties props; props 104 drivers/video/fbdev/nvidia/nv_backlight.c memset(&props, 0, sizeof(struct backlight_properties)); props 105 drivers/video/fbdev/nvidia/nv_backlight.c props.type = BACKLIGHT_RAW; props 106 drivers/video/fbdev/nvidia/nv_backlight.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 108 drivers/video/fbdev/nvidia/nv_backlight.c &props); props 120 drivers/video/fbdev/nvidia/nv_backlight.c bd->props.brightness = bd->props.max_brightness; props 121 drivers/video/fbdev/nvidia/nv_backlight.c bd->props.power = FB_BLANK_UNBLANK; props 158 drivers/video/fbdev/omap/lcd_ams_delta.c lcd_device->props.max_contrast = AMS_DELTA_MAX_CONTRAST; props 336 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 337 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) props 338 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c level = dev->props.brightness; props 365 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 366 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) props 367 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c return dev->props.brightness; props 1155 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct backlight_properties props; props 1241 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c memset(&props, 0, sizeof(struct backlight_properties)); props 1242 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c props.max_brightness = 255; props 1244 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c props.type = BACKLIGHT_RAW; props 1246 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev, ddata, &dsicm_bl_ops, &props); props 1254 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.fb_blank = FB_BLANK_UNBLANK; props 1255 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.power = FB_BLANK_UNBLANK; props 1256 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.brightness = 255; props 1293 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.power = FB_BLANK_POWERDOWN; props 344 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 345 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) props 346 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c level = dev->props.brightness; props 367 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (dev->props.fb_blank == FB_BLANK_UNBLANK && props 368 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) { props 372 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c return dev->props.brightness; props 744 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct backlight_properties props; props 802 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c memset(&props, 0, sizeof(props)); props 803 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c props.fb_blank = FB_BLANK_UNBLANK; props 804 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c props.power = FB_BLANK_UNBLANK; props 805 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c props.type = BACKLIGHT_RAW; props 808 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c ddata, &acx565akm_bl_ops, &props); props 831 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c bldev->props.max_brightness = max_brightness; props 832 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c bldev->props.brightness = brightness; props 301 drivers/video/fbdev/riva/fbdev.c if (bd->props.power != FB_BLANK_UNBLANK || props 302 drivers/video/fbdev/riva/fbdev.c bd->props.fb_blank != FB_BLANK_UNBLANK) props 305 drivers/video/fbdev/riva/fbdev.c level = bd->props.brightness; props 326 drivers/video/fbdev/riva/fbdev.c struct backlight_properties props; props 342 drivers/video/fbdev/riva/fbdev.c memset(&props, 0, sizeof(struct backlight_properties)); props 343 drivers/video/fbdev/riva/fbdev.c props.type = BACKLIGHT_RAW; props 344 drivers/video/fbdev/riva/fbdev.c props.max_brightness = FB_BACKLIGHT_LEVELS - 1; props 346 drivers/video/fbdev/riva/fbdev.c &props); props 358 drivers/video/fbdev/riva/fbdev.c bd->props.brightness = bd->props.max_brightness; props 359 drivers/video/fbdev/riva/fbdev.c bd->props.power = FB_BLANK_UNBLANK; props 1059 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_UNBLANK; props 1092 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_POWERDOWN; props 2127 drivers/video/fbdev/sh_mobile_lcdcfb.c int brightness = bdev->props.brightness; props 2129 drivers/video/fbdev/sh_mobile_lcdcfb.c if (bdev->props.power != FB_BLANK_UNBLANK || props 2130 drivers/video/fbdev/sh_mobile_lcdcfb.c bdev->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) props 2170 drivers/video/fbdev/sh_mobile_lcdcfb.c bl->props.max_brightness = ch->cfg->bl_info.max_brightness; props 2171 drivers/video/fbdev/sh_mobile_lcdcfb.c bl->props.brightness = bl->props.max_brightness; props 509 drivers/video/fbdev/ssd1307fb.c int brightness = bdev->props.brightness; props 755 drivers/video/fbdev/ssd1307fb.c bl->props.brightness = par->contrast; props 756 drivers/video/fbdev/ssd1307fb.c bl->props.max_brightness = MAX_CONTRAST; props 248 include/drm/drm_property.h const struct drm_prop_enum_list *props, props 252 include/drm/drm_property.h const struct drm_prop_enum_list *props, props 99 include/linux/backlight.h struct backlight_properties props; props 145 include/linux/backlight.h bd->props.power = FB_BLANK_UNBLANK; props 146 include/linux/backlight.h bd->props.fb_blank = FB_BLANK_UNBLANK; props 147 include/linux/backlight.h bd->props.state &= ~BL_CORE_FBBLANK; props 161 include/linux/backlight.h bd->props.power = FB_BLANK_POWERDOWN; props 162 include/linux/backlight.h bd->props.fb_blank = FB_BLANK_POWERDOWN; props 163 include/linux/backlight.h bd->props.state |= BL_CORE_FBBLANK; props 180 include/linux/backlight.h const struct backlight_properties *props); props 184 include/linux/backlight.h const struct backlight_properties *props); props 583 include/linux/greybus/greybus_protocols.h struct gb_power_supply_props_desc props[]; props 58 include/linux/lcd.h struct lcd_properties props; props 464 include/media/dvb_frontend.h struct dtv_frontend_properties *props); props 183 include/net/xfrm.h } props; props 438 include/net/xfrm.h if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || props 439 include/net/xfrm.h (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) props 1063 include/net/xfrm.h tmpl->saddr.a4 != x->props.saddr.a4); props 1070 include/net/xfrm.h !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); props 1279 include/net/xfrm.h (saddr->a4 == x->props.saddr.a4 || !saddr->a4 || !x->props.saddr.a4)) props 1289 include/net/xfrm.h (ipv6_addr_equal((struct in6_addr *)saddr, (struct in6_addr *)&x->props.saddr) || props 1291 include/net/xfrm.h ipv6_addr_any((struct in6_addr *)&x->props.saddr))) props 1964 include/net/xfrm.h struct xfrm_mark *m = &x->props.smark; props 162 include/rdma/rdma_vt.h struct ib_device_attr props; props 355 include/rdma/rdma_vt.h struct ib_port_attr *props); props 182 include/sound/simple_card_utils.h struct simple_dai_props *props = simple_priv_to_props(priv, i); props 187 include/sound/simple_card_utils.h asoc_simple_debug_dai(priv, "cpu", props->cpu_dai); props 188 include/sound/simple_card_utils.h asoc_simple_debug_dai(priv, "codec", props->codec_dai); props 195 include/sound/simple_card_utils.h if (props->adata.convert_rate) props 197 include/sound/simple_card_utils.h props->adata.convert_rate); props 198 include/sound/simple_card_utils.h if (props->adata.convert_channels) props 200 include/sound/simple_card_utils.h props->adata.convert_channels); props 201 include/sound/simple_card_utils.h if (props->codec_conf && props->codec_conf->name_prefix) props 203 include/sound/simple_card_utils.h props->codec_conf->name_prefix); props 204 include/sound/simple_card_utils.h if (props->mclk_fs) props 206 include/sound/simple_card_utils.h props->mclk_fs); props 874 include/uapi/linux/dvb/frontend.h struct dtv_property *props; props 799 lib/xz/xz_dec_lzma2.c static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props) props 801 lib/xz/xz_dec_lzma2.c if (props > (4 * 5 + 4) * 9 + 8) props 805 lib/xz/xz_dec_lzma2.c while (props >= 9 * 5) { props 806 lib/xz/xz_dec_lzma2.c props -= 9 * 5; props 813 lib/xz/xz_dec_lzma2.c while (props >= 9) { props 814 lib/xz/xz_dec_lzma2.c props -= 9; props 818 lib/xz/xz_dec_lzma2.c s->lzma.lc = props; props 1132 lib/xz/xz_dec_lzma2.c XZ_EXTERN enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props) props 1135 lib/xz/xz_dec_lzma2.c if (props > 39) props 1138 lib/xz/xz_dec_lzma2.c s->dict.size = 2 + (props & 1); props 1139 lib/xz/xz_dec_lzma2.c s->dict.size <<= (props >> 1) + 11; props 123 lib/xz/xz_private.h uint8_t props); props 4567 net/core/filter.c to->reqid = x->props.reqid; props 4569 net/core/filter.c to->family = x->props.family; props 4573 net/core/filter.c memcpy(to->remote_ipv6, x->props.saddr.a6, props 4576 net/core/filter.c to->remote_ipv4 = x->props.saddr.a4; props 2260 net/core/pktgen.c pkt_dev->pkt_overhead += x->props.header_len; props 2507 net/core/pktgen.c if ((x->props.mode != XFRM_MODE_TRANSPORT) && (pkt_dev->spi == 0)) props 2513 net/core/pktgen.c if ((x->props.mode == XFRM_MODE_TUNNEL) && (pkt_dev->spi != 0)) props 2562 net/core/pktgen.c nhead = x->props.header_len - skb_headroom(skb); props 176 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ESN) { props 215 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ALIGN4) props 229 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ESN) { props 294 net/ipv4/ah4.c if (x->props.mode == XFRM_MODE_TUNNEL) props 334 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ALIGN4) { props 363 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ESN) { props 404 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ESN) { props 429 net/ipv4/ah4.c if (x->props.mode == XFRM_MODE_TUNNEL) props 519 net/ipv4/ah4.c if (x->props.flags & XFRM_STATE_ALIGN4) props 520 net/ipv4/ah4.c x->props.header_len = XFRM_ALIGN4(sizeof(struct ip_auth_hdr) + props 523 net/ipv4/ah4.c x->props.header_len = XFRM_ALIGN8(sizeof(struct ip_auth_hdr) + props 525 net/ipv4/ah4.c if (x->props.mode == XFRM_MODE_TUNNEL) props 526 net/ipv4/ah4.c x->props.header_len += sizeof(struct iphdr); props 105 net/ipv4/esp4.c if (x->props.flags & XFRM_STATE_ESN) props 183 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) { props 384 net/ipv4/esp4.c if (x->props.flags & XFRM_STATE_ESN) { props 446 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) props 470 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) props 611 net/ipv4/esp4.c if (iph->saddr != x->props.saddr.a4 || props 634 net/ipv4/esp4.c if (x->props.mode == XFRM_MODE_TRANSPORT) props 639 net/ipv4/esp4.c if (x->props.mode == XFRM_MODE_TUNNEL) props 675 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) { props 721 net/ipv4/esp4.c if (x->props.flags & XFRM_STATE_ESN) { props 768 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) props 780 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) props 878 net/ipv4/esp4.c if ((x->props.flags & XFRM_STATE_ESN)) { props 972 net/ipv4/esp4.c x->props.header_len = sizeof(struct ip_esp_hdr) + props 974 net/ipv4/esp4.c if (x->props.mode == XFRM_MODE_TUNNEL) props 975 net/ipv4/esp4.c x->props.header_len += sizeof(struct iphdr); props 976 net/ipv4/esp4.c else if (x->props.mode == XFRM_MODE_BEET && x->sel.family != AF_INET6) props 977 net/ipv4/esp4.c x->props.header_len += IPV4_BEET_PHMAXLEN; props 986 net/ipv4/esp4.c x->props.header_len += sizeof(struct udphdr); props 989 net/ipv4/esp4.c x->props.header_len += sizeof(struct udphdr) + 2 * sizeof(u32); props 995 net/ipv4/esp4.c x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); props 125 net/ipv4/esp4_offload.c skb->transport_header += x->props.header_len; props 1007 net/ipv4/icmp.c if (!(sp && sp->xvec[sp->len - 1]->props.flags & props 186 net/ipv4/ip_vti.c if (!x || x->props.mode != XFRM_MODE_TUNNEL || props 187 net/ipv4/ip_vti.c x->props.family != AF_INET) props 191 net/ipv4/ip_vti.c return xfrm_addr_equal(saddr, &x->props.saddr, AF_INET); props 66 net/ipv4/ipcomp.c t->id.spi = x->props.saddr.a4; props 69 net/ipv4/ipcomp.c t->props.family = AF_INET; props 70 net/ipv4/ipcomp.c t->props.mode = x->props.mode; props 71 net/ipv4/ipcomp.c t->props.saddr.a4 = x->props.saddr.a4; props 72 net/ipv4/ipcomp.c t->props.flags = x->props.flags; props 73 net/ipv4/ipcomp.c t->props.extra_flags = x->props.extra_flags; props 102 net/ipv4/ipcomp.c x->props.saddr.a4, IPPROTO_IPIP, AF_INET); props 122 net/ipv4/ipcomp.c x->props.header_len = 0; props 123 net/ipv4/ipcomp.c switch (x->props.mode) { props 127 net/ipv4/ipcomp.c x->props.header_len += sizeof(struct iphdr); props 137 net/ipv4/ipcomp.c if (x->props.mode == XFRM_MODE_TUNNEL) { props 29 net/ipv4/xfrm4_tunnel.c if (x->props.mode != XFRM_MODE_TUNNEL) props 35 net/ipv4/xfrm4_tunnel.c x->props.header_len = sizeof(struct iphdr); props 356 net/ipv6/ah6.c if (x->props.flags & XFRM_STATE_ESN) { props 420 net/ipv6/ah6.c if (x->props.flags & XFRM_STATE_ESN) { props 485 net/ipv6/ah6.c if (x->props.mode == XFRM_MODE_TUNNEL) props 568 net/ipv6/ah6.c if (x->props.flags & XFRM_STATE_ESN) { props 605 net/ipv6/ah6.c if (x->props.flags & XFRM_STATE_ESN) { props 632 net/ipv6/ah6.c if (x->props.mode == XFRM_MODE_TUNNEL) props 716 net/ipv6/ah6.c x->props.header_len = XFRM_ALIGN8(sizeof(struct ip_auth_hdr) + props 718 net/ipv6/ah6.c switch (x->props.mode) { props 723 net/ipv6/ah6.c x->props.header_len += sizeof(struct ipv6hdr); props 113 net/ipv6/esp6.c if (x->props.flags & XFRM_STATE_ESN) props 186 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) { props 326 net/ipv6/esp6.c if (x->props.flags & XFRM_STATE_ESN) { props 387 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) props 411 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) props 539 net/ipv6/esp6.c if (x->props.mode == XFRM_MODE_TUNNEL) props 574 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) { props 620 net/ipv6/esp6.c if (x->props.flags & XFRM_STATE_ESN) { props 667 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) props 679 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) props 773 net/ipv6/esp6.c if ((x->props.flags & XFRM_STATE_ESN)) { props 870 net/ipv6/esp6.c x->props.header_len = sizeof(struct ip_esp_hdr) + props 872 net/ipv6/esp6.c switch (x->props.mode) { props 875 net/ipv6/esp6.c x->props.header_len += IPV4_BEET_PHMAXLEN + props 882 net/ipv6/esp6.c x->props.header_len += sizeof(struct ipv6hdr); props 887 net/ipv6/esp6.c x->props.trailer_len = align + 1 + crypto_aead_authsize(aead); props 159 net/ipv6/esp6_offload.c skb->transport_header += x->props.header_len; props 832 net/ipv6/icmp.c if (!(sp && sp->xvec[sp->len - 1]->props.flags & props 421 net/ipv6/ip6_vti.c if (!x || x->props.mode != XFRM_MODE_TUNNEL || props 422 net/ipv6/ip6_vti.c x->props.family != AF_INET6) props 426 net/ipv6/ip6_vti.c return xfrm_addr_equal(saddr, &x->props.saddr, AF_INET6); props 494 net/ipv6/ip6_vti.c if (!ip6_tnl_xmit_ctl(t, (const struct in6_addr *)&x->props.saddr, props 84 net/ipv6/ipcomp6.c t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); props 90 net/ipv6/ipcomp6.c t->props.family = AF_INET6; props 91 net/ipv6/ipcomp6.c t->props.mode = x->props.mode; props 92 net/ipv6/ipcomp6.c memcpy(t->props.saddr.a6, x->props.saddr.a6, sizeof(struct in6_addr)); props 118 net/ipv6/ipcomp6.c spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr); props 142 net/ipv6/ipcomp6.c x->props.header_len = 0; props 143 net/ipv6/ipcomp6.c switch (x->props.mode) { props 147 net/ipv6/ipcomp6.c x->props.header_len += sizeof(struct ipv6hdr); props 157 net/ipv6/ipcomp6.c if (x->props.mode == XFRM_MODE_TUNNEL) { props 169 net/ipv6/mip6.c WARN_ON(len != x->props.header_len); props 170 net/ipv6/mip6.c dstopt->hdrlen = (x->props.header_len >> 3) - 1; props 304 net/ipv6/mip6.c if (x->props.mode != XFRM_MODE_ROUTEOPTIMIZATION) { props 306 net/ipv6/mip6.c __func__, XFRM_MODE_ROUTEOPTIMIZATION, x->props.mode); props 310 net/ipv6/mip6.c x->props.header_len = sizeof(struct ipv6_destopt_hdr) + props 313 net/ipv6/mip6.c WARN_ON(x->props.header_len != 24); props 371 net/ipv6/mip6.c rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; props 439 net/ipv6/mip6.c if (x->props.mode != XFRM_MODE_ROUTEOPTIMIZATION) { props 441 net/ipv6/mip6.c __func__, XFRM_MODE_ROUTEOPTIMIZATION, x->props.mode); props 445 net/ipv6/mip6.c x->props.header_len = sizeof(struct rt2_hdr); props 129 net/ipv6/xfrm6_input.c if ((!i || (x->props.flags & XFRM_STATE_WILDRECV)) && props 157 net/ipv6/xfrm6_output.c if (x->props.mode != XFRM_MODE_TUNNEL) props 275 net/ipv6/xfrm6_tunnel.c if (x->props.mode != XFRM_MODE_TUNNEL) props 281 net/ipv6/xfrm6_tunnel.c x->props.header_len = sizeof(struct ipv6hdr); props 290 net/ipv6/xfrm6_tunnel.c xfrm6_tunnel_free_spi(net, (xfrm_address_t *)&x->props.saddr); props 785 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); props 805 net/key/af_key.c if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, x->props.family)) props 843 net/key/af_key.c sa->sadb_sa_replay = x->props.replay_window; props 877 net/key/af_key.c if (x->props.flags & XFRM_STATE_NOECN) props 879 net/key/af_key.c if (x->props.flags & XFRM_STATE_DECAP_DSCP) props 881 net/key/af_key.c if (x->props.flags & XFRM_STATE_NOPMTUDISC) props 928 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, props 930 net/key/af_key.c x->props.family); props 945 net/key/af_key.c x->props.family); props 948 net/key/af_key.c if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, props 949 net/key/af_key.c x->props.family)) { props 963 net/key/af_key.c x->props.family); props 992 net/key/af_key.c if ((mode = pfkey_mode_from_xfrm(x->props.mode)) < 0) { props 1000 net/key/af_key.c sa2->sadb_x_sa2_reqid = x->props.reqid; props 1132 net/key/af_key.c x->props.replay_window = min_t(unsigned int, sa->sadb_sa_replay, props 1135 net/key/af_key.c x->props.flags |= XFRM_STATE_NOECN; props 1137 net/key/af_key.c x->props.flags |= XFRM_STATE_DECAP_DSCP; props 1139 net/key/af_key.c x->props.flags |= XFRM_STATE_NOPMTUDISC; props 1193 net/key/af_key.c x->props.aalgo = sa->sadb_sa_auth; props 1209 net/key/af_key.c x->props.calgo = sa->sadb_sa_encrypt; props 1231 net/key/af_key.c x->props.ealgo = sa->sadb_sa_encrypt; props 1237 net/key/af_key.c x->props.family = pfkey_sadb_addr2xfrm_addr((struct sadb_address *) ext_hdrs[SADB_EXT_ADDRESS_SRC-1], props 1238 net/key/af_key.c &x->props.saddr); props 1249 net/key/af_key.c x->props.mode = mode; props 1250 net/key/af_key.c x->props.reqid = sa2->sadb_x_sa2_reqid; props 1262 net/key/af_key.c x->sel.family = x->props.family; props 3144 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); props 3186 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, props 3188 net/key/af_key.c x->props.family); props 3203 net/key/af_key.c x->props.family); props 3340 net/key/af_key.c sockaddr_size = pfkey_sockaddr_size(x->props.family); props 3398 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, props 3400 net/key/af_key.c x->props.family); props 3422 net/key/af_key.c x->props.family); props 124 net/netfilter/nft_xfrm.c state->props.family, props 125 net/netfilter/nft_xfrm.c state->props.mode)) { props 142 net/netfilter/nft_xfrm.c *dest = state->props.saddr.a4; props 145 net/netfilter/nft_xfrm.c memcpy(dest, &state->props.saddr.in6, sizeof(struct in6_addr)); props 148 net/netfilter/nft_xfrm.c *dest = state->props.reqid; props 43 net/netfilter/xt_policy.c return MATCH_ADDR(saddr, smask, &x->props.saddr) && props 46 net/netfilter/xt_policy.c MATCH(mode, x->props.mode) && props 48 net/netfilter/xt_policy.c MATCH(reqid, x->props.reqid); props 644 net/tipc/bcast.c struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; props 649 net/tipc/bcast.c err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_LINK_PROP], props); props 653 net/tipc/bcast.c if (!props[TIPC_NLA_PROP_WIN] && props 654 net/tipc/bcast.c !props[TIPC_NLA_PROP_BROADCAST] && props 655 net/tipc/bcast.c !props[TIPC_NLA_PROP_BROADCAST_RATIO]) { props 659 net/tipc/bcast.c if (props[TIPC_NLA_PROP_BROADCAST]) { props 660 net/tipc/bcast.c bc_mode = nla_get_u32(props[TIPC_NLA_PROP_BROADCAST]); props 664 net/tipc/bcast.c if (!err && props[TIPC_NLA_PROP_BROADCAST_RATIO]) { props 665 net/tipc/bcast.c bc_ratio = nla_get_u32(props[TIPC_NLA_PROP_BROADCAST_RATIO]); props 669 net/tipc/bcast.c if (!err && props[TIPC_NLA_PROP_WIN]) { props 670 net/tipc/bcast.c win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); props 952 net/tipc/bearer.c struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; props 955 net/tipc/bearer.c props); props 959 net/tipc/bearer.c if (props[TIPC_NLA_PROP_PRIO]) props 960 net/tipc/bearer.c prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); props 1046 net/tipc/bearer.c struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; props 1049 net/tipc/bearer.c props); props 1053 net/tipc/bearer.c if (props[TIPC_NLA_PROP_TOL]) { props 1054 net/tipc/bearer.c b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); props 1057 net/tipc/bearer.c if (props[TIPC_NLA_PROP_PRIO]) props 1058 net/tipc/bearer.c b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); props 1059 net/tipc/bearer.c if (props[TIPC_NLA_PROP_WIN]) props 1060 net/tipc/bearer.c b->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); props 1061 net/tipc/bearer.c if (props[TIPC_NLA_PROP_MTU]) { props 1066 net/tipc/bearer.c (props[TIPC_NLA_PROP_MTU]))) props 1068 net/tipc/bearer.c b->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); props 1235 net/tipc/bearer.c struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; props 1238 net/tipc/bearer.c props); props 1242 net/tipc/bearer.c if (props[TIPC_NLA_PROP_TOL]) props 1243 net/tipc/bearer.c m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); props 1244 net/tipc/bearer.c if (props[TIPC_NLA_PROP_PRIO]) props 1245 net/tipc/bearer.c m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); props 1246 net/tipc/bearer.c if (props[TIPC_NLA_PROP_WIN]) props 1247 net/tipc/bearer.c m->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); props 1248 net/tipc/bearer.c if (props[TIPC_NLA_PROP_MTU]) { props 1253 net/tipc/bearer.c (props[TIPC_NLA_PROP_MTU]))) props 1255 net/tipc/bearer.c m->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); props 2332 net/tipc/link.c int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]) props 2336 net/tipc/link.c err = nla_parse_nested_deprecated(props, TIPC_NLA_PROP_MAX, prop, props 2341 net/tipc/link.c if (props[TIPC_NLA_PROP_PRIO]) { props 2344 net/tipc/link.c prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); props 2349 net/tipc/link.c if (props[TIPC_NLA_PROP_TOL]) { props 2352 net/tipc/link.c tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); props 2357 net/tipc/link.c if (props[TIPC_NLA_PROP_WIN]) { props 2360 net/tipc/link.c win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); props 130 net/tipc/link.h int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]); props 2122 net/tipc/node.c struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; props 2125 net/tipc/node.c props); props 2131 net/tipc/node.c if (props[TIPC_NLA_PROP_TOL]) { props 2134 net/tipc/node.c tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); props 2137 net/tipc/node.c if (props[TIPC_NLA_PROP_PRIO]) { props 2140 net/tipc/node.c prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); props 2143 net/tipc/node.c if (props[TIPC_NLA_PROP_WIN]) { props 2146 net/tipc/node.c win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); props 29 net/xfrm/xfrm_device.c skb->transport_header -= x->props.header_len; props 31 net/xfrm/xfrm_device.c pskb_pull(skb, skb_transport_offset(skb) + x->props.header_len); props 44 net/xfrm/xfrm_device.c pskb_pull(skb, skb->mac_len + x->props.header_len); props 210 net/xfrm/xfrm_device.c saddr = &x->props.saddr; props 214 net/xfrm/xfrm_device.c daddr = &x->props.saddr; props 218 net/xfrm/xfrm_device.c x->props.family, props 235 net/xfrm/xfrm_device.c if (x->props.flags & XFRM_STATE_ESN && props 239 net/xfrm/xfrm_input.c if (x->props.flags & XFRM_STATE_DECAP_DSCP) props 241 net/xfrm/xfrm_input.c if (!(x->props.flags & XFRM_STATE_NOECN)) props 276 net/xfrm/xfrm_input.c if (x->props.flags & XFRM_STATE_DECAP_DSCP) props 279 net/xfrm/xfrm_input.c if (!(x->props.flags & XFRM_STATE_NOECN)) props 65 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len); props 93 net/xfrm/xfrm_output.c (prevhdr - x->props.header_len) - skb->data); props 94 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len); props 123 net/xfrm/xfrm_output.c (prevhdr - x->props.header_len) - skb->data); props 124 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len); props 153 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len - hdrlen + props 181 net/xfrm/xfrm_output.c top_iph->saddr = x->props.saddr.a4; props 200 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len); props 212 net/xfrm/xfrm_output.c if (x->props.extra_flags & XFRM_SA_XFLAG_DONT_ENCAP_DSCP) props 219 net/xfrm/xfrm_output.c flags = x->props.flags; props 228 net/xfrm/xfrm_output.c top_iph->saddr = x->props.saddr.a4; props 245 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len); props 257 net/xfrm/xfrm_output.c if (x->props.extra_flags & XFRM_SA_XFLAG_DONT_ENCAP_DSCP) props 262 net/xfrm/xfrm_output.c if (x->props.flags & XFRM_STATE_NOECN) props 266 net/xfrm/xfrm_output.c top_iph->saddr = *(struct in6_addr *)&x->props.saddr; props 282 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len - hdr_len); props 306 net/xfrm/xfrm_output.c top_iph->saddr = *(struct in6_addr *)&x->props.saddr; props 277 net/xfrm/xfrm_policy.c xfrm_address_t *saddr = &x->props.saddr; props 2591 net/xfrm/xfrm_policy.c if (xfrm[i]->props.mode != XFRM_MODE_TRANSPORT) { props 2594 net/xfrm/xfrm_policy.c if (xfrm[i]->props.smark.v || xfrm[i]->props.smark.m) props 2597 net/xfrm/xfrm_policy.c family = xfrm[i]->props.family; props 2625 net/xfrm/xfrm_policy.c header_len += xfrm[i]->props.header_len; props 2627 net/xfrm/xfrm_policy.c nfheader_len += xfrm[i]->props.header_len; props 2628 net/xfrm/xfrm_policy.c trailer_len += xfrm[i]->props.trailer_len; props 2650 net/xfrm/xfrm_policy.c header_len -= xdst_prev->u.dst.xfrm->props.header_len; props 2651 net/xfrm/xfrm_policy.c trailer_len -= xdst_prev->u.dst.xfrm->props.trailer_len; props 3142 net/xfrm/xfrm_policy.c dst->xfrm->props.mode == XFRM_MODE_TUNNEL) props 3224 net/xfrm/xfrm_policy.c (x->props.reqid == tmpl->reqid || !tmpl->reqid) && props 3225 net/xfrm/xfrm_policy.c x->props.mode == tmpl->mode && props 3226 net/xfrm/xfrm_policy.c (tmpl->allalgs || (tmpl->aalgos & (1<<x->props.aalgo)) || props 3228 net/xfrm/xfrm_policy.c !(x->props.mode != XFRM_MODE_TRANSPORT && props 3253 net/xfrm/xfrm_policy.c if (sp->xvec[idx]->props.mode != XFRM_MODE_TRANSPORT) { props 3493 net/xfrm/xfrm_policy.c if (sp->xvec[k]->props.mode != XFRM_MODE_TRANSPORT) { props 3873 net/xfrm/xfrm_policy.c if (xfrm->props.mode == XFRM_MODE_TRANSPORT) props 17 net/xfrm/xfrm_replay.c if (!(x->props.flags & XFRM_STATE_ESN)) props 112 net/xfrm/xfrm_replay.c if (!x->props.replay_window) props 122 net/xfrm/xfrm_replay.c if (diff >= x->props.replay_window) { props 143 net/xfrm/xfrm_replay.c if (!x->props.replay_window) props 148 net/xfrm/xfrm_replay.c if (diff < x->props.replay_window) props 737 net/xfrm/xfrm_replay.c if (x->props.flags & XFRM_STATE_ESN) { props 94 net/xfrm/xfrm_state.c h = __xfrm_dst_hash(&x->id.daddr, &x->props.saddr, props 95 net/xfrm/xfrm_state.c x->props.reqid, x->props.family, props 99 net/xfrm/xfrm_state.c h = __xfrm_src_hash(&x->id.daddr, &x->props.saddr, props 100 net/xfrm/xfrm_state.c x->props.family, props 106 net/xfrm/xfrm_state.c x->id.proto, x->props.family, props 909 net/xfrm/xfrm_state.c x->props.saddr = tmpl->saddr; props 910 net/xfrm/xfrm_state.c if (x->props.saddr.a4 == 0) props 911 net/xfrm/xfrm_state.c x->props.saddr.a4 = saddr->a4; props 916 net/xfrm/xfrm_state.c memcpy(&x->props.saddr, &tmpl->saddr, sizeof(x->props.saddr)); props 917 net/xfrm/xfrm_state.c if (ipv6_addr_any((struct in6_addr *)&x->props.saddr)) props 918 net/xfrm/xfrm_state.c memcpy(&x->props.saddr, saddr, sizeof(x->props.saddr)); props 922 net/xfrm/xfrm_state.c x->props.mode = tmpl->mode; props 923 net/xfrm/xfrm_state.c x->props.reqid = tmpl->reqid; props 924 net/xfrm/xfrm_state.c x->props.family = tmpl->encap_family; props 936 net/xfrm/xfrm_state.c if (x->props.family != family || props 961 net/xfrm/xfrm_state.c if (x->props.family != family || props 964 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) props 989 net/xfrm/xfrm_state.c &x->props.saddr, props 1063 net/xfrm/xfrm_state.c if (x->props.family == encap_family && props 1064 net/xfrm/xfrm_state.c x->props.reqid == tmpl->reqid && props 1067 net/xfrm/xfrm_state.c !(x->props.flags & XFRM_STATE_WILDRECV) && props 1069 net/xfrm/xfrm_state.c tmpl->mode == x->props.mode && props 1080 net/xfrm/xfrm_state.c if (x->props.family == encap_family && props 1081 net/xfrm/xfrm_state.c x->props.reqid == tmpl->reqid && props 1084 net/xfrm/xfrm_state.c !(x->props.flags & XFRM_STATE_WILDRECV) && props 1086 net/xfrm/xfrm_state.c tmpl->mode == x->props.mode && props 1193 net/xfrm/xfrm_state.c if (x->props.family == family && props 1194 net/xfrm/xfrm_state.c x->props.reqid == reqid && props 1197 net/xfrm/xfrm_state.c !(x->props.flags & XFRM_STATE_WILDRECV) && props 1199 net/xfrm/xfrm_state.c mode == x->props.mode && props 1225 net/xfrm/xfrm_state.c if (x->props.family != family || props 1245 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, &x->id.daddr, &x->props.saddr, props 1246 net/xfrm/xfrm_state.c x->props.reqid, x->props.family); props 1249 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, &x->id.daddr, &x->props.saddr, x->props.family); props 1254 net/xfrm/xfrm_state.c x->props.family); props 1272 net/xfrm/xfrm_state.c unsigned short family = xnew->props.family; props 1273 net/xfrm/xfrm_state.c u32 reqid = xnew->props.reqid; props 1279 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, &xnew->id.daddr, &xnew->props.saddr, reqid, family); props 1281 net/xfrm/xfrm_state.c if (x->props.family == family && props 1282 net/xfrm/xfrm_state.c x->props.reqid == reqid && props 1286 net/xfrm/xfrm_state.c xfrm_addr_equal(&x->props.saddr, &xnew->props.saddr, family)) props 1316 net/xfrm/xfrm_state.c if (x->props.reqid != reqid || props 1317 net/xfrm/xfrm_state.c x->props.mode != mode || props 1318 net/xfrm/xfrm_state.c x->props.family != family || props 1324 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) props 1342 net/xfrm/xfrm_state.c x->props.saddr.a4 = saddr->a4; props 1351 net/xfrm/xfrm_state.c x->props.saddr.in6 = saddr->in6; props 1358 net/xfrm/xfrm_state.c x->props.family = family; props 1359 net/xfrm/xfrm_state.c x->props.mode = mode; props 1360 net/xfrm/xfrm_state.c x->props.reqid = reqid; props 1393 net/xfrm/xfrm_state.c family = x->props.family; props 1417 net/xfrm/xfrm_state.c x1 = __find_acq_core(net, &x->mark, family, x->props.mode, props 1418 net/xfrm/xfrm_state.c x->props.reqid, x->if_id, x->id.proto, props 1419 net/xfrm/xfrm_state.c &x->id.daddr, &x->props.saddr, 0); props 1452 net/xfrm/xfrm_state.c x->props.mode = orig->props.mode; props 1453 net/xfrm/xfrm_state.c x->props.replay_window = orig->props.replay_window; props 1454 net/xfrm/xfrm_state.c x->props.reqid = orig->props.reqid; props 1455 net/xfrm/xfrm_state.c x->props.family = orig->props.family; props 1456 net/xfrm/xfrm_state.c x->props.saddr = orig->props.saddr; props 1463 net/xfrm/xfrm_state.c x->props.aalgo = orig->props.aalgo; props 1476 net/xfrm/xfrm_state.c x->props.ealgo = orig->props.ealgo; props 1483 net/xfrm/xfrm_state.c x->props.calgo = orig->props.calgo; props 1514 net/xfrm/xfrm_state.c x->props.flags = orig->props.flags; props 1515 net/xfrm/xfrm_state.c x->props.extra_flags = orig->props.extra_flags; props 1546 net/xfrm/xfrm_state.c if (x->props.mode != m->mode || props 1549 net/xfrm/xfrm_state.c if (m->reqid && x->props.reqid != m->reqid) props 1553 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, &m->old_saddr, props 1563 net/xfrm/xfrm_state.c if (x->props.mode != m->mode || props 1568 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, &m->old_saddr, props 1593 net/xfrm/xfrm_state.c memcpy(&xc->props.saddr, &m->new_saddr, sizeof(xc->props.saddr)); props 1623 net/xfrm/xfrm_state.c x1 = __xfrm_state_locate(x, use_spi, x->props.family); props 1678 net/xfrm/xfrm_state.c if (x->props.smark.m || x->props.smark.v || x->if_id) { props 1681 net/xfrm/xfrm_state.c if (x->props.smark.m || x->props.smark.v) props 1682 net/xfrm/xfrm_state.c x1->props.smark = x->props.smark; props 1808 net/xfrm/xfrm_state.c switch (v->props.mode) { props 1985 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(net, mark, &x->id.daddr, minspi, x->id.proto, x->props.family); props 1995 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(net, mark, &x->id.daddr, htonl(spi), x->id.proto, x->props.family); props 2005 net/xfrm/xfrm_state.c h = xfrm_spi_hash(net, &x->id.daddr, x->id.spi, x->id.proto, x->props.family); props 2025 net/xfrm/xfrm_state.c x->props.family != filter->family) props 2028 net/xfrm/xfrm_state.c return addr_match(&x->props.saddr, &filter->saddr, props 2418 net/xfrm/xfrm_state.c return mtu - x->props.header_len; props 2423 net/xfrm/xfrm_state.c switch (x->props.mode) { props 2426 net/xfrm/xfrm_state.c if (x->props.family == AF_INET) props 2428 net/xfrm/xfrm_state.c else if (x->props.family == AF_INET6) props 2438 net/xfrm/xfrm_state.c return ((mtu - x->props.header_len - crypto_aead_authsize(aead) - props 2447 net/xfrm/xfrm_state.c int family = x->props.family; props 2452 net/xfrm/xfrm_state.c x->props.flags |= XFRM_STATE_NOPMTUDISC; props 2457 net/xfrm/xfrm_state.c inner_mode = xfrm_get_mode(x->props.mode, x->sel.family); props 2470 net/xfrm/xfrm_state.c inner_mode = xfrm_get_mode(x->props.mode, x->props.family); props 2479 net/xfrm/xfrm_state.c if (x->props.family == AF_INET) props 2482 net/xfrm/xfrm_state.c inner_mode_iaf = xfrm_get_mode(x->props.mode, iafamily); props 2499 net/xfrm/xfrm_state.c outer_mode = xfrm_get_mode(x->props.mode, family); props 2597 net/xfrm/xfrm_state.c switch (x->props.family) { props 2600 net/xfrm/xfrm_state.c &x->props.saddr.a4, &x->id.daddr.a4); props 2604 net/xfrm/xfrm_state.c x->props.saddr.a6, x->id.daddr.a6); props 2672 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); props 2690 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); props 2737 net/xfrm/xfrm_state.c xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); props 289 net/xfrm/xfrm_user.c static int attach_one_algo(struct xfrm_algo **algpp, u8 *props, props 304 net/xfrm/xfrm_user.c *props = algo->desc.sadb_alg_id; props 328 net/xfrm/xfrm_user.c x->props.ealgo = algo->desc.sadb_alg_id; props 340 net/xfrm/xfrm_user.c static int attach_auth(struct xfrm_algo_auth **algpp, u8 *props, props 355 net/xfrm/xfrm_user.c *props = algo->desc.sadb_alg_id; props 370 net/xfrm/xfrm_user.c static int attach_auth_trunc(struct xfrm_algo_auth **algpp, u8 *props, props 386 net/xfrm/xfrm_user.c *props = algo->desc.sadb_alg_id; props 413 net/xfrm/xfrm_user.c x->props.ealgo = algo->desc.sadb_alg_id; props 499 net/xfrm/xfrm_user.c x->props.mode = p->mode; props 500 net/xfrm/xfrm_user.c x->props.replay_window = min_t(unsigned int, p->replay_window, props 502 net/xfrm/xfrm_user.c x->props.reqid = p->reqid; props 503 net/xfrm/xfrm_user.c x->props.family = p->family; props 504 net/xfrm/xfrm_user.c memcpy(&x->props.saddr, &p->saddr, sizeof(x->props.saddr)); props 505 net/xfrm/xfrm_user.c x->props.flags = p->flags; props 584 net/xfrm/xfrm_user.c x->props.extra_flags = nla_get_u32(attrs[XFRMA_SA_EXTRA_FLAGS]); props 588 net/xfrm/xfrm_user.c if ((err = attach_auth_trunc(&x->aalg, &x->props.aalgo, props 591 net/xfrm/xfrm_user.c if (!x->props.aalgo) { props 592 net/xfrm/xfrm_user.c if ((err = attach_auth(&x->aalg, &x->props.aalgo, props 598 net/xfrm/xfrm_user.c if ((err = attach_one_algo(&x->calg, &x->props.calgo, props 622 net/xfrm/xfrm_user.c xfrm_smark_init(attrs, &x->props.smark); props 797 net/xfrm/xfrm_user.c memcpy(&p->saddr, &x->props.saddr, sizeof(p->saddr)); props 798 net/xfrm/xfrm_user.c p->mode = x->props.mode; props 799 net/xfrm/xfrm_user.c p->replay_window = x->props.replay_window; props 800 net/xfrm/xfrm_user.c p->reqid = x->props.reqid; props 801 net/xfrm/xfrm_user.c p->family = x->props.family; props 802 net/xfrm/xfrm_user.c p->flags = x->props.flags; props 890 net/xfrm/xfrm_user.c if (x->props.extra_flags) { props 892 net/xfrm/xfrm_user.c x->props.extra_flags); props 945 net/xfrm/xfrm_user.c ret = xfrm_smark_put(skb, &x->props.smark); props 1988 net/xfrm/xfrm_user.c id->sa_id.family = x->props.family; props 1990 net/xfrm/xfrm_user.c memcpy(&id->saddr, &x->props.saddr, sizeof(x->props.saddr)); props 1991 net/xfrm/xfrm_user.c id->reqid = x->props.reqid; props 2289 net/xfrm/xfrm_user.c memcpy(&x->props.saddr, &ua->saddr, sizeof(ua->saddr)); props 2298 net/xfrm/xfrm_user.c x->props.mode = t->mode; props 2299 net/xfrm/xfrm_user.c x->props.reqid = t->reqid; props 2300 net/xfrm/xfrm_user.c x->props.family = ut->family; props 2812 net/xfrm/xfrm_user.c if (x->props.extra_flags) props 2813 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(x->props.extra_flags)); props 2816 net/xfrm/xfrm_user.c if (x->props.smark.v | x->props.smark.m) { props 2817 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(x->props.smark.v)); props 2818 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(x->props.smark.m)); props 2865 net/xfrm/xfrm_user.c id->family = x->props.family; props 2936 net/xfrm/xfrm_user.c memcpy(&ua->saddr, &x->props.saddr, sizeof(ua->saddr)); props 3280 net/xfrm/xfrm_user.c um->id.family = x->props.family; props 3283 net/xfrm/xfrm_user.c memcpy(&um->old_saddr, &x->props.saddr, sizeof(um->old_saddr)); props 3286 net/xfrm/xfrm_user.c um->reqid = x->props.reqid; props 185 sound/soc/generic/audio-graph-card.c struct simple_dai_props *props) props 191 sound/soc/generic/audio-graph-card.c of_property_read_u32(top, "mclk-fs", &props->mclk_fs); props 192 sound/soc/generic/audio-graph-card.c of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); props 193 sound/soc/generic/audio-graph-card.c of_property_read_u32(port, "mclk-fs", &props->mclk_fs); props 194 sound/soc/generic/audio-graph-card.c of_property_read_u32(ep, "mclk-fs", &props->mclk_fs); props 98 sound/soc/generic/simple-card.c struct simple_dai_props *props, props 105 sound/soc/generic/simple-card.c of_property_read_u32(top, prop, &props->mclk_fs); props 108 sound/soc/generic/simple-card.c of_property_read_u32(node, prop, &props->mclk_fs); props 109 sound/soc/generic/simple-card.c of_property_read_u32(cpu, prop, &props->mclk_fs); props 110 sound/soc/generic/simple-card.c of_property_read_u32(codec, prop, &props->mclk_fs); props 463 sound/soc/intel/boards/bytcht_es8316.c struct property_entry props[MAX_NO_PROPS] = {}; props 547 sound/soc/intel/boards/bytcht_es8316.c props[cnt++] = PROPERTY_ENTRY_BOOL("everest,jack-detect-inverted"); props 550 sound/soc/intel/boards/bytcht_es8316.c ret = device_add_properties(codec_dev, props); props 763 sound/soc/intel/boards/bytcr_rt5640.c struct property_entry props[MAX_NO_PROPS] = {}; props 773 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic1-data-pin", props 777 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic2-data-pin", props 782 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = props 787 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = props 793 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( props 797 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( props 801 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( props 807 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); props 809 sound/soc/intel/boards/bytcr_rt5640.c ret = device_add_properties(i2c_dev, props); props 519 sound/soc/intel/boards/bytcr_rt5651.c struct property_entry props[MAX_NO_PROPS] = {}; props 522 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,jack-detect-source", props 525 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-threshold-microamp", props 528 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-scale-factor", props 532 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,dmic-en"); props 535 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); props 537 sound/soc/intel/boards/bytcr_rt5651.c return device_add_properties(i2c_dev, props);