| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ptp.c | 22 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 D | ptp.h | 18 * @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 D | ptp.c | 23 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 D | mac-ctxt.c | 1445 struct ieee80211_vif *csa_vif, u32 gp2, in iwl_mvm_csa_count_down() argument 1463 !iwl_mvm_te_scheduled(&mvmvif->time_event_data) && gp2 && in iwl_mvm_csa_count_down() 1468 u32 apply_time = gp2 + rel_time * 1024; in iwl_mvm_csa_count_down() 1496 mvm->ap_last_beacon_gp2 = le32_to_cpu(beacon->gp2); in iwl_mvm_rx_beacon_notif() 1509 "beacon status %#x retries:%d tsf:0x%016llX gp2:0x%X rate:%d\n", in iwl_mvm_rx_beacon_notif() 1521 "beacon status %#x tsf:0x%016llX gp2:0x%X\n", in iwl_mvm_rx_beacon_notif()
|
| /linux/Documentation/RCU/ |
| H A D | rcu_dereference.rst | 233 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 D | mediatek,mt8196-sys-clock.yaml | 34 - mediatek,mt8196-apmixedsys-gp2 41 - mediatek,mt8196-topckgen-gp2
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | tdls.h | 24 * @frame_timestamp: GP2 timestamp of channel-switch request/response packet 34 __le32 frame_timestamp; /* GP2 time of peer packet Rx */
|
| H A D | time-event.h | 200 * @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 D | saa7134-devel.rst | 59 - GP09 Strap "GP2" = Low
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-mt8196-topckgen2.c | 552 { .compatible = "mediatek,mt8196-topckgen-gp2", .data = &topck_desc }, 566 MODULE_DESCRIPTION("MediaTek MT8196 GP2 top clock generators driver");
|
| /linux/drivers/gpio/ |
| H A D | gpio-sch311x.c | 66 .data_reg = 0x4c, /* GP2 */
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7629.dtsi | 461 "gp2", "fe", "sgmii_tx250m", "sgmii_rx250m",
|
| H A D | mt2701.dtsi | 738 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
|
| H A D | mt7623.dtsi | 971 clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
|
| /linux/drivers/media/tuners/ |
| H A D | mt2060.c | 123 // FMCG=2, GP2=0, GP1=0
|
| /linux/drivers/mmc/core/ |
| H A D | block.c | 2498 * - 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/drivers/net/ethernet/xircom/ |
| H A D | xirc2ps_cs.c | 1482 /* 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()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 1671 IWL_ERR(priv, "0x%08X | time gp2\n", table.gp2); in iwl_dump_nic_error_log()
|
| H A D | commands.h | 377 u32 gp2; /* GP2 timer register */ member
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7622.dtsi | 985 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | dbg.c | 3400 IWL_DEBUG_INFO(fwrt, "FW GP2 time: %u\n", in iwl_fw_send_timestamp_marker_cmd() 3401 le32_to_cpu(resp->gp2)); in iwl_fw_send_timestamp_marker_cmd()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | commands.h | 478 * __le32 gp2; GP2 timer register
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-bcm2835.c | 2122 .name = "gp2",
|
| /linux/drivers/media/usb/gspca/ |
| H A D | zc3xx.c | 5713 int g, i, adj, gp1, gp2; in setcontrast() local 5741 gp1 = gp2 = 0; in setcontrast() 5755 gr[i - 1] = (g - gp2) / 2; in setcontrast() 5758 gp2 = gp1; in setcontrast() 5761 gr[15] = (0xff - gp2) / 2; in setcontrast()
|
| /linux/kernel/rcu/ |
| H A D | tree.c | 1553 * d. New callbacks and GP2 start: 1567 * e. GP2 completion:
|