Home
last modified time | relevance | path

Searched refs:opmode (Results 1 – 10 of 10) sorted by relevance

/rk3399_rockchip-uboot/drivers/power/pmic/
H A Dpmic_max77686.c117 int max77686_set_ldo_mode(struct pmic *p, int ldo, char opmode) in max77686_set_ldo_mode() argument
129 switch (opmode) { in max77686_set_ldo_mode()
163 __func__, opmode, ldo); in max77686_set_ldo_mode()
178 int max77686_set_buck_mode(struct pmic *p, int buck, char opmode) in max77686_set_buck_mode() argument
204 switch (opmode) { in max77686_set_buck_mode()
240 __func__, opmode, buck); in max77686_set_buck_mode()
/rk3399_rockchip-uboot/drivers/usb/ulpi/
H A Dulpi.c147 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode) in ulpi_opmode_sel() argument
152 switch (opmode) { in ulpi_opmode_sel()
157 topmode = opmode; in ulpi_opmode_sel()
161 "falling back to OpMode Normal\n", __func__, opmode); in ulpi_opmode_sel()
/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dmax77686.c415 static int max77686_ldo_mode(struct udevice *dev, int op, int *opmode) in max77686_ldo_mode() argument
422 *opmode = -EINVAL; in max77686_ldo_mode()
441 *opmode = ret; in max77686_ldo_mode()
446 switch (*opmode) { in max77686_ldo_mode()
496 pr_err("Wrong mode: %d for ldo%d", *opmode, ldo); in max77686_ldo_mode()
540 static int max77686_buck_mode(struct udevice *dev, int op, int *opmode) in max77686_buck_mode() argument
577 *opmode = ret; in max77686_buck_mode()
582 switch (*opmode) { in max77686_buck_mode()
617 pr_err("Wrong mode: %d for buck: %d\n", *opmode, buck); in max77686_buck_mode()
H A Dpfuze100.c315 static int pfuze100_regulator_mode(struct udevice *dev, int op, int *opmode) in pfuze100_regulator_mode() argument
331 *opmode = val; in pfuze100_regulator_mode()
343 *opmode = val; in pfuze100_regulator_mode()
354 *opmode = val; in pfuze100_regulator_mode()
366 *opmode << SWBST_MODE_SHIFT); in pfuze100_regulator_mode()
371 *opmode << SW_MODE_SHIFT); in pfuze100_regulator_mode()
376 *opmode << LDO_MODE_SHIFT); in pfuze100_regulator_mode()
/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-rockchip-inno-usb2.c77 struct usb2phy_reg opmode; member
361 property_enable(base, &rphy->phy_cfg->chg_det.opmode, false); in rockchip_chg_get_type()
425 property_enable(base, &rphy->phy_cfg->chg_det.opmode, true); in rockchip_chg_get_type()
1125 .opmode = { 0x0100, 3, 0, 5, 1 },
1211 .opmode = { 0x017c, 3, 0, 5, 1 },
1262 .opmode = { 0x0760, 3, 0, 5, 1 },
1335 .opmode = { 0x0100, 3, 0, 5, 1 },
1389 .opmode = { 0x0100, 3, 0, 5, 1 },
1429 .opmode = { 0x0700, 3, 0, 5, 1 },
1480 .opmode = { 0xe454, 3, 0, 5, 1 },
[all …]
/rk3399_rockchip-uboot/include/power/
H A Dmax77686_pmic.h160 int max77686_set_ldo_mode(struct pmic *p, int ldo, char opmode);
162 int max77686_set_buck_mode(struct pmic *p, int buck, char opmode);
/rk3399_rockchip-uboot/drivers/net/
H A Ddesignware.c270 writel(readl(&dma_p->opmode) & ~(RXSTART | TXSTART), &dma_p->opmode); in _dw_eth_halt()
306 writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD, in designware_eth_init()
307 &dma_p->opmode); in designware_eth_init()
309 writel(readl(&dma_p->opmode) | FLUSHTXFIFO, in designware_eth_init()
310 &dma_p->opmode); in designware_eth_init()
313 writel(readl(&dma_p->opmode) | RXSTART | TXSTART, &dma_p->opmode); in designware_eth_init()
H A Ddesignware.h73 u32 opmode; /* 0x18 */ member
/rk3399_rockchip-uboot/include/usb/
H A Dulpi.h88 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode);
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dstm32mp157a-dk1.dts84 power-opmode = "default";