/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_mem.c | 48 char *base = NULL; in osal_mem_alloc() local 56 base = (char *)vmalloc(size + mng_size); in osal_mem_alloc() 59 base = (char *)kmalloc(size + mng_size, GFP_KERNEL); in osal_mem_alloc() 63 return base; in osal_mem_alloc() 69 char *base = NULL; in OsalMemAlloc() local 79 base = osal_mem_alloc(size, &type); in OsalMemAlloc() 80 if (base == NULL) { in OsalMemAlloc() 85 block = (struct mem_block *)base; in OsalMemAlloc() 89 buf = (void *)(base + mng_size); in OsalMemAlloc() 114 char *base in OsalMemAllocAlign() local 148 char *base = NULL; OsalMemFree() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/gpio/ |
H A D | gpio_adapter.c | 250 HDF_LOGI("LinuxGpioMatchProbe: find gpio chip(start:%d, count:%u)", chip->base, chip->ngpio); in LinuxGpioMatchProbe() 251 if (chip->base >= LINUX_GPIO_NUM_MAX || (chip->base + chip->ngpio) > LINUX_GPIO_NUM_MAX) { in LinuxGpioMatchProbe() 252 HDF_LOGW("LinuxGpioMatchProbe: chip(base:%d-num:%u) exceed range!", chip->base, chip->ngpio); in LinuxGpioMatchProbe() 263 cntlr->start = (uint16_t)chip->base; in LinuxGpioMatchProbe() 299 HDF_LOGI("LinuxGpioMatchRelease: find gpio chip(start:%d, count:%u)", chip->base, chip->ngpio); in LinuxGpioMatchRelease() 300 if (chip->base >= LINUX_GPIO_NUM_MAX || (chip->base + chip->ngpio) > LINUX_GPIO_NUM_MAX) { in LinuxGpioMatchRelease() 301 HDF_LOGW("LinuxGpioMatchRelease: chip(base in LinuxGpioMatchRelease() [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/pwm/ |
H A D | pwm_hi35xx_linux.c | 34 void __iomem *base; member 51 reg = (struct HiPwmRegs *)hi35xxChip->base; in Hi35xxPwmApply() 102 reg = (struct HiPwmRegs *)hi35xxChip->base; in Hi35xxGetState() 138 chip->chip.base = -1; in PwmProbe() 141 chip->base = devm_ioremap_resource(&pdev->dev, r); in PwmProbe() 142 if (IS_ERR(chip->base)) { in PwmProbe() 144 return PTR_ERR(chip->base); in PwmProbe() 146 chip->reg = (struct HiPwmRegs *)chip->base; in PwmProbe()
|
/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
H A D | sensor_platform_if.c | 110 uint8_t *base = NULL; in SetSensorPinMux() local 118 base = OsalIoRemap(regAddr, regSize); in SetSensorPinMux() 119 if (base == NULL) { in SetSensorPinMux() 124 OSAL_WRITEL(regValue, base); in SetSensorPinMux() 125 OsalIoUnmap((void *)base); in SetSensorPinMux()
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
H A D | devmgr_client.c | 48 char *base = NULL; in HdfObtainDeviceInfo() local 53 base = (char *)OsalMemCalloc(sizeof(*node) + svrNameLen); in HdfObtainDeviceInfo() 54 if (base == NULL) { in HdfObtainDeviceInfo() 58 node = (struct DeviceInfoNode *)base; in HdfObtainDeviceInfo() 59 node->svcName = base + sizeof(*node); in HdfObtainDeviceInfo() 62 OsalMemFree(base); in HdfObtainDeviceInfo() 69 OsalMemFree(base); in HdfObtainDeviceInfo()
|
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_firmware.c | 52 uint8_t *base = NULL; in OsalRequestFirmware() local 83 base = (uint8_t *)OsalMemCalloc(sizeof(*fw) + HDF_FW_BLOCK_SIZE); in OsalRequestFirmware() 84 if (base == NULL) { in OsalRequestFirmware() 90 fw = (struct OsalFwDesc *)base; in OsalRequestFirmware() 95 fw->buff = base + sizeof(*fw); in OsalRequestFirmware()
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
H A D | hdf_wlan_reset_manager.c | 31 struct ResetManager base; member 102 resetMgrImpl->base.Reset = HdfChipReset; in HdfWlanCreateResetManager() 103 resetMgrImpl->base.Release = HdfWlanResetMgrRelease; in HdfWlanCreateResetManager()
|
H A D | hdf_wlan_power_manager.c | 35 struct PowerManager base; member 160 powerMgrimpl->base.On = HdfWlanChipPowerOn; in HdfWlanCreatePowerManager() 161 powerMgrimpl->base.Off = HdfWlanChipPowerOff; in HdfWlanCreatePowerManager() 162 powerMgrimpl->base.Release = HdfWlanPowerMgrRelease; in HdfWlanCreatePowerManager()
|
/drivers/hdf_core/framework/core/host/test/sample/ |
H A D | vdi_sample1_symbol.h | 25 struct HdfVdiBase base;
member
|
H A D | vdi_sample1_driver.h | 25 struct HdfVdiBase base; member
|
H A D | vdi_sample1_driver.c | 49 .base = {
|
H A D | vdi_sample1_symbol.c | 50 .base = {
|
H A D | vdi_sample2_driver.h | 35 struct HdfVdiBase base; member
|
H A D | vdi_sample2_driver.cpp | 57 .base = {
|
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf.c | 43 struct HdfSBufImpl *SbufBindRaw(uintptr_t base, size_t size); 45 struct HdfSBufImpl *SbufBindIpc(uintptr_t base, size_t size) __attribute__((weak)); 47 struct HdfSBufImpl *SbufBindRawIpcHw(uintptr_t base, size_t size) __attribute__((weak)); 366 struct HdfSBuf *HdfSbufTypedBind(uint32_t type, uintptr_t base, size_t size) in HdfSbufTypedBind() argument 392 sbuf->impl = SbufBindRaw(base, size); in HdfSbufTypedBind() 394 sbuf->impl = constructor->bind(base, size); in HdfSbufTypedBind() 420 struct HdfSBuf *HdfSbufBind(uintptr_t base, size_t size) in HdfSbufBind() argument 422 return HdfSbufTypedBind(SBUF_RAW, base, size); in HdfSbufBind()
|
/drivers/hdf_core/framework/core/shared/include/ |
H A D | devmgr_service_if.h | 21 struct HdfObject base; member
|
/drivers/hdf_core/framework/include/bluetooth/ |
H A D | hdf_bt_transport.h | 27 struct IDeviceIoService base; member
|
/drivers/peripheral/light/interfaces/v1_0/ |
H A D | ilight_interface_vdi.h | 43 struct HdfVdiBase base;
member
|
/drivers/peripheral/motion/interfaces/v1_0/ |
H A D | imotion_interface_vdi.h | 41 struct HdfVdiBase base; member
|
/drivers/peripheral/wlan/hdi_service/service_extend/service_extend_vdi/ |
H A D | wlan_extend_cmd_vdi.h | 40 struct HdfVdiBase base;
member
|
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_sbuf.h | 498 * @param base Indicates the base of the data to use. 504 struct HdfSBuf *HdfSbufBind(uintptr_t base, size_t size); 585 * @param base Indicates the base of the data to use. 591 struct HdfSBuf *HdfSbufTypedBind(uint32_t type, uintptr_t base, size_t size);
|
/drivers/hdf_core/adapter/uhdf2/host/ |
H A D | devhost.c | 70 const int base = 10; in HdfStringToInt() local 71 long result = strtol(str, &end, base); in HdfStringToInt()
|
/drivers/hdf_core/framework/core/host/test/unittest/ |
H A D | hdf_vdi_test.cpp | 138 struct HdfVdiBase base; in HWTEST_F() local 141 obj.vdiBase = &base; in HWTEST_F()
|
/drivers/hdf_core/adapter/khdf/liteos/model/display/ |
H A D | Makefile | 34 LOCAL_INCLUDE := $(LITEOSTOPDIR)/../../base/hiviewdfx/hilog_lite/interfaces/native/kits \
|
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/ |
H A D | icamera_host_vdi.h | 99 struct HdfVdiBase base; member
|