/drivers/platform/x86/ |
D | touchscreen_dmi.c | 24 const struct property_entry *properties; member 40 .properties = chuwi_hi8_props, 54 .properties = chuwi_hi8_air_props, 80 .properties = chuwi_hi8_pro_props, 99 .properties = chuwi_hi10_air_props, 124 .properties = chuwi_hi10_plus_props, 150 .properties = chuwi_hi10_pro_props, 177 .properties = chuwi_hibook_props, 194 .properties = chuwi_vi8_props, 222 .properties = chuwi_vi10_props, [all …]
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_queue.c | 50 pr_debug("Queue Type: %u\n", q->properties.type); in print_queue() 51 pr_debug("Queue Size: %llu\n", q->properties.queue_size); in print_queue() 52 pr_debug("Queue percent: %u\n", q->properties.queue_percent); in print_queue() 53 pr_debug("Queue Address: 0x%llX\n", q->properties.queue_address); in print_queue() 54 pr_debug("Queue Id: %u\n", q->properties.queue_id); in print_queue() 55 pr_debug("Queue Process Vmid: %u\n", q->properties.vmid); in print_queue() 56 pr_debug("Queue Read Pointer: 0x%px\n", q->properties.read_ptr); in print_queue() 57 pr_debug("Queue Write Pointer: 0x%px\n", q->properties.write_ptr); in print_queue() 58 pr_debug("Queue Doorbell Pointer: 0x%p\n", q->properties.doorbell_ptr); in print_queue() 59 pr_debug("Queue Doorbell Offset: %u\n", q->properties.doorbell_off); in print_queue() [all …]
|
D | kfd_device_queue_manager.c | 145 if (q->properties.type == KFD_QUEUE_TYPE_COMPUTE || in increment_queue_count() 146 q->properties.type == KFD_QUEUE_TYPE_DIQ) in increment_queue_count() 149 if (q->properties.is_gws) { in increment_queue_count() 160 if (q->properties.type == KFD_QUEUE_TYPE_COMPUTE || in decrement_queue_count() 161 q->properties.type == KFD_QUEUE_TYPE_DIQ) in decrement_queue_count() 164 if (q->properties.is_gws) { in decrement_queue_count() 178 q->doorbell_id = q->properties.queue_id; in allocate_doorbell() 179 } else if (q->properties.type == KFD_QUEUE_TYPE_SDMA || in allocate_doorbell() 180 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) { in allocate_doorbell() 189 q->doorbell_id = idx_offset[q->properties.sdma_engine_id] in allocate_doorbell() [all …]
|
D | kfd_process_queue_manager.c | 37 if ((pqn->q && pqn->q->properties.queue_id == qid) || in get_queue_by_qid() 38 (pqn->kq && pqn->kq->queue->properties.queue_id == qid)) in get_queue_by_qid() 195 struct queue_properties *properties, in pqm_create_queue() argument 204 enum kfd_queue_type type = properties->type; in pqm_create_queue() 251 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue() 271 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue() 285 kq->queue->properties.queue_id = *qid; in pqm_create_queue() 311 (q->properties.doorbell_off * sizeof(uint32_t)) & in pqm_create_queue() 321 print_queue_properties(&q->properties); in pqm_create_queue() 386 pqn->q->properties.queue_id, retval); in pqm_destroy_queue() [all …]
|
D | kfd_kernel_queue.c | 148 &kq->queue->properties); in kq_initialize() 154 &kq->queue->properties); in kq_initialize() 162 &kq->queue->properties, NULL); in kq_initialize() 201 if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ && !hanging) in kq_uninitialize() 208 else if (kq->queue->properties.type == KFD_QUEUE_TYPE_DIQ) in kq_uninitialize() 224 kq->queue->properties.doorbell_ptr); in kq_uninitialize() 246 queue_size_dwords = kq->queue->properties.queue_size / 4; in kq_acquire_packet_buffer() 303 write_kernel_doorbell64(kq->queue->properties.doorbell_ptr, in kq_submit_packet() 307 write_kernel_doorbell(kq->queue->properties.doorbell_ptr, in kq_submit_packet() 317 (kq->queue->properties.queue_size / 4); in kq_rollback_packet()
|
D | kfd_packet_manager_v9.c | 204 switch (q->properties.type) { in pm_map_queues_v9() 217 if (q->properties.sdma_engine_id < 2) in pm_map_queues_v9() 218 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_v9() 223 packet->bitfields2.engine_sel = q->properties.sdma_engine_id; in pm_map_queues_v9() 227 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_v9() 231 q->properties.doorbell_off; in pm_map_queues_v9() 240 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9() 243 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9()
|
D | kfd_packet_manager_vi.c | 161 switch (q->properties.type) { in pm_map_queues_vi() 173 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_vi() 178 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_vi() 182 q->properties.doorbell_off; in pm_map_queues_vi() 191 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi() 194 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi()
|
/drivers/gpu/drm/ |
D | drm_mode_object.c | 235 int count = obj->properties->count; in drm_object_attach_property() 256 obj->properties->properties[count] = property; in drm_object_attach_property() 257 obj->properties->values[count] = init_val; in drm_object_attach_property() 258 obj->properties->count++; in drm_object_attach_property() 289 for (i = 0; i < obj->properties->count; i++) { in drm_object_property_set_value() 290 if (obj->properties->properties[i] == property) { in drm_object_property_set_value() 291 obj->properties->values[i] = val; in drm_object_property_set_value() 314 for (i = 0; i < obj->properties->count; i++) { in __drm_object_property_get_value() 315 if (obj->properties->properties[i] == property) { in __drm_object_property_get_value() 316 *val = obj->properties->values[i]; in __drm_object_property_get_value() [all …]
|
/drivers/firmware/efi/ |
D | apple-properties.c | 118 static int __init unmarshal_devices(struct properties_header *properties) in unmarshal_devices() argument 122 while (offset + sizeof(struct dev_header) < properties->len) { in unmarshal_devices() 123 struct dev_header *dev_header = (void *)properties + offset; in unmarshal_devices() 130 if (offset + dev_header->len > properties->len || in unmarshal_devices() 178 struct properties_header *properties; in map_properties() local 210 properties = (struct properties_header *)data->data; in map_properties() 211 if (properties->version != 1) { in map_properties() 214 16, 1, properties, data_len, true); in map_properties() 216 } else if (properties->len != data_len) { in map_properties() 219 16, 1, properties, data_len, true); in map_properties() [all …]
|
/drivers/staging/media/atomisp/pci/ |
D | sh_css_properties.c | 22 ia_css_get_properties(struct ia_css_properties *properties) in ia_css_get_properties() argument 24 assert(properties); in ia_css_get_properties() 29 properties->gdc_coord_one = gdc_get_unity(GDC0_ID) / HRT_GDC_COORD_SCALE; in ia_css_get_properties() 31 properties->l1_base_is_index = true; in ia_css_get_properties() 33 properties->vamem_type = IA_CSS_VAMEM_TYPE_2; in ia_css_get_properties()
|
/drivers/gpu/drm/gud/ |
D | gud_connector.c | 30 u16 *properties; member 346 kfree(gconn->properties); in gud_connector_destroy() 478 struct gud_property_req *properties; in gud_connector_add_properties() local 482 properties = kcalloc(GUD_CONNECTOR_PROPERTIES_MAX_NUM, sizeof(*properties), GFP_KERNEL); in gud_connector_add_properties() 483 if (!properties) in gud_connector_add_properties() 487 properties, GUD_CONNECTOR_PROPERTIES_MAX_NUM * sizeof(*properties)); in gud_connector_add_properties() 490 if (ret % sizeof(*properties)) { in gud_connector_add_properties() 495 num_properties = ret / sizeof(*properties); in gud_connector_add_properties() 498 gconn->properties = kcalloc(num_properties, sizeof(*gconn->properties), GFP_KERNEL); in gud_connector_add_properties() 499 if (!gconn->properties) { in gud_connector_add_properties() [all …]
|
D | gud_drv.c | 252 struct gud_property_req *properties; in gud_get_properties() local 256 properties = kcalloc(GUD_PROPERTIES_MAX_NUM, sizeof(*properties), GFP_KERNEL); in gud_get_properties() 257 if (!properties) in gud_get_properties() 261 properties, GUD_PROPERTIES_MAX_NUM * sizeof(*properties)); in gud_get_properties() 264 if (ret % sizeof(*properties)) { in gud_get_properties() 269 num_properties = ret / sizeof(*properties); in gud_get_properties() 272 gdrm->properties = drmm_kcalloc(&gdrm->drm, num_properties, sizeof(*gdrm->properties), in gud_get_properties() 274 if (!gdrm->properties) { in gud_get_properties() 280 u16 prop = le16_to_cpu(properties[i].prop); in gud_get_properties() 281 u64 val = le64_to_cpu(properties[i].val); in gud_get_properties() [all …]
|
/drivers/platform/chrome/ |
D | chromeos_laptop.c | 55 const struct property_entry *properties; member 328 .properties = chromebook_atmel_touchscreen_props, 341 .properties = chromebook_pixel_trackpad_props, 439 .properties = chromebook_atmel_touchscreen_props, 516 .properties = samus_trackpad_props, 523 .properties = chromebook_atmel_touchscreen_props, 534 .properties = chromebook_pixel_trackpad_props, 541 .properties = chromebook_atmel_touchscreen_props, 768 if (i2c_dev->properties) { in chromeos_laptop_prepare_i2c_peripherals() 769 info->fwnode = fwnode_create_software_node(i2c_dev->properties, NULL); in chromeos_laptop_prepare_i2c_peripherals() [all …]
|
/drivers/power/supply/ |
D | generic-adc-battery.c | 244 enum power_supply_property *properties; in gab_probe() local 272 properties = kcalloc(ARRAY_SIZE(gab_props) + in gab_probe() 274 sizeof(*properties), in gab_probe() 276 if (!properties) { in gab_probe() 281 memcpy(properties, gab_props, sizeof(gab_props)); in gab_probe() 298 if (properties[index2] == gab_dyn_props[chan]) in gab_probe() 302 properties[index++] = gab_dyn_props[chan]; in gab_probe() 319 psy_desc->properties = properties; in gab_probe() 358 kfree(properties); in gab_probe() 378 kfree(adc_bat->psy_desc.properties); in gab_remove()
|
D | charger-manager.c | 844 .properties = default_charger_props, 1232 enum power_supply_property *properties, in cm_init_thermal_data() argument 1244 properties[*num_properties] = POWER_SUPPLY_PROP_TEMP; in cm_init_thermal_data() 1256 properties[*num_properties] = POWER_SUPPLY_PROP_TEMP; in cm_init_thermal_data() 1428 enum power_supply_property *properties; in charger_manager_probe() local 1525 properties = devm_kcalloc(&pdev->dev, in charger_manager_probe() 1528 sizeof(*properties), GFP_KERNEL); in charger_manager_probe() 1529 if (!properties) in charger_manager_probe() 1532 memcpy(properties, default_charger_props, in charger_manager_probe() 1546 properties[num_properties] = in charger_manager_probe() [all …]
|
/drivers/base/ |
D | swnode.c | 312 property_entries_dup(const struct property_entry *properties) in property_entries_dup() argument 318 if (!properties) in property_entries_dup() 321 while (properties[n].name) in property_entries_dup() 329 ret = property_entry_copy_data(&p[i], &properties[i]); in property_entries_dup() 349 void property_entries_free(const struct property_entry *properties) in property_entries_free() argument 353 if (!properties) in property_entries_free() 356 for (p = properties; p->name; p++) in property_entries_free() 359 kfree(properties); in property_entries_free() 387 return !!property_entry_get(swnode->node->properties, propname); in software_node_property_present() 397 return property_entry_read_int_array(swnode->node->properties, propname, in software_node_read_int_array() [all …]
|
/drivers/thunderbolt/ |
D | property.c | 190 INIT_LIST_HEAD(&dir->properties); in __tb_property_parse_dir() 201 list_add_tail(&property->list, &dir->properties); in __tb_property_parse_dir() 250 INIT_LIST_HEAD(&dir->properties); in tb_property_create_dir() 300 list_for_each_entry_safe(property, tmp, &dir->properties, list) { in tb_property_free_dir() 320 list_for_each_entry(property, &dir->properties, list) { in tb_property_dir_length() 427 list_for_each_entry(property, &dir->properties, list) { in __tb_property_format_dir() 524 list_for_each_entry(property, &dir->properties, list) { in tb_property_copy_dir() 563 list_add_tail(&p->list, &d->properties); in tb_property_copy_dir() 596 list_add_tail(&property->list, &parent->properties); in tb_property_add_immediate() 633 list_add_tail(&property->list, &parent->properties); in tb_property_add_data() [all …]
|
/drivers/input/rmi4/ |
D | rmi_f01.c | 124 struct f01_basic_properties properties; member 260 return f01->properties.product_id; in rmi_f01_get_product_ID() 271 f01->properties.manufacturer_id); in rmi_driver_manufacturer_id_show() 283 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.dom); in rmi_driver_dom_show() 295 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.product_id); in rmi_driver_product_id_show() 307 return scnprintf(buf, PAGE_SIZE, "%d\n", f01->properties.firmware_id); in rmi_driver_firmware_id_show() 319 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() 459 &f01->properties); in rmi_f01_probe() 466 f01->properties.manufacturer_id == 1 ? "Synaptics" : "unknown", in rmi_f01_probe() 467 f01->properties.product_id, f01->properties.firmware_id); in rmi_f01_probe() [all …]
|
/drivers/acpi/ |
D | property.c | 81 INIT_LIST_HEAD(&dn->data.properties); in acpi_nondev_subnode_extract() 270 static bool acpi_properties_format_valid(const union acpi_object *properties) in acpi_properties_format_valid() argument 274 for (i = 0; i < properties->package.count; i++) { in acpi_properties_format_valid() 277 property = &properties->package.elements[i]; in acpi_properties_format_valid() 328 const union acpi_object *properties) in acpi_data_add_props() argument 336 props->properties = properties; in acpi_data_add_props() 337 list_add_tail(&props->list, &data->properties); in acpi_data_add_props() 353 const union acpi_object *guid, *properties; in acpi_extract_properties() local 356 properties = &desc->package.elements[i + 1]; in acpi_extract_properties() 364 properties->type != ACPI_TYPE_PACKAGE) in acpi_extract_properties() [all …]
|
D | acpi_platform.c | 98 struct property_entry *properties) in acpi_create_platform_device() argument 147 pdevinfo.properties = properties; in acpi_create_platform_device()
|
/drivers/staging/fieldbus/Documentation/devicetree/bindings/fieldbus/ |
D | arcx,anybus-controller.txt | 7 Required properties: 29 The card connected to a host may need additional properties. These can be 36 Required controller node properties when using subnodes: 40 Required subnode properties: 68 /* card specific properties go here */
|
/drivers/mfd/ |
D | intel-lpss-acpi.c | 31 .properties = spt_i2c_properties, 47 .properties = uart_properties, 68 .properties = bxt_i2c_properties, 84 .properties = apl_i2c_properties,
|
/drivers/gpio/ |
D | gpio-mockup.c | 524 struct property_entry properties[GPIO_MOCKUP_MAX_PROP]; in gpio_mockup_register_chip() local 533 memset(properties, 0, sizeof(properties)); in gpio_mockup_register_chip() 537 properties[prop++] = PROPERTY_ENTRY_STRING("chip-label", chip_label); in gpio_mockup_register_chip() 541 properties[prop++] = PROPERTY_ENTRY_U32("gpio-base", base); in gpio_mockup_register_chip() 545 properties[prop++] = PROPERTY_ENTRY_U16("nr-gpios", ngpio); in gpio_mockup_register_chip() 552 properties[prop++] = PROPERTY_ENTRY_STRING_ARRAY_LEN( in gpio_mockup_register_chip() 556 fwnode = fwnode_create_software_node(properties, NULL); in gpio_mockup_register_chip()
|
/drivers/pinctrl/tegra/ |
D | pinctrl-tegra-xusb.c | 142 } properties[] = { variable 171 for (i = 0; i < ARRAY_SIZE(properties); i++) { in tegra_xusb_padctl_parse_subnode() 172 err = of_property_read_u32(np, properties[i].name, &value); in tegra_xusb_padctl_parse_subnode() 180 config = TEGRA_XUSB_PADCTL_PACK(properties[i].param, value); in tegra_xusb_padctl_parse_subnode() 426 for (i = 0; i < ARRAY_SIZE(properties); i++) { in tegra_xusb_padctl_pinconf_group_dbg_show() 430 config = TEGRA_XUSB_PADCTL_PACK(properties[i].param, 0); in tegra_xusb_padctl_pinconf_group_dbg_show() 439 seq_printf(s, "\n\t%s=%lu\n", strip_prefix(properties[i].name), in tegra_xusb_padctl_pinconf_group_dbg_show() 457 for (i = 0; i < ARRAY_SIZE(properties); i++) { in tegra_xusb_padctl_pinconf_config_dbg_show() 458 if (properties[i].param == param) { in tegra_xusb_padctl_pinconf_config_dbg_show() 459 name = properties[i].name; in tegra_xusb_padctl_pinconf_config_dbg_show()
|
/drivers/platform/x86/intel/int33fe/ |
D | intel_cht_int33fe_typec.c | 65 .properties = max17047_properties, 85 .properties = fusb302_properties, 124 .properties = usb_connector_properties, 141 .properties = dp_altmode_properties,
|