Lines Matching refs:spu_context

151 	struct spu_context *ctx = i->i_ctx;  in spufs_mem_open()
165 struct spu_context *ctx = i->i_ctx; in spufs_mem_release()
175 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read()
187 struct spu_context *ctx = file->private_data; in spufs_mem_read()
203 struct spu_context *ctx = file->private_data; in spufs_mem_write()
226 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
258 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
307 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault()
389 struct spu_context *ctx = data; in spufs_cntl_get()
403 struct spu_context *ctx = data; in spufs_cntl_set()
418 struct spu_context *ctx = i->i_ctx; in spufs_cntl_open()
433 struct spu_context *ctx = i->i_ctx; in spufs_cntl_release()
462 __spufs_regs_read(struct spu_context *ctx, char __user *buffer, in __spufs_regs_read()
475 struct spu_context *ctx = file->private_data; in spufs_regs_read()
494 struct spu_context *ctx = file->private_data; in spufs_regs_write()
520 __spufs_fpcr_read(struct spu_context *ctx, char __user * buffer, in __spufs_fpcr_read()
533 struct spu_context *ctx = file->private_data; in spufs_fpcr_read()
547 struct spu_context *ctx = file->private_data; in spufs_fpcr_write()
592 struct spu_context *ctx = file->private_data; in spufs_mbox_read()
643 struct spu_context *ctx = file->private_data; in spufs_mbox_stat_read()
671 size_t spu_ibox_read(struct spu_context *ctx, u32 *data) in spu_ibox_read()
679 struct spu_context *ctx = spu->ctx; in spufs_ibox_callback()
700 struct spu_context *ctx = file->private_data; in spufs_ibox_read()
757 struct spu_context *ctx = file->private_data; in spufs_ibox_poll()
783 struct spu_context *ctx = file->private_data; in spufs_ibox_stat_read()
809 size_t spu_wbox_write(struct spu_context *ctx, u32 data) in spu_wbox_write()
817 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback()
838 struct spu_context *ctx = file->private_data; in spufs_wbox_write()
893 struct spu_context *ctx = file->private_data; in spufs_wbox_poll()
919 struct spu_context *ctx = file->private_data; in spufs_wbox_stat_read()
947 struct spu_context *ctx = i->i_ctx; in spufs_signal1_open()
961 struct spu_context *ctx = i->i_ctx; in spufs_signal1_release()
970 static ssize_t __spufs_signal1_read(struct spu_context *ctx, char __user *buf, in __spufs_signal1_read()
998 struct spu_context *ctx = file->private_data; in spufs_signal1_read()
1012 struct spu_context *ctx; in spufs_signal1_write()
1084 struct spu_context *ctx = i->i_ctx; in spufs_signal2_open()
1098 struct spu_context *ctx = i->i_ctx; in spufs_signal2_release()
1107 static ssize_t __spufs_signal2_read(struct spu_context *ctx, char __user *buf, in __spufs_signal2_read()
1134 struct spu_context *ctx = file->private_data; in spufs_signal2_read()
1149 struct spu_context *ctx; in spufs_signal2_write()
1234 struct spu_context *ctx = data; \
1258 struct spu_context *ctx = data; in spufs_signal1_type_set()
1270 static u64 spufs_signal1_type_get(struct spu_context *ctx) in spufs_signal1_type_get()
1280 struct spu_context *ctx = data; in spufs_signal2_type_set()
1292 static u64 spufs_signal2_type_get(struct spu_context *ctx) in spufs_signal2_type_get()
1331 struct spu_context *ctx = i->i_ctx; in spufs_mss_open()
1346 struct spu_context *ctx = i->i_ctx; in spufs_mss_release()
1390 struct spu_context *ctx = i->i_ctx; in spufs_psmap_open()
1404 struct spu_context *ctx = i->i_ctx; in spufs_psmap_release()
1453 struct spu_context *ctx = i->i_ctx; in spufs_mfc_open()
1474 struct spu_context *ctx = i->i_ctx; in spufs_mfc_release()
1486 struct spu_context *ctx = spu->ctx; in spufs_mfc_callback()
1492 static int spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) in spufs_read_mfc_tagstatus()
1510 struct spu_context *ctx = file->private_data; in spufs_mfc_read()
1615 static int spu_send_mfc_command(struct spu_context *ctx, in spu_send_mfc_command()
1636 struct spu_context *ctx = file->private_data; in spufs_mfc_write()
1685 struct spu_context *ctx = file->private_data; in spufs_mfc_poll()
1715 struct spu_context *ctx = file->private_data; in spufs_mfc_flush()
1765 struct spu_context *ctx = data; in spufs_npc_set()
1777 static u64 spufs_npc_get(struct spu_context *ctx) in spufs_npc_get()
1786 struct spu_context *ctx = data; in spufs_decr_set()
1799 static u64 spufs_decr_get(struct spu_context *ctx) in spufs_decr_get()
1809 struct spu_context *ctx = data; in spufs_decr_status_set()
1824 static u64 spufs_decr_status_get(struct spu_context *ctx) in spufs_decr_status_get()
1837 struct spu_context *ctx = data; in spufs_event_mask_set()
1850 static u64 spufs_event_mask_get(struct spu_context *ctx) in spufs_event_mask_get()
1860 static u64 spufs_event_status_get(struct spu_context *ctx) in spufs_event_status_get()
1874 struct spu_context *ctx = data; in spufs_srr0_set()
1887 static u64 spufs_srr0_get(struct spu_context *ctx) in spufs_srr0_get()
1895 static u64 spufs_id_get(struct spu_context *ctx) in spufs_id_get()
1909 static u64 spufs_object_id_get(struct spu_context *ctx) in spufs_object_id_get()
1917 struct spu_context *ctx = data; in spufs_object_id_set()
1926 static u64 spufs_lslr_get(struct spu_context *ctx) in spufs_lslr_get()
1936 struct spu_context *ctx = i->i_ctx; in spufs_info_open()
1943 struct spu_context *ctx = s->private; in spufs_caps_show()
1964 static ssize_t __spufs_mbox_info_read(struct spu_context *ctx, in __spufs_mbox_info_read()
1982 struct spu_context *ctx = file->private_data; in spufs_mbox_info_read()
2004 static ssize_t __spufs_ibox_info_read(struct spu_context *ctx, in __spufs_ibox_info_read()
2021 struct spu_context *ctx = file->private_data; in spufs_ibox_info_read()
2044 static ssize_t __spufs_wbox_info_read(struct spu_context *ctx, in __spufs_wbox_info_read()
2064 struct spu_context *ctx = file->private_data; in spufs_wbox_info_read()
2087 static ssize_t __spufs_dma_info_read(struct spu_context *ctx, in __spufs_dma_info_read()
2116 struct spu_context *ctx = file->private_data; in spufs_dma_info_read()
2139 static ssize_t __spufs_proxydma_info_read(struct spu_context *ctx, in __spufs_proxydma_info_read()
2173 struct spu_context *ctx = file->private_data; in spufs_proxydma_info_read()
2195 struct spu_context *ctx = s->private; in spufs_show_tid()
2217 static unsigned long long spufs_acct_time(struct spu_context *ctx, in spufs_acct_time()
2238 static unsigned long long spufs_slb_flts(struct spu_context *ctx) in spufs_slb_flts()
2250 static unsigned long long spufs_class2_intrs(struct spu_context *ctx) in spufs_class2_intrs()
2265 struct spu_context *ctx = s->private; in spufs_show_stat()
2303 static inline int spufs_switch_log_used(struct spu_context *ctx) in spufs_switch_log_used()
2309 static inline int spufs_switch_log_avail(struct spu_context *ctx) in spufs_switch_log_avail()
2316 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_open()
2347 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_release()
2361 static int switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) in switch_log_sprint()
2380 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_read()
2450 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_poll()
2481 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2506 struct spu_context *ctx = s->private; in spufs_show_ctx()