Home
last modified time | relevance | path

Searched full:hhi (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/meson/
Dmeson_vclk.c49 /* HHI Registers */
140 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_EN, 0); in meson_vid_pll_set()
141 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, VID_PLL_PRESET, 0); in meson_vid_pll_set()
204 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
208 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
211 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
213 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
215 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
219 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
221 regmap_update_bits(priv->hhi, HHI_VID_PLL_CLK_DIV, in meson_vid_pll_set()
[all …]
Dmeson_dw_hdmi.c62 * HHI register block.
104 /* HHI Registers */
306 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x333d3282); in meson_hdmi_phy_setup_mode()
307 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2136315b); in meson_hdmi_phy_setup_mode()
310 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33303382); in meson_hdmi_phy_setup_mode()
311 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2036315b); in meson_hdmi_phy_setup_mode()
314 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33303362); in meson_hdmi_phy_setup_mode()
315 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x2016315b); in meson_hdmi_phy_setup_mode()
318 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0x33604142); in meson_hdmi_phy_setup_mode()
319 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL3, 0x0016315b); in meson_hdmi_phy_setup_mode()
[all …]
Dmeson_encoder_cvbs.c27 /* HHI VDAC Registers */
181 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 1); in meson_encoder_cvbs_atomic_enable()
182 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 0); in meson_encoder_cvbs_atomic_enable()
185 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0xf0001); in meson_encoder_cvbs_atomic_enable()
186 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 0); in meson_encoder_cvbs_atomic_enable()
188 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0x906001); in meson_encoder_cvbs_atomic_enable()
189 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 0); in meson_encoder_cvbs_atomic_enable()
202 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0); in meson_encoder_cvbs_atomic_disable()
203 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 0); in meson_encoder_cvbs_atomic_disable()
205 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0); in meson_encoder_cvbs_atomic_disable()
[all …]
Dmeson_drv.c223 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hhi"); in meson_drv_bind_master()
235 priv->hhi = devm_regmap_init_mmio(dev, regs, in meson_drv_bind_master()
237 if (IS_ERR(priv->hhi)) { in meson_drv_bind_master()
238 dev_err(&pdev->dev, "Couldn't create the HHI regmap\n"); in meson_drv_bind_master()
239 ret = PTR_ERR(priv->hhi); in meson_drv_bind_master()
466 * private structure for HHI registers.
Dmeson_drv.h47 struct regmap *hhi; member
Dmeson_venc.c63 /* HHI Registers */
1960 regmap_update_bits(priv->hhi, HHI_GCLK_MPEG2, BIT(25), BIT(25)); in meson_venc_enable_vsync()
1965 regmap_update_bits(priv->hhi, HHI_GCLK_MPEG2, BIT(25), 0); in meson_venc_disable_vsync()
1973 regmap_write(priv->hhi, HHI_VDAC_CNTL0_G12A, 0); in meson_venc_init()
1974 regmap_write(priv->hhi, HHI_VDAC_CNTL1_G12A, 8); in meson_venc_init()
1976 regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0); in meson_venc_init()
1977 regmap_write(priv->hhi, HHI_VDAC_CNTL1, 8); in meson_venc_init()
1984 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, 0); in meson_venc_init()
/linux-6.12.1/drivers/phy/amlogic/
Dphy-meson8-hdmi-tx.c36 struct regmap *hhi; member
67 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, in phy_meson8_hdmi_tx_power_on()
71 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, 0x0); in phy_meson8_hdmi_tx_power_on()
75 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, in phy_meson8_hdmi_tx_power_on()
80 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL1, in phy_meson8_hdmi_tx_power_on()
92 regmap_write(priv->hhi, HHI_HDMI_PHY_CNTL0, in phy_meson8_hdmi_tx_power_off()
123 priv->hhi = syscon_node_to_regmap(np->parent); in phy_meson8_hdmi_tx_probe()
124 if (IS_ERR(priv->hhi)) in phy_meson8_hdmi_tx_probe()
125 return PTR_ERR(priv->hhi); in phy_meson8_hdmi_tx_probe()
Dphy-meson-g12a-mipi-dphy-analog.c132 /* Get the hhi system controller node */ in phy_g12a_mipi_dphy_analog_probe()
137 return dev_err_probe(dev, PTR_ERR(map), "failed to get HHI regmap\n"); in phy_g12a_mipi_dphy_analog_probe()
Dphy-meson-axg-mipi-pcie-analog.c209 /* Get the hhi system controller node */ in phy_axg_mipi_pcie_analog_probe()
215 "failed to get HHI regmap\n"); in phy_axg_mipi_pcie_analog_probe()
/linux-6.12.1/Documentation/devicetree/bindings/soc/amlogic/
Damlogic,meson-gx-hhi-sysctrl.yaml4 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml#
16 - amlogic,meson-gx-hhi-sysctrl
18 - amlogic,meson-axg-hhi-sysctrl
43 - amlogic,meson-gx-hhi-sysctrl
44 - amlogic,meson-axg-hhi-sysctrl
71 - amlogic,meson-gx-hhi-sysctrl
80 - amlogic,meson-axg-hhi-sysctrl
105 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
164 compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon";
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Damlogic,meson-saradc.yaml55 amlogic,hhi-sysctrl:
105 amlogic,hhi-sysctrl: true
108 amlogic,hhi-sysctrl: false
148 amlogic,hhi-sysctrl = <&hhi>;
/linux-6.12.1/Documentation/devicetree/bindings/power/
Damlogic,meson-gx-pwrc.txt23 - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node
44 amlogic,hhi-sysctrl = <&sysctrl>;
Damlogic,meson-ee-pwrc.yaml18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"
/linux-6.12.1/lib/
Dtest_scanf.c257 simple_numbers_loop(signed char, "%hhd", "hhi", check_char); in numbers_simple()
260 simple_numbers_loop(signed char, "0x%hhx", "hhi", check_char); in numbers_simple()
445 numbers_list_8(signed char, "%hhd", delim, "hhi", check_char); in numbers_list_hh()
448 numbers_list_8(signed char, "0x%hhx", delim, "hhi", check_char); in numbers_list_hh()
513 numbers_list_fix_width(signed char, "%hhd", delim, 4, "hhi", check_char); in numbers_list_field_width_hh()
516 numbers_list_fix_width(signed char, "0x%hhx", delim, 4, "hhi", check_char); in numbers_list_field_width_hh()
576 numbers_list_val_width(signed char, "%hhd", delim, "hhi", check_char); in numbers_list_field_width_val_hh()
579 numbers_list_val_width(signed char, "0x%hhx", delim, "hhi", check_char); in numbers_list_field_width_val_hh()
634 test_number_prefix(signed char, "-1 1", "%1hhi %hhi", 0, 0, 0, check_char); in numbers_prefix_overflow()
650 test_number_prefix(char, "0xA7", "%1hhi%hhx", 0, 0, 1, check_char); in numbers_prefix_overflow()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Damlogic,meson8b-clkc.txt21 - compatible: "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
22 - reg: base address and size of the HHI system control register space.
/linux-6.12.1/Documentation/devicetree/bindings/display/
Damlogic,meson-vpu.yaml17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
76 - const: hhi
127 reg-names = "vpu", "hhi";
Damlogic,meson-dw-hdmi.yaml34 The HDMI PHY is configured by registers in the HHI register block.
/linux-6.12.1/drivers/clk/meson/
Dmeson-eeclk.c29 /* Get the hhi system controller node */ in meson_eeclkc_probe()
35 "failed to get HHI regmap\n"); in meson_eeclkc_probe()
/linux-6.12.1/Documentation/devicetree/bindings/phy/
Damlogic,meson8-hdmi-tx-phy.yaml16 compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
/linux-6.12.1/arch/arm/boot/dts/amlogic/
Dmeson.dtsi33 hhi: system-controller@4000 { label
34 compatible = "amlogic,meson-hhi-sysctrl",
Dmeson8b.dtsi588 &hhi {
695 amlogic,hhi-sysctrl = <&hhi>;
Dmeson8.dtsi627 &hhi {
720 amlogic,hhi-sysctrl = <&hhi>;
/linux-6.12.1/Documentation/gpu/
Dmeson.rst16 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
/linux-6.12.1/drivers/pmdomain/amlogic/
Dmeson-ee-pwrc.c36 /* HHI Offsets */
535 dev_err(&pdev->dev, "failed to get HHI regmap\n"); in meson_ee_pwrc_probe()
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi563 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
630 reg-names = "vpu", "hhi";

12