Home
last modified time | relevance | path

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

12

/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/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 Dmac-ctxt.c1456 struct ieee80211_vif *csa_vif, u32 gp2, in iwl_mvm_csa_count_down() argument
1474 !iwl_mvm_te_scheduled(&mvmvif->time_event_data) && gp2 && in iwl_mvm_csa_count_down()
1479 u32 apply_time = gp2 + rel_time * 1024; in iwl_mvm_csa_count_down()
1507 mvm->ap_last_beacon_gp2 = le32_to_cpu(beacon->gp2); in iwl_mvm_rx_beacon_notif()
1520 "beacon status %#x retries:%d tsf:0x%016llX gp2:0x%X rate:%d\n", in iwl_mvm_rx_beacon_notif()
1532 "beacon status %#x tsf:0x%016llX gp2:0x%X\n", in iwl_mvm_rx_beacon_notif()
H A Dtime-event.h180 * @apply_time: NoA start time in GP2.
H A Dutils.c1188 u32 *gp2, u64 *boottime, ktime_t *realtime) in iwl_mvm_get_sync_time() argument
1194 /* Disable power save when reading GP2 */ in iwl_mvm_get_sync_time()
1201 *gp2 = iwl_mvm_get_systime(mvm); in iwl_mvm_get_sync_time()
/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 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)
/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/mmc/core/
H A Dblock.c2498 * - gp1 -> partitions-gp2
2499 * - gp2 -> partitions-gp3
2525 node_name = "partitions-gp2"; in mmc_blk_get_partitions_node()
2526 if (!strcmp(subname, "gp2")) in mmc_blk_get_partitions_node()
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7986a.dtsi556 clock-names = "fe", "gp2", "gp1", "wocpu1", "wocpu0",
H A Dmt7622.dtsi985 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",
H A Dmt7988a.dtsi941 clock-names = "crypto", "fe", "gp2", "gp1", "gp3",
/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