Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
DMakefile12 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
DKconfig71 module will be called ftm-quaddec.
/kernel/linux/linux-5.10/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.c684 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
687 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
688 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
689 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
691 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
692 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
694 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
701 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
702 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
703 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
Dnl80211.c1931 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
1933 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
1936 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
1937 if (!ftm) in nl80211_send_pmsr_ftm_capa()
1940 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
1942 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
1945 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
1948 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
1952 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
1955 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
[all …]
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c209 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
412 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2()
436 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2()
437 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2()
438 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2()
440 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2()
441 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2()
444 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2()
446 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2()
464 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_common()
[all …]
DMakefile8 iwlmvm-y += ftm-responder.o ftm-initiator.o
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/counter/
Dftm-quaddec.txt6 - compatible: Must be "fsl,ftm-quaddec".
14 compatible = "fsl,ftm-quaddec";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dls1021a.dtsi436 compatible = "fsl,ftm-quaddec";
443 compatible = "fsl,ftm-quaddec";
450 compatible = "fsl,ftm-quaddec";
457 compatible = "fsl,ftm-quaddec";
558 compatible = "fsl,vf610-ftm-pwm";
570 compatible = "fsl,vf610-ftm-pwm";
582 compatible = "fsl,vf610-ftm-pwm";
594 compatible = "fsl,vf610-ftm-pwm";
606 compatible = "fsl,vf610-ftm-pwm";
618 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";
/kernel/linux/linux-5.10/drivers/pwm/
DMakefile17 obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o
DKconfig182 will be called pwm-fsl-ftm.
/kernel/linux/linux-5.10/drivers/clocksource/
DMakefile53 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/kernel/linux/linux-5.10/drivers/rtc/
DMakefile71 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a.dtsi526 compatible = "fsl,ls1012a-ftm-alarm";
Dfsl-ls1088a.dtsi812 compatible = "fsl,ls1088a-ftm-alarm";
Dfsl-ls208xa.dtsi898 compatible = "fsl,ls208xa-ftm-alarm";
Dfsl-ls1046a.dtsi858 compatible = "fsl,ls1046a-ftm-alarm";
Dfsl-ls1043a.dtsi924 compatible = "fsl,ls1043a-ftm-alarm";
Dfsl-ls1028a.dtsi1037 compatible = "fsl,ls1028a-ftm-alarm";
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h3444 struct cfg80211_pmsr_ftm_result ftm; member
3495 struct cfg80211_pmsr_ftm_request_peer ftm; member
4672 } ftm; member

12