Home
last modified time | relevance | path

Searched refs:rockchip (Results 1 – 25 of 34) sorted by relevance

12

/drivers/pci/controller/
Dpcie-rockchip.c26 int rockchip_pcie_parse_dt(struct rockchip_pcie *rockchip) in rockchip_pcie_parse_dt() argument
28 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt()
34 if (rockchip->is_rc) { in rockchip_pcie_parse_dt()
38 rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs); in rockchip_pcie_parse_dt()
39 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt()
40 return PTR_ERR(rockchip->reg_base); in rockchip_pcie_parse_dt()
42 rockchip->mem_res = in rockchip_pcie_parse_dt()
45 if (!rockchip->mem_res) in rockchip_pcie_parse_dt()
49 rockchip->apb_base = in rockchip_pcie_parse_dt()
51 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt()
[all …]
Dpcie-rockchip-host.c42 static void rockchip_pcie_enable_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_enable_bw_int() argument
46 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int()
48 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int()
51 static void rockchip_pcie_clr_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_clr_bw_int() argument
55 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); in rockchip_pcie_clr_bw_int()
57 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); in rockchip_pcie_clr_bw_int()
60 static void rockchip_pcie_update_txcredit_mui(struct rockchip_pcie *rockchip) in rockchip_pcie_update_txcredit_mui() argument
65 val = rockchip_pcie_read(rockchip, PCIE_CORE_TXCREDIT_CFG1); in rockchip_pcie_update_txcredit_mui()
68 rockchip_pcie_write(rockchip, val, PCIE_CORE_TXCREDIT_CFG1); in rockchip_pcie_update_txcredit_mui()
71 static int rockchip_pcie_valid_device(struct rockchip_pcie *rockchip, in rockchip_pcie_valid_device() argument
[all …]
Dpcie-rockchip-ep.c41 struct rockchip_pcie rockchip; member
53 static void rockchip_pcie_clear_ep_ob_atu(struct rockchip_pcie *rockchip, in rockchip_pcie_clear_ep_ob_atu() argument
56 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
58 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
60 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
62 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
64 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
66 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
70 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu() argument
83 cpu_addr -= rockchip->mem_res->start; in rockchip_pcie_prog_ep_ob_atu()
[all …]
Dpcie-rockchip.h320 static u32 rockchip_pcie_read(struct rockchip_pcie *rockchip, u32 reg) in rockchip_pcie_read() argument
322 return readl(rockchip->apb_base + reg); in rockchip_pcie_read()
325 static void rockchip_pcie_write(struct rockchip_pcie *rockchip, u32 val, in rockchip_pcie_write() argument
328 writel(val, rockchip->apb_base + reg); in rockchip_pcie_write()
331 int rockchip_pcie_parse_dt(struct rockchip_pcie *rockchip);
332 int rockchip_pcie_init_port(struct rockchip_pcie *rockchip);
333 int rockchip_pcie_get_phys(struct rockchip_pcie *rockchip);
334 void rockchip_pcie_deinit_phys(struct rockchip_pcie *rockchip);
335 int rockchip_pcie_enable_clocks(struct rockchip_pcie *rockchip);
338 struct rockchip_pcie *rockchip, u32 type);
DMakefile26 obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
27 obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
28 obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
/drivers/phy/rockchip/
DMakefile2 obj-$(CONFIG_PHY_ROCKCHIP_DP) += phy-rockchip-dp.o
3 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
4 obj-$(CONFIG_PHY_ROCKCHIP_EMMC) += phy-rockchip-emmc.o
5 obj-$(CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY) += phy-rockchip-inno-dsidphy.o
6 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi.o
7 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o
8 obj-$(CONFIG_PHY_ROCKCHIP_PCIE) += phy-rockchip-pcie.o
9 obj-$(CONFIG_PHY_ROCKCHIP_TYPEC) += phy-rockchip-typec.o
10 obj-$(CONFIG_PHY_ROCKCHIP_USB) += phy-rockchip-usb.o
/drivers/clk/rockchip/
DMakefile6 obj-$(CONFIG_COMMON_CLK_ROCKCHIP) += clk-rockchip.o
8 clk-rockchip-y += clk.o
9 clk-rockchip-y += clk-pll.o
10 clk-rockchip-y += clk-cpu.o
11 clk-rockchip-y += clk-half-divider.o
12 clk-rockchip-y += clk-inverter.o
13 clk-rockchip-y += clk-mmc-phase.o
14 clk-rockchip-y += clk-muxgrf.o
15 clk-rockchip-y += clk-ddr.o
16 clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o
/drivers/gpu/drm/rockchip/
DMakefile10 rockchipdrm-$(CONFIG_ROCKCHIP_ANALOGIX_DP) += analogix_dp-rockchip.o
12 rockchipdrm-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o
13 rockchipdrm-$(CONFIG_ROCKCHIP_DW_MIPI_DSI) += dw-mipi-dsi-rockchip.o
/drivers/nvmem/
DMakefile33 nvmem_rockchip_efuse-y := rockchip-efuse.o
34 obj-$(CONFIG_ROCKCHIP_OTP) += nvmem-rockchip-otp.o
35 nvmem-rockchip-otp-y := rockchip-otp.o
/drivers/staging/media/rkvdec/
DMakefile1 obj-$(CONFIG_VIDEO_ROCKCHIP_VDEC) += rockchip-vdec.o
3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o
DKconfig16 will be called rockchip-vdec.
/drivers/media/platform/rockchip/rga/
DMakefile2 rockchip-rga-objs := rga.o rga-hw.o rga-buf.o
4 obj-$(CONFIG_VIDEO_ROCKCHIP_RGA) += rockchip-rga.o
/drivers/staging/media/rkisp1/
DMakefile3 obj-$(CONFIG_VIDEO_ROCKCHIP_ISP1) += rockchip-isp1.o
4 rockchip-isp1-objs += rkisp1-capture.o \
DKconfig19 will be called rockchip-isp1.
/drivers/devfreq/event/
DMakefile6 obj-$(CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI) += rockchip-dfi.o
/drivers/phy/
DMakefile27 rockchip/ \
/drivers/soc/
DMakefile21 obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
DKconfig15 source "drivers/soc/rockchip/Kconfig"
/drivers/iommu/
DMakefile21 obj-$(CONFIG_ROCKCHIP_IOMMU) += rockchip-iommu.o
/drivers/mailbox/
DMakefile20 obj-$(CONFIG_ROCKCHIP_MBOX) += rockchip-mailbox.o
/drivers/media/platform/
DMakefile55 obj-$(CONFIG_VIDEO_ROCKCHIP_RGA) += rockchip/rga/
/drivers/crypto/
DMakefile39 obj-$(CONFIG_CRYPTO_DEV_ROCKCHIP) += rockchip/
/drivers/net/phy/
DMakefile77 obj-$(CONFIG_ROCKCHIP_PHY) += rockchip.o
/drivers/pinctrl/
DMakefile32 obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
/drivers/pwm/
DMakefile40 obj-$(CONFIG_PWM_ROCKCHIP) += pwm-rockchip.o

12