Lines Matching refs:spu_queue
49 struct spu_queue { struct
69 struct spu_queue *queue; argument
73 static struct spu_queue **cpu_to_cwq;
74 static struct spu_queue **cpu_to_mau;
76 static unsigned long spu_next_offset(struct spu_queue *q, unsigned long off) in spu_next_offset()
100 static inline bool job_finished(struct spu_queue *q, unsigned int offset, in job_finished()
121 struct spu_queue *q = dev_id; in cwq_intr()
148 struct spu_queue *q = dev_id; in mau_intr()
168 static void *spu_queue_next(struct spu_queue *q, void *cur) in spu_queue_next()
173 static int spu_queue_num_free(struct spu_queue *q) in spu_queue_num_free()
188 static void *spu_queue_alloc(struct spu_queue *q, int num_entries) in spu_queue_alloc()
198 static unsigned long spu_queue_submit(struct spu_queue *q, void *last) in spu_queue_submit()
238 static inline bool n2_should_run_async(struct spu_queue *qp, int this_len)
492 static unsigned long wait_for_tail(struct spu_queue *qp) in wait_for_tail()
510 static unsigned long submit_and_wait_for_tail(struct spu_queue *qp, in submit_and_wait_for_tail()
529 struct spu_queue *qp; in n2_do_async_digest()
842 struct spu_queue *qp, bool encrypt) in __n2_crypt_chunk()
993 struct spu_queue *qp; in n2_do_ecb()
1045 struct spu_queue *qp; in n2_do_chaining()
1587 const char *irq_name, struct spu_queue *p, in spu_map_ino()
1656 struct spu_queue *p = qr->queue; in spu_queue_register_workfn()
1668 static int spu_queue_register(struct spu_queue *p, unsigned long q_type) in spu_queue_register()
1676 static int spu_queue_setup(struct spu_queue *p) in spu_queue_setup()
1693 static void spu_queue_destroy(struct spu_queue *p) in spu_queue_destroy()
1708 struct spu_queue *p, *n; in spu_list_destroy()
1733 u64 node, struct spu_queue *p, in spu_mdesc_walk_arcs()
1734 struct spu_queue **table) in spu_mdesc_walk_arcs()
1761 irq_handler_t handler, struct spu_queue **table) in handle_exec_unit()
1763 struct spu_queue *p; in handle_exec_unit()
1766 p = kzalloc(sizeof(struct spu_queue), GFP_KERNEL); in handle_exec_unit()
1793 irq_handler_t handler, struct spu_queue **table) in spu_mdesc_scan()
1921 cpu_to_cwq = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()
1926 cpu_to_mau = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()