Lines Matching defs:ctx
160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local
174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
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() local
210 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
233 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
265 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local
396 struct spu_context *ctx = data; in spufs_cntl_get() local
410 struct spu_context *ctx = data; in spufs_cntl_set() local
425 struct spu_context *ctx = i->i_ctx; in spufs_cntl_open() local
440 struct spu_context *ctx = i->i_ctx; in spufs_cntl_release() local
469 spufs_regs_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_regs_dump()
480 struct spu_context *ctx = file->private_data; in spufs_regs_read() local
500 struct spu_context *ctx = file->private_data; in spufs_regs_write() local
526 spufs_fpcr_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_fpcr_dump()
537 struct spu_context *ctx = file->private_data; in spufs_fpcr_read() local
552 struct spu_context *ctx = file->private_data; in spufs_fpcr_write() local
597 struct spu_context *ctx = file->private_data; in spufs_mbox_read() local
643 struct spu_context *ctx = file->private_data; in spufs_mbox_stat_read() local
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() local
700 struct spu_context *ctx = file->private_data; in spufs_ibox_read() local
752 struct spu_context *ctx = file->private_data; in spufs_ibox_poll() local
778 struct spu_context *ctx = file->private_data; in spufs_ibox_stat_read() local
804 size_t spu_wbox_write(struct spu_context *ctx, u32 data) in spu_wbox_write()
812 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback() local
833 struct spu_context *ctx = file->private_data; in spufs_wbox_write() local
884 struct spu_context *ctx = file->private_data; in spufs_wbox_poll() local
910 struct spu_context *ctx = file->private_data; in spufs_wbox_stat_read() local
938 struct spu_context *ctx = i->i_ctx; in spufs_signal1_open() local
952 struct spu_context *ctx = i->i_ctx; in spufs_signal1_release() local
961 static ssize_t spufs_signal1_dump(struct spu_context *ctx, in spufs_signal1_dump()
970 static ssize_t __spufs_signal1_read(struct spu_context *ctx, char __user *buf, in __spufs_signal1_read()
987 struct spu_context *ctx = file->private_data; in spufs_signal1_read() local
1001 struct spu_context *ctx; in spufs_signal1_write() local
1073 struct spu_context *ctx = i->i_ctx; in spufs_signal2_open() local
1087 struct spu_context *ctx = i->i_ctx; in spufs_signal2_release() local
1096 static ssize_t spufs_signal2_dump(struct spu_context *ctx, in spufs_signal2_dump()
1105 static ssize_t __spufs_signal2_read(struct spu_context *ctx, char __user *buf, in __spufs_signal2_read()
1121 struct spu_context *ctx = file->private_data; in spufs_signal2_read() local
1136 struct spu_context *ctx; in spufs_signal2_write() local
1245 struct spu_context *ctx = data; in spufs_signal1_type_set() local
1257 static u64 spufs_signal1_type_get(struct spu_context *ctx) in spufs_signal1_type_get()
1267 struct spu_context *ctx = data; in spufs_signal2_type_set() local
1279 static u64 spufs_signal2_type_get(struct spu_context *ctx) in spufs_signal2_type_get()
1318 struct spu_context *ctx = i->i_ctx; in spufs_mss_open() local
1333 struct spu_context *ctx = i->i_ctx; in spufs_mss_release() local
1377 struct spu_context *ctx = i->i_ctx; in spufs_psmap_open() local
1391 struct spu_context *ctx = i->i_ctx; in spufs_psmap_release() local
1440 struct spu_context *ctx = i->i_ctx; in spufs_mfc_open() local
1461 struct spu_context *ctx = i->i_ctx; in spufs_mfc_release() local
1473 struct spu_context *ctx = spu->ctx; in spufs_mfc_callback() local
1479 static int spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) in spufs_read_mfc_tagstatus()
1497 struct spu_context *ctx = file->private_data; in spufs_mfc_read() local
1602 static int spu_send_mfc_command(struct spu_context *ctx, in spu_send_mfc_command()
1623 struct spu_context *ctx = file->private_data; in spufs_mfc_write() local
1672 struct spu_context *ctx = file->private_data; in spufs_mfc_poll() local
1702 struct spu_context *ctx = file->private_data; in spufs_mfc_flush() local
1752 struct spu_context *ctx = data; in spufs_npc_set() local
1764 static u64 spufs_npc_get(struct spu_context *ctx) in spufs_npc_get()
1773 struct spu_context *ctx = data; in spufs_decr_set() local
1786 static u64 spufs_decr_get(struct spu_context *ctx) in spufs_decr_get()
1796 struct spu_context *ctx = data; in spufs_decr_status_set() local
1811 static u64 spufs_decr_status_get(struct spu_context *ctx) in spufs_decr_status_get()
1824 struct spu_context *ctx = data; in spufs_event_mask_set() local
1837 static u64 spufs_event_mask_get(struct spu_context *ctx) in spufs_event_mask_get()
1847 static u64 spufs_event_status_get(struct spu_context *ctx) in spufs_event_status_get()
1861 struct spu_context *ctx = data; in spufs_srr0_set() local
1874 static u64 spufs_srr0_get(struct spu_context *ctx) in spufs_srr0_get()
1882 static u64 spufs_id_get(struct spu_context *ctx) in spufs_id_get()
1896 static u64 spufs_object_id_get(struct spu_context *ctx) in spufs_object_id_get()
1904 struct spu_context *ctx = data; in spufs_object_id_set() local
1913 static u64 spufs_lslr_get(struct spu_context *ctx) in spufs_lslr_get()
1923 struct spu_context *ctx = i->i_ctx; in spufs_info_open() local
1930 struct spu_context *ctx = s->private; in spufs_caps_show() local
1951 static ssize_t spufs_mbox_info_dump(struct spu_context *ctx, in spufs_mbox_info_dump()
1963 struct spu_context *ctx = file->private_data; in spufs_mbox_info_read() local
1989 static ssize_t spufs_ibox_info_dump(struct spu_context *ctx, in spufs_ibox_info_dump()
2001 struct spu_context *ctx = file->private_data; in spufs_ibox_info_read() local
2027 static size_t spufs_wbox_info_cnt(struct spu_context *ctx) in spufs_wbox_info_cnt()
2032 static ssize_t spufs_wbox_info_dump(struct spu_context *ctx, in spufs_wbox_info_dump()
2042 struct spu_context *ctx = file->private_data; in spufs_wbox_info_read() local
2065 static void spufs_get_dma_info(struct spu_context *ctx, in spufs_get_dma_info()
2086 static ssize_t spufs_dma_info_dump(struct spu_context *ctx, in spufs_dma_info_dump()
2098 struct spu_context *ctx = file->private_data; in spufs_dma_info_read() local
2120 static void spufs_get_proxydma_info(struct spu_context *ctx, in spufs_get_proxydma_info()
2140 static ssize_t spufs_proxydma_info_dump(struct spu_context *ctx, in spufs_proxydma_info_dump()
2152 struct spu_context *ctx = file->private_data; in spufs_proxydma_info_read() local
2179 struct spu_context *ctx = s->private; in spufs_show_tid() local
2201 static unsigned long long spufs_acct_time(struct spu_context *ctx, in spufs_acct_time()
2222 static unsigned long long spufs_slb_flts(struct spu_context *ctx) in spufs_slb_flts()
2234 static unsigned long long spufs_class2_intrs(struct spu_context *ctx) in spufs_class2_intrs()
2249 struct spu_context *ctx = s->private; in spufs_show_stat() local
2287 static inline int spufs_switch_log_used(struct spu_context *ctx) in spufs_switch_log_used()
2293 static inline int spufs_switch_log_avail(struct spu_context *ctx) in spufs_switch_log_avail()
2300 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_open() local
2331 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_release() local
2345 static int switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) in switch_log_sprint()
2364 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_read() local
2434 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_poll() local
2465 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2490 struct spu_context *ctx = s->private; in spufs_show_ctx() local