Home
last modified time | relevance | path

Searched refs:base (Results 1 - 25 of 60) sorted by relevance

123

/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_mem.c48 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 Dgpio_adapter.c250 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 Dpwm_hi35xx_linux.c34 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 Dsensor_platform_if.c110 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 Ddevmgr_client.c48 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 Dosal_firmware.c52 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 Dhdf_wlan_reset_manager.c31 struct ResetManager base; member
102 resetMgrImpl->base.Reset = HdfChipReset; in HdfWlanCreateResetManager()
103 resetMgrImpl->base.Release = HdfWlanResetMgrRelease; in HdfWlanCreateResetManager()
H A Dhdf_wlan_power_manager.c35 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 Dvdi_sample1_symbol.h25 struct HdfVdiBase base; member
H A Dvdi_sample1_driver.h25 struct HdfVdiBase base; member
H A Dvdi_sample1_driver.c49 .base = {
H A Dvdi_sample1_symbol.c50 .base = {
H A Dvdi_sample2_driver.h35 struct HdfVdiBase base; member
H A Dvdi_sample2_driver.cpp57 .base = {
/drivers/hdf_core/framework/utils/src/
H A Dhdf_sbuf.c43 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 Ddevmgr_service_if.h21 struct HdfObject base; member
/drivers/hdf_core/framework/include/bluetooth/
H A Dhdf_bt_transport.h27 struct IDeviceIoService base; member
/drivers/peripheral/light/interfaces/v1_0/
H A Dilight_interface_vdi.h43 struct HdfVdiBase base; member
/drivers/peripheral/motion/interfaces/v1_0/
H A Dimotion_interface_vdi.h41 struct HdfVdiBase base; member
/drivers/peripheral/wlan/hdi_service/service_extend/service_extend_vdi/
H A Dwlan_extend_cmd_vdi.h40 struct HdfVdiBase base; member
/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_sbuf.h498 * @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 Ddevhost.c70 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 Dhdf_vdi_test.cpp138 struct HdfVdiBase base; in HWTEST_F() local
141 obj.vdiBase = &base; in HWTEST_F()
/drivers/hdf_core/adapter/khdf/liteos/model/display/
H A DMakefile34 LOCAL_INCLUDE := $(LITEOSTOPDIR)/../../base/hiviewdfx/hilog_lite/interfaces/native/kits \
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Dicamera_host_vdi.h99 struct HdfVdiBase base; member

Completed in 10 milliseconds

123