Home
last modified time | relevance | path

Searched refs:ftm (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/counter/
Dftm-quaddec.c18 #define FTM_FIELD_UPDATE(ftm, offset, mask, val) \ argument
21 ftm_read(ftm, offset, &flags); \
24 ftm_write(ftm, offset, flags); \
35 static void ftm_read(struct ftm_quaddec *ftm, uint32_t offset, uint32_t *data) in ftm_read() argument
37 if (ftm->big_endian) in ftm_read()
38 *data = ioread32be(ftm->ftm_base + offset); in ftm_read()
40 *data = ioread32(ftm->ftm_base + offset); in ftm_read()
43 static void ftm_write(struct ftm_quaddec *ftm, uint32_t offset, uint32_t data) in ftm_write() argument
45 if (ftm->big_endian) in ftm_write()
46 iowrite32be(data, ftm->ftm_base + offset); in ftm_write()
[all …]
DMakefile11 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
DKconfig60 module will be called ftm-quaddec.
/Linux-v5.4/net/wireless/
Dpmsr.c22 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { in pmsr_parse_ftm()
35 out->ftm.requested = true; in pmsr_parse_ftm()
49 if (!(capa->ftm.preambles & BIT(preamble))) { in pmsr_parse_ftm()
56 out->ftm.preamble = preamble; in pmsr_parse_ftm()
58 out->ftm.burst_period = 0; in pmsr_parse_ftm()
60 out->ftm.burst_period = in pmsr_parse_ftm()
63 out->ftm.asap = !!tb[NL80211_PMSR_FTM_REQ_ATTR_ASAP]; in pmsr_parse_ftm()
64 if (out->ftm.asap && !capa->ftm.asap) { in pmsr_parse_ftm()
71 if (!out->ftm.asap && !capa->ftm.non_asap) { in pmsr_parse_ftm()
77 out->ftm.num_bursts_exp = 0; in pmsr_parse_ftm()
[all …]
Dcore.c682 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
685 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
686 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
687 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
689 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
690 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
692 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
698 if (WARN_ON(wiphy->pmsr_capa->ftm.bandwidths & in wiphy_register()
Dnl80211.c1806 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
1808 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
1811 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
1812 if (!ftm) in nl80211_send_pmsr_ftm_capa()
1815 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
1817 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
1820 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
1823 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
1827 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
1830 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/timer/
Dfsl,ftm-timer.txt5 - compatible : should be "fsl,ftm-timer"
12 o "ftm-evt"
13 o "ftm-src"
14 o "ftm-evt-counter-en"
15 o "ftm-src-counter-en"
20 ftm: ftm@400b8000 {
21 compatible = "fsl,ftm-timer";
24 clock-names = "ftm-evt", "ftm-src",
25 "ftm-evt-counter-en", "ftm-src-counter-en";
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c109 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
260 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2()
261 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2()
262 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2()
264 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2()
265 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2()
268 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2()
270 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2()
295 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target()
296 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target()
[all …]
DMakefile8 iwlmvm-y += ftm-responder.o ftm-initiator.o
Dmac80211.c192 .ftm = {
/Linux-v5.4/Documentation/devicetree/bindings/rtc/
Drtc-fsl-ftm-alarm.txt4 - compatible : Should be "fsl,<chip>-ftm-alarm", the
6 "fsl,ls1012a-ftm-alarm"
7 "fsl,ls1021a-ftm-alarm"
8 "fsl,ls1028a-ftm-alarm"
9 "fsl,ls1043a-ftm-alarm"
10 "fsl,ls1046a-ftm-alarm"
11 "fsl,ls1088a-ftm-alarm"
12 "fsl,ls208xa-ftm-alarm"
13 "fsl,lx2160a-ftm-alarm"
32 compatible = "fsl,ls1088a-ftm-alarm";
/Linux-v5.4/Documentation/devicetree/bindings/pwm/
Dpwm-fsl-ftm.txt19 - compatible : should be "fsl,<soc>-ftm-pwm" and one of the following
21 - "fsl,vf610-ftm-pwm" for PWM compatible with the one integrated on VF610
22 - "fsl,imx8qm-ftm-pwm" for PWM compatible with the one integrated on i.MX8QM
43 compatible = "fsl,vf610-ftm-pwm";
/Linux-v5.4/Documentation/devicetree/bindings/counter/
Dftm-quaddec.txt6 - compatible: Must be "fsl,ftm-quaddec".
14 compatible = "fsl,ftm-quaddec";
/Linux-v5.4/arch/arm/boot/dts/
Dvfxxx.dtsi251 compatible = "fsl,vf610-ftm-pwm";
264 compatible = "fsl,vf610-ftm-pwm";
618 ftm: ftm@400b8000 { label
619 compatible = "fsl,ftm-timer";
622 clock-names = "ftm-evt", "ftm-src",
623 "ftm-evt-counter-en", "ftm-src-counter-en";
Dls1021a.dtsi449 compatible = "fsl,ftm-quaddec";
456 compatible = "fsl,ftm-quaddec";
463 compatible = "fsl,ftm-quaddec";
470 compatible = "fsl,ftm-quaddec";
571 compatible = "fsl,vf610-ftm-pwm";
583 compatible = "fsl,vf610-ftm-pwm";
595 compatible = "fsl,vf610-ftm-pwm";
607 compatible = "fsl,vf610-ftm-pwm";
619 compatible = "fsl,vf610-ftm-pwm";
631 compatible = "fsl,vf610-ftm-pwm";
[all …]
/Linux-v5.4/drivers/pwm/
DMakefile17 obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o
DKconfig172 will be called pwm-fsl-ftm.
/Linux-v5.4/drivers/clocksource/
DMakefile51 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/Linux-v5.4/drivers/rtc/
DMakefile76 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
DKconfig1350 will be called "rtc-fsl-ftm-alarm".
/Linux-v5.4/include/net/
Dcfg80211.h3180 struct cfg80211_pmsr_ftm_result ftm; member
3223 struct cfg80211_pmsr_ftm_request_peer ftm; member
4359 } ftm; member
/Linux-v5.4/include/linux/
Dieee80211.h1050 } __packed ftm; member
/Linux-v5.4/
DMAINTAINERS6406 F: Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec
6407 F: Documentation/devicetree/bindings/counter/ftm-quaddec.txt
6408 F: drivers/counter/ftm-quaddec.c