Searched refs:padctl (Results 1 – 13 of 13) sorted by relevance
/external/u-boot/arch/arm/mach-tegra/tegra124/ |
D | xusb-padctl.c | 108 static int tegra_xusb_padctl_enable(struct tegra_xusb_padctl *padctl) in tegra_xusb_padctl_enable() argument 112 if (padctl->enable++ > 0) in tegra_xusb_padctl_enable() 115 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 117 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 121 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 123 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 127 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 129 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 134 static int tegra_xusb_padctl_disable(struct tegra_xusb_padctl *padctl) in tegra_xusb_padctl_disable() argument 138 if (padctl->enable == 0) { in tegra_xusb_padctl_disable() [all …]
|
D | Makefile | 14 obj-y += xusb-padctl.o 15 obj-y += ../xusb-padctl-common.o
|
/external/u-boot/arch/arm/mach-tegra/tegra210/ |
D | xusb-padctl.c | 96 static int tegra_xusb_padctl_enable(struct tegra_xusb_padctl *padctl) in tegra_xusb_padctl_enable() argument 100 if (padctl->enable++ > 0) in tegra_xusb_padctl_enable() 103 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 105 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 109 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 111 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 115 value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 117 padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM); in tegra_xusb_padctl_enable() 122 static int tegra_xusb_padctl_disable(struct tegra_xusb_padctl *padctl) in tegra_xusb_padctl_disable() argument 126 if (padctl->enable == 0) { in tegra_xusb_padctl_disable() [all …]
|
D | Makefile | 11 obj-y += xusb-padctl.o 12 obj-y += ../xusb-padctl-common.o
|
/external/u-boot/arch/arm/mach-tegra/ |
D | xusb-padctl-common.c | 52 for (i = 0; i < padctl.socdata->num_phys; i++) { in tegra_xusb_phy_get() 53 phy = &padctl.socdata->phys[i]; in tegra_xusb_phy_get() 63 tegra_xusb_padctl_find_lane(struct tegra_xusb_padctl *padctl, const char *name) in tegra_xusb_padctl_find_lane() argument 67 for (i = 0; i < padctl->socdata->num_lanes; i++) in tegra_xusb_padctl_find_lane() 68 if (strcmp(name, padctl->socdata->lanes[i].name) == 0) in tegra_xusb_padctl_find_lane() 69 return &padctl->socdata->lanes[i]; in tegra_xusb_padctl_find_lane() 75 tegra_xusb_padctl_group_parse_dt(struct tegra_xusb_padctl *padctl, in tegra_xusb_padctl_group_parse_dt() argument 115 static int tegra_xusb_padctl_find_function(struct tegra_xusb_padctl *padctl, in tegra_xusb_padctl_find_function() argument 120 for (i = 0; i < padctl->socdata->num_functions; i++) in tegra_xusb_padctl_find_function() 121 if (strcmp(name, padctl->socdata->functions[i]) == 0) in tegra_xusb_padctl_find_function() [all …]
|
D | xusb-padctl-common.h | 39 struct tegra_xusb_padctl *padctl; member 85 extern struct tegra_xusb_padctl padctl; 87 static inline u32 padctl_readl(struct tegra_xusb_padctl *padctl, in padctl_readl() argument 90 return readl(padctl->regs.start + offset); in padctl_readl() 93 static inline void padctl_writel(struct tegra_xusb_padctl *padctl, in padctl_writel() argument 96 writel(value, padctl->regs.start + offset); in padctl_writel()
|
D | Makefile | 22 obj-y += xusb-padctl-dummy.o
|
/external/u-boot/arch/arm/dts/ |
D | tegra124.dtsi | 53 phys = <&padctl TEGRA_XUSB_PADCTL_PCIE>; 624 phys = <&padctl TEGRA_XUSB_PADCTL_SATA>; 674 nvidia,xusb-padctl = <&padctl>; 679 padctl: padctl@7009f000 { label 680 compatible = "nvidia,tegra124-xusb-padctl"; 683 reset-names = "padctl";
|
D | tegra210-p2371-2180.dts | 36 padctl@7009f000 {
|
D | tegra210.dtsi | 50 phys = <&padctl TEGRA_XUSB_PADCTL_PCIE>; 691 padctl: padctl@7009f000 { label 692 compatible = "nvidia,tegra210-xusb-padctl"; 695 reset-names = "padctl";
|
D | tegra124-cei-tk1-som.dts | 279 padctl@7009f000 {
|
D | tegra124-jetson-tk1.dts | 278 padctl@7009f000 {
|
D | tegra124-apalis.dts | 1927 padctl@7009f000 {
|