Home
last modified time | relevance | path

Searched refs:maxUa (Results 1 – 9 of 9) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/regulator/
Dregulator_if.c133 int32_t RegulatorSetCurrent(DevHandle handle, uint32_t minUa, uint32_t maxUa) in RegulatorSetCurrent() argument
142 if (minUa > maxUa) { in RegulatorSetCurrent()
144 node->regulatorInfo.name, minUa, maxUa); in RegulatorSetCurrent()
148 int ret = RegulatorNodeSetCurrent(node, minUa, maxUa); in RegulatorSetCurrent()
Dregulator_core.c81 pos->regulatorInfo.constraints.minUa, pos->regulatorInfo.constraints.maxUa); in RegulatorNodeListPrint()
220 …NodeSetCurrent(node, node->regulatorInfo.constraints.minUa, node->regulatorInfo.constraints.maxUa); in RegulatorNodeInitProcess()
570 if (minUA == node->regulatorInfo.minUa && maxUA == node->regulatorInfo.maxUa) { in RegulatorNodeSetCurrent()
576 maxUA > node->regulatorInfo.constraints.maxUa)) { in RegulatorNodeSetCurrent()
595 node->regulatorInfo.maxUa = maxUA; in RegulatorNodeSetCurrent()
/drivers/hdf_core/framework/support/platform/include/regulator/
Dregulator_core.h74 uint32_t maxUa; /* max current that can be set by the regulator */ member
84 uint32_t maxUa; /* max current */ member
108 int32_t (*setCurrent)(struct RegulatorNode *node, uint32_t minUa, uint32_t maxUa);
/drivers/hdf_core/framework/test/unittest/platform/virtual/
Dregulator_virtual.c81 …atic int32_t VirtualRegulatorSetCurrent(struct RegulatorNode *node, uint32_t minUa, uint32_t maxUa) in VirtualRegulatorSetCurrent() argument
89 node->regulatorInfo.name, minUa, maxUa); in VirtualRegulatorSetCurrent()
158 ret = drsOps->GetUint32(node, "maxUa", &regNode->regulatorInfo.constraints.maxUa, 0); in VirtualRegulatorContinueReadHcs()
168 regNode->regulatorInfo.constraints.minUa, regNode->regulatorInfo.constraints.maxUa); in VirtualRegulatorContinueReadHcs()
Dregulator_linux_current_virtual_driver.c100 int maxUa) in VirtualCurrentRegulatorSetCurrent() argument
109 regu_constraints->max_uA == maxUa) { in VirtualCurrentRegulatorSetCurrent()
/drivers/hdf_core/framework/include/platform/
Dregulator_if.h123 int32_t RegulatorSetCurrent(DevHandle handle, uint32_t minUa, uint32_t maxUa);
/drivers/hdf_core/framework/test/unittest/platform/common/
Dregulator_test.c121 if (RegulatorSetCurrent(test->handle, test->minUa, test->maxUa) != HDF_SUCCESS) { in RegulatorSetCurrentTest()
122 HDF_LOGE("RegulatorSetCurrentTest: [%d, %d] test fail!", test->minUa, test->maxUa); in RegulatorSetCurrentTest()
379 ret = face->GetUint32(node, "maxUa", &test->maxUa, 0); in RegulatorTestInitFromHcs()
386 test->name, test->mode, test->minUv, test->maxUv, test->minUa, test->maxUa); in RegulatorTestInitFromHcs()
Dregulator_test.h53 uint32_t maxUa; member
/drivers/hdf_core/adapter/khdf/linux/platform/regulator/
Dregulator_adapter.c207 static int32_t LinuxRegulatorSetCurrent(struct RegulatorNode *node, uint32_t minUa, uint32_t maxUa) in LinuxRegulatorSetCurrent() argument
219 if (regulator_set_current_limit(info->adapterReg, minUa, maxUa) != HDF_SUCCESS) { in LinuxRegulatorSetCurrent()
342 ret = drsOps->GetUint32(node, "maxUa", &regNode->regulatorInfo.constraints.maxUa, 0); in LinuxRegulatorReadHcs()
354 regNode->regulatorInfo.constraints.minUa, regNode->regulatorInfo.constraints.maxUa); in LinuxRegulatorReadHcs()
425 regNode->regulatorInfo.constraints.minUa, regNode->regulatorInfo.constraints.maxUa, in LinuxRegulatorParseAndInit()