Home
last modified time | relevance | path

Searched refs:mtk (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.10/drivers/usb/host/
Dxhci-mtk.c76 static int xhci_mtk_host_enable(struct xhci_hcd_mtk *mtk) in xhci_mtk_host_enable() argument
78 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_enable()
84 if (!mtk->has_ippc) in xhci_mtk_host_enable()
93 for (i = 0; i < mtk->num_u3_ports; i++) { in xhci_mtk_host_enable()
94 if ((0x1 << i) & mtk->u3p_dis_msk) { in xhci_mtk_host_enable()
106 for (i = 0; i < mtk->num_u2_ports; i++) { in xhci_mtk_host_enable()
120 if (mtk->num_u3_ports > u3_ports_disabled) in xhci_mtk_host_enable()
126 dev_err(mtk->dev, "clocks are not stable (0x%x)\n", value); in xhci_mtk_host_enable()
133 static int xhci_mtk_host_disable(struct xhci_hcd_mtk *mtk) in xhci_mtk_host_disable() argument
135 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_disable()
[all …]
Dxhci-mtk-sch.c567 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
569 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
584 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
590 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument
592 kfree(mtk->sch_array); in xhci_mtk_sch_exit()
599 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local
616 sch_array = mtk->sch_array; in xhci_mtk_add_ep_quirk()
672 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_drop_ep_quirk() local
684 sch_array = mtk->sch_array; in xhci_mtk_drop_ep_quirk()
Dxhci-mtk.h163 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk);
164 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk);
DMakefile23 xhci-hcd-y += xhci-mtk-sch.o
78 obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk.o
/Linux-v5.10/drivers/phy/mediatek/
DMakefile6 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
7 obj-$(CONFIG_PHY_MTK_UFS) += phy-mtk-ufs.o
8 obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o
10 phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o
11 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o
12 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o
13 obj-$(CONFIG_PHY_MTK_HDMI) += phy-mtk-hdmi-drv.o
/Linux-v5.10/drivers/gpio/
Dgpio-mt7621.c53 struct mtk { struct
70 struct mtk *mtk = gpiochip_get_data(gc); in mtk_gpio_w32() argument
73 gc->write_reg(mtk->base + offset, val); in mtk_gpio_w32()
80 struct mtk *mtk = gpiochip_get_data(gc); in mtk_gpio_r32() local
83 return gc->read_reg(mtk->base + offset); in mtk_gpio_r32()
213 struct mtk *mtk = dev_get_drvdata(dev); in mediatek_gpio_bank_probe() local
218 rg = &mtk->gc_map[bank]; in mediatek_gpio_bank_probe()
225 dat = mtk->base + GPIO_REG_DATA + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
226 set = mtk->base + GPIO_REG_DSET + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
227 ctrl = mtk->base + GPIO_REG_DCLR + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
[all …]
/Linux-v5.10/drivers/media/platform/mtk-mdp/
DMakefile2 mtk-mdp-y += mtk_mdp_core.o
3 mtk-mdp-y += mtk_mdp_comp.o
4 mtk-mdp-y += mtk_mdp_m2m.o
5 mtk-mdp-y += mtk_mdp_regs.o
6 mtk-mdp-y += mtk_mdp_vpu.o
8 obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp.o
10 ccflags-y += -I$(srctree)/drivers/media/platform/mtk-vpu
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
4 mtk-vcodec-enc.o \
5 mtk-vcodec-common.o
7 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
16 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
25 mtk-vcodec-common-y := mtk_vcodec_intr.o \
30 mtk-vcodec-common-y += mtk_vcodec_fw_vpu.o
34 mtk-vcodec-common-y += mtk_vcodec_fw_scp.o
/Linux-v5.10/drivers/crypto/mediatek/
DMakefile2 obj-$(CONFIG_CRYPTO_DEV_MEDIATEK) += mtk-crypto.o
3 mtk-crypto-objs:= mtk-platform.o mtk-aes.o mtk-sha.o
/Linux-v5.10/drivers/soc/mediatek/
DMakefile2 obj-$(CONFIG_MTK_CMDQ) += mtk-cmdq-helper.o
3 obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o
4 obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o
5 obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
6 obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o
/Linux-v5.10/sound/soc/mediatek/common/
DMakefile3 snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o
4 obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
6 obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
/Linux-v5.10/drivers/dma/mediatek/
DMakefile2 obj-$(CONFIG_MTK_UART_APDMA) += mtk-uart-apdma.o
3 obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o
4 obj-$(CONFIG_MTK_CQDMA) += mtk-cqdma.o
/Linux-v5.10/drivers/gnss/
DMakefile12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
13 gnss-mtk-y := mtk.o
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dmtk-btcvsd-snd.txt4 - compatible = "mediatek,mtk-btcvsd-snd";
17 mtk-btcvsd-snd@18000000 {
18 compatible = "mediatek,mtk-btcvsd-snd";
/Linux-v5.10/drivers/media/platform/
DMakefile70 obj-$(CONFIG_VIDEO_MEDIATEK_VPU) += mtk-vpu/
72 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec/
74 obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp/
76 obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk-jpeg/
/Linux-v5.10/drivers/pinctrl/mediatek/
DMakefile3 obj-$(CONFIG_EINT_MTK) += mtk-eint.o
4 obj-$(CONFIG_PINCTRL_MTK) += pinctrl-mtk-common.o
5 obj-$(CONFIG_PINCTRL_MTK_V2) += pinctrl-mtk-common-v2.o
/Linux-v5.10/drivers/media/platform/mtk-vpu/
DMakefile2 mtk-vpu-y += mtk_vpu.o
4 obj-$(CONFIG_VIDEO_MEDIATEK_VPU) += mtk-vpu.o
/Linux-v5.10/Documentation/devicetree/bindings/ata/
Dahci-mtk.txt4 - compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci".
5 When using "mediatek,mtk-ahci" compatible strings, you
32 "mediatek,mtk-ahci";
/Linux-v5.10/drivers/staging/mt7621-dts/
Dmt7621.dtsi79 compatible = "mtk,mt7621-sysc";
84 compatible = "mtk,mt7621-wdt";
140 compatible = "mtk,mt7621-memc";
145 compatible = "mtk,mt7621-cpc";
150 compatible = "mtk,mt7621-mc";
382 compatible = "mtk,mt7621-nand";
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dmediatek-jpeg-encoder.txt7 followed by "mediatek,mtk-jpgenc"
26 "mediatek,mtk-jpgenc";
/Linux-v5.10/Documentation/devicetree/bindings/usb/
Dmediatek,mtk-xhci.txt14 - compatible : should be "mediatek,<soc-model>-xhci", "mediatek,mtk-xhci",
16 "mediatek,mtk-xhci" compatible string, you need SoC specific ones in
89 - compatible : should be "mediatek,<soc-model>-xhci", "mediatek,mtk-xhci",
91 "mediatek,mtk-xhci" compatible string, you need SoC specific ones in
Dmediatek,musb.txt8 followed by "mediatek,mtk-musb"
39 "mediatek,mtk-musb";
/Linux-v5.10/drivers/staging/mt7621-dma/
DMakefile2 obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o
/Linux-v5.10/Documentation/admin-guide/media/
Dplatform-cardlist.rst38 mtk-mdp Mediatek MDP
39 mtk-vcodec-dec Mediatek Video Codec
40 mtk-vpu Mediatek Video Processor Unit
/Linux-v5.10/drivers/mailbox/
DMakefile48 obj-$(CONFIG_MTK_CMDQ_MBOX) += mtk-cmdq-mailbox.o

123