Lines Matching refs:spu_context

160 	struct spu_context *ctx = i->i_ctx;  in spufs_mem_open()
174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release()
184 spufs_mem_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_mem_dump()
193 struct spu_context *ctx = file->private_data; in spufs_mem_read()
210 struct spu_context *ctx = file->private_data; in spufs_mem_write()
233 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
265 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault()
396 struct spu_context *ctx = data; in spufs_cntl_get()
410 struct spu_context *ctx = data; in spufs_cntl_set()
425 struct spu_context *ctx = i->i_ctx; in spufs_cntl_open()
440 struct spu_context *ctx = i->i_ctx; in spufs_cntl_release()
468 spufs_regs_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_regs_dump()
479 struct spu_context *ctx = file->private_data; in spufs_regs_read()
499 struct spu_context *ctx = file->private_data; in spufs_regs_write()
525 spufs_fpcr_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_fpcr_dump()
536 struct spu_context *ctx = file->private_data; in spufs_fpcr_read()
551 struct spu_context *ctx = file->private_data; in spufs_fpcr_write()
596 struct spu_context *ctx = file->private_data; in spufs_mbox_read()
641 struct spu_context *ctx = file->private_data; in spufs_mbox_stat_read()
668 size_t spu_ibox_read(struct spu_context *ctx, u32 *data) in spu_ibox_read()
676 struct spu_context *ctx = spu->ctx; in spufs_ibox_callback()
697 struct spu_context *ctx = file->private_data; in spufs_ibox_read()
749 struct spu_context *ctx = file->private_data; in spufs_ibox_poll()
774 struct spu_context *ctx = file->private_data; in spufs_ibox_stat_read()
799 size_t spu_wbox_write(struct spu_context *ctx, u32 data) in spu_wbox_write()
807 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback()
828 struct spu_context *ctx = file->private_data; in spufs_wbox_write()
879 struct spu_context *ctx = file->private_data; in spufs_wbox_poll()
904 struct spu_context *ctx = file->private_data; in spufs_wbox_stat_read()
931 struct spu_context *ctx = i->i_ctx; in spufs_signal1_open()
945 struct spu_context *ctx = i->i_ctx; in spufs_signal1_release()
954 static ssize_t spufs_signal1_dump(struct spu_context *ctx, in spufs_signal1_dump()
963 static ssize_t __spufs_signal1_read(struct spu_context *ctx, char __user *buf, in __spufs_signal1_read()
980 struct spu_context *ctx = file->private_data; in spufs_signal1_read()
994 struct spu_context *ctx; in spufs_signal1_write()
1064 struct spu_context *ctx = i->i_ctx; in spufs_signal2_open()
1078 struct spu_context *ctx = i->i_ctx; in spufs_signal2_release()
1087 static ssize_t spufs_signal2_dump(struct spu_context *ctx, in spufs_signal2_dump()
1096 static ssize_t __spufs_signal2_read(struct spu_context *ctx, char __user *buf, in __spufs_signal2_read()
1112 struct spu_context *ctx = file->private_data; in spufs_signal2_read()
1127 struct spu_context *ctx; in spufs_signal2_write()
1210 struct spu_context *ctx = data; \
1234 struct spu_context *ctx = data; in spufs_signal1_type_set()
1246 static u64 spufs_signal1_type_get(struct spu_context *ctx) in spufs_signal1_type_get()
1256 struct spu_context *ctx = data; in spufs_signal2_type_set()
1268 static u64 spufs_signal2_type_get(struct spu_context *ctx) in spufs_signal2_type_get()
1307 struct spu_context *ctx = i->i_ctx; in spufs_mss_open()
1322 struct spu_context *ctx = i->i_ctx; in spufs_mss_release()
1365 struct spu_context *ctx = i->i_ctx; in spufs_psmap_open()
1379 struct spu_context *ctx = i->i_ctx; in spufs_psmap_release()
1427 struct spu_context *ctx = i->i_ctx; in spufs_mfc_open()
1448 struct spu_context *ctx = i->i_ctx; in spufs_mfc_release()
1460 struct spu_context *ctx = spu->ctx; in spufs_mfc_callback()
1466 static int spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) in spufs_read_mfc_tagstatus()
1484 struct spu_context *ctx = file->private_data; in spufs_mfc_read()
1589 static int spu_send_mfc_command(struct spu_context *ctx, in spu_send_mfc_command()
1610 struct spu_context *ctx = file->private_data; in spufs_mfc_write()
1659 struct spu_context *ctx = file->private_data; in spufs_mfc_poll()
1689 struct spu_context *ctx = file->private_data; in spufs_mfc_flush()
1726 struct spu_context *ctx = data; in spufs_npc_set()
1738 static u64 spufs_npc_get(struct spu_context *ctx) in spufs_npc_get()
1747 struct spu_context *ctx = data; in spufs_decr_set()
1760 static u64 spufs_decr_get(struct spu_context *ctx) in spufs_decr_get()
1770 struct spu_context *ctx = data; in spufs_decr_status_set()
1785 static u64 spufs_decr_status_get(struct spu_context *ctx) in spufs_decr_status_get()
1798 struct spu_context *ctx = data; in spufs_event_mask_set()
1811 static u64 spufs_event_mask_get(struct spu_context *ctx) in spufs_event_mask_get()
1821 static u64 spufs_event_status_get(struct spu_context *ctx) in spufs_event_status_get()
1835 struct spu_context *ctx = data; in spufs_srr0_set()
1848 static u64 spufs_srr0_get(struct spu_context *ctx) in spufs_srr0_get()
1856 static u64 spufs_id_get(struct spu_context *ctx) in spufs_id_get()
1870 static u64 spufs_object_id_get(struct spu_context *ctx) in spufs_object_id_get()
1878 struct spu_context *ctx = data; in spufs_object_id_set()
1887 static u64 spufs_lslr_get(struct spu_context *ctx) in spufs_lslr_get()
1897 struct spu_context *ctx = i->i_ctx; in spufs_info_open()
1904 struct spu_context *ctx = s->private; in spufs_caps_show()
1925 static ssize_t spufs_mbox_info_dump(struct spu_context *ctx, in spufs_mbox_info_dump()
1937 struct spu_context *ctx = file->private_data; in spufs_mbox_info_read()
1963 static ssize_t spufs_ibox_info_dump(struct spu_context *ctx, in spufs_ibox_info_dump()
1975 struct spu_context *ctx = file->private_data; in spufs_ibox_info_read()
2001 static size_t spufs_wbox_info_cnt(struct spu_context *ctx) in spufs_wbox_info_cnt()
2006 static ssize_t spufs_wbox_info_dump(struct spu_context *ctx, in spufs_wbox_info_dump()
2016 struct spu_context *ctx = file->private_data; in spufs_wbox_info_read()
2039 static void spufs_get_dma_info(struct spu_context *ctx, in spufs_get_dma_info()
2060 static ssize_t spufs_dma_info_dump(struct spu_context *ctx, in spufs_dma_info_dump()
2072 struct spu_context *ctx = file->private_data; in spufs_dma_info_read()
2093 static void spufs_get_proxydma_info(struct spu_context *ctx, in spufs_get_proxydma_info()
2113 static ssize_t spufs_proxydma_info_dump(struct spu_context *ctx, in spufs_proxydma_info_dump()
2125 struct spu_context *ctx = file->private_data; in spufs_proxydma_info_read()
2151 struct spu_context *ctx = s->private; in spufs_show_tid()
2173 static unsigned long long spufs_acct_time(struct spu_context *ctx, in spufs_acct_time()
2194 static unsigned long long spufs_slb_flts(struct spu_context *ctx) in spufs_slb_flts()
2206 static unsigned long long spufs_class2_intrs(struct spu_context *ctx) in spufs_class2_intrs()
2221 struct spu_context *ctx = s->private; in spufs_show_stat()
2259 static inline int spufs_switch_log_used(struct spu_context *ctx) in spufs_switch_log_used()
2265 static inline int spufs_switch_log_avail(struct spu_context *ctx) in spufs_switch_log_avail()
2272 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_open()
2303 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_release()
2317 static int switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) in switch_log_sprint()
2336 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_read()
2406 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_poll()
2436 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2461 struct spu_context *ctx = s->private; in spufs_show_ctx()