Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/usb/host/
Dxhci-mtk.c133 static void xhci_mtk_set_frame_interval(struct xhci_hcd_mtk *mtk) in xhci_mtk_set_frame_interval() argument
135 struct device *dev = mtk->dev; in xhci_mtk_set_frame_interval()
136 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval()
168 static int xhci_mtk_host_enable(struct xhci_hcd_mtk *mtk) in xhci_mtk_host_enable() argument
170 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_enable()
176 if (!mtk->has_ippc) in xhci_mtk_host_enable()
185 for (i = 0; i < mtk->num_u3_ports; i++) { in xhci_mtk_host_enable()
186 if ((0x1 << i) & mtk->u3p_dis_msk) { in xhci_mtk_host_enable()
198 for (i = 0; i < mtk->num_u2_ports; i++) { in xhci_mtk_host_enable()
199 if (BIT(i) & mtk->u2p_dis_msk) in xhci_mtk_host_enable()
[all …]
Dxhci-mtk-sch.c119 get_bw_info(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in get_bw_info() argument
122 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info()
142 return &mtk->sch_array[bw_index]; in get_bw_info()
239 create_sch_ep(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in create_sch_ep() argument
246 bw_info = get_bw_info(mtk, udev, ep); in create_sch_ep()
560 static void destroy_sch_ep(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in destroy_sch_ep() argument
600 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
602 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
613 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
615 INIT_LIST_HEAD(&mtk->bw_ep_chk_list); in xhci_mtk_sch_init()
[all …]
DMakefile22 xhci-mtk-hcd-y := xhci-mtk.o xhci-mtk-sch.o
75 obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk-hcd.o
Dxhci-mtk.h170 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk);
171 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk);
/linux-6.1.9/drivers/phy/mediatek/
DMakefile6 obj-$(CONFIG_PHY_MTK_DP) += phy-mtk-dp.o
7 obj-$(CONFIG_PHY_MTK_PCIE) += phy-mtk-pcie.o
8 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
9 obj-$(CONFIG_PHY_MTK_UFS) += phy-mtk-ufs.o
10 obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o
12 phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o
13 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o
14 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o
15 obj-$(CONFIG_PHY_MTK_HDMI) += phy-mtk-hdmi-drv.o
17 phy-mtk-mipi-dsi-drv-y := phy-mtk-mipi-dsi.o
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
DMakefile2 mtk-mdp3-y += mtk-mdp3-core.o mtk-mdp3-vpu.o mtk-mdp3-regs.o
3 mtk-mdp3-y += mtk-mdp3-m2m.o
4 mtk-mdp3-y += mtk-mdp3-comp.o mtk-mdp3-cmdq.o
6 obj-$(CONFIG_VIDEO_MEDIATEK_MDP3) += mtk-mdp3.o
/linux-6.1.9/drivers/gpio/
Dgpio-mt7621.c52 struct mtk { struct
69 struct mtk *mtk = gpiochip_get_data(gc); in mtk_gpio_w32() local
72 gc->write_reg(mtk->base + offset, val); in mtk_gpio_w32()
79 struct mtk *mtk = gpiochip_get_data(gc); in mtk_gpio_r32() local
82 return gc->read_reg(mtk->base + offset); in mtk_gpio_r32()
223 struct mtk *mtk = dev_get_drvdata(dev); in mediatek_gpio_bank_probe() local
228 rg = &mtk->gc_map[bank]; in mediatek_gpio_bank_probe()
234 dat = mtk->base + GPIO_REG_DATA + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
235 set = mtk->base + GPIO_REG_DSET + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
236 ctrl = mtk->base + GPIO_REG_DCLR + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
[all …]
/linux-6.1.9/drivers/soc/mediatek/
DMakefile2 obj-$(CONFIG_MTK_CMDQ) += mtk-cmdq-helper.o
3 obj-$(CONFIG_MTK_DEVAPC) += mtk-devapc.o
4 obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o
5 obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o
6 obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
7 obj-$(CONFIG_MTK_SCPSYS_PM_DOMAINS) += mtk-pm-domains.o
8 obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o
9 obj-$(CONFIG_MTK_MMSYS) += mtk-mutex.o
10 obj-$(CONFIG_MTK_SVS) += mtk-svs.o
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
4 mtk-vcodec-enc.o \
5 mtk-vcodec-common.o \
6 mtk-vcodec-dec-hw.o
8 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
25 mtk-vcodec-dec-hw-y := mtk_vcodec_dec_hw.o
27 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
36 mtk-vcodec-common-y := mtk_vcodec_intr.o \
41 mtk-vcodec-common-y += mtk_vcodec_fw_vpu.o
45 mtk-vcodec-common-y += mtk_vcodec_fw_scp.o
DKconfig37 modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
/linux-6.1.9/drivers/media/platform/mediatek/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
/linux-6.1.9/sound/soc/mediatek/common/
DMakefile3 snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o
4 obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
6 obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
/linux-6.1.9/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-6.1.9/drivers/gnss/
DMakefile12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
13 gnss-mtk-y := mtk.o
/linux-6.1.9/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-6.1.9/drivers/media/platform/mediatek/vpu/
DMakefile2 mtk-vpu-y += mtk_vpu.o
4 obj-$(CONFIG_VIDEO_MEDIATEK_VPU) += mtk-vpu.o
/linux-6.1.9/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-6.1.9/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-6.1.9/Documentation/devicetree/bindings/media/
Dmediatek,vcodec-subdev-decoder.yaml100 - mediatek,mtk-vcodec-lat
101 - mediatek,mtk-vcodec-lat-soc
153 const: mediatek,mtk-vcodec-core
214 - mediatek,mtk-vcodec-lat
245 compatible = "mediatek,mtk-vcodec-lat";
268 compatible = "mediatek,mtk-vcodec-core";
Dmediatek-jpeg-encoder.yaml22 - const: mediatek,mtk-jpgenc
70 "mediatek,mtk-jpgenc";
/linux-6.1.9/drivers/mailbox/
DMakefile52 obj-$(CONFIG_MTK_ADSP_MBOX) += mtk-adsp-mailbox.o
54 obj-$(CONFIG_MTK_CMDQ_MBOX) += mtk-cmdq-mailbox.o
/linux-6.1.9/Documentation/devicetree/bindings/spmi/
Dmtk,spmi-mtk-pmif.yaml4 $id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml#
/linux-6.1.9/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-6.1.9/sound/soc/sof/mediatek/
DMakefile2 obj-$(CONFIG_SND_SOC_SOF_MTK_COMMON) += mtk-adsp-common.o
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Dmediatek,musb.yaml23 - const: mediatek,mtk-musb
95 compatible = "mediatek,mt2701-musb", "mediatek,mtk-musb";

1234