Searched refs:maxUa (Results 1 – 9 of 9) sorted by relevance
/drivers/hdf_core/framework/support/platform/src/regulator/ |
D | regulator_if.c | 133 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()
|
D | regulator_core.c | 81 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/ |
D | regulator_core.h | 74 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/ |
D | regulator_virtual.c | 81 …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", ®Node->regulatorInfo.constraints.maxUa, 0); in VirtualRegulatorContinueReadHcs() 168 regNode->regulatorInfo.constraints.minUa, regNode->regulatorInfo.constraints.maxUa); in VirtualRegulatorContinueReadHcs()
|
D | regulator_linux_current_virtual_driver.c | 100 int maxUa) in VirtualCurrentRegulatorSetCurrent() argument 109 regu_constraints->max_uA == maxUa) { in VirtualCurrentRegulatorSetCurrent()
|
/drivers/hdf_core/framework/include/platform/ |
D | regulator_if.h | 123 int32_t RegulatorSetCurrent(DevHandle handle, uint32_t minUa, uint32_t maxUa);
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | regulator_test.c | 121 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()
|
D | regulator_test.h | 53 uint32_t maxUa; member
|
/drivers/hdf_core/adapter/khdf/linux/platform/regulator/ |
D | regulator_adapter.c | 207 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", ®Node->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()
|