Home
last modified time | relevance | path

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

12

/Linux-v6.6/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 …]
DMakefile16 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
DKconfig58 module will be called ftm-quaddec.
/Linux-v6.6/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.c725 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
728 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
729 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
730 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
732 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
733 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
735 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
742 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
743 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
744 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
Dnl80211.c2137 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
2139 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
2142 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
2143 if (!ftm) in nl80211_send_pmsr_ftm_capa()
2146 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
2148 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
2151 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
2154 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
2158 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
2161 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c175 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
390 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2()
414 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2()
415 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2()
416 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2()
418 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2()
419 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2()
422 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2()
424 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2()
442 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_common()
[all …]
DMakefile8 iwlmvm-y += ftm-responder.o ftm-initiator.o
Dtime-sync.c23 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mvm_is_skb_match()
/Linux-v6.6/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-v6.6/Documentation/devicetree/bindings/counter/
Dftm-quaddec.txt6 - compatible: Must be "fsl,ftm-quaddec".
14 compatible = "fsl,ftm-quaddec";
/Linux-v6.6/arch/arm/boot/dts/nxp/ls/
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 …]
/Linux-v6.6/arch/arm/boot/dts/nxp/vf/
Dvfxxx.dtsi247 compatible = "fsl,vf610-ftm-pwm";
260 compatible = "fsl,vf610-ftm-pwm";
613 ftm: ftm@400b8000 { label
614 compatible = "fsl,ftm-timer";
617 clock-names = "ftm-evt", "ftm-src",
618 "ftm-evt-counter-en", "ftm-src-counter-en";
/Linux-v6.6/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a.dtsi1229 compatible = "fsl,vf610-ftm-pwm";
1240 compatible = "fsl,vf610-ftm-pwm";
1251 compatible = "fsl,vf610-ftm-pwm";
1262 compatible = "fsl,vf610-ftm-pwm";
1273 compatible = "fsl,vf610-ftm-pwm";
1284 compatible = "fsl,vf610-ftm-pwm";
1295 compatible = "fsl,vf610-ftm-pwm";
1306 compatible = "fsl,vf610-ftm-pwm";
1324 compatible = "fsl,ls1028a-ftm-alarm";
1332 compatible = "fsl,ls1028a-ftm-alarm";
Dfsl-ls1012a.dtsi563 compatible = "fsl,ls1012a-ftm-alarm";
/Linux-v6.6/drivers/net/wireless/virtual/
Dmac80211_hwsim.c3262 struct nlattr *ftm; in mac80211_hwsim_send_pmsr_ftm_request_peer() local
3267 ftm = nla_nest_start(msg, NL80211_PMSR_TYPE_FTM); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3268 if (!ftm) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3315 nla_nest_end(msg, ftm); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3355 err = mac80211_hwsim_send_pmsr_ftm_request_peer(msg, &request->ftm); in mac80211_hwsim_send_pmsr_request_peer()
3574 static int mac80211_hwsim_parse_ftm_result(struct nlattr *ftm, in mac80211_hwsim_parse_ftm_result() argument
3582 ftm, hwsim_ftm_result_policy, info->extack); in mac80211_hwsim_parse_ftm_result()
3721 ret = mac80211_hwsim_parse_ftm_result(pmsr, &result->ftm, info); in mac80211_hwsim_parse_pmsr_resp()
5788 out->ftm.supported = 1; in parse_ftm_capa()
5790 out->ftm.preambles = nla_get_u32(tb[NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES]); in parse_ftm_capa()
[all …]
/Linux-v6.6/drivers/pwm/
DMakefile20 obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddatapath.h243 } ftm; /* FTM specific vendor IE */ member
/Linux-v6.6/drivers/clocksource/
DMakefile50 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/Linux-v6.6/include/linux/
Dieee80211.h1405 } __packed ftm; member
4278 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.action_code)) in ieee80211_is_bufferable_mmpdu()
4287 if (mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_REQUEST || in ieee80211_is_bufferable_mmpdu()
4288 mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_RESPONSE) in ieee80211_is_bufferable_mmpdu()
4568 if (mgmt->u.action.u.ftm.action_code == in ieee80211_is_ftm()
4570 skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm)) in ieee80211_is_ftm()
/Linux-v6.6/drivers/rtc/
DMakefile69 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/
Dimx7s.dtsi728 compatible = "fsl,vf610-ftm-pwm";
742 compatible = "fsl,vf610-ftm-pwm";
/Linux-v6.6/include/net/
Dcfg80211.h3860 struct cfg80211_pmsr_ftm_result ftm; member
3918 struct cfg80211_pmsr_ftm_request_peer ftm; member
5201 } ftm; member

12