Home
last modified time | relevance | path

Searched full:mtk (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/linux/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()
[all …]
H A Dxhci-mtk-sch.c14 #include "xhci-mtk.h"
44 /* mtk scheduler bitmasks */
127 get_bw_info(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in get_bw_info() argument
130 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info()
150 return &mtk->sch_array[bw_index]; in get_bw_info()
247 create_sch_ep(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in create_sch_ep() argument
255 bw_info = get_bw_info(mtk, udev, ep); in create_sch_ep()
845 static void destroy_sch_ep(struct xhci_hcd_mtk *mtk, struct usb_device *udev, in destroy_sch_ep() argument
885 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
887 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
[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
/linux/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() argument
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()
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
H A DMakefile2 mtk-mdp3-y += mdp_cfg_data.o 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
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"
H A Dmtk-mdp3-m2m.h11 #include "mtk-mdp3-core.h"
12 #include "mtk-mdp3-vpu.h"
13 #include "mtk-mdp3-regs.h"
/linux/sound/soc/mediatek/common/
H A DMakefile3 snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundca…
4 snd-soc-mtk-common-y += mtk-dai-adda-common.o
6 obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
8 obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
/linux/drivers/soc/mediatek/
H A 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_REGULATOR_COUPLER) += mtk-regulator-coupler.o
7 obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o
8 obj-$(CONFIG_MTK_MMSYS) += mtk-mutex.o
9 obj-$(CONFIG_MTK_SVS) += mtk-svs.o
10 obj-$(CONFIG_MTK_SOCINFO) += mtk-socinfo.o
/linux/drivers/media/platform/mediatek/mdp/
H A 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/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
/linux/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
/linux/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
/linux/drivers/firmware/
H A Dmtk-adsp-ipc.c7 #include <linux/firmware/mediatek/mtk-adsp-ipc.h>
17 * mtk_adsp_ipc_send - send ipc cmd to MTK ADSP
44 * mtk_adsp_ipc_recv - recv callback used by MTK ADSP mailbox
114 dev_dbg(dev, "MTK ADSP IPC initialized\n"); in mtk_adsp_ipc_probe()
133 .name = "mtk-adsp-ipc",
141 MODULE_DESCRIPTION("MTK ADSP IPC Driver");
/linux/drivers/dma/mediatek/
H A 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/arch/arm64/boot/dts/mediatek/
H A Dmt8173-elm-hana.dtsi20 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
21 * Gen (MTK) are using synaptics touchscreen (hid-over-i2c driver) as a
43 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
44 * Gen (MTK) are using synaptics trackpad (hid-over-i2c driver) as a
/linux/Documentation/devicetree/bindings/sound/
H A Dmtk-btcvsd-snd.txt4 - compatible = "mediatek,mtk-btcvsd-snd";
17 mtk-btcvsd-snd@18000000 {
18 compatible = "mediatek,mtk-btcvsd-snd";
/linux/drivers/gnss/
H A DMakefile12 obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
13 gnss-mtk-y := mtk.o
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c256 dev_err(&pdev->dev, "[MTK VCODEC] Could not get venc IPI device"); in mtk_vcodec_probe()
268 dev_err(&pdev->dev, "[MTK VCODEC] Failed to get mtk vcodec clock source!"); in mtk_vcodec_probe()
293 "[MTK VCODEC] Failed to install dev->enc_irq %d (%d) core_id (%d)", in mtk_vcodec_probe()
309 dev_err(&pdev->dev, "[MTK VCODEC] v4l2_device_register err=%d", ret); in mtk_vcodec_probe()
316 dev_err(&pdev->dev, "[MTK VCODEC] Failed to allocate video device"); in mtk_vcodec_probe()
337 dev_err(&pdev->dev, "[MTK VCODEC] Failed to init mem2mem enc device"); in mtk_vcodec_probe()
347 dev_err(&pdev->dev, "[MTK VCODEC] Failed to create encode workqueue"); in mtk_vcodec_probe()
354 dev_err(&pdev->dev, "[MTK VCODEC] Failed to register video device"); in mtk_vcodec_probe()
359 dev_dbg(&pdev->dev, "[MTK VCODEC] encoder %d registered as /dev/video%d", in mtk_vcodec_probe()
H A Dmtk_vcodec_enc_pm.c37 dev_err(pm->dev, "[MTK VCODEC] Failed to get venc clock count"); in mtk_vcodec_init_enc_clk()
46 dev_err(pm->dev, "[MTK VCODEC] venc failed to get clk name %d", i); in mtk_vcodec_init_enc_clk()
52 dev_err(pm->dev, "[MTK VCODEC] venc devm_clk_get (%d)%s fail", i, in mtk_vcodec_init_enc_clk()
89 dev_err(pm->dev, "[MTK VCODEC] venc clk_prepare_enable %d %s fail %d", i, in mtk_vcodec_enc_clock_on()
/linux/Documentation/devicetree/bindings/media/
H A Dmediatek,vcodec-subdev-decoder.yaml98 - mediatek,mtk-vcodec-core
99 - mediatek,mtk-vcodec-lat
100 - mediatek,mtk-vcodec-lat-soc
157 - mediatek,mtk-vcodec-core
158 - mediatek,mtk-vcodec-lat
220 compatible = "mediatek,mtk-vcodec-lat";
243 compatible = "mediatek,mtk-vcodec-core";
/linux/Documentation/devicetree/bindings/mailbox/
H A Dmtk,adsp-mbox.yaml4 $id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml#
13 The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC
15 The MTK ADSP mailbox IPC also provides the ability for one processor to
/linux/Documentation/devicetree/bindings/mtd/
H A Dmediatek,nand-ecc-engine.yaml7 title: MediaTek(MTK) SoCs NAND ECC engine
13 MTK NAND ECC engine can cowork with MTK raw NAND and SPI NAND controller.
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmediatek,mtk-cirq.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/mediatek,mtk-cirq.yaml#
30 - const: mediatek,mtk-cirq
62 compatible = "mediatek,mt2701-cirq", "mediatek,mtk-cirq";
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pcie_mac.c131 * @t7xx_dev: MTK device.
173 * @t7xx_dev: MTK device.
204 * @t7xx_dev: MTK device.
237 * @t7xx_dev: MTK device.
252 * @t7xx_dev: MTK device.

12345678910>>...21