Searched refs:lightInfo (Results 1 - 6 of 6) sorted by relevance
/drivers/peripheral/light/hdi_impl/ |
H A D | light_interface_impl.cpp | 51 struct LightInfo *lightInfo = nullptr; in GetLightInfo() local 53 int32_t ret = lightInterface->GetLightInfo(&lightInfo, &count); in GetLightInfo() 61 hdfLightInfo.lightId = static_cast<int32_t>(lightInfo->lightId); in GetLightInfo() 62 hdfLightInfo.lightType = lightInfo->lightType; in GetLightInfo() 63 if (strcpy_s(hdfLightInfo.lightName, LIGHT_NAME_MAX_LEN, lightInfo->lightName) != EOK) { in GetLightInfo() 67 hdfLightInfo.lightNumber = static_cast<int32_t>(lightInfo->lightNumber); in GetLightInfo() 69 lightInfo++; in GetLightInfo()
|
/drivers/peripheral/light/hal/src/ |
H A D | light_dump.c | 40 char lightInfo[STRING_LEN] = {0}; in ShowLightInfo() local 55 ret = memset_s(lightInfo, STRING_LEN, 0, STRING_LEN); in ShowLightInfo() 61 ret = sprintf_s(lightInfo, STRING_LEN, in ShowLightInfo() 73 if (!HdfSbufWriteString(reply, lightInfo)) { in ShowLightInfo() 74 HDF_LOGE("%{public}s: write lightInfo failed", __func__); in ShowLightInfo()
|
H A D | light_controller.c | 130 static int32_t GetLightInfo(struct LightInfo **lightInfo, uint32_t *count) in GetLightInfo() argument 132 if ((lightInfo == NULL) || (count == NULL)) { in GetLightInfo() 141 *lightInfo = priv->lightInfoEntry; in GetLightInfo() 171 *lightInfo = priv->lightInfoEntry; in GetLightInfo()
|
/drivers/hdf_core/framework/model/misc/light/driver/src/ |
H A D | light_driver.c | 31 struct LightInfo lightInfo; in GetAllLightInfo() local 47 lightInfo.lightId = i; in GetAllLightInfo() 49 if (!HdfSbufWriteUint32(reply, lightInfo.lightId)) { in GetAllLightInfo() 54 if (strcpy_s(lightInfo.lightName, NAME_MAX_LEN, drvData->info[i]->lightInfo.lightName) != EOK) { in GetAllLightInfo() 59 if (!HdfSbufWriteString(reply, (const char *)lightInfo.lightName)) { in GetAllLightInfo() 64 lightInfo.lightNumber = drvData->info[i]->lightInfo.lightNumber; in GetAllLightInfo() 65 if (!HdfSbufWriteUint32(reply, lightInfo.lightNumber)) { in GetAllLightInfo() 70 lightInfo in GetAllLightInfo() [all...] |
/drivers/peripheral/light/interfaces/include/ |
H A D | light_if.h | 59 * @param lightInfo Indicates the double pointer to the light information. For details, see {@link LightInfo}. 67 int32_t (*GetLightInfo)(struct LightInfo **lightInfo, uint32_t *count);
|
/drivers/hdf_core/framework/model/misc/light/driver/include/ |
H A D | light_driver.h | 150 struct LightInfo lightInfo; member
|
Completed in 3 milliseconds