| /linux/drivers/counter/ |
| H A D | ftm-quaddec.c | 5 * This module implements a driver for decoding the FTM quadrature 9 #include <linux/fsl/ftm.h> 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 [all …]
|
| H A D | Makefile | 16 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
|
| H A D | Kconfig | 58 module will be called ftm-quaddec.
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ftm-initiator.c | 15 #include "ftm-initiator.h" 94 IWL_ERR(mld, "Unsupported BW in FTM request (%d)\n", in iwl_mld_ftm_set_target_chandef() 100 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mld_ftm_set_target_chandef() 121 if (peer->ftm.asap) in iwl_mld_ftm_set_target_flags() 124 if (peer->ftm.request_lci) in iwl_mld_ftm_set_target_flags() 127 if (peer->ftm.request_civicloc) in iwl_mld_ftm_set_target_flags() 138 if (peer->ftm.trigger_based) in iwl_mld_ftm_set_target_flags() 140 else if (peer->ftm.non_trigger_based) in iwl_mld_ftm_set_target_flags() 143 if ((peer->ftm.trigger_based || peer->ftm.non_trigger_based) && in iwl_mld_ftm_set_target_flags() 144 peer->ftm.lmr_feedback) in iwl_mld_ftm_set_target_flags() [all …]
|
| H A D | ftm-initiator.h | 9 * struct ftm_initiator_data - FTM initiator data 11 * @req: a pointer to cfg80211 FTM request 12 * @req_wdev: a pointer to the wdev that requested the current FTM request 13 * @responses: the number of responses received for the current FTM session.
|
| H A D | Makefile | 7 iwlmld-y += low_latency.o mlo.o ptp.o time_sync.o ftm-initiator.o
|
| H A D | time_sync.c | 122 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mld_is_skb_match()
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | fsl,ftm-timer.yaml | 4 $id: http://devicetree.org/schemas/timer/fsl,ftm-timer.yaml# 7 title: Freescale FlexTimer Module (FTM) Timer 14 const: fsl,ftm-timer 32 - const: ftm-evt 33 - const: ftm-src 34 - const: ftm-evt-counter-en 35 - const: ftm-src-counter-en 53 ftm@400b8000 { 54 compatible = "fsl,ftm-timer"; 58 clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
|
| /linux/drivers/clocksource/ |
| H A D | timer-fsl-ftm.c | 3 * Freescale FlexTimer Module (FTM) timer driver. 18 #include <linux/fsl/ftm.h> 99 * The CNT register contains the FTM counter value. in ftm_reset_counter() 123 /* Force the value of CNTIN to be loaded into the FTM counter */ in ftm_set_next_event() 129 * The TOF (the overflow flag) bit is set when the FTM counter in ftm_set_next_event() 170 .name = "Freescale ftm timer", 189 "Freescale ftm timer", &ftm_clockevent); in ftm_clockevent_init() 191 pr_err("ftm: setup irq failed: %d\n", err); in ftm_clockevent_init() 217 err = clocksource_mmio_init(priv->clksrc_base + FTM_CNT, "fsl-ftm", in ftm_clocksource_init() 221 pr_err("ftm: init clock source mmio failed: %d\n", err); in ftm_clocksource_init() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 82 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart() 240 IWL_ERR(mvm, "Unsupported BW in FTM request (%d)\n", in iwl_mvm_ftm_target_chandef_v1() 291 IWL_ERR(mvm, "Unsupported BW in FTM request (%d)\n", in iwl_mvm_ftm_target_chandef_v2() 297 if (peer->ftm.trigger_based || peer->ftm.non_trigger_based) in iwl_mvm_ftm_target_chandef_v2() 321 cpu_to_le16(peer->ftm.burst_period); in iwl_mvm_ftm_put_target_v2() 322 target->samples_per_burst = peer->ftm.ftms_per_burst; in iwl_mvm_ftm_put_target_v2() 323 target->num_of_bursts = peer->ftm.num_bursts_exp; in iwl_mvm_ftm_put_target_v2() 324 target->measure_type = 0; /* regular two-sided FTM */ in iwl_mvm_ftm_put_target_v2() 325 target->retries_per_sample = peer->ftm.ftmr_retries; in iwl_mvm_ftm_put_target_v2() 326 target->asap_mode = peer->ftm.asap; in iwl_mvm_ftm_put_target_v2() [all …]
|
| H A D | Makefile | 9 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()
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| H A D | fsl,ls-ftm-alarm.yaml | 4 $id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml# 7 title: Freescale FlexTimer Module (FTM) Alarm 15 - fsl,ls1012a-ftm-alarm 16 - fsl,ls1021a-ftm-alarm 17 - fsl,ls1028a-ftm-alarm 18 - fsl,ls1043a-ftm-alarm 19 - fsl,ls1046a-ftm-alarm 20 - fsl,ls1088a-ftm-alarm 21 - fsl,ls208xa-ftm-alarm 22 - fsl,lx2160a-ftm-alarm [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-fsl-ftm-alarm.c | 3 * Freescale FlexTimer Module (FTM) alarm device driver. 17 #include <linux/fsl/ftm.h> 88 * If the FTM counter reaches the FTM_MOD value between in ftm_irq_acknowledge() 100 * FTMx_CONF[NUMTOF] was seted as nonzero and FTM counter in ftm_irq_acknowledge() 104 * (FTM counter doesn't always reache the FTM_MOD anyway), in ftm_irq_acknowledge() 132 * The CNT register contains the FTM counter value. in ftm_reset_counter() 225 * The TOF (the overflow flag) bit is set when the FTM counter in ftm_rtc_set_alarm() 300 { .compatible = "fsl,ls1012a-ftm-alarm", }, 301 { .compatible = "fsl,ls1021a-ftm-alarm", }, 302 { .compatible = "fsl,ls1028a-ftm-alarm", }, [all …]
|
| /linux/include/linux/fsl/ |
| H A D | ftm.h | 17 #define FTM_EXTTRIG 0x6C /* FTM External Trigger */ 24 #define FTM_FLTPOL 0x88 /* FTM Fault Input Polarity */ 26 #define FTM_INVCTRL 0x90 /* FTM Inverting Control */ 27 #define FTM_SWOCTRL 0x94 /* FTM Software Output Control */ 28 #define FTM_PWMLOAD 0x98 /* FTM PWM Load */
|
| /linux/Documentation/devicetree/bindings/counter/ |
| H A D | fsl,ftm-quaddec.yaml | 4 $id: http://devicetree.org/schemas/counter/fsl,ftm-quaddec.yaml# 17 const: fsl,ftm-quaddec 33 compatible = "fsl,ftm-quaddec";
|
| /linux/net/wireless/ |
| H A D | core.c | 770 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register() 773 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register() 774 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register() 775 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register() 777 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register() 778 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register() 780 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register() 787 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register() 788 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register() 789 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1028a.dtsi | 1236 compatible = "fsl,vf610-ftm-pwm"; 1247 compatible = "fsl,vf610-ftm-pwm"; 1258 compatible = "fsl,vf610-ftm-pwm"; 1269 compatible = "fsl,vf610-ftm-pwm"; 1280 compatible = "fsl,vf610-ftm-pwm"; 1291 compatible = "fsl,vf610-ftm-pwm"; 1302 compatible = "fsl,vf610-ftm-pwm"; 1313 compatible = "fsl,vf610-ftm-pwm"; 1331 compatible = "fsl,ls1028a-ftm-alarm"; 1339 compatible = "fsl,ls1028a-ftm-alarm";
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | testmode.h | 26 /* The request buffer of FTM which contains a byte of command and the request */
|
| /linux/drivers/net/wireless/ath/ |
| H A D | testmode_i.h | 58 /* The command used to transmit a FTM WMI command to the firmware
|
| /linux/include/net/ |
| H A D | cfg80211.h | 1349 * @ftm_responder: enable FTM responder functionality; -1 for no change 4145 * struct cfg80211_ftm_responder_stats - FTM responder statistics 4149 * @success_num: number of FTM sessions in which all frames were successfully 4151 * @partial_num: number of FTM sessions in which part of frames were 4153 * @failed_num: number of failed FTM sessions 4154 * @asap_num: number of ASAP FTM sessions 4155 * @non_asap_num: number of non-ASAP FTM sessions 4158 * @unknown_triggers_num: number of unknown FTM triggers - triggers from 4161 * @reschedule_requests_num: number of FTM reschedule requests - initiator asks 4162 * for a new scheduling although it already has scheduled FTM slot [all …]
|
| /linux/drivers/clk/imx/ |
| H A D | clk-vf610.c | 96 /* FTM counter clock source, not module clock */ 350 * ftm_ext_clk and ftm_fix_clk are FTM timer counter's in vf610_clocks_init() 368 /* ftm(n)_clk are FTM module operation clock */ in vf610_clocks_init()
|
| /linux/drivers/pwm/ |
| H A D | Kconfig | 263 tristate "Freescale FlexTimer Module (FTM) PWM support" 268 Generic FTM PWM framework driver for Freescale VF610 and 272 will be called pwm-fsl-ftm.
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 3438 struct nlattr *ftm; in mac80211_hwsim_send_pmsr_ftm_request_peer() local 3443 ftm = nla_nest_start(msg, NL80211_PMSR_TYPE_FTM); in mac80211_hwsim_send_pmsr_ftm_request_peer() 3444 if (!ftm) in mac80211_hwsim_send_pmsr_ftm_request_peer() 3491 nla_nest_end(msg, ftm); in mac80211_hwsim_send_pmsr_ftm_request_peer() 3531 err = mac80211_hwsim_send_pmsr_ftm_request_peer(msg, &request->ftm); in mac80211_hwsim_send_pmsr_request_peer() 3750 static int mac80211_hwsim_parse_ftm_result(struct nlattr *ftm, in mac80211_hwsim_parse_ftm_result() argument 3758 ftm, hwsim_ftm_result_policy, info->extack); in mac80211_hwsim_parse_ftm_result() 3897 ret = mac80211_hwsim_parse_ftm_result(pmsr, &result->ftm, info); in mac80211_hwsim_parse_pmsr_resp() 6294 NL_SET_ERR_MSG_ATTR(info->extack, ftm_capa, "malformed FTM capability"); in parse_ftm_capa() 6298 out->ftm.supported = 1; in parse_ftm_capa() [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | wmi.h | 3534 /* maximum supported FTM burst duration , wmi_tof_burst_duration_e */ 3563 /* FTM session ID */ 3584 /* Responder FTM Results */ 3611 /* FTM session ID */ 3621 /* responder number of FTM per burst */ 3623 /* responder number of FTM burst exponent */ 3635 /* actual received ftm per burst */ 3663 /* FTM session ID */
|