Home
last modified time | relevance | path

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

/linux/drivers/counter/
H A 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 …]
H A DMakefile16 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
H A DKconfig58 module will be called ftm-quaddec.
/linux/net/wireless/
H A 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 …]
H A Dcore.c730 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
733 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
734 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
735 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
737 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
738 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
740 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
747 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
748 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
749 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
H A Dnl80211.c2172 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
2174 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
2177 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
2178 if (!ftm) in nl80211_send_pmsr_ftm_capa()
2181 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
2183 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
2186 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
2189 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
2193 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
2196 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c183 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
398 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2()
422 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2()
423 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2()
424 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2()
426 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2()
427 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2()
430 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2()
432 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2()
450 if (peer->ftm.asap) in iwl_mvm_ftm_set_target_flags()
[all …]
H A DMakefile9 iwlmvm-y += ftm-responder.o ftm-initiator.o
H A Dtime-sync.c23 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mvm_is_skb_match()
H A Dmac80211.c77 .ftm = {
/linux/Documentation/devicetree/bindings/counter/
H A Dftm-quaddec.txt6 - compatible: Must be "fsl,ftm-quaddec".
14 compatible = "fsl,ftm-quaddec";
/linux/arch/arm/boot/dts/nxp/ls/
H A 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/arch/arm/boot/dts/nxp/vf/
H A Dvfxxx.dtsi241 compatible = "fsl,vf610-ftm-pwm";
254 compatible = "fsl,vf610-ftm-pwm";
605 ftm: ftm@400b8000 { label
606 compatible = "fsl,ftm-timer";
609 clock-names = "ftm-evt", "ftm-src",
610 "ftm-evt-counter-en", "ftm-src-counter-en";
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c3386 struct nlattr *ftm; in mac80211_hwsim_send_pmsr_ftm_request_peer() local
3391 ftm = nla_nest_start(msg, NL80211_PMSR_TYPE_FTM); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3392 if (!ftm) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3439 nla_nest_end(msg, ftm); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3479 err = mac80211_hwsim_send_pmsr_ftm_request_peer(msg, &request->ftm); in mac80211_hwsim_send_pmsr_request_peer()
3698 static int mac80211_hwsim_parse_ftm_result(struct nlattr *ftm, in mac80211_hwsim_parse_ftm_result() argument
3706 ftm, hwsim_ftm_result_policy, info->extack); in mac80211_hwsim_parse_ftm_result()
3845 ret = mac80211_hwsim_parse_ftm_result(pmsr, &result->ftm, info); in mac80211_hwsim_parse_pmsr_resp()
6005 out->ftm.supported = 1; in parse_ftm_capa()
6007 out->ftm.preambles = nla_get_u32(tb[NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES]); in parse_ftm_capa()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddatapath.h255 } ftm; member
/linux/drivers/clocksource/
H A DMakefile50 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/linux/include/linux/
H A Dieee80211.h1505 } __packed ftm; member
4489 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.action_code)) in ieee80211_is_bufferable_mmpdu()
4498 if (mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_REQUEST || in ieee80211_is_bufferable_mmpdu()
4499 mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_RESPONSE) in ieee80211_is_bufferable_mmpdu()
4799 if (mgmt->u.action.u.ftm.action_code == in ieee80211_is_ftm()
4801 skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm)) in ieee80211_is_ftm()
/linux/drivers/rtc/
H A DMakefile69 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
H A DKconfig1408 will be called "rtc-fsl-ftm-alarm".
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx7s.dtsi752 compatible = "fsl,vf610-ftm-pwm";
766 compatible = "fsl,vf610-ftm-pwm";
/linux/include/net/
H A Dcfg80211.h4040 struct cfg80211_pmsr_ftm_result ftm; member
4098 struct cfg80211_pmsr_ftm_request_peer ftm; member
5398 } ftm; member