Searched defs:csa (Results 1 - 12 of 12) sorted by relevance

/arch/powerpc/platforms/cell/spufs/
H A Dlscsa_alloc.c34 static int spu_alloc_lscsa_std(struct spu_state *csa) argument
42 csa->lscsa = lscsa;
51 static void spu_free_lscsa_std(struct spu_state *csa) argument
56 if (csa->lscsa == NULL)
59 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE)
62 vfree(csa->lscsa);
71 int spu_alloc_lscsa(struct spu_state *csa) argument
81 csa->use_big_pages = 1;
83 pr_debug("spu_alloc_lscsa(csa
144 spu_free_lscsa(struct spu_state *csa) argument
173 spu_alloc_lscsa(struct spu_state *csa) argument
178 spu_free_lscsa(struct spu_state *csa) argument
[all...]
H A Dbacking_ops.c53 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0];
54 ch0_data = ctx->csa.spu_chnldata_RW[0];
55 ch1_data = ctx->csa.spu_chnldata_RW[1];
56 ctx->csa.spu_chnldata_RW[0] |= event;
58 ctx->csa.spu_chnlcnt_RW[0] = 1;
67 spin_lock(&ctx->csa.register_lock);
68 mbox_stat = ctx->csa.prob.mb_stat_R;
74 *data = ctx->csa.prob.pu_mb_R;
75 ctx->csa.prob.mb_stat_R &= ~(0x0000ff);
76 ctx->csa
310 struct spu_state *csa = &ctx->csa; local
321 struct spu_state *csa = &ctx->csa; local
[all...]
H A Dspufs.h82 struct spu_state csa; /* SPU context save area. */ member in struct:spu_context
364 extern int spu_init_csa(struct spu_state *csa);
365 extern void spu_fini_csa(struct spu_state *csa);
370 extern int spu_alloc_lscsa(struct spu_state *csa);
371 extern void spu_free_lscsa(struct spu_state *csa);
H A Dfile.c244 struct spu_state *csa = &ctx->csa; local
251 BUG_ON(csa->use_big_pages != (psize == MMU_PAGE_64K));
254 if (csa->use_big_pages) {
272 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset);
316 struct spu_state *csa = &ctx->csa; local
319 if (csa->use_big_pages) {
346 struct spu_state *csa = &ctx->csa; local
2644 struct spu_state *csa = &ctx->csa; local
[all...]
H A Dswitch.c95 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) argument
111 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) argument
125 if (csa) {
126 csa->priv1.int_mask_class0_RW = spu_int_mask_get(spu, 0);
127 csa->priv1.int_mask_class1_RW = spu_int_mask_get(spu, 1);
128 csa->priv1.int_mask_class2_RW = spu_int_mask_get(spu, 2);
148 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) argument
161 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) argument
172 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) argument
181 static inline void save_mfc_cntl(struct spu_state *csa, struc argument
215 save_spu_runcntl(struct spu_state *csa, struct spu *spu) argument
226 save_mfc_sr1(struct spu_state *csa, struct spu *spu) argument
234 save_spu_status(struct spu_state *csa, struct spu *spu) argument
260 save_mfc_stopped_status(struct spu_state *csa, struct spu *spu) argument
277 halt_mfc_decr(struct spu_state *csa, struct spu *spu) argument
290 save_timebase(struct spu_state *csa, struct spu *spu) argument
299 remove_other_spu_access(struct spu_state *csa, struct spu *spu) argument
308 do_mfc_mssync(struct spu_state *csa, struct spu *spu) argument
321 issue_mfc_tlbie(struct spu_state *csa, struct spu *spu) argument
333 handle_pending_interrupts(struct spu_state *csa, struct spu *spu) argument
347 save_mfc_queues(struct spu_state *csa, struct spu *spu) argument
380 save_ppu_querymask(struct spu_state *csa, struct spu *spu) argument
391 save_ppu_querytype(struct spu_state *csa, struct spu *spu) argument
402 save_ppu_tagstatus(struct spu_state *csa, struct spu *spu) argument
415 save_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) argument
427 save_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) argument
439 save_mfc_csr_ato(struct spu_state *csa, struct spu *spu) argument
450 save_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument
459 set_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument
470 purge_mfc_queue(struct spu_state *csa, struct spu *spu) argument
484 wait_purge_complete(struct spu_state *csa, struct spu *spu) argument
497 setup_mfc_sr1(struct spu_state *csa, struct spu *spu) argument
515 save_spu_npc(struct spu_state *csa, struct spu *spu) argument
525 save_spu_privcntl(struct spu_state *csa, struct spu *spu) argument
535 reset_spu_privcntl(struct spu_state *csa, struct spu *spu) argument
547 save_spu_lslr(struct spu_state *csa, struct spu *spu) argument
557 reset_spu_lslr(struct spu_state *csa, struct spu *spu) argument
569 save_spu_cfg(struct spu_state *csa, struct spu *spu) argument
579 save_pm_trace(struct spu_state *csa, struct spu *spu) argument
587 save_mfc_rag(struct spu_state *csa, struct spu *spu) argument
599 save_ppu_mb_stat(struct spu_state *csa, struct spu *spu) argument
609 save_ppu_mb(struct spu_state *csa, struct spu *spu) argument
619 save_ppuint_mb(struct spu_state *csa, struct spu *spu) argument
629 save_ch_part1(struct spu_state *csa, struct spu *spu) argument
655 save_spu_mb(struct spu_state *csa, struct spu *spu) argument
673 save_mfc_cmd(struct spu_state *csa, struct spu *spu) argument
686 reset_ch(struct spu_state *csa, struct spu *spu) argument
706 resume_mfc_queue(struct spu_state *csa, struct spu *spu) argument
717 setup_mfc_slbs(struct spu_state *csa, struct spu *spu, unsigned int *code, int code_size) argument
738 set_switch_active(struct spu_state *csa, struct spu *spu) argument
755 enable_interrupts(struct spu_state *csa, struct spu *spu) argument
812 save_ls_16kb(struct spu_state *csa, struct spu *spu) argument
828 set_spu_npc(struct spu_state *csa, struct spu *spu) argument
845 set_signot1(struct spu_state *csa, struct spu *spu) argument
863 set_signot2(struct spu_state *csa, struct spu *spu) argument
881 send_save_code(struct spu_state *csa, struct spu *spu) argument
897 set_ppu_querymask(struct spu_state *csa, struct spu *spu) argument
910 wait_tag_complete(struct spu_state *csa, struct spu *spu) argument
933 wait_spu_stopped(struct spu_state *csa, struct spu *spu) argument
952 check_save_status(struct spu_state *csa, struct spu *spu) argument
967 terminate_spu_app(struct spu_state *csa, struct spu *spu) argument
975 suspend_mfc_and_halt_decr(struct spu_state *csa, struct spu *spu) argument
989 wait_suspend_mfc_complete(struct spu_state *csa, struct spu *spu) argument
1003 suspend_spe(struct spu_state *csa, struct spu *spu) argument
1045 clear_spu_status(struct spu_state *csa, struct spu *spu) argument
1079 reset_ch_part1(struct spu_state *csa, struct spu *spu) argument
1104 reset_ch_part2(struct spu_state *csa, struct spu *spu) argument
1124 setup_spu_status_part1(struct spu_state *csa, struct spu *spu) argument
1216 setup_spu_status_part2(struct spu_state *csa, struct spu *spu) argument
1240 restore_mfc_rag(struct spu_state *csa, struct spu *spu) argument
1252 send_restore_code(struct spu_state *csa, struct spu *spu) argument
1268 setup_decr(struct spu_state *csa, struct spu *spu) argument
1293 setup_ppu_mb(struct spu_state *csa, struct spu *spu) argument
1301 setup_ppuint_mb(struct spu_state *csa, struct spu *spu) argument
1309 check_restore_status(struct spu_state *csa, struct spu *spu) argument
1324 restore_spu_privcntl(struct spu_state *csa, struct spu *spu) argument
1335 restore_status_part1(struct spu_state *csa, struct spu *spu) argument
1355 restore_status_part2(struct spu_state *csa, struct spu *spu) argument
1382 restore_ls_16kb(struct spu_state *csa, struct spu *spu) argument
1398 suspend_mfc(struct spu_state *csa, struct spu *spu) argument
1410 clear_interrupts(struct spu_state *csa, struct spu *spu) argument
1430 restore_mfc_queues(struct spu_state *csa, struct spu *spu) argument
1464 restore_ppu_querymask(struct spu_state *csa, struct spu *spu) argument
1475 restore_ppu_querytype(struct spu_state *csa, struct spu *spu) argument
1486 restore_mfc_csr_tsq(struct spu_state *csa, struct spu *spu) argument
1498 restore_mfc_csr_cmd(struct spu_state *csa, struct spu *spu) argument
1511 restore_mfc_csr_ato(struct spu_state *csa, struct spu *spu) argument
1521 restore_mfc_tclass_id(struct spu_state *csa, struct spu *spu) argument
1530 set_llr_event(struct spu_state *csa, struct spu *spu) argument
1553 restore_decr_wrapped(struct spu_state *csa, struct spu *spu) argument
1571 restore_ch_part1(struct spu_state *csa, struct spu *spu) argument
1590 restore_ch_part2(struct spu_state *csa, struct spu *spu) argument
1613 restore_spu_lslr(struct spu_state *csa, struct spu *spu) argument
1624 restore_spu_cfg(struct spu_state *csa, struct spu *spu) argument
1635 restore_pm_trace(struct spu_state *csa, struct spu *spu) argument
1643 restore_spu_npc(struct spu_state *csa, struct spu *spu) argument
1654 restore_spu_mb(struct spu_state *csa, struct spu *spu) argument
1671 check_ppu_mb_stat(struct spu_state *csa, struct spu *spu) argument
1686 check_ppuint_mb_stat(struct spu_state *csa, struct spu *spu) argument
1703 restore_mfc_sr1(struct spu_state *csa, struct spu *spu) argument
1712 set_int_route(struct spu_state *csa, struct spu *spu) argument
1719 restore_other_spu_access(struct spu_state *csa, struct spu *spu) argument
1727 restore_spu_runcntl(struct spu_state *csa, struct spu *spu) argument
1741 restore_mfc_cntl(struct spu_state *csa, struct spu *spu) argument
1761 enable_user_access(struct spu_state *csa, struct spu *spu) argument
1771 reset_switch_active(struct spu_state *csa, struct spu *spu) argument
1779 reenable_interrupts(struct spu_state *csa, struct spu *spu) argument
2149 init_prob(struct spu_state *csa) argument
2160 init_priv1(struct spu_state *csa) argument
2179 init_priv2(struct spu_state *csa) argument
2198 spu_init_csa(struct spu_state *csa) argument
2219 spu_fini_csa(struct spu_state *csa) argument
[all...]
/arch/arm/mach-at91/
H A Dboard-cpu9krea.c241 unsigned long csa; local
243 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
244 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_VDDIOMSEL_3_3V);
H A Dat91rm9200_devices.c237 unsigned int csa; local
245 csa = at91_ramc_read(0, AT91_EBI_CSA);
246 at91_ramc_write(0, AT91_EBI_CSA, csa | AT91_EBI_CS4A_SMC_COMPACTFLASH);
405 unsigned int csa; local
411 csa = at91_ramc_read(0, AT91_EBI_CSA);
412 at91_ramc_write(0, AT91_EBI_CSA, csa | AT91_EBI_CS3A_SMC_SMARTMEDIA);
H A Dat91sam9261_devices.c235 unsigned long csa; local
240 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
241 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA);
H A Dat91sam9rl_devices.c264 unsigned long csa; local
269 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
270 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA);
H A Dat91sam9260_devices.c421 unsigned long csa; local
426 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
427 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA);
1306 unsigned long csa; local
1311 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
1317 csa |= AT91_MATRIX_CS4A_SMC_CF1;
1324 csa |= AT91_MATRIX_CS5A_SMC_CF2;
1334 at91_matrix_write(AT91_MATRIX_EBICSA, csa);
H A Dat91sam9263_devices.c496 unsigned long csa; local
501 csa = at91_matrix_read(AT91_MATRIX_EBI0CSA);
502 at91_matrix_write(AT91_MATRIX_EBI0CSA, csa | AT91_MATRIX_EBI0_CS3A_SMC_SMARTMEDIA);
H A Dat91sam9g45_devices.c557 unsigned long csa; local
562 csa = at91_matrix_read(AT91_MATRIX_EBICSA);
563 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA);

Completed in 231 milliseconds