Home
last modified time | relevance | path

Searched refs:mtk (Results 1 - 25 of 103) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mtk.c23 #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
175 xhci_mtk_ssusb_config(struct xhci_hcd_mtk *mtk) xhci_mtk_ssusb_config() argument
209 xhci_mtk_clks_get(struct xhci_hcd_mtk *mtk) xhci_mtk_clks_get() argument
235 xhci_mtk_clks_enable(struct xhci_hcd_mtk *mtk) xhci_mtk_clks_enable() argument
283 xhci_mtk_clks_disable(struct xhci_hcd_mtk *mtk) xhci_mtk_clks_disable() argument
293 usb_wakeup_ip_sleep_set(struct xhci_hcd_mtk *mtk, bool enable) usb_wakeup_ip_sleep_set() argument
314 usb_wakeup_of_property_parse(struct xhci_hcd_mtk *mtk, struct device_node *dn) usb_wakeup_of_property_parse() argument
341 usb_wakeup_set(struct xhci_hcd_mtk *mtk, bool enable) usb_wakeup_set() argument
356 xhci_mtk_ldos_enable(struct xhci_hcd_mtk *mtk) xhci_mtk_ldos_enable() argument
375 xhci_mtk_ldos_disable(struct xhci_hcd_mtk *mtk) xhci_mtk_ldos_disable() argument
384 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_quirks() local
414 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_setup() local
440 struct xhci_hcd_mtk *mtk; xhci_mtk_probe() local
599 struct xhci_hcd_mtk *mtk = platform_get_drvdata(dev); xhci_mtk_remove() local
630 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_suspend() local
648 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_resume() local
[all...]
H A Dxhci-mtk-sch.c14 #include "xhci-mtk.h"
35 /* mtk scheduler bitmasks */
652 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
654 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
669 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
671 INIT_LIST_HEAD(&mtk->bw_ep_chk_list); in xhci_mtk_sch_init()
677 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument
679 kfree(mtk->sch_array); in xhci_mtk_sch_exit()
686 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local
723 list_add_tail(&sch_ep->endpoint, &mtk in xhci_mtk_add_ep_quirk()
732 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_drop_ep_quirk() local
768 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_check_bandwidth() local
817 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_reset_bandwidth() local
[all...]
H A Dxhci-mtk.h92 * mtk xHCI scheduling information put into reserved DWs
167 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk);
168 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk);
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-mtk.c25 #include "xhci-mtk.h"
139 static void xhci_mtk_set_frame_interval(struct xhci_hcd_mtk *mtk) in xhci_mtk_set_frame_interval() argument
141 struct device *dev = mtk->dev; in xhci_mtk_set_frame_interval()
142 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval()
179 static void xhci_mtk_rxfifo_depth_set(struct xhci_hcd_mtk *mtk) in xhci_mtk_rxfifo_depth_set() argument
181 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_rxfifo_depth_set()
184 if (!mtk->rxfifo_depth) in xhci_mtk_rxfifo_depth_set()
190 SCH_FIFO_TO_KB(mtk->rxfifo_depth) - 1); in xhci_mtk_rxfifo_depth_set()
194 static void xhci_mtk_init_quirk(struct xhci_hcd_mtk *mtk) in xhci_mtk_init_quirk() argument
197 xhci_mtk_set_frame_interval(mtk); in xhci_mtk_init_quirk()
203 xhci_mtk_host_enable(struct xhci_hcd_mtk *mtk) xhci_mtk_host_enable() argument
263 xhci_mtk_host_disable(struct xhci_hcd_mtk *mtk) xhci_mtk_host_disable() argument
309 xhci_mtk_ssusb_config(struct xhci_hcd_mtk *mtk) xhci_mtk_ssusb_config() argument
344 usb_wakeup_ip_sleep_set(struct xhci_hcd_mtk *mtk, bool enable) usb_wakeup_ip_sleep_set() argument
395 usb_wakeup_of_property_parse(struct xhci_hcd_mtk *mtk, struct device_node *dn) usb_wakeup_of_property_parse() argument
421 usb_wakeup_set(struct xhci_hcd_mtk *mtk, bool enable) usb_wakeup_set() argument
427 xhci_mtk_clks_get(struct xhci_hcd_mtk *mtk) xhci_mtk_clks_get() argument
441 xhci_mtk_vregs_get(struct xhci_hcd_mtk *mtk) xhci_mtk_vregs_get() argument
454 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_quirks() local
478 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_setup() local
513 struct xhci_hcd_mtk *mtk; xhci_mtk_probe() local
709 struct xhci_hcd_mtk *mtk = platform_get_drvdata(pdev); xhci_mtk_remove() local
741 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_suspend() local
776 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_resume() local
809 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_runtime_suspend() local
825 struct xhci_hcd_mtk *mtk = dev_get_drvdata(dev); xhci_mtk_runtime_resume() local
[all...]
H A Dxhci-mtk-sch.c14 #include "xhci-mtk.h"
32 /* mtk scheduler bitmasks */
119 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 in xhci_mtk_sch_init()
621 xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) xhci_mtk_sch_exit() argument
629 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); add_ep_quirk() local
669 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); drop_ep_quirk() local
690 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_check_bandwidth() local
731 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); xhci_mtk_reset_bandwidth() local
[all...]
H A DMakefile22 xhci-mtk-hcd-y := xhci-mtk.o xhci-mtk-sch.o
75 obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk-hcd.o
H A Dxhci-mtk.h103 * mtk xHCI scheduling information put into reserved DWs
172 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk);
173 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk);
/kernel/linux/linux-6.6/drivers/phy/mediatek/
H A 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
[all...]
/kernel/linux/linux-5.10/drivers/phy/mediatek/
H A 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
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-mt7621.c43 * struct mtk - state container for
52 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 in mediatek_gpio_bank_probe() local
301 struct mtk *mtk; mediatek_gpio_probe() local
[all...]
/kernel/linux/linux-6.6/sound/soc/mediatek/common/
H A DMakefile3 snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.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/gpio/
H A Dgpio-mt7621.c44 * 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 in mediatek_gpio_bank_probe() local
298 struct mtk *mtk; mediatek_gpio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
H A 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
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/common/
H A DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-common.o
5 mtk-vcodec-common-y := mtk_vcodec_intr.o \
10 mtk-vcodec-common-y += mtk_vcodec_fw_vpu.o
14 mtk-vcodec-common-y += mtk_vcodec_fw_scp.o
18 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dbgfs.o
20 mtk-vcodec-dbgfs-y := mtk_vcodec_dbgfs.o
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
H A DMakefile2 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/
H A 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
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/jpeg/
H A DMakefile3 mtk-jpeg-enc-hw.o \
4 mtk-jpeg-dec-hw.o
9 mtk-jpeg-enc-hw-y := mtk_jpeg_enc_hw.o
10 mtk-jpeg-dec-hw-y := mtk_jpeg_dec_hw.o
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
H A DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
4 mtk-vcodec-dec-hw.o
6 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
25 mtk-vcodec-dec-hw-y := mtk_vcodec_dec_hw.o
/kernel/linux/linux-5.10/drivers/gnss/
H A DMakefile12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
13 gnss-mtk-y := mtk.o
/kernel/linux/linux-6.6/drivers/gnss/
H A DMakefile12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
13 gnss-mtk-y := mtk.o
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
H A DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-enc.o
5 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
/kernel/linux/linux-6.6/include/linux/soc/mediatek/
H A Dmtk-mmsys.h10 #include <linux/mailbox/mtk-cmdq-mailbox.h>
11 #include <linux/soc/mediatek/mtk-cmdq.h>
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-core.h12 #include <linux/soc/mediatek/mtk-mmsys.h>
13 #include <linux/soc/mediatek/mtk-mutex.h>
14 #include "mtk-mdp3-comp.h"
15 #include "mtk-mdp3-vpu.h"
17 #define MDP_MODULE_NAME "mtk-mdp3"
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_disp_drv.h9 #include <linux/soc/mediatek/mtk-cmdq.h>
10 #include <linux/soc/mediatek/mtk-mmsys.h>
11 #include <linux/soc/mediatek/mtk-mutex.h>
/kernel/linux/common_modules/tzdriver/tui/
H A DMakefile18 EXTRA_CFLAGS += -Idrivers/devkit/lcdkit/lcdkit3.0/kernel/mtk/include
20 EXTRA_CFLAGS += -Idrivers/devkit/lcdkit/lcdkit3.0/kernel/mtk/adapt

Completed in 9 milliseconds

12345