Home
last modified time | relevance | path

Searched full:gp2 (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c23 static void iwl_mvm_ptp_update_new_read(struct iwl_mvm *mvm, u32 gp2) in iwl_mvm_ptp_update_new_read() argument
28 if (gp2 < mvm->ptp_data.last_gp2 && in iwl_mvm_ptp_update_new_read()
29 mvm->ptp_data.last_gp2 - gp2 < IWL_PTP_WRAP_THRESHOLD_USEC) { in iwl_mvm_ptp_update_new_read()
31 "PTP: ignore old read (gp2=%u, last_gp2=%u)\n", in iwl_mvm_ptp_update_new_read()
32 gp2, mvm->ptp_data.last_gp2); in iwl_mvm_ptp_update_new_read()
36 if (gp2 < mvm->ptp_data.last_gp2) { in iwl_mvm_ptp_update_new_read()
43 mvm->ptp_data.last_gp2 = gp2; in iwl_mvm_ptp_update_new_read()
63 /* It is possible that a GP2 timestamp was received from fw before the in iwl_mvm_ptp_get_adj_time()
87 iwl_mvm_get_crosstimestamp_fw(struct iwl_mvm *mvm, u32 *gp2, u64 *sys_time) in iwl_mvm_get_crosstimestamp_fw() argument
119 *gp2 = div_u64(gp2_10ns, 100); in iwl_mvm_get_crosstimestamp_fw()
[all …]
H A Dtime-event.h180 * @apply_time: NoA start time in GP2.
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.c22 static int iwl_mld_get_systime(struct iwl_mld *mld, u32 *gp2) in iwl_mld_get_systime() argument
24 *gp2 = iwl_read_prph(mld->trans, mld->trans->mac_cfg->base->gp2_reg_addr); in iwl_mld_get_systime()
26 if (*gp2 == 0x5a5a5a5a) in iwl_mld_get_systime()
32 static void iwl_mld_ptp_update_new_read(struct iwl_mld *mld, u32 gp2) in iwl_mld_ptp_update_new_read() argument
34 IWL_DEBUG_PTP(mld, "PTP: last_gp2=%u, new gp2 read=%u\n", in iwl_mld_ptp_update_new_read()
35 mld->ptp_data.last_gp2, gp2); in iwl_mld_ptp_update_new_read()
40 if (gp2 < mld->ptp_data.last_gp2) { in iwl_mld_ptp_update_new_read()
41 if (mld->ptp_data.last_gp2 - gp2 < in iwl_mld_ptp_update_new_read()
44 "PTP: ignore old read (gp2=%u, last_gp2=%u)\n", in iwl_mld_ptp_update_new_read()
45 gp2, mld->ptp_data.last_gp2); in iwl_mld_ptp_update_new_read()
[all …]
H A Dptp.h18 * @scale_update_gp2: GP2 time when the scale was last updated
22 * @last_gp2: the last GP2 reading from the hardware, used for tracking GP2
/linux/Documentation/devicetree/bindings/net/
H A Dmediatek,net.yaml167 - const: gp2
236 - const: gp2
283 - const: gp2
326 - const: gp2
367 - const: gp2
409 - const: gp2
489 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",
578 clock-names = "fe", "gp2", "gp1", "wocpu1", "wocpu0",
/linux/Documentation/RCU/
H A Drcu_dereference.rst233 struct foo *gp2;
248 rcu_assign_pointer(gp2, p);
258 p = rcu_dereference(gp2);
290 struct foo *gp2;
309 rcu_assign_pointer(gp2, p);
319 p = rcu_dereference(gp2);
/linux/Documentation/devicetree/bindings/clock/
H A Dmediatek,mt8196-sys-clock.yaml34 - mediatek,mt8196-apmixedsys-gp2
41 - mediatek,mt8196-topckgen-gp2
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddatapath.h197 * @IWL_SYNCED_TIME_OPERATION_READ_GP2: read only the GP2 time
198 * @IWL_SYNCED_TIME_OPERATION_READ_BOTH: latch the ARTB and GP2 clocks and
208 * struct iwl_synced_time_cmd - request synced GP2/ARTB timestamps
222 * @gp2_timestamp_hi: high DWORD of the GP2 clock timestamp in 10's of
224 * @gp2_timestamp_lo: low DWORD of the GP2 clock timestamp in 10's of
H A Ddebug.h284 * In the command response the ucode will return the GP2 time.
303 * @gp2: The gp2 clock value in the FW
306 __le32 gp2; member
H A Dtdls.h24 * @frame_timestamp: GP2 timestamp of channel-switch request/response packet
34 __le32 frame_timestamp; /* GP2 time of peer packet Rx */
H A Dtime-event.h200 * @apply_time: When to start the Time Event (in GP2)
248 * @timestamp: action timestamp in GP2
269 * @apply_time: GP2 value to start (should always be the current GP2 value)
H A Dtx.h847 * @gp2: last beacon time in gp2
853 __le32 gp2; member
861 * @gp2: last beacon time in gp2
867 __le32 gp2; member
H A Drx.h32 * @system_timestamp: GP2 at on air rise
510 * @gp2_on_air_rise: GP2 timer value on air rise (INA)
607 * @gp2_on_air_rise: GP2 timer value on air rise (INA)
803 * @on_air_rise_time: GP2 during on air rise
828 * @on_air_rise_time: GP2 during on air rise
H A Dscan.h1203 * @gp2_d0u: GP2 when D0U occurred
1204 * @gp2_invoked: GP2 when scan offload was invoked
1247 * @gp2_d0u: GP2 when D0U occurred
1248 * @gp2_invoked: GP2 when scan offload was invoked
/linux/Documentation/driver-api/media/drivers/
H A Dsaa7134-devel.rst59 - GP09 Strap "GP2" = Low
/linux/drivers/clk/mediatek/
H A Dclk-mt8196-topckgen2.c552 { .compatible = "mediatek,mt8196-topckgen-gp2", .data = &topck_desc },
566 MODULE_DESCRIPTION("MediaTek MT8196 GP2 top clock generators driver");
H A Dclk-mt8196-apmixedsys.c187 { .compatible = "mediatek,mt8196-apmixedsys-gp2",
/linux/drivers/pinctrl/intel/
H A Dpinctrl-moorefield.c185 PINCTRL_PIN(154, "GP2"),
H A Dpinctrl-merrifield.c181 PINCTRL_PIN(148, "GP2"),
/linux/drivers/gpio/
H A Dgpio-sch311x.c66 .data_reg = 0x4c, /* GP2 */
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7629.dtsi461 "gp2", "fe", "sgmii_tx250m", "sgmii_rx250m",
H A Dmt2701.dtsi738 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
/linux/drivers/media/tuners/
H A Dmt2060.c123 // FMCG=2, GP2=0, GP1=0
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmain.c1671 IWL_ERR(priv, "0x%08X | time gp2\n", table.gp2); in iwl_dump_nic_error_log()
/linux/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c1482 /* set pin GP1 and GP2 to output (0x0c) in do_reset()
1484 * set GP2 to high to power up the 10Mhz chip (0x02) in do_reset()

12