Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c40 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; in gen_spu_event()
41 ch0_data = ctx->csa.spu_chnldata_RW[0]; in gen_spu_event()
42 ch1_data = ctx->csa.spu_chnldata_RW[1]; in gen_spu_event()
43 ctx->csa.spu_chnldata_RW[0] |= event; in gen_spu_event()
45 ctx->csa.spu_chnlcnt_RW[0] = 1; in gen_spu_event()
54 spin_lock(&ctx->csa.register_lock); in spu_backing_mbox_read()
55 mbox_stat = ctx->csa.prob.mb_stat_R; in spu_backing_mbox_read()
61 *data = ctx->csa.prob.pu_mb_R; in spu_backing_mbox_read()
62 ctx->csa.prob.mb_stat_R &= ~(0x0000ff); in spu_backing_mbox_read()
63 ctx->csa.spu_chnlcnt_RW[28] = 1; in spu_backing_mbox_read()
[all …]
Dswitch.c81 static inline int check_spu_isolate(struct spu_state *csa, struct spu *spu) in check_spu_isolate() argument
97 static inline void disable_interrupts(struct spu_state *csa, struct spu *spu) in disable_interrupts() argument
111 if (csa) { in disable_interrupts()
112 csa->priv1.int_mask_class0_RW = spu_int_mask_get(spu, 0); in disable_interrupts()
113 csa->priv1.int_mask_class1_RW = spu_int_mask_get(spu, 1); in disable_interrupts()
114 csa->priv1.int_mask_class2_RW = spu_int_mask_get(spu, 2); in disable_interrupts()
134 static inline void set_watchdog_timer(struct spu_state *csa, struct spu *spu) in set_watchdog_timer() argument
147 static inline void inhibit_user_access(struct spu_state *csa, struct spu *spu) in inhibit_user_access() argument
158 static inline void set_switch_pending(struct spu_state *csa, struct spu *spu) in set_switch_pending() argument
167 static inline void save_mfc_cntl(struct spu_state *csa, struct spu *spu) in save_mfc_cntl() argument
[all …]
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()
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()
Dfile.c249 pfn = vmalloc_to_pfn(ctx->csa.lscsa->ls + offset); in spufs_mem_mmap_fault()
471 return spufs_dump_emit(cprm, ctx->csa.lscsa->gprs, in spufs_regs_dump()
472 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_dump()
484 if (*pos >= sizeof(ctx->csa.lscsa->gprs)) in spufs_regs_read()
490 ret = simple_read_from_buffer(buffer, size, pos, ctx->csa.lscsa->gprs, in spufs_regs_read()
491 sizeof(ctx->csa.lscsa->gprs)); in spufs_regs_read()
501 struct spu_lscsa *lscsa = ctx->csa.lscsa; in spufs_regs_write()
528 return spufs_dump_emit(cprm, &ctx->csa.lscsa->fpcr, in spufs_fpcr_dump()
529 sizeof(ctx->csa.lscsa->fpcr)); in spufs_fpcr_dump()
542 ret = simple_read_from_buffer(buffer, size, pos, &ctx->csa.lscsa->fpcr, in spufs_fpcr_read()
[all …]
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()
Dspufs.h69 struct spu_state csa; /* SPU context save area. */ member
347 extern int spu_init_csa(struct spu_state *csa);
348 extern void spu_fini_csa(struct spu_state *csa);
353 extern int spu_alloc_lscsa(struct spu_state *csa);
354 extern void spu_free_lscsa(struct spu_state *csa);
Dcontext.c35 if (spu_init_csa(&ctx->csa)) in alloc_spu_context()
77 spu_fini_csa(&ctx->csa); in destroy_spu_context()
Dsched.c240 spu_restore(&ctx->csa, spu); in spu_bind_context()
445 spu_save(&ctx->csa, spu); in spu_unbind_context()
/kernel/linux/linux-5.10/net/mac80211/
Dmesh.c783 struct mesh_csa_settings *csa; in ieee80211_mesh_build_beacon() local
854 csa = rcu_dereference(ifmsh->csa); in ieee80211_mesh_build_beacon()
855 if (csa) { in ieee80211_mesh_build_beacon()
866 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
867 bcn->cntdwn_current_counter = csa->settings.count; in ieee80211_mesh_build_beacon()
869 *pos++ = csa->settings.count; in ieee80211_mesh_build_beacon()
878 *pos++ |= csa->settings.block_tx ? in ieee80211_mesh_build_beacon()
885 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
892 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
909 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
[all …]
Dcfg.c832 const struct ieee80211_csa_settings *csa) in ieee80211_set_probe_resp() argument
848 if (csa) in ieee80211_set_probe_resp()
849 memcpy(new->cntdwn_counter_offsets, csa->counter_offsets_presp, in ieee80211_set_probe_resp()
850 csa->n_counter_offsets_presp * in ieee80211_set_probe_resp()
957 const struct ieee80211_csa_settings *csa) in ieee80211_assign_beacon() argument
1001 if (csa) { in ieee80211_assign_beacon()
1002 new->cntdwn_current_counter = csa->count; in ieee80211_assign_beacon()
1003 memcpy(new->cntdwn_counter_offsets, csa->counter_offsets_beacon, in ieee80211_assign_beacon()
1004 csa->n_counter_offsets_beacon * in ieee80211_assign_beacon()
1022 params->probe_resp_len, csa); in ieee80211_assign_beacon()
[all …]
Dieee80211_i.h709 struct mesh_csa_settings __rcu *csa; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c52 struct iwl_csa_notification *csa = (void *)pkt->data; in iwlagn_rx_csa() local
63 if (!le32_to_cpu(csa->status) && csa->channel == priv->switch_channel) { in iwlagn_rx_csa()
64 rxon->channel = csa->channel; in iwlagn_rx_csa()
65 ctx->staging.channel = csa->channel; in iwlagn_rx_csa()
67 le16_to_cpu(csa->channel)); in iwlagn_rx_csa()
71 le16_to_cpu(csa->channel)); in iwlagn_rx_csa()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c751 struct cpuset **csa; /* array of all cpuset ptrs */ in generate_sched_domains() local
763 csa = NULL; in generate_sched_domains()
783 csa = kmalloc_array(nr_cpusets(), sizeof(cp), GFP_KERNEL); in generate_sched_domains()
784 if (!csa) in generate_sched_domains()
790 csa[csn++] = &top_cpuset; in generate_sched_domains()
817 csa[csn++] = cp; in generate_sched_domains()
826 csa[i]->pn = i; in generate_sched_domains()
832 struct cpuset *a = csa[i]; in generate_sched_domains()
836 struct cpuset *b = csa[j]; in generate_sched_domains()
841 struct cpuset *c = csa[k]; in generate_sched_domains()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
Dcommon.c4104 struct il_csa_notification *csa = &(pkt->u.csa_notif); in il_hdl_csa() local
4110 if (!le32_to_cpu(csa->status) && csa->channel == il->switch_channel) { in il_hdl_csa()
4111 rxon->channel = csa->channel; in il_hdl_csa()
4112 il->staging.channel = csa->channel; in il_hdl_csa()
4113 D_11H("CSA notif: channel %d\n", le16_to_cpu(csa->channel)); in il_hdl_csa()
4117 le16_to_cpu(csa->channel)); in il_hdl_csa()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw.h653 struct libipw_csa csa; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c2380 struct bss_info_bcn_csa *csa; in mt7915_mcu_beacon_csa() local
2383 sizeof(*csa), &bcn->sub_ntlv, in mt7915_mcu_beacon_csa()
2385 csa = (struct bss_info_bcn_csa *)tlv; in mt7915_mcu_beacon_csa()
2386 csa->cnt = skb->data[offs->cntdwn_counter_offs[0]]; in mt7915_mcu_beacon_csa()