Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 191) sorted by relevance

12345678

/drivers/gpu/drm/amd/amdkfd/
Dkfd_queue.c50 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 …]
Dkfd_device_queue_manager.c143 q->doorbell_id = q->properties.queue_id; in allocate_doorbell()
144 } else if (q->properties.type == KFD_QUEUE_TYPE_SDMA || in allocate_doorbell()
145 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) { in allocate_doorbell()
154 q->doorbell_id = idx_offset[q->properties.sdma_engine_id] in allocate_doorbell()
155 + (q->properties.sdma_queue_id & 1) in allocate_doorbell()
157 + (q->properties.sdma_queue_id >> 1); in allocate_doorbell()
172 q->properties.doorbell_off = in allocate_doorbell()
186 q->properties.type == KFD_QUEUE_TYPE_SDMA || in deallocate_doorbell()
187 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) in deallocate_doorbell()
209 q->properties.vmid = allocated_vmid; in allocate_vmid()
[all …]
Dkfd_process_queue_manager.c37 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()
194 struct queue_properties *properties, in pqm_create_queue() argument
202 enum kfd_queue_type type = properties->type; in pqm_create_queue()
253 retval = create_cp_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue()
274 retval = create_cp_queue(pqm, dev, &q, properties, f, *qid); in pqm_create_queue()
289 kq->queue->properties.queue_id = *qid; in pqm_create_queue()
311 properties->doorbell_off = in pqm_create_queue()
312 (q->properties.doorbell_off * sizeof(uint32_t)) & in pqm_create_queue()
321 print_queue_properties(&q->properties); in pqm_create_queue()
[all …]
Dkfd_kernel_queue_v9.c66 write_kernel_doorbell64(kq->queue->properties.doorbell_ptr, in submit_packet_v9()
198 switch (q->properties.type) { in pm_map_queues_v9()
211 if (q->properties.sdma_engine_id < 2) in pm_map_queues_v9()
212 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_v9()
217 packet->bitfields2.engine_sel = q->properties.sdma_engine_id; in pm_map_queues_v9()
221 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_v9()
225 q->properties.doorbell_off; in pm_map_queues_v9()
234 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9()
237 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9()
Dkfd_kernel_queue.c136 &kq->queue->properties); in initialize()
142 &kq->queue->properties); in initialize()
150 &kq->queue->properties, NULL); in initialize()
188 if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ) in uninitialize()
195 else if (kq->queue->properties.type == KFD_QUEUE_TYPE_DIQ) in uninitialize()
206 kq->queue->properties.doorbell_ptr); in uninitialize()
228 queue_size_dwords = kq->queue->properties.queue_size / 4; in acquire_packet_buffer()
292 (kq->queue->properties.queue_size / 4); in rollback_packet()
Dkfd_kernel_queue_v10.c67 write_kernel_doorbell64(kq->queue->properties.doorbell_ptr, in submit_packet_v10()
171 switch (q->properties.type) { in pm_map_queues_v10()
183 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_v10()
188 WARN(1, "queue type %d\n", q->properties.type); in pm_map_queues_v10()
192 q->properties.doorbell_off; in pm_map_queues_v10()
201 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v10()
204 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v10()
Dkfd_kernel_queue_vi.c66 write_kernel_doorbell(kq->queue->properties.doorbell_ptr, in submit_packet_vi()
202 switch (q->properties.type) { in pm_map_queues_vi()
214 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_vi()
219 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_vi()
223 q->properties.doorbell_off; in pm_map_queues_vi()
232 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi()
235 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi()
/drivers/platform/x86/
Dtouchscreen_dmi.c21 const struct property_entry *properties; member
37 .properties = chuwi_hi8_props,
51 .properties = chuwi_hi8_air_props,
68 .properties = chuwi_hi8_pro_props,
87 .properties = chuwi_hi10_air_props,
103 .properties = chuwi_hi10_plus_props,
120 .properties = chuwi_vi8_props,
136 .properties = chuwi_vi10_props,
152 .properties = chuwi_surbook_mini_props,
169 .properties = connect_tablet9_props,
[all …]
/drivers/gpu/drm/
Ddrm_mode_object.c232 int count = obj->properties->count; in drm_object_attach_property()
242 obj->properties->properties[count] = property; in drm_object_attach_property()
243 obj->properties->values[count] = init_val; in drm_object_attach_property()
244 obj->properties->count++; in drm_object_attach_property()
275 for (i = 0; i < obj->properties->count; i++) { in drm_object_property_set_value()
276 if (obj->properties->properties[i] == property) { in drm_object_property_set_value()
277 obj->properties->values[i] = val; in drm_object_property_set_value()
300 for (i = 0; i < obj->properties->count; i++) { in __drm_object_property_get_value()
301 if (obj->properties->properties[i] == property) { in __drm_object_property_get_value()
302 *val = obj->properties->values[i]; in __drm_object_property_get_value()
[all …]
/drivers/platform/chrome/
Dchromeos_laptop.c60 const struct property_entry *properties; member
177 acpi_dev->properties); in chromeos_laptop_adjust_client()
303 .properties =
317 .properties =
415 .properties =
499 .properties = samus_trackpad_props,
504 .properties = chromebook_atmel_touchscreen_props,
513 .properties = chromebook_pixel_trackpad_props,
518 .properties = chromebook_atmel_touchscreen_props,
745 if (info->properties) { in chromeos_laptop_prepare_i2c_peripherals()
[all …]
/drivers/firmware/efi/
Dapple-properties.c115 static int __init unmarshal_devices(struct properties_header *properties) in unmarshal_devices() argument
119 while (offset + sizeof(struct dev_header) < properties->len) { in unmarshal_devices()
120 struct dev_header *dev_header = (void *)properties + offset; in unmarshal_devices()
127 if (offset + dev_header->len > properties->len || in unmarshal_devices()
175 struct properties_header *properties; in map_properties() local
207 properties = (struct properties_header *)data->data; in map_properties()
208 if (properties->version != 1) { in map_properties()
211 16, 1, properties, data_len, true); in map_properties()
213 } else if (properties->len != data_len) { in map_properties()
216 16, 1, properties, data_len, true); in map_properties()
[all …]
/drivers/mfd/
Dintel_quark_i2c_gpio.c207 pdata->properties = devm_kcalloc(dev, pdata->nports, in intel_quark_gpio_setup()
208 sizeof(*pdata->properties), in intel_quark_gpio_setup()
210 if (!pdata->properties) in intel_quark_gpio_setup()
214 pdata->properties->fwnode = NULL; in intel_quark_gpio_setup()
215 pdata->properties->idx = 0; in intel_quark_gpio_setup()
216 pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; in intel_quark_gpio_setup()
217 pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE; in intel_quark_gpio_setup()
218 pdata->properties->irq[0] = pdev->irq; in intel_quark_gpio_setup()
219 pdata->properties->has_irq = true; in intel_quark_gpio_setup()
220 pdata->properties->irq_shared = true; in intel_quark_gpio_setup()
Dintel-lpss-acpi.c32 .properties = spt_i2c_properties,
45 .properties = uart_properties,
61 .properties = bxt_i2c_properties,
73 .properties = apl_i2c_properties,
Dintel-lpss-pci.c75 .properties = spt_i2c_properties,
88 .properties = uart_properties,
98 .properties = uart_properties,
110 .properties = bxt_i2c_properties,
122 .properties = apl_i2c_properties,
134 .properties = glk_i2c_properties,
139 .properties = spt_i2c_properties,
/drivers/i2c/
Di2c-boardinfo.c75 if (info->properties) { in i2c_register_board_info()
76 devinfo->board_info.properties = in i2c_register_board_info()
77 property_entries_dup(info->properties); in i2c_register_board_info()
78 if (IS_ERR(devinfo->board_info.properties)) { in i2c_register_board_info()
79 status = PTR_ERR(devinfo->board_info.properties); in i2c_register_board_info()
/drivers/thunderbolt/
Dproperty.c190 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()
525 list_add_tail(&property->list, &parent->properties); in tb_property_add_immediate()
562 list_add_tail(&property->list, &parent->properties); in tb_property_add_data()
598 list_add_tail(&property->list, &parent->properties); in tb_property_add_text()
623 list_add_tail(&property->list, &parent->properties); in tb_property_add_dir()
[all …]
/drivers/input/rmi4/
Drmi_f01.c122 struct f01_basic_properties properties; member
258 return f01->properties.product_id; in rmi_f01_get_product_ID()
269 f01->properties.manufacturer_id); in rmi_driver_manufacturer_id_show()
281 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.dom); in rmi_driver_dom_show()
293 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.product_id); in rmi_driver_product_id_show()
305 return scnprintf(buf, PAGE_SIZE, "%d\n", f01->properties.firmware_id); in rmi_driver_firmware_id_show()
317 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show()
457 &f01->properties); in rmi_f01_probe()
464 f01->properties.manufacturer_id == 1 ? "Synaptics" : "unknown", in rmi_f01_probe()
465 f01->properties.product_id, f01->properties.firmware_id); in rmi_f01_probe()
[all …]
/drivers/base/
Dswnode.c419 property_entries_dup(const struct property_entry *properties) in property_entries_dup() argument
425 if (!properties) in property_entries_dup()
428 while (properties[n].name) in property_entries_dup()
436 ret = property_entry_copy_data(&p[i], &properties[i]); in property_entries_dup()
456 void property_entries_free(const struct property_entry *properties) in property_entries_free() argument
460 if (!properties) in property_entries_free()
463 for (p = properties; p->name; p++) in property_entries_free()
466 kfree(properties); in property_entries_free()
494 return !!property_entry_get(swnode->node->properties, propname); in software_node_property_present()
504 return property_entry_read_int_array(swnode->node->properties, propname, in software_node_read_int_array()
[all …]
/drivers/acpi/
Dproperty.c78 INIT_LIST_HEAD(&dn->data.properties); in acpi_nondev_subnode_extract()
267 static bool acpi_properties_format_valid(const union acpi_object *properties) in acpi_properties_format_valid() argument
271 for (i = 0; i < properties->package.count; i++) { in acpi_properties_format_valid()
274 property = &properties->package.elements[i]; in acpi_properties_format_valid()
325 const union acpi_object *properties) in acpi_data_add_props() argument
333 props->properties = properties; in acpi_data_add_props()
334 list_add_tail(&props->list, &data->properties); in acpi_data_add_props()
350 const union acpi_object *guid, *properties; in acpi_extract_properties() local
353 properties = &desc->package.elements[i + 1]; in acpi_extract_properties()
361 properties->type != ACPI_TYPE_PACKAGE) in acpi_extract_properties()
[all …]
Dacpi_platform.c100 struct property_entry *properties) in acpi_create_platform_device() argument
149 pdevinfo.properties = properties; in acpi_create_platform_device()
/drivers/power/supply/
Dgeneric-adc-battery.c271 psy_desc->properties = kcalloc(ARRAY_SIZE(gab_props) + in gab_probe()
273 sizeof(*psy_desc->properties), in gab_probe()
275 if (!psy_desc->properties) { in gab_probe()
280 memcpy(psy_desc->properties, gab_props, sizeof(gab_props)); in gab_probe()
297 if (psy_desc->properties[index2] == in gab_probe()
302 psy_desc->properties[index++] = in gab_probe()
361 kfree(psy_desc->properties); in gab_probe()
384 kfree(adc_bat->psy_desc.properties); in gab_remove()
/drivers/staging/fieldbus/Documentation/devicetree/bindings/fieldbus/
Darcx,anybus-controller.txt7 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/gpio/
Dgpio-mockup.c472 struct property_entry properties[GPIO_MOCKUP_MAX_PROP]; in gpio_mockup_init() local
504 memset(properties, 0, sizeof(properties)); in gpio_mockup_init()
510 properties[prop++] = PROPERTY_ENTRY_U32("gpio-base", in gpio_mockup_init()
515 properties[prop++] = PROPERTY_ENTRY_U16("nr-gpios", ngpio); in gpio_mockup_init()
518 properties[prop++] = PROPERTY_ENTRY_BOOL( in gpio_mockup_init()
523 pdevinfo.properties = properties; in gpio_mockup_init()
/drivers/pinctrl/tegra/
Dpinctrl-tegra-xusb.c142 } 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/staging/mt7621-pci/
Dmediatek,mt7621-pci.txt3 Required properties:
15 - interrupt-map-mask and interrupt-map: Standard PCI IRQ mapping properties.
29 interface, having the following mandatory properties:
31 Required properties:

12345678