Home
last modified time | relevance | path

Searched full:gear (Results 1 – 25 of 99) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/clk/uniphier/
Dclk-uniphier-cpugear.c30 struct uniphier_clk_cpugear *gear = to_uniphier_clk_cpugear(hw); in uniphier_clk_cpugear_set_parent() local
34 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
35 gear->regbase + UNIPHIER_CLK_CPUGEAR_SET, in uniphier_clk_cpugear_set_parent()
36 gear->mask, index); in uniphier_clk_cpugear_set_parent()
40 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
41 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent()
47 return regmap_read_poll_timeout(gear->regmap, in uniphier_clk_cpugear_set_parent()
48 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent()
55 struct uniphier_clk_cpugear *gear = to_uniphier_clk_cpugear(hw); in uniphier_clk_cpugear_get_parent() local
60 ret = regmap_read(gear->regmap, in uniphier_clk_cpugear_get_parent()
[all …]
/kernel/linux/linux-6.6/drivers/clk/uniphier/
Dclk-uniphier-cpugear.c30 struct uniphier_clk_cpugear *gear = to_uniphier_clk_cpugear(hw); in uniphier_clk_cpugear_set_parent() local
34 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
35 gear->regbase + UNIPHIER_CLK_CPUGEAR_SET, in uniphier_clk_cpugear_set_parent()
36 gear->mask, index); in uniphier_clk_cpugear_set_parent()
40 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
41 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent()
47 return regmap_read_poll_timeout(gear->regmap, in uniphier_clk_cpugear_set_parent()
48 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent()
55 struct uniphier_clk_cpugear *gear = to_uniphier_clk_cpugear(hw); in uniphier_clk_cpugear_get_parent() local
60 ret = regmap_read(gear->regmap, in uniphier_clk_cpugear_get_parent()
[all …]
/kernel/linux/linux-6.6/include/ufs/
Dunipro.h214 UFS_PWM_DONT_CHANGE, /* Don't change Gear */
215 UFS_PWM_G1, /* PWM Gear 1 (default for reset) */
216 UFS_PWM_G2, /* PWM Gear 2 */
217 UFS_PWM_G3, /* PWM Gear 3 */
218 UFS_PWM_G4, /* PWM Gear 4 */
219 UFS_PWM_G5, /* PWM Gear 5 */
220 UFS_PWM_G6, /* PWM Gear 6 */
221 UFS_PWM_G7, /* PWM Gear 7 */
225 UFS_HS_DONT_CHANGE, /* Don't change Gear */
226 UFS_HS_G1, /* HS Gear 1 (default for reset) */
[all …]
Dufs_quirks.h83 * Gear switch from PWM to HS may fail even with this max. PA_SaveConfigTime.
84 * Gear switch can be issued by host controller as an error recovery and any
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dunipro.h218 UFS_PWM_DONT_CHANGE, /* Don't change Gear */
219 UFS_PWM_G1, /* PWM Gear 1 (default for reset) */
220 UFS_PWM_G2, /* PWM Gear 2 */
221 UFS_PWM_G3, /* PWM Gear 3 */
222 UFS_PWM_G4, /* PWM Gear 4 */
223 UFS_PWM_G5, /* PWM Gear 5 */
224 UFS_PWM_G6, /* PWM Gear 6 */
225 UFS_PWM_G7, /* PWM Gear 7 */
229 UFS_HS_DONT_CHANGE, /* Don't change Gear */
230 UFS_HS_G1, /* HS Gear 1 (default for reset) */
[all …]
Dufshcd-pltfrm.h14 u32 pwm_rx_gear; /* pwm rx gear to work in */
15 u32 pwm_tx_gear; /* pwm tx gear to work in */
16 u32 hs_rx_gear; /* hs rx gear to work in */
17 u32 hs_tx_gear; /* hs tx gear to work in */
Dufs-qcom.c391 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() argument
431 if (gear == 0) { in ufs_qcom_cfg_timers()
432 dev_err(hba->dev, "%s: invalid gear = %d\n", __func__, gear); in ufs_qcom_cfg_timers()
466 if (gear > ARRAY_SIZE(hs_fr_table_rA)) { in ufs_qcom_cfg_timers()
469 __func__, gear, in ufs_qcom_cfg_timers()
473 tx_clk_cycles_per_us = hs_fr_table_rA[gear-1][1]; in ufs_qcom_cfg_timers()
475 if (gear > ARRAY_SIZE(hs_fr_table_rB)) { in ufs_qcom_cfg_timers()
478 __func__, gear, in ufs_qcom_cfg_timers()
482 tx_clk_cycles_per_us = hs_fr_table_rB[gear-1][1]; in ufs_qcom_cfg_timers()
491 if (gear > ARRAY_SIZE(pwm_fr_table)) { in ufs_qcom_cfg_timers()
[all …]
Dufs_quirks.h92 * Gear switch from PWM to HS may fail even with this max. PA_SaveConfigTime.
93 * Gear switch can be issued by host controller as an error recovery and any
Dufshcd-pltfrm.c349 /* device maximum gear is the minimum between device rx and tx gears */ in ufshcd_get_pwr_dev_param()
354 * both HS or both PWM then set the minimum gear to be the chosen in ufshcd_get_pwr_dev_param()
355 * working gear. in ufshcd_get_pwr_dev_param()
357 * what is the gear, as it is the one that also decided previously what in ufshcd_get_pwr_dev_param()
Dufs-exynos.c673 int gear = max_t(u32, pwr_req->gear_rx, pwr_req->gear_tx); in exynos_ufs_post_pwr_mode() local
677 /* let default be PWM Gear 1, Lane 1 */ in exynos_ufs_post_pwr_mode()
678 if (!gear) in exynos_ufs_post_pwr_mode()
679 gear = 1; in exynos_ufs_post_pwr_mode()
697 gear, lanes); in exynos_ufs_post_pwr_mode()
700 "SLOW", gear, lanes); in exynos_ufs_post_pwr_mode()
/kernel/linux/linux-6.6/drivers/ufs/host/
Dufshcd-pltfrm.h14 u32 pwm_rx_gear; /* pwm rx gear to work in */
15 u32 pwm_tx_gear; /* pwm tx gear to work in */
16 u32 hs_rx_gear; /* hs rx gear to work in */
17 u32 hs_tx_gear; /* hs tx gear to work in */
Dufs-qcom.c432 * negotiating maximum supported gear as G3. in ufs_qcom_get_hs_gear()
433 * Hence downgrade the maximum supported gear to HS-G2. in ufs_qcom_get_hs_gear()
539 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() argument
578 if (gear == 0) { in ufs_qcom_cfg_timers()
579 dev_err(hba->dev, "%s: invalid gear = %d\n", __func__, gear); in ufs_qcom_cfg_timers()
613 if (gear > ARRAY_SIZE(hs_fr_table_rA)) { in ufs_qcom_cfg_timers()
616 __func__, gear, in ufs_qcom_cfg_timers()
620 tx_clk_cycles_per_us = hs_fr_table_rA[gear-1][1]; in ufs_qcom_cfg_timers()
622 if (gear > ARRAY_SIZE(hs_fr_table_rB)) { in ufs_qcom_cfg_timers()
625 __func__, gear, in ufs_qcom_cfg_timers()
[all …]
Dufshcd-pltfrm.c279 /* device maximum gear is the minimum between device rx and tx gears */ in ufshcd_get_pwr_dev_param()
284 * both HS or both PWM then set the minimum gear to be the chosen in ufshcd_get_pwr_dev_param()
285 * working gear. in ufshcd_get_pwr_dev_param()
287 * what is the gear, as it is the one that also decided previously what in ufshcd_get_pwr_dev_param()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dad9389b.c269 u8 gear; in ad9389b_set_manual_pll_gear() local
272 * The TMDS PLL in AD9389b change gear when the chip is heated above a in ad9389b_set_manual_pll_gear()
273 * certain temperature. The output is disabled when the PLL change gear in ad9389b_set_manual_pll_gear()
277 * 0x98 [7] = enable manual gearing. 0x98 [6:4] = gear in ad9389b_set_manual_pll_gear()
279 * The pixel frequency ranges are based on readout of the gear the in ad9389b_set_manual_pll_gear()
285 gear = 0xc0; /* 4th gear */ in ad9389b_set_manual_pll_gear()
287 gear = 0xb0; /* 3rd gear */ in ad9389b_set_manual_pll_gear()
289 gear = 0xa0; /* 2nd gear */ in ad9389b_set_manual_pll_gear()
291 gear = 0x90; /* 1st gear */ in ad9389b_set_manual_pll_gear()
293 gear = 0x80; /* 0th gear */ in ad9389b_set_manual_pll_gear()
[all …]
/kernel/linux/linux-6.6/drivers/slimbus/
Dslimbus.h98 * frequency ('clock gear 10') at which the bus can operate.
352 * @min_cg: Minimum clock gear supported by this controller (default value: 1)
353 * @max_cg: Maximum clock gear supported by this controller (default value: 10)
354 * @clkgear: Current clock gear in which this bus is running
387 * the bus at (in steps of 'clock-gear', 1 through 10, each clock gear
388 * representing twice the frequency than the previous gear).
/kernel/linux/linux-5.10/drivers/slimbus/
Dslimbus.h98 * frequency ('clock gear 10') at which the bus can operate.
352 * @min_cg: Minimum clock gear supported by this controller (default value: 1)
353 * @max_cg: Maximum clock gear supported by this controller (default value: 10)
354 * @clkgear: Current clock gear in which this bus is running
387 * the bus at (in steps of 'clock-gear', 1 through 10, each clock gear
388 * representing twice the frequency than the previous gear).
/kernel/linux/linux-6.6/drivers/input/tablet/
DKconfig53 tristate "KB Gear JamStudio tablet support (USB)"
57 Say Y here if you want to use the USB version of the KB Gear
Dkbtab.c13 MODULE_DESCRIPTION("USB KB Gear JamStudio Tablet driver");
143 input_dev->name = "KB Gear Tablet"; in kbtab_probe()
/kernel/linux/linux-5.10/drivers/input/tablet/
DKconfig65 tristate "KB Gear JamStudio tablet support (USB)"
69 Say Y here if you want to use the USB version of the KB Gear
Dkbtab.c13 MODULE_DESCRIPTION("USB KB Gear JamStudio Tablet driver");
143 input_dev->name = "KB Gear Tablet"; in kbtab_probe()
/kernel/linux/linux-6.6/Documentation/driver-api/
Dslimbus.rst53 gear changes the SLIMbus frequency to be twice its previous gear.
/kernel/linux/linux-5.10/Documentation/driver-api/
Dslimbus.rst53 gear changes the SLIMbus frequency to be twice its previous gear.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dg762.txt18 - "fan_gear_mode": fan gear mode. Supported values are 0, 1 and 2.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dg762.txt18 - "fan_gear_mode": fan gear mode. Supported values are 0, 1 and 2.
/kernel/linux/linux-5.10/Documentation/hwmon/
Dg762.rst40 reports fan failure, i.e. no transition on fan gear pin for

1234