| /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 …]
|
| D | xhci-mtk.h | 94 * mtk xHCI scheduling information put into reserved DWs 109 * struct mu3c_ippc_regs: MTK ssusb ip port control registers 169 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk); 170 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk);
|
| /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
|
| D | mtk_vcodec_drv.h | 20 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec" 21 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc" 29 * enum mtk_hw_reg_idx - MTK hw register base index 53 * enum mtk_instance_type - The type of an MTK Vcodec instance. 61 * enum mtk_instance_state - The state of an MTK Vcodec instance. 350 * @reg_base: Mapped address of MTK Vcodec registers.
|
| /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-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
|
| D | mtk-afe-platform-driver.h | 3 * mtk-afe-platform-driver.h -- Mediatek afe platform driver definition 12 #define AFE_PCM_NAME "mtk-afe-pcm"
|
| D | mtk-afe-platform-driver.c | 3 * mtk-afe-platform-driver.c -- Mediatek afe platform driver 13 #include "mtk-afe-platform-driver.h" 14 #include "mtk-base-afe.h"
|
| /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-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-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
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
| D | Makefile | 3 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
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/ |
| D | ahci-mtk.txt | 4 - compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci". 5 When using "mediatek,mtk-ahci" compatible strings, you 32 "mediatek,mtk-ahci";
|
| /kernel/linux/linux-5.10/drivers/media/platform/mtk-vpu/ |
| D | Makefile | 2 mtk-vpu-y += mtk_vpu.o 4 obj-$(CONFIG_VIDEO_MEDIATEK_VPU) += mtk-vpu.o
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | mediatek,mtk-xhci.txt | 14 - 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
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | mtk-nand.txt | 1 MTK SoCs NAND FLASH controller (NFC) DT binding 3 This file documents the device tree bindings for MTK SoCs NAND controllers. 74 According to MTK NAND controller design, 76 that MTK NAND controller supports.
|
| /kernel/linux/linux-5.10/net/dsa/ |
| D | tag_mtk.c | 84 /* The MTK header is added by the switch between src addr in mtk_tag_rcv() 91 /* Remove MTK tag and recalculate checksum. */ in mtk_tag_rcv() 113 .name = "mtk",
|