| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | xhci-mtk.c | 23 #include "xhci-mtk.h" 76 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 [all …]
|
| D | xhci-mtk-sch.c | 14 #include "xhci-mtk.h" 28 /* mtk scheduler bitmasks */ 632 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument 634 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() 649 mtk->sch_array = sch_array; in xhci_mtk_sch_init() 651 INIT_LIST_HEAD(&mtk->bw_ep_chk_list); in xhci_mtk_sch_init() 657 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument 659 kfree(mtk->sch_array); in xhci_mtk_sch_exit() 666 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local 703 list_add_tail(&sch_ep->endpoint, &mtk->bw_ep_chk_list); in xhci_mtk_add_ep_quirk() [all …]
|
| /kernel/linux/linux-4.19/drivers/usb/host/ |
| D | xhci-mtk.c | 23 #include "xhci-mtk.h" 76 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_disabed) 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 [all …]
|
| D | xhci-mtk-sch.c | 14 #include "xhci-mtk.h" 22 /* mtk scheduler bitmasks */ 285 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument 287 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() 302 mtk->sch_array = sch_array; in xhci_mtk_sch_init() 308 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument 310 kfree(mtk->sch_array); in xhci_mtk_sch_exit() 317 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local 334 sch_array = mtk->sch_array; in xhci_mtk_add_ep_quirk() 388 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_drop_ep_quirk() local [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-mt7621.c | 44 * struct mtk - state container for 53 struct mtk { struct 70 struct mtk *mtk = gpiochip_get_data(gc); in mtk_gpio_w32() local 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-mt7621.c | 44 * struct mtk - state container for 53 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/mediatek/ |
| D | Makefile | 6 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
|
| /kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
| D | Makefile | 3 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
|
| /kernel/linux/linux-4.19/drivers/media/platform/mtk-mdp/ |
| D | Makefile | 2 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
|
| /kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/ |
| D | Makefile | 2 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
|
| /kernel/linux/linux-4.19/drivers/media/platform/mtk-vcodec/ |
| D | Makefile | 3 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 \ 17 mtk-vcodec-enc-y := venc/venc_vp8_if.o \ 26 mtk-vcodec-common-y := mtk_vcodec_intr.o \ 29 ccflags-y += -I$(srctree)/drivers/media/platform/mtk-vpu
|
| /kernel/linux/linux-4.19/drivers/crypto/mediatek/ |
| D | Makefile | 1 obj-$(CONFIG_CRYPTO_DEV_MEDIATEK) += mtk-crypto.o 2 mtk-crypto-objs:= mtk-platform.o mtk-aes.o mtk-sha.o
|
| /kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
| D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_MEDIATEK) += mtk-crypto.o 3 mtk-crypto-objs:= mtk-platform.o mtk-aes.o mtk-sha.o
|
| /kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
| D | Makefile | 3 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
|
| /kernel/linux/linux-5.10/drivers/soc/mediatek/ |
| D | Makefile | 2 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
|
| /kernel/linux/linux-4.19/drivers/staging/mt7621-eth/ |
| D | Makefile | 5 mtk-eth-soc-y += mtk_eth_soc.o ethtool.o 7 mtk-eth-soc-$(CONFIG_NET_MEDIATEK_MDIO) += mdio.o 8 mtk-eth-soc-$(CONFIG_NET_MEDIATEK_MDIO_MT7620) += mdio_mt7620.o 10 mtk-eth-soc-$(CONFIG_NET_MEDIATEK_MT7621) += soc_mt7621.o 14 obj-$(CONFIG_NET_MEDIATEK_SOC_STAGING) += mtk-eth-soc.o
|
| /kernel/linux/linux-4.19/sound/soc/mediatek/common/ |
| D | Makefile | 3 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
|
| /kernel/linux/linux-4.19/drivers/soc/mediatek/ |
| D | Makefile | 1 obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o 2 obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o 3 obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/ |
| D | mt8173-elm-hana.dtsi | 21 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd 22 * Gen (MTK) are using synaptics touchscreen (hid-over-i2c driver) as a 36 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd 37 * Gen (MTK) are using synaptics trackpad (hid-over-i2c driver) as a
|
| /kernel/linux/linux-5.10/drivers/dma/mediatek/ |
| D | Makefile | 2 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
|
| /kernel/linux/linux-5.10/drivers/gnss/ |
| D | Makefile | 12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o 13 gnss-mtk-y := mtk.o
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | mtk-btcvsd-snd.txt | 4 - compatible = "mediatek,mtk-btcvsd-snd"; 17 mtk-btcvsd-snd@18000000 { 18 compatible = "mediatek,mtk-btcvsd-snd";
|
| /kernel/linux/linux-5.10/drivers/media/platform/ |
| D | Makefile | 70 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/
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/nvmem/ |
| D | mtk-efuse.txt | 1 = Mediatek MTK-EFUSE device tree bindings = 3 This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs. 13 Are child nodes of MTK-EFUSE, bindings of which as described in
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
| D | mtk-efuse.txt | 1 = Mediatek MTK-EFUSE device tree bindings = 3 This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs. 13 Are child nodes of MTK-EFUSE, bindings of which as described in
|