Searched refs:pm (Results 1 - 25 of 37) sorted by relevance

12

/u-boot/board/phytium/pomelo/
H A Dddr.c93 static void get_mcu_up_info_default(struct mcu_config *pm) argument
95 pm->magic = PARAMETER_MCU_MAGIC;
96 pm->version = PARAM_MCU_VERSION;
97 pm->size = PARAM_MCU_SIZE;
98 pm->ch_enable = PARAM_CH_ENABLE;
99 pm->misc1_enable = PARAM_ECC_ENABLE;
100 pm->force_spd_enable = PARAM_FORCE_SPD_DISABLE;
101 pm->misc3_enable = PARAM_MCU_MISC_ENABLE;
102 pm->train_recover = 0x0;
105 static u8 init_dimm_param(u8 ch, struct mcu_config *pm) argument
[all...]
/u-boot/board/phytium/pe2201/
H A Dddr.c102 static void get_mcu_up_info_default(struct mcu_config *pm) argument
104 pm->magic = PARAMETER_MCU_MAGIC;
105 pm->version = PARAM_MCU_VERSION;
106 pm->size = PARAM_MCU_SIZE;
107 pm->ch_enable = PARAM_CH_ENABLE;
110 static u8 init_dimm_param(struct mcu_config *pm) argument
113 pm->misc_enable = 0x2001;
114 pm->train_debug = 0x0;
115 pm->train_recover = 0x0;
116 pm
[all...]
/u-boot/drivers/sysreset/
H A Dsysreset_x86.c31 struct pch_pmbase_info pm; local
37 ret = pch_ioctl(plat->pch, PCH_REQ_PMBASE_INFO, &pm, sizeof(pm));
51 outl(0x00000000, pm.base + pm.gpio0_en_ofs);
54 outw(PWRBTN_STS, pm.base + pm.pm1_sts_ofs);
57 reg32 = inl(pm.base + pm.pm1_cnt_ofs);
62 outl(reg32, pm
[all...]
/u-boot/tools/patman/
H A Dtest_checkpatch.py416 def check_single_message(self, pm, msg, pmtype = 'warning'):
420 pm: PatchMaker object to use
424 result = pm.run_checkpatch()
436 pm = PatchMaker()
437 pm.add_line('include/dm/uclass-id.h', 'UCLASS_WIBBLE,')
438 self.check_single_message(pm, 'NEW_UCLASS')
442 pm = PatchMaker()
443 pm.add_line('common/main.c', 'fdtdec_do_something()')
444 self.check_single_message(pm, 'LIVETREE')
448 pm
[all...]
/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu_init.c76 pm_t *pm = (pm_t *)MMAP_PM; local
84 out_8(&pm->pmcr0, 23);
102 pm_t *pm = (pm_t *) MMAP_PM; local
118 out_8(&pm->pmcr0, 17);
121 out_8(&pm->pmcr0, 18);
122 out_8(&pm->pmcr0, 19);
123 out_8(&pm->pmcr0, 20);
126 out_8(&pm->pmcr0, 22);
127 out_8(&pm->pmcr1, 4);
128 out_8(&pm
243 pm_t *pm = (pm_t *) MMAP_PM; local
[all...]
/u-boot/fs/yaffs2/
H A Dyaffs_qsort.c64 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
71 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es)
72 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
77 pm = (char *)a + (n / 2) * es;
84 pm = med3(pm - d, pm, pm
[all...]
/u-boot/arch/x86/cpu/ivybridge/
H A Dbd82x6x.c240 struct pch_pmbase_info *pm = data; local
244 ret = dm_pci_read_config16(dev, 0x40, &pm->base);
247 pm->base &= 0xfffe;
248 pm->gpio0_en_ofs = GPE0_EN;
249 pm->pm1_sts_ofs = PM1_STS;
250 pm->pm1_cnt_ofs = PM1_CNT;
/u-boot/arch/arm/mach-omap2/omap3/
H A Dboard.c89 struct pm *pm_rt_ape_base = (struct pm *)PM_RT_APE_BASE_ADDR_ARM;
90 struct pm *pm_gpmc_base = (struct pm *)PM_GPMC_BASE_ADDR_ARM;
91 struct pm *pm_ocm_ram_base = (struct pm *)PM_OCM_RAM_BASE_ADDR_ARM;
92 struct pm *pm_iva2_base = (struct pm *)PM_IVA2_BASE_ADDR_ARM;
/u-boot/drivers/spi/
H A Dmpc8xxx_spi.c228 u32 bits, mask, div16, pm; local
239 pm = (clk - 1)/(4*speed) + 1;
240 if (pm > 16) {
244 pm--;
246 bits = div16 | (pm << SPI_MODE_PM_SHIFT);
260 speed, priv->clk_rate, div16 ? "16*" : "", pm + 1,
261 clk/(4*(pm + 1)));
H A Dfsl_espi.c31 unsigned int pm; member in struct:fsl_spi_slave
295 unsigned char pm = fsl->pm; local
318 | ESPI_CSMODE_PM(pm) | div16);
343 unsigned char pm = 0; local
352 pm = spibrg / (max_hz * 16 * 2);
353 if (pm > 16) {
354 pm = 16;
359 pm = spibrg / (max_hz * 2);
361 if (pm)
[all...]
H A Dmpc8xx_spi.c53 u8 pm = (gd->arch.brg_clk - 1) / (speed * 16); local
55 if (pm > 16) {
57 pm /= 16;
58 if (pm > 16)
59 pm = 16;
64 clrsetbits_be16(&cp->cp_spmode, SPMODE_PM(0xf), SPMODE_PM(pm));
/u-boot/drivers/net/octeontx2/
H A Drvu.h75 __asm__ __volatile__("stp %x[x0], %x[x1], [%[pm]]" :
76 : [x0]"r"(val0), [x1]"r"(val1), [pm]"r"(dest)
89 __asm__ __volatile__ ("ldp %x[x0], %x[x1], [%[pm]]" :
90 : [x0]"r"(*val0), [x1]"r"(*val1), [pm]"r"(src));
/u-boot/drivers/clk/meson/
H A Daxg.c192 {HHI_MPLL_CNTL, 0, 9}, /* pm */
198 {HHI_SYS_PLL_CNTL, 0, 9}, /* pm */
206 struct parm *pm, *pn, *pod; local
213 pm = &meson_fixed_pll_parm[0];
218 pm = &meson_sys_pll_parm[0];
229 regmap_read(priv->map, pm->reg_off, &reg);
230 m = PARM_GET(pm->width, pm->shift, reg);
H A Dg12a.c676 {HHI_FIX_PLL_CNTL0, 0, 9}, /* pm */
683 {HHI_SYS_PLL_CNTL0, 0, 9}, /* pm */
691 struct parm *pm, *pn, *pod, *pfrac = NULL; local
704 pm = &meson_fixed_pll_parm[0];
710 pm = &meson_sys_pll_parm[0];
721 regmap_read(priv->map, pm->reg_off, &reg);
722 m = PARM_GET(pm->width, pm->shift, reg);
748 {HHI_PCIE_PLL_CNTL0, 0, 8}, /* pm */
756 struct parm *pm, *p local
[all...]
H A Dgxbb.c680 {HHI_MPLL_CNTL, 0, 9}, /* pm */
686 {HHI_SYS_PLL_CNTL, 0, 9}, /* pm */
694 struct parm *pm, *pn, *pod; local
701 pm = &meson_fixed_pll_parm[0];
706 pm = &meson_sys_pll_parm[0];
717 regmap_read(priv->map, pm->reg_off, &reg);
718 m = PARM_GET(pm->width, pm->shift, reg);
H A Da1.c399 const struct parm *pm, *pn; local
408 pm = &info->parm[0];
412 m = GET_PARM_VALUE(priv, pm);
/u-boot/drivers/core/
H A DMakefile10 obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
/u-boot/arch/x86/cpu/broadwell/
H A Dpch.c23 #include <asm/arch/pm.h>
647 struct pch_pmbase_info *pm = data; local
651 ret = dm_pci_read_config16(dev, 0x40, &pm->base);
654 pm->base &= 0xfffe;
655 pm->gpio0_en_ofs = GPE0_EN(0);
656 pm->pm1_sts_ofs = PM1_STS;
657 pm->pm1_cnt_ofs = PM1_CNT;
H A Dpower_state.c16 #include <asm/arch/pm.h>
H A Dsdram.c28 #include <asm/arch/pm.h>
/u-boot/drivers/video/
H A Divybridge_igd.c256 static void gtt_write_powermeter(void *bar, const struct gt_powermeter *pm) argument
258 for (; pm && pm->reg; pm++)
259 gtt_write(bar, pm->reg, pm->value);
/u-boot/drivers/i2c/
H A Dsun6i_p2wi.c95 &base->pm);
97 while ((readl(&base->pm) & P2WI_PM_INIT_SEND)) {
/u-boot/drivers/usb/musb/
H A Dmusb_udc.c539 unsigned int p, pm; local
579 pm = 10;
580 for (p = 0; p < pm; p++) {
586 udelay(1 << pm);
589 if ((ep0_endpoint->sent >= ep0_urb->actual_length) && (p < pm))
/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dp2wi.h131 u32 pm; /* 0x28 power management */ member in struct:sunxi_p2wi_reg
/u-boot/arch/x86/cpu/intel_common/
H A Dacpi.c28 #include <asm/arch/pm.h>

Completed in 185 milliseconds

12