Home
last modified time | relevance | path

Searched refs:csa (Results 1 – 25 of 25) sorted by relevance

/linux/arch/powerpc/platforms/cell/spufs/
A Dbacking_ops.c45 ctx->csa.spu_chnlcnt_RW[0] = 1; in gen_spu_event()
61 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read()
63 ctx->csa.spu_chnlcnt_RW[28] = 1; in spu_backing_mbox_read()
73 return ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_read()
84 stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_stat_poll()
259 return ctx->csa.lscsa->ls; in spu_backing_get_ls()
277 ctx->csa.prob.spu_status_R &= in spu_backing_runcntl_write()
297 struct spu_state *csa = &ctx->csa; in spu_backing_master_start() local
302 csa->priv1.mfc_sr1_RW = sr1; in spu_backing_master_start()
308 struct spu_state *csa = &ctx->csa; in spu_backing_master_stop() local
[all …]
A Dswitch.c111 if (csa) { in disable_interrupts()
182 if (csa) in save_mfc_cntl()
183 csa->priv2.mfc_control_RW = in save_mfc_cntl()
192 if (csa) in save_mfc_cntl()
1284 csa->lscsa->ppu_mb.slot[0] = csa->prob.pu_mb_R; in setup_ppu_mb()
1292 csa->lscsa->ppuint_mb.slot[0] = csa->priv2.puint_mb_R; in setup_ppuint_mb()
2186 if (!csa) in spu_init_csa()
2196 init_prob(csa); in spu_init_csa()
2197 init_priv1(csa); in spu_init_csa()
2198 init_priv2(csa); in spu_init_csa()
[all …]
A Dlscsa_alloc.c21 int spu_alloc_lscsa(struct spu_state *csa) in spu_alloc_lscsa() argument
29 csa->lscsa = lscsa; in spu_alloc_lscsa()
38 void spu_free_lscsa(struct spu_state *csa) in spu_free_lscsa() argument
43 if (csa->lscsa == NULL) in spu_free_lscsa()
46 for (p = csa->lscsa->ls; p < csa->lscsa->ls + LS_SIZE; p += PAGE_SIZE) in spu_free_lscsa()
49 vfree(csa->lscsa); in spu_free_lscsa()
A Dfault.c55 unsigned long stat = ctx->csa.class_0_pending & CLASS0_INTR_MASK; in spufs_handle_class0()
61 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0()
65 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0()
69 spufs_handle_event(ctx, ctx->csa.class_0_dar, in spufs_handle_class0()
72 ctx->csa.class_0_pending = 0; in spufs_handle_class0()
102 ea = ctx->csa.class_1_dar; in spufs_handle_class1()
103 dsisr = ctx->csa.class_1_dsisr; in spufs_handle_class1()
141 ctx->csa.class_1_dar = ctx->csa.class_1_dsisr = 0; in spufs_handle_class1()
A Dfile.c964 if (!ctx->csa.spu_chnlcnt_RW[3]) in spufs_signal1_dump()
975 if (!ctx->csa.spu_chnlcnt_RW[3]) in __spufs_signal1_read()
1099 if (!ctx->csa.spu_chnlcnt_RW[4]) in spufs_signal2_dump()
1110 if (!ctx->csa.spu_chnlcnt_RW[4]) in __spufs_signal2_read()
1971 stat = ctx->csa.prob.mb_stat_R; in spufs_mbox_info_read()
1972 data = ctx->csa.prob.pu_mb_R; in spufs_mbox_info_read()
2009 stat = ctx->csa.prob.mb_stat_R; in spufs_ibox_info_read()
2502 struct spu_state *csa = &ctx->csa; in spufs_show_ctx() local
2516 ctx->csa.class_0_pending, in spufs_show_ctx()
2517 ctx->csa.class_0_dar, in spufs_show_ctx()
[all …]
A Drun.c30 ctx->csa.class_0_pending = spu->class_0_pending; in spufs_stop_callback()
31 ctx->csa.class_0_dar = spu->class_0_dar; in spufs_stop_callback()
34 ctx->csa.class_1_dsisr = spu->class_1_dsisr; in spufs_stop_callback()
35 ctx->csa.class_1_dar = spu->class_1_dar; in spufs_stop_callback()
72 dsisr = ctx->csa.class_1_dsisr; in spu_stopped()
76 if (ctx->csa.class_0_pending) in spu_stopped()
A Dspufs.h69 struct spu_state csa; /* SPU context save area. */ member
346 extern int spu_init_csa(struct spu_state *csa);
347 extern void spu_fini_csa(struct spu_state *csa);
352 extern int spu_alloc_lscsa(struct spu_state *csa);
353 extern void spu_free_lscsa(struct spu_state *csa);
A Dcontext.c35 if (spu_init_csa(&ctx->csa)) in alloc_spu_context()
77 spu_fini_csa(&ctx->csa); in destroy_spu_context()
A Dsched.c237 spu_restore(&ctx->csa, spu); in spu_bind_context()
440 spu_save(&ctx->csa, spu); in spu_unbind_context()
/linux/drivers/hwtracing/coresight/
A Dcoresight-etm4x-core.c70 struct csdev_access *csa; member
209 struct csdev_access *csa) in etm4_cs_lock() argument
212 if (csa->io_mem) in etm4_cs_lock()
213 CS_LOCK(csa->base); in etm4_cs_lock()
219 if (csa->io_mem) in etm4_cs_unlock()
220 CS_UNLOCK(csa->base); in etm4_cs_unlock()
399 if (!csa->io_mem) in etm4_enable_hw()
490 if (!csa->io_mem) in etm4_enable_hw()
1058 struct csdev_access *csa; in etm4_init_arch_data() local
1062 csa = init_arg->csa; in etm4_init_arch_data()
[all …]
A Dcoresight-tpiu.c63 static void tpiu_enable_hw(struct csdev_access *csa) in tpiu_enable_hw() argument
65 CS_UNLOCK(csa->base); in tpiu_enable_hw()
69 CS_LOCK(csa->base); in tpiu_enable_hw()
80 static void tpiu_disable_hw(struct csdev_access *csa) in tpiu_disable_hw() argument
82 CS_UNLOCK(csa->base); in tpiu_disable_hw()
85 csdev_access_relaxed_write32(csa, FFCR_STOP_FI, TPIU_FFCR); in tpiu_disable_hw()
87 csdev_access_relaxed_write32(csa, FFCR_STOP_FI | FFCR_FON_MAN, TPIU_FFCR); in tpiu_disable_hw()
89 coresight_timeout(csa, TPIU_FFCR, FFCR_FON_MAN_BIT, 0); in tpiu_disable_hw()
91 coresight_timeout(csa, TPIU_FFSR, FFSR_FT_STOPPED_BIT, 1); in tpiu_disable_hw()
93 CS_LOCK(csa->base); in tpiu_disable_hw()
A Dcoresight-etm4x.h438 #define etm4x_relaxed_read32(csa, offset) \ argument
439 ((u32)((csa)->io_mem ? \
440 readl_relaxed((csa)->base + (offset)) : \
444 ((u64)((csa)->io_mem ? \
445 readq_relaxed((csa)->base + (offset)) : \
448 #define etm4x_read32(csa, offset) \ argument
455 #define etm4x_read64(csa, offset) \ argument
464 if ((csa)->io_mem) \
473 if ((csa)->io_mem) \
480 #define etm4x_write32(csa, val, offset) \ argument
[all …]
A Dcoresight-tmc-core.c37 struct csdev_access *csa = &csdev->access; in tmc_wait_for_tmcready() local
40 if (coresight_timeout(csa, TMC_STS, TMC_STS_TMCREADY_BIT, 1)) { in tmc_wait_for_tmcready()
49 struct csdev_access *csa = &csdev->access; in tmc_flush_and_stop() local
58 if (coresight_timeout(csa, TMC_FFCR, TMC_FFCR_FLUSHMAN_BIT, 0)) { in tmc_flush_and_stop()
A Dcoresight-etb10.c255 struct csdev_access *csa = &drvdata->csdev->access; in __etb_disable_hw() local
267 if (coresight_timeout(csa, ETB_FFCR, ETB_FFCR_BIT, 0)) { in __etb_disable_hw()
275 if (coresight_timeout(csa, ETB_FFSR, ETB_FFSR_BIT, 1)) { in __etb_disable_hw()
A Dcoresight-catu.c404 struct csdev_access *csa = &drvdata->csdev->access; in catu_wait_for_ready() local
406 return coresight_timeout(csa, CATU_STATUS, CATU_STATUS_READY, 1); in catu_wait_for_ready()
A Dcoresight-stm.c261 struct csdev_access *csa = &csdev->access; in stm_disable() local
274 coresight_timeout(csa, STMTCSR, STMTCSR_BUSY_BIT, 0); in stm_disable()
A Dcoresight-core.c1470 int coresight_timeout(struct csdev_access *csa, u32 offset, in coresight_timeout() argument
1477 val = csdev_access_read32(csa, offset); in coresight_timeout()
/linux/include/linux/
A Dcoresight.h374 if (likely(csa->io_mem)) in csdev_access_relaxed_read32()
382 if (likely(csa->io_mem)) in csdev_access_read32()
383 return readl(csa->base + offset); in csdev_access_read32()
391 if (likely(csa->io_mem)) in csdev_access_relaxed_write32()
399 if (likely(csa->io_mem)) in csdev_access_write32()
400 writel(val, csa->base + offset); in csdev_access_write32()
410 if (likely(csa->io_mem)) in csdev_access_relaxed_read64()
418 if (likely(csa->io_mem)) in csdev_access_read64()
427 if (likely(csa->io_mem)) in csdev_access_relaxed_write64()
435 if (likely(csa->io_mem)) in csdev_access_write64()
[all …]
/linux/net/mac80211/
A Dmesh.c813 struct mesh_csa_settings *csa; in ieee80211_mesh_build_beacon() local
884 csa = rcu_dereference(ifmsh->csa); in ieee80211_mesh_build_beacon()
885 if (csa) { in ieee80211_mesh_build_beacon()
896 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
899 *pos++ = csa->settings.count; in ieee80211_mesh_build_beacon()
908 *pos++ |= csa->settings.block_tx ? in ieee80211_mesh_build_beacon()
915 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
939 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
1384 RCU_INIT_POINTER(ifmsh->csa, NULL); in ieee80211_mesh_finish_csa()
1419 tmp_csa_settings = rcu_dereference(ifmsh->csa); in ieee80211_mesh_csa_beacon()
[all …]
A Dcfg.c866 const struct ieee80211_csa_settings *csa, in ieee80211_set_probe_resp() argument
883 if (csa) in ieee80211_set_probe_resp()
885 csa->n_counter_offsets_presp * in ieee80211_set_probe_resp()
994 const struct ieee80211_csa_settings *csa, in ieee80211_assign_beacon() argument
1039 if (csa) { in ieee80211_assign_beacon()
1040 new->cntdwn_current_counter = csa->count; in ieee80211_assign_beacon()
1042 csa->n_counter_offsets_beacon * in ieee80211_assign_beacon()
1063 params->probe_resp_len, csa, cca); in ieee80211_assign_beacon()
3337 struct ieee80211_csa_settings csa = {}; in ieee80211_set_csa_beacon() local
3373 csa.counter_offsets_presp = params->counter_offsets_presp; in ieee80211_set_csa_beacon()
[all …]
A Dieee80211_i.h732 struct mesh_csa_settings __rcu *csa; member
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Drx.c47 struct iwl_csa_notification *csa = (void *)pkt->data; in iwlagn_rx_csa() local
58 if (!le32_to_cpu(csa->status) && csa->channel == priv->switch_channel) { in iwlagn_rx_csa()
59 rxon->channel = csa->channel; in iwlagn_rx_csa()
60 ctx->staging.channel = csa->channel; in iwlagn_rx_csa()
62 le16_to_cpu(csa->channel)); in iwlagn_rx_csa()
66 le16_to_cpu(csa->channel)); in iwlagn_rx_csa()
/linux/kernel/cgroup/
A Dcpuset.c799 csa = NULL; in generate_sched_domains()
820 if (!csa) in generate_sched_domains()
826 csa[csn++] = &top_cpuset; in generate_sched_domains()
853 csa[csn++] = cp; in generate_sched_domains()
862 csa[i]->pn = i; in generate_sched_domains()
868 struct cpuset *a = csa[i]; in generate_sched_domains()
872 struct cpuset *b = csa[j]; in generate_sched_domains()
877 struct cpuset *c = csa[k]; in generate_sched_domains()
904 struct cpuset *a = csa[i]; in generate_sched_domains()
929 struct cpuset *b = csa[j]; in generate_sched_domains()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
A Dcommon.c4101 struct il_csa_notification *csa = &(pkt->u.csa_notif); in il_hdl_csa() local
4107 if (!le32_to_cpu(csa->status) && csa->channel == il->switch_channel) { in il_hdl_csa()
4108 rxon->channel = csa->channel; in il_hdl_csa()
4109 il->staging.channel = csa->channel; in il_hdl_csa()
4110 D_11H("CSA notif: channel %d\n", le16_to_cpu(csa->channel)); in il_hdl_csa()
4114 le16_to_cpu(csa->channel)); in il_hdl_csa()
/linux/drivers/net/wireless/intel/ipw2x00/
A Dlibipw.h653 struct libipw_csa csa; member

Completed in 93 milliseconds