Lines Matching refs:spu_queue
51 struct spu_queue { struct
71 struct spu_queue *queue; argument
75 static struct spu_queue **cpu_to_cwq;
76 static struct spu_queue **cpu_to_mau;
78 static unsigned long spu_next_offset(struct spu_queue *q, unsigned long off) in spu_next_offset()
102 static inline bool job_finished(struct spu_queue *q, unsigned int offset, in job_finished()
123 struct spu_queue *q = dev_id; in cwq_intr()
150 struct spu_queue *q = dev_id; in mau_intr()
170 static void *spu_queue_next(struct spu_queue *q, void *cur) in spu_queue_next()
175 static int spu_queue_num_free(struct spu_queue *q) in spu_queue_num_free()
190 static void *spu_queue_alloc(struct spu_queue *q, int num_entries) in spu_queue_alloc()
200 static unsigned long spu_queue_submit(struct spu_queue *q, void *last) in spu_queue_submit()
240 static inline bool n2_should_run_async(struct spu_queue *qp, int this_len)
489 static unsigned long wait_for_tail(struct spu_queue *qp) in wait_for_tail()
507 static unsigned long submit_and_wait_for_tail(struct spu_queue *qp, in submit_and_wait_for_tail()
526 struct spu_queue *qp; in n2_do_async_digest()
801 struct spu_queue *qp, bool encrypt) in __n2_crypt_chunk()
950 struct spu_queue *qp; in n2_do_ecb()
1002 struct spu_queue *qp; in n2_do_chaining()
1528 const char *irq_name, struct spu_queue *p, in spu_map_ino()
1597 struct spu_queue *p = qr->queue; in spu_queue_register_workfn()
1609 static int spu_queue_register(struct spu_queue *p, unsigned long q_type) in spu_queue_register()
1617 static int spu_queue_setup(struct spu_queue *p) in spu_queue_setup()
1634 static void spu_queue_destroy(struct spu_queue *p) in spu_queue_destroy()
1649 struct spu_queue *p, *n; in spu_list_destroy()
1674 u64 node, struct spu_queue *p, in spu_mdesc_walk_arcs()
1675 struct spu_queue **table) in spu_mdesc_walk_arcs()
1702 irq_handler_t handler, struct spu_queue **table) in handle_exec_unit()
1704 struct spu_queue *p; in handle_exec_unit()
1707 p = kzalloc(sizeof(struct spu_queue), GFP_KERNEL); in handle_exec_unit()
1734 irq_handler_t handler, struct spu_queue **table) in spu_mdesc_scan()
1862 cpu_to_cwq = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()
1867 cpu_to_mau = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()