Lines Matching refs:spu_queue

53 struct spu_queue {  struct
73 struct spu_queue *queue; argument
77 static struct spu_queue **cpu_to_cwq;
78 static struct spu_queue **cpu_to_mau;
80 static unsigned long spu_next_offset(struct spu_queue *q, unsigned long off) in spu_next_offset()
104 static inline bool job_finished(struct spu_queue *q, unsigned int offset, in job_finished()
125 struct spu_queue *q = dev_id; in cwq_intr()
152 struct spu_queue *q = dev_id; in mau_intr()
172 static void *spu_queue_next(struct spu_queue *q, void *cur) in spu_queue_next()
177 static int spu_queue_num_free(struct spu_queue *q) in spu_queue_num_free()
192 static void *spu_queue_alloc(struct spu_queue *q, int num_entries) in spu_queue_alloc()
202 static unsigned long spu_queue_submit(struct spu_queue *q, void *last) in spu_queue_submit()
242 static inline bool n2_should_run_async(struct spu_queue *qp, int this_len)
491 static unsigned long wait_for_tail(struct spu_queue *qp) in wait_for_tail()
509 static unsigned long submit_and_wait_for_tail(struct spu_queue *qp, in submit_and_wait_for_tail()
528 struct spu_queue *qp; in n2_do_async_digest()
803 struct spu_queue *qp, bool encrypt) in __n2_crypt_chunk()
952 struct spu_queue *qp; in n2_do_ecb()
1004 struct spu_queue *qp; in n2_do_chaining()
1536 const char *irq_name, struct spu_queue *p, in spu_map_ino()
1605 struct spu_queue *p = qr->queue; in spu_queue_register_workfn()
1617 static int spu_queue_register(struct spu_queue *p, unsigned long q_type) in spu_queue_register()
1625 static int spu_queue_setup(struct spu_queue *p) in spu_queue_setup()
1642 static void spu_queue_destroy(struct spu_queue *p) in spu_queue_destroy()
1657 struct spu_queue *p, *n; in spu_list_destroy()
1682 u64 node, struct spu_queue *p, in spu_mdesc_walk_arcs()
1683 struct spu_queue **table) in spu_mdesc_walk_arcs()
1710 irq_handler_t handler, struct spu_queue **table) in handle_exec_unit()
1712 struct spu_queue *p; in handle_exec_unit()
1715 p = kzalloc(sizeof(struct spu_queue), GFP_KERNEL); in handle_exec_unit()
1742 irq_handler_t handler, struct spu_queue **table) in spu_mdesc_scan()
1868 cpu_to_cwq = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()
1873 cpu_to_mau = kcalloc(NR_CPUS, sizeof(struct spu_queue *), in grab_global_resources()