Home
last modified time | relevance | path

Searched full:ftm (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/counter/
H A Dftm-quaddec.c5 * 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 DMakefile16 obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
H A DKconfig58 module will be called ftm-quaddec.
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dftm-initiator.c15 #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 Dftm-initiator.h9 * 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 DMakefile7 iwlmld-y += low_latency.o mlo.o ptp.o time_sync.o ftm-initiator.o
/linux/Documentation/devicetree/bindings/timer/
H A Dfsl,ftm-timer.yaml4 $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 Dtimer-fsl-ftm.c3 * 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 …]
H A DMakefile51 obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c82 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 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()
/linux/Documentation/devicetree/bindings/rtc/
H A Dfsl,ls-ftm-alarm.yaml4 $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 Drtc-fsl-ftm-alarm.c3 * 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 Dftm.h17 #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/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddatapath.h180 * struct iwl_time_sync_cfg_cmd - TM/FTM time sync measurement configuration
184 * @peer_addr: peer address with which TM/FTM measurements are required
242 * @ftm: FTM specific vendor element
243 * @ftm.element_id: element id of vendor specific ie
244 * @ftm.length: length of vendor specific ie
245 * @ftm.reserved: for alignment
246 * @ftm.data: vendor specific data blob
253 /* Differentiate between FTM and TM specific Vendor elements */
260 } ftm; member
271 * for TM/FTM, along with additional meta data.
[all …]
H A Dcommands.h271 * measurement notification for TM/FTM. Sent on receipt of
273 * frame for FTM protocol from peer device along with additional
280 * measurement confirmation notification for TM/FTM. Sent on
281 * receipt of Ack from peer for previously Tx'ed TM/FTM
/linux/Documentation/devicetree/bindings/counter/
H A Dfsl,ftm-quaddec.yaml4 $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 Dcore.c767 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
770 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
771 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
772 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
774 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
775 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
777 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
784 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
785 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
786 !(wiphy->pmsr_capa->ftm in wiphy_register()
[all...]
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a.dtsi1232 compatible = "fsl,vf610-ftm-pwm";
1243 compatible = "fsl,vf610-ftm-pwm";
1254 compatible = "fsl,vf610-ftm-pwm";
1265 compatible = "fsl,vf610-ftm-pwm";
1276 compatible = "fsl,vf610-ftm-pwm";
1287 compatible = "fsl,vf610-ftm-pwm";
1298 compatible = "fsl,vf610-ftm-pwm";
1309 compatible = "fsl,vf610-ftm-pwm";
1327 compatible = "fsl,ls1028a-ftm-alarm";
1335 compatible = "fsl,ls1028a-ftm-alarm";
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dtestmode.h26 /* The request buffer of FTM which contains a byte of command and the request */
/linux/drivers/net/wireless/ath/
H A Dtestmode_i.h58 /* The command used to transmit a FTM WMI command to the firmware
/linux/include/net/
H A Dcfg80211.h1348 * @ftm_responder: enable FTM responder functionality; -1 for no change
4144 * struct cfg80211_ftm_responder_stats - FTM responder statistics
4148 * @success_num: number of FTM sessions in which all frames were successfully
4150 * @partial_num: number of FTM sessions in which part of frames were
4152 * @failed_num: number of failed FTM sessions
4153 * @asap_num: number of ASAP FTM sessions
4154 * @non_asap_num: number of non-ASAP FTM sessions
4157 * @unknown_triggers_num: number of unknown FTM triggers - triggers from
4160 * @reschedule_requests_num: number of FTM reschedule requests - initiator asks
4161 * for a new scheduling although it already has scheduled FTM slo
4182 struct cfg80211_pmsr_ftm_result ftm; global() member
4240 struct cfg80211_pmsr_ftm_request_peer ftm; global() member
5559 } ftm; global() member
[all...]
/linux/drivers/clk/imx/
H A Dclk-vf610.c96 /* FTM counter clock source, not module clock */
346 * ftm_ext_clk and ftm_fix_clk are FTM timer counter's in vf610_clocks_init()
364 /* ftm(n)_clk are FTM module operation clock */ in vf610_clocks_init()
/linux/include/uapi/linux/
H A Dnl80211.h1211 * @NL80211_CMD_GET_FTM_RESPONDER_STATS: Retrieve FTM responder statistics, in
1321 * all TM/FTM frames (including ones that were enabled with specific MAC
2658 * measurement (FTM) responder functionality and containing parameters as
2661 * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder
7491 * @NL80211_FTM_RESP_ATTR_ENABLED: FTM responder is enabled
7499 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
7514 * enum nl80211_ftm_responder_stats - FTM responder statistics
7517 * when getting FTM responder statistics.
7520 * @NL80211_FTM_STATS_SUCCESS_NUM: number of FTM sessions in which all frames
7522 * @NL80211_FTM_STATS_PARTIAL_NUM: number of FTM session
[all...]

12