/linux-3.4.99/arch/powerpc/platforms/cell/spufs/ |
D | backing_ops.c | 53 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; in gen_spu_event() 54 ch0_data = ctx->csa.spu_chnldata_RW[0]; in gen_spu_event() 55 ch1_data = ctx->csa.spu_chnldata_RW[1]; in gen_spu_event() 56 ctx->csa.spu_chnldata_RW[0] |= event; in gen_spu_event() 58 ctx->csa.spu_chnlcnt_RW[0] = 1; in gen_spu_event() 67 spin_lock(&ctx->csa.register_lock); in spu_backing_mbox_read() 68 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read() 74 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read() 75 ctx->csa.prob.mb_stat_R &= ~(0x0000ff); in spu_backing_mbox_read() 76 ctx->csa.spu_chnlcnt_RW[28] = 1; in spu_backing_mbox_read() [all …]
|
D | lscsa_alloc.c | 34 static int spu_alloc_lscsa_std(struct spu_state *csa) in spu_alloc_lscsa_std() argument 42 csa->lscsa = lscsa; in spu_alloc_lscsa_std() 51 static void spu_free_lscsa_std(struct spu_state *csa) in spu_free_lscsa_std() argument 56 if (csa->lscsa == NULL) in spu_free_lscsa_std() 59 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_free_lscsa_std() 62 vfree(csa->lscsa); in spu_free_lscsa_std() 71 int spu_alloc_lscsa(struct spu_state *csa) in spu_alloc_lscsa() argument 81 csa->use_big_pages = 1; in spu_alloc_lscsa() 84 csa); in spu_alloc_lscsa() 95 csa->lscsa_pages[i] = alloc_pages(GFP_KERNEL, in spu_alloc_lscsa() [all …]
|
D | switch.c | 95 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate() argument 111 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts() argument 125 if (csa) { in disable_interrupts() 126 csa->priv1.int_mask_class0_RW = spu_int_mask_get(spu, 0); in disable_interrupts() 127 csa->priv1.int_mask_class1_RW = spu_int_mask_get(spu, 1); in disable_interrupts() 128 csa->priv1.int_mask_class2_RW = spu_int_mask_get(spu, 2); in disable_interrupts() 148 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer() argument 161 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access() argument 172 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending() argument 181 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl() argument [all …]
|
D | fault.c | 79 unsigned long stat = ctx->csa.class_0_pending & CLASS0_INTR_MASK; in spufs_handle_class0() 85 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0() 89 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0() 93 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0() 96 ctx->csa.class_0_pending = 0; in spufs_handle_class0() 126 ea = ctx->csa.class_1_dar; in spufs_handle_class1() 127 dsisr = ctx->csa.class_1_dsisr; in spufs_handle_class1() 165 ctx->csa.class_1_dar = ctx->csa.class_1_dsisr = 0; in spufs_handle_class1()
|
D | file.c | 244 struct spu_state *csa = &ctx->csa; in spufs_mem_mmap_fault() local 251 BUG_ON(csa->use_big_pages != (psize == MMU_PAGE_64K)); in spufs_mem_mmap_fault() 254 if (csa->use_big_pages) { in spufs_mem_mmap_fault() 272 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault() 316 struct spu_state *csa = &ctx->csa; in spufs_mem_mmap() local 319 if (csa->use_big_pages) { in spufs_mem_mmap() 346 struct spu_state *csa = &ctx->csa; in spufs_get_unmapped_area() local 349 if (!csa->use_big_pages) in spufs_get_unmapped_area() 534 struct spu_lscsa *lscsa = ctx->csa.lscsa; in __spufs_regs_read() 548 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read() [all …]
|
D | run.c | 29 ctx->csa.class_0_pending = spu->class_0_pending; in spufs_stop_callback() 30 ctx->csa.class_0_dar = spu->class_0_dar; in spufs_stop_callback() 33 ctx->csa.class_1_dsisr = spu->class_1_dsisr; in spufs_stop_callback() 34 ctx->csa.class_1_dar = spu->class_1_dar; in spufs_stop_callback() 71 dsisr = ctx->csa.class_1_dsisr; in spu_stopped() 75 if (ctx->csa.class_0_pending) in spu_stopped()
|
D | spufs.h | 82 struct spu_state csa; /* SPU context save area. */ member 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);
|
D | context.c | 47 if (spu_init_csa(&ctx->csa)) in alloc_spu_context() 90 spu_fini_csa(&ctx->csa); in destroy_spu_context()
|
D | sched.c | 252 spu_restore(&ctx->csa, spu); in spu_bind_context() 457 spu_save(&ctx->csa, spu); in spu_unbind_context()
|
/linux-3.4.99/arch/arm/mach-at91/ |
D | board-cpu9krea.c | 241 unsigned long csa; in cpu9krea_add_device_nor() local 243 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in cpu9krea_add_device_nor() 244 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_VDDIOMSEL_3_3V); in cpu9krea_add_device_nor()
|
D | at91sam9260_devices.c | 421 unsigned long csa; in at91_add_device_nand() local 426 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in at91_add_device_nand() 427 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand() 1306 unsigned long csa; in at91_add_device_cf() local 1311 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in at91_add_device_cf() 1317 csa |= AT91_MATRIX_CS4A_SMC_CF1; in at91_add_device_cf() 1324 csa |= AT91_MATRIX_CS5A_SMC_CF2; in at91_add_device_cf() 1334 at91_matrix_write(AT91_MATRIX_EBICSA, csa); in at91_add_device_cf()
|
D | at91rm9200_devices.c | 237 unsigned int csa; in at91_add_device_cf() local 245 csa = at91_ramc_read(0, AT91_EBI_CSA); in at91_add_device_cf() 246 at91_ramc_write(0, AT91_EBI_CSA, csa | AT91_EBI_CS4A_SMC_COMPACTFLASH); in at91_add_device_cf() 405 unsigned int csa; in at91_add_device_nand() local 411 csa = at91_ramc_read(0, AT91_EBI_CSA); in at91_add_device_nand() 412 at91_ramc_write(0, AT91_EBI_CSA, csa | AT91_EBI_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand()
|
D | at91sam9261_devices.c | 235 unsigned long csa; in at91_add_device_nand() local 240 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in at91_add_device_nand() 241 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand()
|
D | at91sam9rl_devices.c | 264 unsigned long csa; in at91_add_device_nand() local 269 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in at91_add_device_nand() 270 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand()
|
D | at91sam9263_devices.c | 496 unsigned long csa; in at91_add_device_nand() local 501 csa = at91_matrix_read(AT91_MATRIX_EBI0CSA); in at91_add_device_nand() 502 at91_matrix_write(AT91_MATRIX_EBI0CSA, csa | AT91_MATRIX_EBI0_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand()
|
D | at91sam9g45_devices.c | 557 unsigned long csa; in at91_add_device_nand() local 562 csa = at91_matrix_read(AT91_MATRIX_EBICSA); in at91_add_device_nand() 563 at91_matrix_write(AT91_MATRIX_EBICSA, csa | AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA); in at91_add_device_nand()
|
/linux-3.4.99/kernel/ |
D | cpuset.c | 557 struct cpuset **csa; /* array of all cpuset ptrs */ in generate_sched_domains() local 567 csa = NULL; in generate_sched_domains() 586 csa = kmalloc(number_of_cpusets * sizeof(cp), GFP_KERNEL); in generate_sched_domains() 587 if (!csa) in generate_sched_domains() 609 csa[csn++] = cp; in generate_sched_domains() 620 csa[i]->pn = i; in generate_sched_domains() 626 struct cpuset *a = csa[i]; in generate_sched_domains() 630 struct cpuset *b = csa[j]; in generate_sched_domains() 635 struct cpuset *c = csa[k]; in generate_sched_domains() 661 struct cpuset *a = csa[i]; in generate_sched_domains() [all …]
|
/linux-3.4.99/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-rx.c | 154 struct iwl_csa_notification *csa = (void *)pkt->data; in iwlagn_rx_csa() local 165 if (!le32_to_cpu(csa->status) && csa->channel == priv->switch_channel) { in iwlagn_rx_csa() 166 rxon->channel = csa->channel; in iwlagn_rx_csa() 167 ctx->staging.channel = csa->channel; in iwlagn_rx_csa() 169 le16_to_cpu(csa->channel)); in iwlagn_rx_csa() 173 le16_to_cpu(csa->channel)); in iwlagn_rx_csa()
|
/linux-3.4.99/drivers/net/wireless/iwlegacy/ |
D | common.c | 4061 struct il_csa_notification *csa = &(pkt->u.csa_notif); in il_hdl_csa() local 4067 if (!le32_to_cpu(csa->status) && csa->channel == il->switch_channel) { in il_hdl_csa() 4068 rxon->channel = csa->channel; in il_hdl_csa() 4069 il->staging.channel = csa->channel; in il_hdl_csa() 4070 D_11H("CSA notif: channel %d\n", le16_to_cpu(csa->channel)); in il_hdl_csa() 4074 le16_to_cpu(csa->channel)); in il_hdl_csa()
|
/linux-3.4.99/drivers/net/wireless/ipw2x00/ |
D | libipw.h | 717 struct libipw_csa csa; member
|