| /openbmc/u-boot/drivers/power/regulator/ |
| H A D | s2mps11_regulator.c | 166 static int s2mps11_buck_mode(struct udevice *dev, int op, int *opmode) in s2mps11_buck_mode() argument 188 *opmode = OP_OFF; in s2mps11_buck_mode() 191 *opmode = OP_STANDBY; in s2mps11_buck_mode() 194 *opmode = OP_ON; in s2mps11_buck_mode() 202 switch (*opmode) { in s2mps11_buck_mode() 213 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in s2mps11_buck_mode() 429 static int s2mps11_ldo_mode(struct udevice *dev, int op, int *opmode) in s2mps11_ldo_mode() argument 450 *opmode = OP_OFF; in s2mps11_ldo_mode() 453 *opmode = OP_STANDBY; in s2mps11_ldo_mode() 456 *opmode = OP_STANDBY_LPM; in s2mps11_ldo_mode() [all …]
|
| H A D | max77686.c | 412 static int max77686_ldo_mode(struct udevice *dev, int op, int *opmode) in max77686_ldo_mode() argument 419 *opmode = -EINVAL; in max77686_ldo_mode() 438 *opmode = ret; in max77686_ldo_mode() 443 switch (*opmode) { in max77686_ldo_mode() 493 pr_err("Wrong mode: %d for ldo%d", *opmode, ldo); in max77686_ldo_mode() 537 static int max77686_buck_mode(struct udevice *dev, int op, int *opmode) in max77686_buck_mode() argument 574 *opmode = ret; in max77686_buck_mode() 579 switch (*opmode) { in max77686_buck_mode() 614 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in max77686_buck_mode()
|
| H A D | pfuze100.c | 314 static int pfuze100_regulator_mode(struct udevice *dev, int op, int *opmode) in pfuze100_regulator_mode() argument 330 *opmode = val; in pfuze100_regulator_mode() 342 *opmode = val; in pfuze100_regulator_mode() 353 *opmode = val; in pfuze100_regulator_mode() 365 *opmode << SWBST_MODE_SHIFT); in pfuze100_regulator_mode() 370 *opmode << SW_MODE_SHIFT); in pfuze100_regulator_mode() 375 *opmode << LDO_MODE_SHIFT); in pfuze100_regulator_mode()
|
| /openbmc/u-boot/drivers/usb/ulpi/ |
| H A D | ulpi.c | 146 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode) in ulpi_opmode_sel() argument 151 switch (opmode) { in ulpi_opmode_sel() 156 topmode = opmode; in ulpi_opmode_sel() 160 "falling back to OpMode Normal\n", __func__, opmode); in ulpi_opmode_sel()
|
| /openbmc/qemu/hw/dma/ |
| H A D | i8257.c | 223 int op, ai, dir, opmode; in i8257_write_cont() local 227 opmode = (data >> 6) & 3; in i8257_write_cont() 230 ichan, op, ai, dir, opmode); in i8257_write_cont() 326 int dir, opmode; in i8257_channel_run() local 329 opmode = (r->mode >> 6) & 3; in i8257_channel_run() 334 if (opmode != 1) { in i8257_channel_run() 335 dolog ("DMA not in single mode select %#x\n", opmode); in i8257_channel_run()
|
| /openbmc/u-boot/include/power/ |
| H A D | max77686_pmic.h | 159 int max77686_set_ldo_mode(struct pmic *p, int ldo, char opmode); 161 int max77686_set_buck_mode(struct pmic *p, int buck, char opmode);
|
| /openbmc/u-boot/drivers/net/ |
| H A D | designware.c | 270 writel(readl(&dma_p->opmode) & ~(RXSTART | TXSTART), &dma_p->opmode); in _dw_eth_halt() 315 writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD, in designware_eth_init() 316 &dma_p->opmode); in designware_eth_init() 318 writel(readl(&dma_p->opmode) | FLUSHTXFIFO, in designware_eth_init() 319 &dma_p->opmode); in designware_eth_init() 322 writel(readl(&dma_p->opmode) | RXSTART | TXSTART, &dma_p->opmode); in designware_eth_init()
|
| H A D | designware.h | 72 u32 opmode; /* 0x18 */ member
|
| /openbmc/u-boot/include/usb/ |
| H A D | ulpi.h | 87 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode);
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/upm/upm/ |
| H A D | 0001-Use-stdint-types.patch | 117 setOpmode(opmode);
|
| /openbmc/qemu/hw/net/ |
| H A D | rtl8139.c | 1525 uint32_t opmode = val & 0xc0; in rtl8139_Cfg9346_write() local 1528 if (opmode == 0x80) { in rtl8139_Cfg9346_write() 1534 } else if (opmode == 0x40) { in rtl8139_Cfg9346_write() 1547 uint32_t opmode = ret & 0xc0; in rtl8139_Cfg9346_read() local 1549 if (opmode == 0x80) in rtl8139_Cfg9346_read()
|
| /openbmc/qemu/target/m68k/ |
| H A D | helper.c | 1488 void HELPER(pflush)(CPUM68KState *env, uint32_t addr, uint32_t opmode) in HELPER() 1492 switch (opmode) { in HELPER()
|
| H A D | translate.c | 4630 TCGv opmode; in DISAS_INSN() local 4637 opmode = tcg_constant_i32((insn >> 3) & 3); in DISAS_INSN() 4638 gen_helper_pflush(tcg_env, AREG(insn, 0), opmode); in DISAS_INSN() 4942 int opmode; in DISAS_INSN() local 4947 opmode = ext & 0x7f; in DISAS_INSN() 4956 TCGv rom_offset = tcg_constant_i32(opmode); in DISAS_INSN() 4998 switch (opmode) { in DISAS_INSN()
|