Lines Matching defs:q_type
58 u8 q_type;
82 if (q->q_type == HV_NCS_QTYPE_MAU) {
1539 static void *new_queue(unsigned long q_type)
1541 return kmem_cache_zalloc(queue_cache[q_type - 1], GFP_KERNEL);
1544 static void free_queue(void *p, unsigned long q_type)
1546 kmem_cache_free(queue_cache[q_type - 1], p);
1586 unsigned long q_type = qr->type;
1589 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q),
1597 static int spu_queue_register(struct spu_queue *p, unsigned long q_type)
1600 struct spu_qreg qr = { .queue = p, .type = q_type };
1609 p->q = new_queue(p->q_type);
1613 err = spu_queue_register(p, p->q_type);
1615 free_queue(p->q, p->q_type);
1629 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle);
1632 free_queue(p->q, p->q_type);
1689 u64 node, const char *iname, unsigned long q_type,
1704 p->q_type = q_type;
1721 const char *exec_name, unsigned long q_type,
1735 exec_name, q_type, handler, table);