| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_queue.c | 77 memcpy(&tmp_q->properties, properties, sizeof(*properties)); in init_queue() 259 err = kfd_queue_buffer_get(vm, properties->write_ptr, &properties->wptr_bo, PAGE_SIZE); in kfd_queue_acquire_buffers() 263 err = kfd_queue_buffer_get(vm, properties->read_ptr, &properties->rptr_bo, PAGE_SIZE); in kfd_queue_acquire_buffers() 277 if (properties->eop_ring_buffer_address) { in kfd_queue_acquire_buffers() 280 properties->eop_ring_buffer_size, in kfd_queue_acquire_buffers() 286 &properties->eop_buf_bo, in kfd_queue_acquire_buffers() 287 properties->eop_ring_buffer_size); in kfd_queue_acquire_buffers() 294 properties->ctl_stack_size, in kfd_queue_acquire_buffers() 302 properties->ctx_save_restore_area_size, in kfd_queue_acquire_buffers() 336 kfd_queue_unref_bo_vas(pdd, properties); in kfd_queue_acquire_buffers() [all …]
|
| A D | kfd_device_queue_manager.c | 250 q->properties.type); in add_queue_mes() 617 q->properties.vmid = 0; in deallocate_vmid() 655 q->properties.type)]; in create_queue_nocpsch() 860 q->properties.type)]; in destroy_queue_nocpsch_locked() 870 q->properties.type); in destroy_queue_nocpsch_locked() 959 q->properties.type)]; in update_queue() 1164 q->properties.type)]; in evict_process_queues_nocpsch() 1303 q->properties.type)]; in restore_process_queues_nocpsch() 1993 q->properties.type)]; in create_queue_cpsch() 2546 q->properties.type)]; in destroy_queue_cpsch() [all …]
|
| A D | kfd_process_queue_manager.c | 435 kq->queue->properties.queue_id = *qid; in pqm_create_queue() 486 print_queue_properties(&q->properties); in pqm_create_queue() 754 q->properties.queue_id, in get_queue_data_sizes() 836 q_data->type = q->properties.type; in criu_checkpoint_queue() 837 q_data->format = q->properties.format; in criu_checkpoint_queue() 838 q_data->q_id = q->properties.queue_id; in criu_checkpoint_queue() 850 q->properties.eop_ring_buffer_address; in criu_checkpoint_queue() 1119 switch (q->properties.type) { in pqm_debugfs_mqds() 1140 &q->properties); in pqm_debugfs_mqds() 1144 switch (q->properties.type) { in pqm_debugfs_mqds() [all …]
|
| A D | kfd_kernel_queue.c | 150 &kq->queue->properties); in kq_initialize() 156 &kq->queue->properties); in kq_initialize() 164 &kq->queue->properties, NULL); in kq_initialize() 203 …if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ && down_read_trylock(&kq->dev->adev->reset_do… in kq_uninitialize() 212 else if (kq->queue->properties.type == KFD_QUEUE_TYPE_DIQ) in kq_uninitialize() 228 kq->queue->properties.doorbell_ptr); in kq_uninitialize() 250 queue_size_dwords = kq->queue->properties.queue_size / 4; in kq_acquire_packet_buffer() 315 write_kernel_doorbell64(kq->queue->properties.doorbell_ptr, in kq_submit_packet() 320 write_kernel_doorbell(kq->queue->properties.doorbell_ptr, in kq_submit_packet() 332 (kq->queue->properties.queue_size / 4); in kq_rollback_packet()
|
| A D | kfd_packet_manager_v9.c | 243 packet->bitfields2.gws_control_queue = q->properties.is_gws ? 1 : 0; in pm_map_queues_v9() 249 switch (q->properties.type) { in pm_map_queues_v9() 261 if (q->properties.sdma_engine_id < 2 && in pm_map_queues_v9() 263 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_v9() 271 if (q->properties.sdma_engine_id >= 8) in pm_map_queues_v9() 278 packet->bitfields2.engine_sel = q->properties.sdma_engine_id % 8; in pm_map_queues_v9() 282 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_v9() 286 q->properties.doorbell_off; in pm_map_queues_v9() 295 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9() 298 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_v9()
|
| A D | kfd_packet_manager_vi.c | 163 switch (q->properties.type) { in pm_map_queues_vi() 175 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + in pm_map_queues_vi() 180 WARN(1, "queue type %d", q->properties.type); in pm_map_queues_vi() 184 q->properties.doorbell_off; in pm_map_queues_vi() 193 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi() 196 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi()
|
| /drivers/platform/x86/ |
| A D | touchscreen_dmi.c | 72 .properties = chuwi_hi8_props, 85 .properties = chuwi_hi8_air_props, 110 .properties = chuwi_hi8_pro_props, 128 .properties = chuwi_hi10_air_props, 441 .properties = irbis_tw90_props, 455 .properties = irbis_tw118_props, 718 .properties = pipo_w2s_props, 733 .properties = pipo_w11_props, 872 .properties = sary_tab_3_props, 1894 .properties = ts_cmdline_props, [all …]
|
| /drivers/gpu/drm/ |
| A D | drm_mode_object.c | 238 int count = obj->properties->count; in drm_object_attach_property() 259 obj->properties->properties[count] = property; in drm_object_attach_property() 261 obj->properties->count++; in drm_object_attach_property() 293 if (obj->properties->properties[i] == property) { in drm_object_property_set_value() 294 obj->properties->values[i] = val; in drm_object_property_set_value() 310 if (obj->properties->properties[i] == property) { in __drm_object_property_get_prop_value() 396 struct drm_property *prop = obj->properties->properties[i]; in drm_mode_object_get_properties() 454 if (!obj->properties) { in drm_mode_obj_get_properties_ioctl() 477 if (obj->properties->properties[i]->base.id == prop_id) in drm_mode_obj_find_prop_id() 478 return obj->properties->properties[i]; in drm_mode_obj_find_prop_id() [all …]
|
| /drivers/net/ethernet/engleder/ |
| A D | tsnep_tc.c | 44 gcl->operation[index].properties = properties; in tsnep_write_gcl_operation() 47 iowrite32(properties, addr); in tsnep_write_gcl_operation() 91 u32 properties; in tsnep_write_gcl() local 100 properties = qopt->entries[i].gate_mask; in tsnep_write_gcl() 102 properties |= TSNEP_GCL_LAST; in tsnep_write_gcl() 104 tsnep_write_gcl_operation(gcl, i, properties, in tsnep_write_gcl() 191 if (gcl->operation[i].properties & ~mask) { in tsnep_clean_gcl() 195 gcl->operation[i].properties &= mask; in tsnep_clean_gcl() 206 u32 properties; in tsnep_insert_gcl_operation() local 208 properties = gcl->operation[ref].properties & TSNEP_GCL_MASK; in tsnep_insert_gcl_operation() [all …]
|
| A D | tsnep_hw.h | 169 u32 properties; member 195 __le32 properties; member 209 __le32 properties; member 226 __le32 properties; member 236 __le32 properties; member
|
| /drivers/platform/x86/x86-android-tablets/ |
| A D | other.c | 37 .properties = acer_b1_750_bma250e_props, 137 .properties = chuwi_hi8_gsl1680_props, 152 .properties = chuwi_hi8_bma250e_props, 376 .properties = nextbook_ares8_accel_props, 445 .properties = nextbook_ares8a_accel_props, 673 .properties = vexia_edu_atla10_9v_ulpmc_props, 707 .properties = vexia_edu_atla10_9v_pmic_props, 854 .properties = ktd2026_rgb_led_props, 865 .properties = ktd2026_blue_led_props, 876 .properties = ktd2026_green_led_props, [all …]
|
| A D | asus.c | 53 .properties = asus_me176c_accel_props, 66 .properties = asus_me176c_bq24190_props, 77 .properties = asus_me176c_ug3105_props, 197 .properties = asus_tf103c_accel_props, 206 .properties = asus_tf103c_touchscreen_props, 219 .properties = asus_tf103c_bq24190_props, 230 .properties = asus_tf103c_ug3105_props,
|
| A D | shared-psy-info.c | 30 .properties = fg_bq24190_supply_props, 39 .properties = fg_bq25890_supply_props, 111 .properties = generic_lipo_4v2_battery_props, 131 .properties = generic_lipo_hv_4v35_battery_props,
|
| A D | lenovo.c | 71 .properties = lenovo_yb1_x90_wacom_props, 92 .properties = lenovo_yb1_x90_hideep_ts_props, 294 .properties = lenovo_yoga_tab2_830_1050_bq24190_props, 451 .properties = lenovo_yoga_tab2_830_lms303d_props, 586 .properties = lenovo_yoga_tab2_1380_bq24190_props, 614 .properties = lenovo_yoga_tab2_1380_lc824206xa_props, 629 .properties = lenovo_yoga_tab2_1380_lms303d_props, 799 .properties = fg_bq25890_1_supply_props, 820 .properties = lenovo_yt3_bq25892_0_props, 831 .properties = lenovo_yt3_hideep_ts_props,
|
| /drivers/firmware/efi/ |
| A 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/gpu/drm/gud/ |
| A D | gud_connector.c | 31 u16 *properties; member 347 kfree(gconn->properties); in gud_connector_destroy() 479 struct gud_property_req *properties; in gud_connector_add_properties() local 483 properties = kcalloc(GUD_CONNECTOR_PROPERTIES_MAX_NUM, sizeof(*properties), GFP_KERNEL); in gud_connector_add_properties() 484 if (!properties) in gud_connector_add_properties() 488 properties, GUD_CONNECTOR_PROPERTIES_MAX_NUM * sizeof(*properties)); in gud_connector_add_properties() 491 if (ret % sizeof(*properties)) { in gud_connector_add_properties() 499 gconn->properties = kcalloc(num_properties, sizeof(*gconn->properties), GFP_KERNEL); in gud_connector_add_properties() 500 if (!gconn->properties) { in gud_connector_add_properties() 576 kfree(properties); in gud_connector_add_properties() [all …]
|
| A D | gud_drv.c | 254 struct gud_property_req *properties; in gud_get_properties() local 258 properties = kcalloc(GUD_PROPERTIES_MAX_NUM, sizeof(*properties), GFP_KERNEL); in gud_get_properties() 259 if (!properties) in gud_get_properties() 263 properties, GUD_PROPERTIES_MAX_NUM * sizeof(*properties)); in gud_get_properties() 266 if (ret % sizeof(*properties)) { in gud_get_properties() 271 num_properties = ret / sizeof(*properties); in gud_get_properties() 274 gdrm->properties = drmm_kcalloc(&gdrm->drm, num_properties, sizeof(*gdrm->properties), in gud_get_properties() 276 if (!gdrm->properties) { in gud_get_properties() 282 u16 prop = le16_to_cpu(properties[i].prop); in gud_get_properties() 283 u64 val = le64_to_cpu(properties[i].val); in gud_get_properties() [all …]
|
| /drivers/staging/media/atomisp/pci/ |
| A D | sh_css_properties.c | 13 ia_css_get_properties(struct ia_css_properties *properties) in ia_css_get_properties() argument 15 assert(properties); in ia_css_get_properties() 20 properties->gdc_coord_one = gdc_get_unity(GDC0_ID) / HRT_GDC_COORD_SCALE; in ia_css_get_properties() 22 properties->l1_base_is_index = true; in ia_css_get_properties() 24 properties->vamem_type = IA_CSS_VAMEM_TYPE_2; in ia_css_get_properties()
|
| /drivers/acpi/ |
| A D | property.c | 98 INIT_LIST_HEAD(&dn->data.properties); in acpi_nondev_subnode_extract() 348 union acpi_object *properties) in acpi_data_add_props() argument 356 props->properties = properties; in acpi_data_add_props() 417 properties->package.count); in acpi_data_add_buffer_props() 427 props->properties = (void *)(props->bufs + properties->package.count); in acpi_data_add_buffer_props() 430 package = props->properties; in acpi_data_add_buffer_props() 508 union acpi_object *properties; in acpi_extract_properties() local 539 properties); in acpi_extract_properties() 542 return !list_empty(&data->properties); in acpi_extract_properties() 674 const union acpi_object *properties; in acpi_data_get_property() local [all …]
|
| /drivers/platform/chrome/ |
| A 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, 534 .properties = chromebook_pixel_trackpad_props, 767 if (i2c_dev->properties) { in chromeos_laptop_prepare_i2c_peripherals() 825 if (src_dev->swnode.properties) { in chromeos_laptop_prepare_acpi_peripherals() 826 acpi_dev->swnode.properties = in chromeos_laptop_prepare_acpi_peripherals() 828 if (IS_ERR(acpi_dev->swnode.properties)) { in chromeos_laptop_prepare_acpi_peripherals() [all …]
|
| /drivers/mfd/ |
| A D | intel-lpss-acpi.c | 33 .properties = spt_spi_properties, 47 .properties = spt_i2c_properties, 63 .properties = uart_properties, 78 .properties = bxt_spi_properties, 94 .properties = bxt_i2c_properties, 110 .properties = apl_i2c_properties, 124 .properties = cnl_spi_properties,
|
| /drivers/base/ |
| A D | swnode.c | 329 if (!properties) in property_entries_dup() 332 while (properties[n].name) in property_entries_dup() 364 if (!properties) in property_entries_free() 367 for (p = properties; p->name; p++) in property_entries_free() 370 kfree(properties); in property_entries_free() 739 props = property_entries_dup(properties); in software_node_alloc() 749 node->properties = props; in software_node_alloc() 756 property_entries_free(node->properties); in software_node_free() 943 node = software_node_alloc(properties); in fwnode_create_software_node() 1051 const struct property_entry *properties, in device_create_managed_software_node() argument [all …]
|
| /drivers/power/supply/ |
| A D | generic-adc-battery.c | 159 enum power_supply_property *properties; in gab_probe() local 184 properties = devm_kcalloc(&pdev->dev, in gab_probe() 187 sizeof(*properties), in gab_probe() 189 if (!properties) in gab_probe() 192 memcpy(properties, gab_props, sizeof(gab_props)); in gab_probe() 210 if (properties[index2] == gab_dyn_props[chan]) in gab_probe() 214 properties[index++] = gab_dyn_props[chan]; in gab_probe() 229 psy_desc->properties = properties; in gab_probe()
|
| /drivers/thunderbolt/ |
| A 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() 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() 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() 669 list_add_tail(&property->list, &parent->properties); in tb_property_add_text() 694 list_add_tail(&property->list, &parent->properties); in tb_property_add_dir() [all …]
|
| /drivers/input/rmi4/ |
| A D | rmi_f01.c | 124 struct f01_basic_properties properties; member 260 return f01->properties.product_id; in rmi_f01_get_product_ID() 282 return sysfs_emit(buf, "%s\n", f01->properties.dom); in rmi_driver_dom_show() 318 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() 458 &f01->properties); in rmi_f01_probe() 466 f01->properties.product_id, f01->properties.firmware_id); in rmi_f01_probe() 473 if (f01->properties.has_adjustable_doze) { in rmi_f01_probe() 525 if (f01->properties.has_lts) in rmi_f01_probe() 528 if (f01->properties.has_adjustable_doze_holdoff) { in rmi_f01_probe() 597 if (f01->properties.has_adjustable_doze) { in rmi_f01_config() [all …]
|