Searched refs:gpioName (Results 1 – 6 of 6) sorted by relevance
/drivers/hdf_core/framework/support/platform/src/gpio/ |
D | gpio_if.c | 105 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()
|
D | gpio_core.c | 357 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()
|
D | gpio_manager.c | 267 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()
|
D | gpio_if_u.c | 424 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/ |
D | gpio_if.h | 219 int32_t GpioGetByName(const char *gpioName);
|
/drivers/hdf_core/framework/support/platform/include/gpio/ |
D | gpio_core.h | 195 int32_t GpioCntlrGetNumByGpioName(struct GpioCntlr *cntlr, const char *gpioName); 197 struct GpioCntlr *GpioCntlrGetByGpioName(const char *gpioName);
|