| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| D | sdhci-s3c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* linux/drivers/mmc/host/sdhci-s3c.c 14 #include <linux/dma-mapping.h> 16 #include <linux/platform_data/mmc-sdhci-s3c.h> 37 #define S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR BIT(31) 38 #define S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK BIT(30) 39 #define S3C_SDHCI_CTRL2_CDINVRXD3 BIT(29) 40 #define S3C_SDHCI_CTRL2_SLCARDOUT BIT(28) 50 #define S3C_SDHCI_CTRL2_ENFBCLKTX BIT(15) 51 #define S3C_SDHCI_CTRL2_ENFBCLKRX BIT(14) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | rs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation 12 * enum iwl_tlc_mng_cfg_flags_enum - options for TLC config flags 27 IWL_TLC_MNG_CFG_FLAGS_STBC_MSK = BIT(0), 28 IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK = BIT(1), 29 IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK = BIT(2), 30 IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK = BIT(3), 31 IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_2_MSK = BIT(4), 32 IWL_TLC_MNG_CFG_FLAGS_EHT_EXTRA_LTF_MSK = BIT(6), 36 * enum iwl_tlc_mng_cfg_cw - channel width options [all …]
|
| D | location.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2015-2017 Intel Deutschland GmbH 4 * Copyright (C) 2018-2022 Intel Corporation 10 * enum iwl_location_subcmd_ids - location group command IDs 85 * struct iwl_tof_config_cmd - ToF configuration 87 * @one_sided_disabled: indicates if one-sided is disabled (or not) 99 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth 100 * @IWL_TOF_BW_20_LEGACY: 20 MHz non-HT 117 * enum iwl_tof_algo_type - Algorithym type for range measurement request 129 * enum iwl_tof_mcsi_ntfy - Enable/Disable MCSI notifications [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | sdhci-s3c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* linux/drivers/mmc/host/sdhci-s3c.c 14 #include <linux/dma-mapping.h> 16 #include <linux/platform_data/mmc-sdhci-s3c.h> 37 #define S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR BIT(31) 38 #define S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK BIT(30) 39 #define S3C_SDHCI_CTRL2_CDINVRXD3 BIT(29) 40 #define S3C_SDHCI_CTRL2_SLCARDOUT BIT(28) 50 #define S3C_SDHCI_CTRL2_ENFBCLKTX BIT(15) 51 #define S3C_SDHCI_CTRL2_ENFBCLKRX BIT(14) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ti/ |
| D | divider.txt | 3 Binding status: Unstable - ABI compatibility may be broken in the future 6 register-mapped adjustable clock rate divider that does not gate and has 17 ti,index-starts-at-one - valid divisor values start at 1, not the default 24 ti,index-power-of-two - valid divisor values are powers of two. E.g: 41 Any zero value in this array means the corresponding bit-value is invalid 45 unless the divider array is provided, min and max dividers. Optionally 52 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 56 - compatible : shall be "ti,divider-clock" or "ti,composite-divider-clock". 57 - #clock-cells : from common clock binding; shall be set to 0. 58 - clocks : link to phandle of parent clock [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ti/ |
| D | divider.txt | 3 Binding status: Unstable - ABI compatibility may be broken in the future 6 register-mapped adjustable clock rate divider that does not gate and has 17 ti,index-starts-at-one - valid divisor values start at 1, not the default 24 ti,index-power-of-two - valid divisor values are powers of two. E.g: 41 Any zero value in this array means the corresponding bit-value is invalid 45 unless the divider array is provided, min and max dividers. Optionally 52 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 56 - compatible : shall be "ti,divider-clock" or "ti,composite-divider-clock". 57 - #clock-cells : from common clock binding; shall be set to 0. 58 - clocks : link to phandle of parent clock [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | rs.h | 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 10 * Copyright(c) 2018 - 2020 Intel Corporation 26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2018 - 2020 Intel Corporation 68 * enum iwl_tlc_mng_cfg_flags_enum - options for TLC config flags 82 IWL_TLC_MNG_CFG_FLAGS_STBC_MSK = BIT(0), 83 IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK = BIT(1), 84 IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK = BIT(2), 85 IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK = BIT(3), [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/freesync/ |
| D | freesync.c | 36 /* Refresh rate ramp at a fixed rate of 65 Hz/second */ 40 /* Threshold to exit/exit BTR (to avoid frequent enter-exits at the lower limit) */ 44 /*Threshold to exit fixed refresh rate*/ 69 core_freesync->dc = dc; in mod_freesync_create() 70 return &core_freesync->public; in mod_freesync_create() 115 * 10000) * stream->timing.h_total, in calc_duration_in_us_from_v_total() 116 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total() 133 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in calc_v_total_from_refresh() 134 stream->timing.h_total), 1000000); in calc_v_total_from_refresh() 137 if (v_total < stream->timing.v_total) { in calc_v_total_from_refresh() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/mvebu/ |
| D | dove-divider.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 15 #include "dove-divider.h" 32 DIV_CTRL1_N_RESET_MASK = BIT(10), 56 val = readl_relaxed(dc->base + DIV_CTRL0); in dove_get_divider() 57 val >>= dc->div_bit_start; in dove_get_divider() 59 divider = val & ~(~0 << dc->div_bit_size); in dove_get_divider() 61 if (dc->divider_table) in dove_get_divider() 62 divider = dc->divider_table[divider]; in dove_get_divider() 67 static int dove_calc_divider(const struct dove_clk *dc, unsigned long rate, in dove_calc_divider() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/mvebu/ |
| D | dove-divider.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 15 #include "dove-divider.h" 32 DIV_CTRL1_N_RESET_MASK = BIT(10), 56 val = readl_relaxed(dc->base + DIV_CTRL0); in dove_get_divider() 57 val >>= dc->div_bit_start; in dove_get_divider() 59 divider = val & ~(~0 << dc->div_bit_size); in dove_get_divider() 61 if (dc->divider_table) in dove_get_divider() 62 divider = dc->divider_table[divider]; in dove_get_divider() 67 static int dove_calc_divider(const struct dove_clk *dc, unsigned long rate, in dove_calc_divider() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/memory/tegra/ |
| D | tegra20-emc.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/interconnect-provider.h> 95 #define EMC_CLKCHANGE_REQ_ENABLE BIT(0) 96 #define EMC_CLKCHANGE_PD_ENABLE BIT(1) 97 #define EMC_CLKCHANGE_SR_ENABLE BIT(2) 99 #define EMC_TIMING_UPDATE BIT(0) 101 #define EMC_REFRESH_OVERFLOW_INT BIT(3) 102 #define EMC_CLKCHANGE_COMPLETE_INT BIT(4) 103 #define EMC_MRR_DIVLD_INT BIT(5) 105 #define EMC_DBG_READ_MUX_ASSEMBLY BIT(0) [all …]
|
| D | tegra30-emc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on downstream driver from NVIDIA and tegra124-emc.c 6 * Copyright (C) 2011-2014 NVIDIA Corporation 9 * Copyright (C) 2019 GRATE-DRIVER project 18 #include <linux/interconnect-provider.h> 151 #define EMC_STATUS_TIMING_UPDATE_STALLED BIT(23) 153 #define EMC_MODE_SET_DLL_RESET BIT(8) 154 #define EMC_MODE_SET_LONG_CNT BIT(26) 156 #define EMC_SELF_REF_CMD_ENABLED BIT(0) 159 #define DRAM_DEV_SEL_0 BIT(31) [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ti/ |
| D | divider.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 26 for (clkt = table; clkt->div; clkt++) in _get_table_div() 27 if (clkt->val == val) in _get_table_div() 28 return clkt->div; in _get_table_div() 38 if (divider->table) { in _setup_mask() 41 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask() 42 if (clkt->val > max_val) in _setup_mask() 43 max_val = clkt->val; in _setup_mask() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/ti/ |
| D | divider.c | 6 * Tero Kristo <t-kristo@ti.com> 18 #include <linux/clk-provider.h> 34 for (clkt = table; clkt->div; clkt++) in _get_table_div() 35 if (clkt->val == val) in _get_table_div() 36 return clkt->div; in _get_table_div() 46 if (divider->table) { in _setup_mask() 49 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask() 50 if (clkt->val > max_val) in _setup_mask() 51 max_val = clkt->val; in _setup_mask() 53 max_val = divider->max; in _setup_mask() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
| D | ccu_mp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 7 #include <linux/clk-provider.h> 13 static unsigned long ccu_mp_find_best(unsigned long parent, unsigned long rate, in ccu_mp_find_best() argument 25 if (tmp_rate > rate) in ccu_mp_find_best() 28 if ((rate - tmp_rate) < (rate - best_rate)) { in ccu_mp_find_best() 44 unsigned long rate, in ccu_mp_find_best_with_parent_adj() argument 58 * unsigned long in rate * m * p below in ccu_mp_find_best_with_parent_adj() 61 maxdiv = min(ULONG_MAX / rate, maxdiv); in ccu_mp_find_best_with_parent_adj() 70 if (rate * div == parent_rate_saved) { in ccu_mp_find_best_with_parent_adj() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
| D | ccu_mp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 7 #include <linux/clk-provider.h> 13 static void ccu_mp_find_best(unsigned long parent, unsigned long rate, in ccu_mp_find_best() argument 25 if (tmp_rate > rate) in ccu_mp_find_best() 28 if ((rate - tmp_rate) < (rate - best_rate)) { in ccu_mp_find_best() 42 unsigned long rate, in ccu_mp_find_best_with_parent_adj() argument 56 * unsigned long in rate * m * p below in ccu_mp_find_best_with_parent_adj() 59 maxdiv = min(ULONG_MAX / rate, maxdiv); in ccu_mp_find_best_with_parent_adj() 68 if (rate * div == parent_rate_saved) { in ccu_mp_find_best_with_parent_adj() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
| D | hostap_ap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define WLAN_STA_AUTH BIT(0) 14 #define WLAN_STA_ASSOC BIT(1) 15 #define WLAN_STA_PS BIT(2) 16 #define WLAN_STA_TIM BIT(3) /* TIM bit is on for PS stations */ 17 #define WLAN_STA_PERM BIT(4) /* permanent; do not remove entry on expiration */ 18 #define WLAN_STA_AUTHORIZED BIT(5) /* If 802.1X is used, this flag is 20 * send and receive non-IEEE 802.1X frames 22 #define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */ 24 #define WLAN_RATE_1M BIT(0) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
| D | hostap_ap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define WLAN_STA_AUTH BIT(0) 14 #define WLAN_STA_ASSOC BIT(1) 15 #define WLAN_STA_PS BIT(2) 16 #define WLAN_STA_TIM BIT(3) /* TIM bit is on for PS stations */ 17 #define WLAN_STA_PERM BIT(4) /* permanent; do not remove entry on expiration */ 18 #define WLAN_STA_AUTHORIZED BIT(5) /* If 802.1X is used, this flag is 20 * send and receive non-IEEE 802.1X frames 22 #define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */ 24 #define WLAN_RATE_1M BIT(0) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/freesync/ |
| D | freesync.c | 2 * Copyright 2016-2023 Advanced Micro Devices, Inc. 34 /* Refresh rate ramp at a fixed rate of 65 Hz/second */ 38 /* Threshold to exit/exit BTR (to avoid frequent enter-exits at the lower limit) */ 42 /* Threshold to exit fixed refresh rate */ 71 core_freesync->dc = dc; in mod_freesync_create() 72 return &core_freesync->public; in mod_freesync_create() 117 * 10000) * stream->timing.h_total, in calc_duration_in_us_from_v_total() 118 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total() 135 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh() 136 stream->timing.h_total) + 500000, 1000000); in mod_freesync_calc_v_total_from_refresh() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/imx/ |
| D | clk-sscg-pll.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 * https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 11 #include <linux/clk-provider.h> 33 #define PLL_LOCK_MASK BIT(31) 34 #define PLL_PD_MASK BIT(7) 65 #define SSCG_PLL_BYPASS1_MASK BIT(5) 66 #define SSCG_PLL_BYPASS2_MASK BIT(4) 102 val = readl_relaxed(pll->base + PLL_CFG0); in clk_sscg_pll_wait_lock() 106 return readl_poll_timeout(pll->base, val, val & PLL_LOCK_MASK, in clk_sscg_pll_wait_lock() 115 int new_diff = temp_setup->fout - temp_setup->fout_request; in clk_sscg_pll2_check_match() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/imx/ |
| D | clk-sscg-pll.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 * https://www.nxp.com/docs/en/reference-manual/IMX8MDQLQRM.pdf#page=834 11 #include <linux/clk-provider.h> 33 #define PLL_LOCK_MASK BIT(31) 34 #define PLL_PD_MASK BIT(7) 65 #define SSCG_PLL_BYPASS1_MASK BIT(5) 66 #define SSCG_PLL_BYPASS2_MASK BIT(4) 102 val = readl_relaxed(pll->base + PLL_CFG0); in clk_sscg_pll_wait_lock() 106 return readl_poll_timeout(pll->base, val, val & PLL_LOCK_MASK, in clk_sscg_pll_wait_lock() 115 int new_diff = temp_setup->fout - temp_setup->fout_request; in clk_sscg_pll2_check_match() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 15 #include <sound/soc-dapm.h> 33 * @rmin: min rate 34 * @rmax: max rate 36 * @wmax: max frame ratio 50 unsigned int max; member 55 * struct imx_card_plat_data - specific info for codecs 59 * @support_rates: supported sample rate 60 * @support_tdm_rates: supported sample rate for tdm mode [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/ |
| D | ipc3-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 11 #include "ipc3-priv.h" 13 #include "sof-priv.h" 14 #include "sof-audio.h" 26 return -EINVAL; in sof_ipc3_pcm_hw_free() 28 if (!spcm->prepared[substream->stream]) in sof_ipc3_pcm_hw_free() 33 stream.comp_id = spcm->stream[substream->stream].comp_id; in sof_ipc3_pcm_hw_free() 36 return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream)); in sof_ipc3_pcm_hw_free() 46 struct sof_ipc_fw_version *v = &sdev->fw_ready.version; in sof_ipc3_pcm_hw_params() 47 struct snd_pcm_runtime *runtime = substream->runtime; in sof_ipc3_pcm_hw_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/pwm/pwm-tegra.c 5 * Tegra pulse-width-modulation controller driver 7 * Copyright (c) 2010-2020, NVIDIA Corporation. 8 * Based on arch/arm/plat-mxc/pwm.c by Sascha Hauer <s.hauer@pengutronix.de> 11 * 1. 13-bit: Frequency division (SCALE) 12 * 2. 8-bit : Pulse division (DUTY) 13 * 3. 1-bit : Enable bit 18 * achieved is (max rate of source clock) / 256. 19 * e.g. if source clock rate is 408 MHz, maximum output frequency can be: [all …]
|
| /kernel/linux/linux-5.10/drivers/memory/tegra/ |
| D | tegra20-emc.c | 1 // SPDX-License-Identifier: GPL-2.0 76 #define EMC_CLKCHANGE_REQ_ENABLE BIT(0) 77 #define EMC_CLKCHANGE_PD_ENABLE BIT(1) 78 #define EMC_CLKCHANGE_SR_ENABLE BIT(2) 80 #define EMC_TIMING_UPDATE BIT(0) 82 #define EMC_REFRESH_OVERFLOW_INT BIT(3) 83 #define EMC_CLKCHANGE_COMPLETE_INT BIT(4) 85 #define EMC_DBG_READ_MUX_ASSEMBLY BIT(0) 86 #define EMC_DBG_WRITE_MUX_ACTIVE BIT(1) 87 #define EMC_DBG_FORCE_UPDATE BIT(2) [all …]
|