Home
last modified time | relevance | path

Searched refs:gpioName (Results 1 – 6 of 6) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/gpio/
Dgpio_if.c105 int32_t GpioGetByName(const char *gpioName) in GpioGetByName() argument
110 if (gpioName == NULL || strlen(gpioName) > GPIO_NAME_LEN) { in GpioGetByName()
115 cntlr = GpioCntlrGetByGpioName(gpioName); in GpioGetByName()
121 ret = GpioCntlrGetNumByGpioName(cntlr, gpioName); in GpioGetByName()
Dgpio_core.c357 int32_t GpioCntlrGetNumByGpioName(struct GpioCntlr *cntlr, const char *gpioName) in GpioCntlrGetNumByGpioName() argument
366 if (gpioName == NULL || strlen(gpioName) > GPIO_NAME_LEN) { in GpioCntlrGetNumByGpioName()
372 if (strcmp(cntlr->ginfos[index].name, gpioName) == 0) { in GpioCntlrGetNumByGpioName()
373 … HDF_LOGD("GpioCntlrGetNumByGpioName: gpioName:%s get gpio number: %d success!", gpioName, in GpioCntlrGetNumByGpioName()
378 HDF_LOGE("GpioCntlrGetNumByGpioName: gpioName:%s fail to get gpio number!", gpioName); in GpioCntlrGetNumByGpioName()
Dgpio_manager.c267 struct GpioCntlr *GpioCntlrGetByGpioName(const char *gpioName) in GpioCntlrGetByGpioName() argument
278 device = PlatformManagerFindDevice(gpioMgr, (void *)gpioName, GpioCntlrFindMatchByName); in GpioCntlrGetByGpioName()
280 HDF_LOGE("GpioCntlrGetByGpioName: gpio %s is not in any controllers!", gpioName); in GpioCntlrGetByGpioName()
Dgpio_if_u.c424 int32_t GpioGetByName(const char *gpioName) in GpioGetByName() argument
431 if (gpioName == NULL || strlen(gpioName) > GPIO_NAME_LEN) { in GpioGetByName()
455 if (!HdfSbufWriteString(data, gpioName)) { in GpioGetByName()
/drivers/hdf_core/framework/include/platform/
Dgpio_if.h219 int32_t GpioGetByName(const char *gpioName);
/drivers/hdf_core/framework/support/platform/include/gpio/
Dgpio_core.h195 int32_t GpioCntlrGetNumByGpioName(struct GpioCntlr *cntlr, const char *gpioName);
197 struct GpioCntlr *GpioCntlrGetByGpioName(const char *gpioName);