| /src/sys/modules/examples/properties/ |
| Makefile | 6 KMOD= properties 7 SRCS= properties.c
|
| properties.c | 1 /* $NetBSD: properties.c,v 1.1 2015/05/13 07:07:36 pgoyette Exp $ */ 30 __KERNEL_RCSID(0, "$NetBSD: properties.c,v 1.1 2015/05/13 07:07:36 pgoyette Exp $"); 36 MODULE(MODULE_CLASS_MISC, properties, NULL);
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| kfd_queue.c | 37 pr_debug("Printing queue properties:\n"); 55 pr_debug("Queue Type: %u\n", q->properties.type); 56 pr_debug("Queue Size: %llu\n", q->properties.queue_size); 57 pr_debug("Queue percent: %u\n", q->properties.queue_percent); 58 pr_debug("Queue Address: 0x%llX\n", q->properties.queue_address); 59 pr_debug("Queue Id: %u\n", q->properties.queue_id); 60 pr_debug("Queue Process Vmid: %u\n", q->properties.vmid); 61 pr_debug("Queue Read Pointer: 0x%px\n", q->properties.read_ptr); 62 pr_debug("Queue Write Pointer: 0x%px\n", q->properties.write_ptr); 63 pr_debug("Queue Doorbell Pointer: 0x%p\n", q->properties.doorbell_ptr) [all...] |
| kfd_device_queue_manager.c | 148 q->doorbell_id = q->properties.queue_id; 149 } else if (q->properties.type == KFD_QUEUE_TYPE_SDMA || 150 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) { 159 q->doorbell_id = idx_offset[q->properties.sdma_engine_id] 160 + (q->properties.sdma_queue_id & 1) 162 + (q->properties.sdma_queue_id >> 1); 177 q->properties.doorbell_off = 191 q->properties.type == KFD_QUEUE_TYPE_SDMA || 192 q->properties.type == KFD_QUEUE_TYPE_SDMA_XGMI) 225 q->properties.vmid = allocated_vmid [all...] |
| kfd_process_queue_manager.c | 42 if ((pqn->q && pqn->q->properties.queue_id == qid) || 43 (pqn->kq && pqn->kq->queue->properties.queue_id == qid)) 199 struct queue_properties *properties, 208 enum kfd_queue_type type = properties->type; 259 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); 280 retval = init_user_queue(pqm, dev, &q, properties, f, *qid); 295 kq->queue->properties.queue_id = *qid; 321 (q->properties.doorbell_off * sizeof(uint32_t)) & 330 print_queue_properties(&q->properties); 391 pqn->q->properties.queue_id, retval) [all...] |
| kfd_kernel_queue.c | 152 &kq->queue->properties); 158 &kq->queue->properties); 166 &kq->queue->properties, NULL); 205 if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ && !hanging) 212 else if (kq->queue->properties.type == KFD_QUEUE_TYPE_DIQ) 228 kq->queue->properties.doorbell_ptr); 250 queue_size_dwords = kq->queue->properties.queue_size / 4; 307 write_kernel_doorbell64(kq->queue->properties.doorbell_ptr, 311 write_kernel_doorbell(kq->queue->properties.doorbell_ptr, 321 (kq->queue->properties.queue_size / 4) [all...] |
| kfd_packet_manager_v9.c | 170 switch (q->properties.type) { 183 if (q->properties.sdma_engine_id < 2) 184 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + 189 packet->bitfields2.engine_sel = q->properties.sdma_engine_id; 193 WARN(1, "queue type %d", q->properties.type); 197 q->properties.doorbell_off; 206 lower_32_bits((uint64_t)q->properties.write_ptr); 209 upper_32_bits((uint64_t)q->properties.write_ptr);
|
| kfd_packet_manager_vi.c | 166 switch (q->properties.type) { 178 packet->bitfields2.engine_sel = q->properties.sdma_engine_id + 183 WARN(1, "queue type %d", q->properties.type); 187 q->properties.doorbell_off; 196 lower_32_bits((uint64_t)q->properties.write_ptr); 199 upper_32_bits((uint64_t)q->properties.write_ptr);
|
| kfd_device_queue_manager_v10.c | 92 q->properties.sdma_vm_addr = 0;
|
| kfd_device_queue_manager_v9.c | 89 q->properties.sdma_vm_addr = 0;
|
| kfd_device_queue_manager_cik.c | 198 q->properties.sdma_vm_addr = value; 208 q->properties.sdma_vm_addr =
|
| kfd_device_queue_manager_vi.c | 246 q->properties.sdma_vm_addr = value; 256 q->properties.sdma_vm_addr =
|
| kfd_chardev.c | 373 struct queue_properties properties; local 397 properties.queue_address = args->ring_base_address; 398 properties.queue_size = args->ring_size; 399 properties.queue_percent = args->queue_percentage; 400 properties.priority = args->queue_priority; 407 retval = pqm_update_queue(&p->pqm, args->queue_id, &properties); 420 struct queue_properties properties; local 430 properties.cu_mask_count = args->num_cu_mask; 431 if (properties.cu_mask_count == 0) { 440 if (properties.cu_mask_count > max_num_cus) [all...] |
| kfd_priv.h | 414 * This structure represents the queue properties for each queue no matter if 468 * @properties: The queue properties. 495 struct queue_properties properties; member in struct:queue 867 int init_queue(struct queue **q, const struct queue_properties *properties); 905 struct queue_properties *properties,
|
| /src/sys/arch/evbmips/adm5120/ |
| autoconf.c | 100 prop_dictionary_t properties = adm5120_configuration.properties; local 102 if (properties == NULL) 106 (po = prop_dictionary_get(properties, "initial-gpio")) != NULL) { 115 (po = prop_dictionary_get(properties, "mac-address")) != NULL) {
|
| machdep.c | 194 parse_args(prop_dictionary_t properties, int argc, char **argv, 227 if (properties == NULL) 236 if (!prop_dictionary_set(properties, "initial-gpio", 246 if (properties == NULL) 253 if (!prop_dictionary_set(properties, "mac-address", pd)) { 419 if ((admc->properties = prop_dictionary_create()) == NULL) 421 parse_args(admc->properties, admc->argc, admc->argv, NULL);
|
| /src/usr.sbin/memswitch/ |
| memswitch.c | 164 properties[i].class, properties[i].node); 165 if (strcmp(name, fullname) == 0 || strcmp(name, properties[i].class) == 0) { 166 properties[i].print(&properties[i], valuestr); 186 properties[i].print(&properties[i], valuestr); 189 properties[i].class, properties[i].node); 232 if (strcmp(properties[i].class, class) == 0 & [all...] |
| Makefile | 5 SRCS= memswitch.c properties.c methods.c
|
| memswitch.h | 77 extern struct property properties[];
|
| properties.c | 1 /* $NetBSD: properties.c,v 1.5 2015/09/21 08:04:43 isaki Exp $ */ 42 struct property properties[] = { variable in typeref:struct:property 334 int number_of_props = sizeof (properties) / sizeof (struct property);
|
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_mode_object.c | 232 * value. Currently this function cannot fail since the properties are stored in 235 * Note that all properties must be attached before the object itself is 242 int count = obj->properties->count; 263 obj->properties->properties[count] = property; 264 obj->properties->values[count] = init_val; 265 obj->properties->count++; 296 for (i = 0; i < obj->properties->count; i++) { 297 if (obj->properties->properties[i] == property) [all...] |
| /src/sys/modules/examples/ |
| Makefile | 17 SUBDIR+= properties
|
| /src/sys/arch/mips/adm5120/include/ |
| adm5120var.h | 85 prop_dictionary_t properties; member in struct:adm5120_config
|
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_mode_object.h | 39 * @properties: properties attached to this object, including values 45 * properties like @id and @type it provides two services: 47 * - It tracks attached properties and their values. This is used by &drm_crtc, 48 * &drm_plane and &drm_connector. Properties are attached by calling 60 struct drm_object_properties *properties; member in struct:drm_mode_object 71 * @count: number of valid properties, must be less than or equal to 77 * @properties: Array of pointers to &drm_property. 79 * NOTE: if we ever start dynamically destroying properties (ie. 84 struct drm_property *properties[DRM_OBJECT_MAX_PROPERTY] member in struct:drm_object_properties [all...] |
| /src/usr.bin/audio/ctl/ |
| ctl.c | 67 static int properties, fullduplex, rerror; variable 94 { "properties", &properties, PROPS, READONLY }, 312 if (ioctl(fd, AUDIO_GETPROPS, &properties) < 0)
|