Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/counter/
Dftm-quaddec.c19 #define FTM_FIELD_UPDATE(ftm, offset, mask, val) \ argument
22 ftm_read(ftm, offset, &flags); \
25 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 …]
DMakefile14 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
DKconfig81 module will be called ftm-quaddec.
/linux-6.1.9/net/wireless/
Dpmsr.c20 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { in pmsr_parse_ftm()
33 out->ftm.requested = true; in pmsr_parse_ftm()
47 if (!(capa->ftm.preambles & BIT(preamble))) { in pmsr_parse_ftm()
54 out->ftm.preamble = preamble; in pmsr_parse_ftm()
56 out->ftm.burst_period = 0; in pmsr_parse_ftm()
58 out->ftm.burst_period = in pmsr_parse_ftm()
61 out->ftm.asap = !!tb[NL80211_PMSR_FTM_REQ_ATTR_ASAP]; in pmsr_parse_ftm()
62 if (out->ftm.asap && !capa->ftm.asap) { in pmsr_parse_ftm()
69 if (!out->ftm.asap && !capa->ftm.non_asap) { in pmsr_parse_ftm()
75 out->ftm.num_bursts_exp = 0; in pmsr_parse_ftm()
[all …]
Dcore.c690 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
693 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
694 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
695 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
697 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
698 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
700 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
707 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
708 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
709 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
Dnl80211.c2110 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
2112 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
2115 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
2116 if (!ftm) in nl80211_send_pmsr_ftm_capa()
2119 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
2121 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
2124 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
2127 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
2131 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
2134 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c151 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
366 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2()
390 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2()
391 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2()
392 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2()
394 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2()
395 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2()
398 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2()
400 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2()
418 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_common()
[all …]
DMakefile8 iwlmvm-y += ftm-responder.o ftm-initiator.o
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/counter/
Dftm-quaddec.txt6 - compatible: Must be "fsl,ftm-quaddec".
14 compatible = "fsl,ftm-quaddec";
/linux-6.1.9/arch/arm/boot/dts/
Dls1021a.dtsi396 compatible = "fsl,ftm-quaddec";
403 compatible = "fsl,ftm-quaddec";
410 compatible = "fsl,ftm-quaddec";
417 compatible = "fsl,ftm-quaddec";
518 compatible = "fsl,vf610-ftm-pwm";
530 compatible = "fsl,vf610-ftm-pwm";
542 compatible = "fsl,vf610-ftm-pwm";
554 compatible = "fsl,vf610-ftm-pwm";
566 compatible = "fsl,vf610-ftm-pwm";
578 compatible = "fsl,vf610-ftm-pwm";
[all …]
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";
Dimx7s.dtsi728 compatible = "fsl,vf610-ftm-pwm";
742 compatible = "fsl,vf610-ftm-pwm";
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a.dtsi1211 compatible = "fsl,vf610-ftm-pwm";
1222 compatible = "fsl,vf610-ftm-pwm";
1233 compatible = "fsl,vf610-ftm-pwm";
1244 compatible = "fsl,vf610-ftm-pwm";
1255 compatible = "fsl,vf610-ftm-pwm";
1266 compatible = "fsl,vf610-ftm-pwm";
1277 compatible = "fsl,vf610-ftm-pwm";
1288 compatible = "fsl,vf610-ftm-pwm";
1306 compatible = "fsl,ls1028a-ftm-alarm";
1314 compatible = "fsl,ls1028a-ftm-alarm";
Dfsl-ls1012a.dtsi563 compatible = "fsl,ls1012a-ftm-alarm";
Dfsl-ls1043a.dtsi1004 compatible = "fsl,ls1043a-ftm-alarm";
Dfsl-ls1046a.dtsi943 compatible = "fsl,ls1046a-ftm-alarm";
Dfsl-ls1088a.dtsi1037 compatible = "fsl,ls1088a-ftm-alarm";
/linux-6.1.9/drivers/pwm/
DMakefile19 obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o
/linux-6.1.9/drivers/clocksource/
DMakefile50 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/linux-6.1.9/drivers/rtc/
DMakefile70 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
/linux-6.1.9/include/linux/
Dieee80211.h1332 } __packed ftm; member
4368 if (mgmt->u.action.u.ftm.action_code == in ieee80211_is_ftm()
4370 skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm)) in ieee80211_is_ftm()
/linux-6.1.9/include/net/
Dcfg80211.h3758 struct cfg80211_pmsr_ftm_result ftm; member
3816 struct cfg80211_pmsr_ftm_request_peer ftm; member
5073 } ftm; member

12