Home
last modified time | relevance | path

Searched refs:vtg (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c296 vtg_set_mode(vtg, VTG_MODE_MASTER, vtg->sync_params, mode); in sti_vtg_set_config()
298 vtg_reset(vtg); in sti_vtg_set_config()
343 vtg->crtc = crtc; in sti_vtg_register_client()
360 raw_notifier_call_chain(&vtg->notifier_list, event, vtg->crtc); in vtg_irq_thread()
369 vtg->irq_status = readl(vtg->regs + VTG_HOST_ITS); in vtg_irq()
371 writel(vtg->irq_status, vtg->regs + VTG_HOST_ITS_BCLR); in vtg_irq()
386 vtg = devm_kzalloc(dev, sizeof(*vtg), GFP_KERNEL); in vtg_probe()
387 if (!vtg) in vtg_probe()
397 if (!vtg->regs) { in vtg_probe()
403 if (vtg->irq < 0) { in vtg_probe()
[all …]
H A Dsti_vtg.h24 void sti_vtg_set_config(struct sti_vtg *vtg,
26 int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
28 int sti_vtg_unregister_client(struct sti_vtg *vtg,
H A Dsti_crtc.c86 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
288 struct sti_vtg *vtg = compo->vtg[pipe]; in sti_crtc_enable_vblank() local
292 if (sti_vtg_register_client(vtg, vtg_vblank_nb, crtc)) { in sti_crtc_enable_vblank()
307 struct sti_vtg *vtg = compo->vtg[pipe]; in sti_crtc_disable_vblank() local
311 if (sti_vtg_unregister_client(vtg, vtg_vblank_nb)) in sti_crtc_disable_vblank()
H A Dsti_compositor.h78 struct sti_vtg *vtg[STI_MAX_MIXER]; member
H A Dsti_gdp.c132 struct sti_vtg *vtg; member
468 if (sti_vtg_unregister_client(gdp->vtg, &gdp->vtg_field_nb)) in sti_gdp_disable()
475 gdp->vtg = NULL; in sti_gdp_disable()
745 if (!gdp->vtg) { in sti_gdp_atomic_update()
750 gdp->vtg = compo->vtg[mixer->id]; in sti_gdp_atomic_update()
751 sti_vtg_register_client(gdp->vtg, &gdp->vtg_field_nb, crtc); in sti_gdp_atomic_update()
H A Dsti_compositor.c248 compo->vtg[STI_MIXER_MAIN] = of_vtg_find(vtg_np); in sti_compositor_probe()
253 compo->vtg[STI_MIXER_AUX] = of_vtg_find(vtg_np); in sti_compositor_probe()
H A Dsti_hqvdp.c357 struct sti_vtg *vtg; member
763 if (sti_vtg_unregister_client(hqvdp->vtg, &hqvdp->vtg_nb)) in sti_hqvdp_disable()
1092 if (sti_vtg_register_client(hqvdp->vtg, in sti_hqvdp_atomic_check()
1395 hqvdp->vtg = of_vtg_find(vtg_np); in sti_hqvdp_probe()
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dst,stih4xx.txt3 - sti-vtg: video timing generator
5 - compatible: "st,vtg"
9 - st,slave: phandle on a slave vtg
42 - st,vtg: phandle(s) on vtg device (main and aux) nodes.
115 - st,vtg: phandle on vtg main device node.
123 compatible = "st,vtg";
129 compatible = "st,vtg";
135 compatible = "st,vtg";
141 compatible = "st,vtg";
188 st,vtg = <&vtg_main>, <&vtg_aux>;
[all …]
/openbmc/linux/drivers/mfd/
H A Dmenelaus.c445 u16 vtg; member
457 ret = menelaus_read_reg(vtg->vtg_reg); in menelaus_set_voltage()
460 val = ret & ~(((1 << vtg->vtg_bits) - 1) << vtg->vtg_shift); in menelaus_set_voltage()
461 val |= vtg_val << vtg->vtg_shift; in menelaus_set_voltage()
465 vtg->name, mV, vtg->vtg_reg, val); in menelaus_set_voltage()
467 ret = menelaus_write_reg(vtg->vtg_reg, val); in menelaus_set_voltage()
486 if (tbl->vtg == vtg) in menelaus_get_vtg_value()
646 const struct menelaus_vtg *vtg; in menelaus_set_vdcdc() local
652 vtg = &vdcdc2_vtg; in menelaus_set_vdcdc()
654 vtg = &vdcdc3_vtg; in menelaus_set_vdcdc()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstih410.dtsi169 st,vtg = <&vtg_main>, <&vtg_aux>;
245 st,vtg = <&vtg_main>;
H A Dstih407.dtsi77 st,vtg = <&vtg_main>, <&vtg_aux>;
H A Dstih407-family.dtsi296 vtg_main: sti-vtg-main@8d02800 {
297 compatible = "st,vtg";
302 vtg_aux: sti-vtg-aux@8d00200 {
303 compatible = "st,vtg";
/openbmc/u-boot/arch/arm/dts/
H A Dstih410.dtsi218 st,vtg = <&vtg_main>, <&vtg_aux>;
311 st,vtg = <&vtg_main>;
H A Dstih407-family.dtsi187 vtg_main: sti-vtg-main@8d02800 {
188 compatible = "st,vtg";
193 vtg_aux: sti-vtg-aux@8d00200 {
194 compatible = "st,vtg";