Home
last modified time | relevance | path

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

/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c70 struct csdev_access *csa; member
154 struct csdev_access *csa) in etm_detect_os_lock() argument
156 u32 oslsr = etm4x_relaxed_read32(csa, TRCOSLSR); in etm_detect_os_lock()
162 struct csdev_access *csa, u32 val) in etm_write_os_lock() argument
168 etm4x_relaxed_write32(csa, val, TRCOSLAR); in etm_write_os_lock()
184 struct csdev_access *csa) in etm4_os_unlock_csa() argument
189 etm_write_os_lock(drvdata, csa, 0x0); in etm4_os_unlock_csa()
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()
[all …]
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()
Dcoresight-etm4x.h416 #define etm4x_relaxed_read32(csa, offset) \ argument
417 ((u32)((csa)->io_mem ? \
418 readl_relaxed((csa)->base + (offset)) : \
421 #define etm4x_relaxed_read64(csa, offset) \ argument
422 ((u64)((csa)->io_mem ? \
423 readq_relaxed((csa)->base + (offset)) : \
426 #define etm4x_read32(csa, offset) \ argument
428 u32 __val = etm4x_relaxed_read32((csa), (offset)); \
433 #define etm4x_read64(csa, offset) \ argument
435 u64 __val = etm4x_relaxed_read64((csa), (offset)); \
[all …]
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()
51 struct csdev_access *csa = &csdev->access; in tmc_flush_and_stop() local
60 if (coresight_timeout(csa, TMC_FFCR, TMC_FFCR_FLUSHMAN_BIT, 0)) { in tmc_flush_and_stop()
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()
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()
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()
Dcoresight-core.c1466 int coresight_timeout(struct csdev_access *csa, u32 offset, in coresight_timeout() argument
1473 val = csdev_access_read32(csa, offset); in coresight_timeout()
/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()
/drivers/net/wireless/intel/iwlegacy/
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()
/drivers/net/wireless/intel/ipw2x00/
Dlibipw.h653 struct libipw_csa csa; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c2548 struct bss_info_bcn_csa *csa; in mt7915_mcu_beacon_csa() local
2551 sizeof(*csa), &bcn->sub_ntlv, in mt7915_mcu_beacon_csa()
2553 csa = (struct bss_info_bcn_csa *)tlv; in mt7915_mcu_beacon_csa()
2554 csa->cnt = skb->data[offs->cntdwn_counter_offs[0]]; in mt7915_mcu_beacon_csa()