Searched refs:q_properties (Results 1 – 2 of 2) sorted by relevance
185 static int set_queue_properties_from_user(struct queue_properties *q_properties, in set_queue_properties_from_user() argument241 q_properties->is_interop = false; in set_queue_properties_from_user()242 q_properties->is_gws = false; in set_queue_properties_from_user()243 q_properties->queue_percent = args->queue_percentage & 0xFF; in set_queue_properties_from_user()245 q_properties->pm4_target_xcc = (args->queue_percentage >> 8) & 0xFF; in set_queue_properties_from_user()246 q_properties->priority = args->queue_priority; in set_queue_properties_from_user()247 q_properties->queue_address = args->ring_base_address; in set_queue_properties_from_user()248 q_properties->queue_size = args->ring_size; in set_queue_properties_from_user()249 q_properties->read_ptr = (uint32_t *) args->read_pointer_address; in set_queue_properties_from_user()250 q_properties->write_ptr = (uint32_t *) args->write_pointer_address; in set_queue_properties_from_user()[all …]
223 struct queue_properties *q_properties, in init_user_queue() argument230 q_properties->doorbell_ptr = NULL; in init_user_queue()231 q_properties->exception_status = KFD_EC_MASK(EC_QUEUE_NEW); in init_user_queue()234 q_properties->vmid = 0; in init_user_queue()235 q_properties->queue_id = qid; in init_user_queue()237 retval = init_queue(q, q_properties); in init_user_queue()