Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 25 of 76) sorted by relevance

1234

/u-boot/board/phytium/pomelo/
A Dddr.c95 pm->magic = PARAMETER_MCU_MAGIC; in get_mcu_up_info_default()
96 pm->version = PARAM_MCU_VERSION; in get_mcu_up_info_default()
97 pm->size = PARAM_MCU_SIZE; in get_mcu_up_info_default()
98 pm->ch_enable = PARAM_CH_ENABLE; in get_mcu_up_info_default()
99 pm->misc1_enable = PARAM_ECC_ENABLE; in get_mcu_up_info_default()
102 pm->train_recover = 0x0; in get_mcu_up_info_default()
113 pm->ddr_spd_info[ch].rank_num = 1; in init_dimm_param()
114 pm->ddr_spd_info[ch].row_num = 16; in init_dimm_param()
115 pm->ddr_spd_info[ch].col_num = 10; in init_dimm_param()
116 pm->ddr_spd_info[ch].bg_num = 4; in init_dimm_param()
[all …]
/u-boot/arch/m68k/cpu/mcf5445x/
A Dcpu_init.c85 out_8(&pm->pmcr0, 23); in cfspi_port_conf()
119 out_8(&pm->pmcr0, 17); in cpu_init_f()
122 out_8(&pm->pmcr0, 18); in cpu_init_f()
123 out_8(&pm->pmcr0, 19); in cpu_init_f()
124 out_8(&pm->pmcr0, 20); in cpu_init_f()
127 out_8(&pm->pmcr0, 22); in cpu_init_f()
128 out_8(&pm->pmcr1, 4); in cpu_init_f()
129 out_8(&pm->pmcr1, 7); in cpu_init_f()
132 out_8(&pm->pmcr0, 28); in cpu_init_f()
133 out_8(&pm->pmcr0, 29); in cpu_init_f()
[all …]
/u-boot/tools/patman/
A Dtest_checkpatch.py359 result = pm.run_checkpatch()
371 pm = PatchMaker()
377 pm = PatchMaker()
383 pm = PatchMaker()
389 pm = PatchMaker()
397 pm = PatchMaker()
403 pm = PatchMaker()
410 pm = PatchMaker()
422 pm = PatchMaker()
444 pm = PatchMaker()
[all …]
/u-boot/drivers/sysreset/
A Dsysreset_x86.c31 struct pch_pmbase_info pm; in pch_sysreset_power_off() local
37 ret = pch_ioctl(plat->pch, PCH_REQ_PMBASE_INFO, &pm, sizeof(pm)); in pch_sysreset_power_off()
51 outl(0x00000000, pm.base + pm.gpio0_en_ofs); in pch_sysreset_power_off()
54 outw(PWRBTN_STS, pm.base + pm.pm1_sts_ofs); in pch_sysreset_power_off()
57 reg32 = inl(pm.base + pm.pm1_cnt_ofs); in pch_sysreset_power_off()
62 outl(reg32, pm.base + pm.pm1_cnt_ofs); in pch_sysreset_power_off()
66 outl(reg32, pm.base + pm.pm1_cnt_ofs); in pch_sysreset_power_off()
/u-boot/fs/yaffs2/
A Dyaffs_qsort.c64 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in yaffs_qsort() local
71 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) in yaffs_qsort()
72 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; in yaffs_qsort()
77 pm = (char *)a + (n / 2) * es; in yaffs_qsort()
84 pm = med3(pm - d, pm, pm + d, cmp); in yaffs_qsort()
87 pm = med3(pl, pm, pn, cmp); in yaffs_qsort()
89 yswap(a, pm); in yaffs_qsort()
118 for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es) in yaffs_qsort()
119 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; in yaffs_qsort()
/u-boot/arch/x86/cpu/ivybridge/
A Dbd82x6x.c240 struct pch_pmbase_info *pm = data; in bd82x6x_ioctl() local
244 ret = dm_pci_read_config16(dev, 0x40, &pm->base); in bd82x6x_ioctl()
247 pm->base &= 0xfffe; in bd82x6x_ioctl()
248 pm->gpio0_en_ofs = GPE0_EN; in bd82x6x_ioctl()
249 pm->pm1_sts_ofs = PM1_STS; in bd82x6x_ioctl()
250 pm->pm1_cnt_ofs = PM1_CNT; in bd82x6x_ioctl()
/u-boot/arch/arm/mach-omap2/omap3/
A Dboard.c89 struct pm *pm_rt_ape_base = (struct pm *)PM_RT_APE_BASE_ADDR_ARM; in secure_unlock_mem()
90 struct pm *pm_gpmc_base = (struct pm *)PM_GPMC_BASE_ADDR_ARM; in secure_unlock_mem()
91 struct pm *pm_ocm_ram_base = (struct pm *)PM_OCM_RAM_BASE_ADDR_ARM; in secure_unlock_mem()
92 struct pm *pm_iva2_base = (struct pm *)PM_IVA2_BASE_ADDR_ARM; in secure_unlock_mem()
/u-boot/drivers/spi/
A Dfsl_espi.c31 unsigned int pm; member
295 unsigned char pm = fsl->pm; in espi_claim_bus() local
318 | ESPI_CSMODE_PM(pm) | div16); in espi_claim_bus()
343 unsigned char pm = 0; in espi_setup_slave() local
352 pm = spibrg / (max_hz * 16 * 2); in espi_setup_slave()
353 if (pm > 16) { in espi_setup_slave()
354 pm = 16; in espi_setup_slave()
359 pm = spibrg / (max_hz * 2); in espi_setup_slave()
361 if (pm) in espi_setup_slave()
362 pm--; in espi_setup_slave()
[all …]
A Dmpc8xxx_spi.c228 u32 bits, mask, div16, pm; in mpc8xxx_spi_set_speed() local
239 pm = (clk - 1)/(4*speed) + 1; in mpc8xxx_spi_set_speed()
240 if (pm > 16) { in mpc8xxx_spi_set_speed()
244 pm--; in mpc8xxx_spi_set_speed()
246 bits = div16 | (pm << SPI_MODE_PM_SHIFT); in mpc8xxx_spi_set_speed()
260 speed, priv->clk_rate, div16 ? "16*" : "", pm + 1, in mpc8xxx_spi_set_speed()
261 clk/(4*(pm + 1))); in mpc8xxx_spi_set_speed()
/u-boot/drivers/clk/meson/
A Daxg.c206 struct parm *pm, *pn, *pod; in meson_pll_get_rate() local
213 pm = &meson_fixed_pll_parm[0]; in meson_pll_get_rate()
218 pm = &meson_sys_pll_parm[0]; in meson_pll_get_rate()
229 regmap_read(priv->map, pm->reg_off, &reg); in meson_pll_get_rate()
230 m = PARM_GET(pm->width, pm->shift, reg); in meson_pll_get_rate()
A Dg12a.c691 struct parm *pm, *pn, *pod, *pfrac = NULL; in meson_pll_get_rate() local
704 pm = &meson_fixed_pll_parm[0]; in meson_pll_get_rate()
710 pm = &meson_sys_pll_parm[0]; in meson_pll_get_rate()
721 regmap_read(priv->map, pm->reg_off, &reg); in meson_pll_get_rate()
722 m = PARM_GET(pm->width, pm->shift, reg); in meson_pll_get_rate()
756 struct parm *pm, *pn, *pod; in meson_pcie_pll_get_rate() local
761 pm = &meson_pcie_pll_parm[0]; in meson_pcie_pll_get_rate()
768 regmap_read(priv->map, pm->reg_off, &reg); in meson_pcie_pll_get_rate()
769 m = PARM_GET(pm->width, pm->shift, reg); in meson_pcie_pll_get_rate()
A Dgxbb.c694 struct parm *pm, *pn, *pod; in meson_pll_get_rate() local
701 pm = &meson_fixed_pll_parm[0]; in meson_pll_get_rate()
706 pm = &meson_sys_pll_parm[0]; in meson_pll_get_rate()
717 regmap_read(priv->map, pm->reg_off, &reg); in meson_pll_get_rate()
718 m = PARM_GET(pm->width, pm->shift, reg); in meson_pll_get_rate()
/u-boot/doc/device-tree-bindings/bus/
A Dsimple-pm-bus.txt12 While "simple-pm-bus" follows the "simple-bus" set of properties, as specified
17 - compatible: Must contain at least "simple-pm-bus".
36 "simple-pm-bus";
/u-boot/drivers/net/octeontx2/
A Drvu.h76 : [x0]"r"(val0), [x1]"r"(val1), [pm]"r"(dest) in st128()
90 : [x0]"r"(*val0), [x1]"r"(*val1), [pm]"r"(src)); in ld128()
/u-boot/drivers/video/
A Divybridge_igd.c256 static void gtt_write_powermeter(void *bar, const struct gt_powermeter *pm) in gtt_write_powermeter() argument
258 for (; pm && pm->reg; pm++) in gtt_write_powermeter()
259 gtt_write(bar, pm->reg, pm->value); in gtt_write_powermeter()
/u-boot/arch/x86/cpu/broadwell/
A Dpch.c647 struct pch_pmbase_info *pm = data; in broadwell_ioctl() local
651 ret = dm_pci_read_config16(dev, 0x40, &pm->base); in broadwell_ioctl()
654 pm->base &= 0xfffe; in broadwell_ioctl()
655 pm->gpio0_en_ofs = GPE0_EN(0); in broadwell_ioctl()
656 pm->pm1_sts_ofs = PM1_STS; in broadwell_ioctl()
657 pm->pm1_cnt_ofs = PM1_CNT; in broadwell_ioctl()
/u-boot/arch/arm/dts/
A Dbcm2835-common.dtsi59 pm: watchdog@7e100000 { label
60 compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
A Dfsl-imx8qxp-ai_ml-u-boot.dtsi6 &{/imx8qx-pm} {
A Dfsl-imx8qxp-colibri-u-boot.dtsi6 &{/imx8qx-pm} {
/u-boot/doc/device-tree-bindings/power/
A Dti,sci-pm-domain.txt19 - compatible: Must be "ti,sci-pm-domain"
36 compatible = "ti,sci-pm-domain";
/u-boot/doc/device-tree-bindings/remoteproc/
A Dk3-rproc.txt14 First set corresponds to pm domain of the
18 doc/device-tree-bindings/power/ti,sci-pm-domain.txt
/u-boot/drivers/core/
A DMakefile10 obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
/u-boot/arch/powerpc/dts/
A De500v2_power_isa.dtsi17 power-isa-e.pm; // Embedded.Performance Monitor
/u-boot/drivers/i2c/
A Dsun6i_p2wi.c95 &base->pm); in sun6i_p2wi_change_to_p2wi_mode()
97 while ((readl(&base->pm) & P2WI_PM_INIT_SEND)) { in sun6i_p2wi_change_to_p2wi_mode()
/u-boot/drivers/usb/musb/
A Dmusb_udc.c539 unsigned int p, pm; in musb_peri_ep0_tx() local
579 pm = 10; in musb_peri_ep0_tx()
580 for (p = 0; p < pm; p++) { in musb_peri_ep0_tx()
586 udelay(1 << pm); in musb_peri_ep0_tx()
589 if ((ep0_endpoint->sent >= ep0_urb->actual_length) && (p < pm)) in musb_peri_ep0_tx()

Completed in 52 milliseconds

1234