• Home
  • Raw
  • Download

Lines Matching defs:ctx

164 	struct spu_context *ctx = i->i_ctx;  in spufs_mem_open()  local
178 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
188 __spufs_mem_read(struct spu_context *ctx, char __user *buffer, in __spufs_mem_read()
200 struct spu_context *ctx = file->private_data; in spufs_mem_read() local
216 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
239 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
270 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
319 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local
399 struct spu_context *ctx = data; in spufs_cntl_get() local
413 struct spu_context *ctx = data; in spufs_cntl_set() local
428 struct spu_context *ctx = i->i_ctx; in spufs_cntl_open() local
443 struct spu_context *ctx = i->i_ctx; in spufs_cntl_release() local
472 __spufs_regs_read(struct spu_context *ctx, char __user *buffer, in __spufs_regs_read()
485 struct spu_context *ctx = file->private_data; in spufs_regs_read() local
504 struct spu_context *ctx = file->private_data; in spufs_regs_write() local
530 __spufs_fpcr_read(struct spu_context *ctx, char __user * buffer, in __spufs_fpcr_read()
543 struct spu_context *ctx = file->private_data; in spufs_fpcr_read() local
557 struct spu_context *ctx = file->private_data; in spufs_fpcr_write() local
602 struct spu_context *ctx = file->private_data; in spufs_mbox_read() local
653 struct spu_context *ctx = file->private_data; in spufs_mbox_stat_read() local
681 size_t spu_ibox_read(struct spu_context *ctx, u32 *data) in spu_ibox_read()
689 struct spu_context *ctx = spu->ctx; in spufs_ibox_callback() local
710 struct spu_context *ctx = file->private_data; in spufs_ibox_read() local
767 struct spu_context *ctx = file->private_data; in spufs_ibox_poll() local
793 struct spu_context *ctx = file->private_data; in spufs_ibox_stat_read() local
819 size_t spu_wbox_write(struct spu_context *ctx, u32 data) in spu_wbox_write()
827 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback() local
848 struct spu_context *ctx = file->private_data; in spufs_wbox_write() local
903 struct spu_context *ctx = file->private_data; in spufs_wbox_poll() local
929 struct spu_context *ctx = file->private_data; in spufs_wbox_stat_read() local
957 struct spu_context *ctx = i->i_ctx; in spufs_signal1_open() local
971 struct spu_context *ctx = i->i_ctx; in spufs_signal1_release() local
980 static ssize_t __spufs_signal1_read(struct spu_context *ctx, char __user *buf, in __spufs_signal1_read()
1008 struct spu_context *ctx = file->private_data; in spufs_signal1_read() local
1022 struct spu_context *ctx; in spufs_signal1_write() local
1094 struct spu_context *ctx = i->i_ctx; in spufs_signal2_open() local
1108 struct spu_context *ctx = i->i_ctx; in spufs_signal2_release() local
1117 static ssize_t __spufs_signal2_read(struct spu_context *ctx, char __user *buf, in __spufs_signal2_read()
1144 struct spu_context *ctx = file->private_data; in spufs_signal2_read() local
1159 struct spu_context *ctx; in spufs_signal2_write() local
1268 struct spu_context *ctx = data; in spufs_signal1_type_set() local
1280 static u64 spufs_signal1_type_get(struct spu_context *ctx) in spufs_signal1_type_get()
1290 struct spu_context *ctx = data; in spufs_signal2_type_set() local
1302 static u64 spufs_signal2_type_get(struct spu_context *ctx) in spufs_signal2_type_get()
1341 struct spu_context *ctx = i->i_ctx; in spufs_mss_open() local
1356 struct spu_context *ctx = i->i_ctx; in spufs_mss_release() local
1400 struct spu_context *ctx = i->i_ctx; in spufs_psmap_open() local
1414 struct spu_context *ctx = i->i_ctx; in spufs_psmap_release() local
1463 struct spu_context *ctx = i->i_ctx; in spufs_mfc_open() local
1484 struct spu_context *ctx = i->i_ctx; in spufs_mfc_release() local
1496 struct spu_context *ctx = spu->ctx; in spufs_mfc_callback() local
1502 static int spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) in spufs_read_mfc_tagstatus()
1520 struct spu_context *ctx = file->private_data; in spufs_mfc_read() local
1625 static int spu_send_mfc_command(struct spu_context *ctx, in spu_send_mfc_command()
1646 struct spu_context *ctx = file->private_data; in spufs_mfc_write() local
1695 struct spu_context *ctx = file->private_data; in spufs_mfc_poll() local
1725 struct spu_context *ctx = file->private_data; in spufs_mfc_flush() local
1775 struct spu_context *ctx = data; in spufs_npc_set() local
1787 static u64 spufs_npc_get(struct spu_context *ctx) in spufs_npc_get()
1796 struct spu_context *ctx = data; in spufs_decr_set() local
1809 static u64 spufs_decr_get(struct spu_context *ctx) in spufs_decr_get()
1819 struct spu_context *ctx = data; in spufs_decr_status_set() local
1834 static u64 spufs_decr_status_get(struct spu_context *ctx) in spufs_decr_status_get()
1847 struct spu_context *ctx = data; in spufs_event_mask_set() local
1860 static u64 spufs_event_mask_get(struct spu_context *ctx) in spufs_event_mask_get()
1870 static u64 spufs_event_status_get(struct spu_context *ctx) in spufs_event_status_get()
1884 struct spu_context *ctx = data; in spufs_srr0_set() local
1897 static u64 spufs_srr0_get(struct spu_context *ctx) in spufs_srr0_get()
1905 static u64 spufs_id_get(struct spu_context *ctx) in spufs_id_get()
1919 static u64 spufs_object_id_get(struct spu_context *ctx) in spufs_object_id_get()
1927 struct spu_context *ctx = data; in spufs_object_id_set() local
1936 static u64 spufs_lslr_get(struct spu_context *ctx) in spufs_lslr_get()
1946 struct spu_context *ctx = i->i_ctx; in spufs_info_open() local
1953 struct spu_context *ctx = s->private; in spufs_caps_show() local
1974 static ssize_t __spufs_mbox_info_read(struct spu_context *ctx, in __spufs_mbox_info_read()
1992 struct spu_context *ctx = file->private_data; in spufs_mbox_info_read() local
2014 static ssize_t __spufs_ibox_info_read(struct spu_context *ctx, in __spufs_ibox_info_read()
2031 struct spu_context *ctx = file->private_data; in spufs_ibox_info_read() local
2054 static ssize_t __spufs_wbox_info_read(struct spu_context *ctx, in __spufs_wbox_info_read()
2074 struct spu_context *ctx = file->private_data; in spufs_wbox_info_read() local
2097 static ssize_t __spufs_dma_info_read(struct spu_context *ctx, in __spufs_dma_info_read()
2126 struct spu_context *ctx = file->private_data; in spufs_dma_info_read() local
2149 static ssize_t __spufs_proxydma_info_read(struct spu_context *ctx, in __spufs_proxydma_info_read()
2183 struct spu_context *ctx = file->private_data; in spufs_proxydma_info_read() local
2205 struct spu_context *ctx = s->private; in spufs_show_tid() local
2227 static unsigned long long spufs_acct_time(struct spu_context *ctx, in spufs_acct_time()
2248 static unsigned long long spufs_slb_flts(struct spu_context *ctx) in spufs_slb_flts()
2260 static unsigned long long spufs_class2_intrs(struct spu_context *ctx) in spufs_class2_intrs()
2275 struct spu_context *ctx = s->private; in spufs_show_stat() local
2313 static inline int spufs_switch_log_used(struct spu_context *ctx) in spufs_switch_log_used()
2319 static inline int spufs_switch_log_avail(struct spu_context *ctx) in spufs_switch_log_avail()
2326 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_open() local
2358 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_release() local
2372 static int switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) in switch_log_sprint()
2391 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_read() local
2461 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; in spufs_switch_log_poll() local
2492 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify()
2517 struct spu_context *ctx = s->private; in spufs_show_ctx() local