/openbmc/linux/drivers/counter/ |
H A D | ftm-quaddec.c | 19 #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 D | Makefile | 16 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
|
H A D | Kconfig | 58 module will be called ftm-quaddec.
|
/openbmc/linux/net/wireless/ |
H A D | pmsr.c | 20 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 D | core.c | 727 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register() 730 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register() 731 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register() 732 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register() 734 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register() 735 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register() 737 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register() 744 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register() 745 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register() 746 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register() [all …]
|
H A D | nl80211.c | 2141 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local 2143 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa() 2146 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa() 2147 if (!ftm) in nl80211_send_pmsr_ftm_capa() 2150 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa() 2152 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa() 2155 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa() 2158 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa() 2162 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa() 2165 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | fsl,ftm-timer.txt | 5 - 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";
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | rtc-fsl-ftm-alarm.txt | 4 - 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";
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 177 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart() 392 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2() 416 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2() 417 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2() 418 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2() 420 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2() 421 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2() 424 if (peer->ftm.request_lci) in iwl_mvm_ftm_put_target_v2() 426 if (peer->ftm.request_civicloc) in iwl_mvm_ftm_put_target_v2() 444 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_common() [all …]
|
H A D | Makefile | 8 iwlmvm-y += ftm-responder.o ftm-initiator.o
|
H A D | time-sync.c | 23 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mvm_is_skb_match()
|
/openbmc/linux/Documentation/devicetree/bindings/pwm/ |
H A D | pwm-fsl-ftm.txt | 19 - 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";
|
/openbmc/linux/Documentation/devicetree/bindings/counter/ |
H A D | ftm-quaddec.txt | 6 - compatible: Must be "fsl,ftm-quaddec". 14 compatible = "fsl,ftm-quaddec";
|
/openbmc/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a.dtsi | 396 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 …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vfxxx.dtsi | 247 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";
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a.dtsi | 1229 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";
|
H A D | fsl-ls1012a.dtsi | 563 compatible = "fsl,ls1012a-ftm-alarm";
|
/openbmc/linux/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 3262 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 …]
|
/openbmc/linux/drivers/pwm/ |
H A D | Makefile | 20 obj-$(CONFIG_PWM_FSL_FTM) += pwm-fsl-ftm.o
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | datapath.h | 243 } ftm; /* FTM specific vendor IE */ member
|
/openbmc/linux/drivers/clocksource/ |
H A D | Makefile | 50 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
|
/openbmc/linux/include/linux/ |
H A D | ieee80211.h | 1412 } __packed ftm; member 4287 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.action_code)) in ieee80211_is_bufferable_mmpdu() 4296 if (mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_REQUEST || in ieee80211_is_bufferable_mmpdu() 4297 mgmt->u.action.u.ftm.action_code == WLAN_PUB_ACTION_FTM_RESPONSE) in ieee80211_is_bufferable_mmpdu() 4578 if (mgmt->u.action.u.ftm.action_code == in ieee80211_is_ftm() 4580 skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm)) in ieee80211_is_ftm()
|
/openbmc/linux/drivers/rtc/ |
H A D | Makefile | 69 obj-$(CONFIG_RTC_DRV_FSL_FTM_ALARM) += rtc-fsl-ftm-alarm.o
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7s.dtsi | 732 compatible = "fsl,vf610-ftm-pwm"; 746 compatible = "fsl,vf610-ftm-pwm";
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 3860 struct cfg80211_pmsr_ftm_result ftm; member 3918 struct cfg80211_pmsr_ftm_request_peer ftm; member 5203 } ftm; member
|