Home
last modified time | relevance | path

Searched refs:NULL (Results 1 - 25 of 1591) sorted by relevance

12345678910>>...64

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
H A DMQTTAsync.h144 * Return code: A NULL parameter has been supplied when this is invalid.
149 * embedded NULL characters). String functions will not access the full topic.
320 #define MQTTAsync_message_initializer { {'M', 'Q', 'T', 'M'}, 1, 0, NULL, 0, 0, 0, 0, MQTTProperties_initializer }
334 * more NULL characters embedded in <i>topicName</i>, otherwise <i>topicLen</i>
383 * Currently, <i>cause</i> is always set to NULL.
398 * Currently, <i>cause</i> is always set to NULL.
409 * Currently, <i>cause</i> is always set to NULL.
422 * function. NULL removes the callback setting.
436 /** Optional text explaining the error. Can be NULL. */
456 /** Optional further text explaining the error. Can be NULL
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_device.c53 osal_dev_info *dev_node = NULL; in osal_get_pmops()
55 if (pm_base == NULL) { in osal_get_pmops()
56 return NULL; in osal_get_pmops()
71 return NULL; in osal_get_pmops()
77 osal_fileops *fops = NULL; in osal_open()
78 osal_dev *dev = NULL; in osal_open()
79 osal_fileops_info *fileops_node = NULL; in osal_open()
82 if (dev == NULL) { in osal_open()
88 if (fileops_node == NULL) { in osal_open()
99 if ((fops != NULL) in osal_open()
[all...]
H A Dosal_wait.c37 wait_queue_head_t *wq = NULL; in osal_wait_init()
38 if (wait == NULL) { in osal_wait_init()
43 if (wq == NULL) { in osal_wait_init()
54 wait_queue_head_t *wq = NULL; in osal_wait_interruptible()
56 if (wait == NULL) { in osal_wait_interruptible()
62 if (wq == NULL) { in osal_wait_interruptible()
63 osal_printk("%s - wait->wait is NULL!\n", __FUNCTION__); in osal_wait_interruptible()
67 if (func == NULL) { in osal_wait_interruptible()
77 wait_queue_head_t *wq = NULL; in osal_wait_uninterruptible()
79 if (wait == NULL) { in osal_wait_uninterruptible()
[all...]
H A Dosal_workqueue.c34 struct osal_list_head *this = NULL; in osal_find_work()
36 if (work == NULL) { in osal_find_work()
38 return NULL; in osal_find_work()
43 return NULL; in osal_find_work()
52 return NULL; in osal_find_work()
57 struct osal_list_head *this = NULL; in osal_del_work()
58 struct osal_list_head *next = NULL; in osal_del_work()
60 if (work == NULL) { in osal_del_work()
84 if ((ow != NULL) && (ow->handler != NULL)) { in osal_work_handler()
[all...]
H A Dosal_proc.c43 osal_proc_entry *g_msp_dir = NULL;
44 static char *g_is_user_mode = NULL;
46 static osal_proc_entry *g_hisi_dir = NULL;
58 if (g_is_user_mode == NULL) { in osal_get_buildvariant()
71 if (str == NULL) { in osal_get_build_variant()
132 if (entry->cmd_list[i].handler != NULL) { in osal_proc_cmd_call()
147 osal_proc_entry *entry = NULL; in osal_proc_write()
149 if ((buf == NULL) || (file == NULL)) { in osal_proc_write()
154 if (entry == NULL) { in osal_proc_write()
[all...]
/device/qemu/riscv32_virt/liteos_m/board/hardware/adapter/
H A Dhdf_syscall_adapter.c27 struct HdfSyscallAdapter *adapter = NULL; in HdfSyscallAdapterDispatch()
29 if (ioService == NULL || ioService->dispatcher == NULL) { in HdfSyscallAdapterDispatch()
35 if (adapter->client.device == NULL || adapter->client.device->service == NULL || in HdfSyscallAdapterDispatch()
36 adapter->client.device->service->Dispatch == NULL) { in HdfSyscallAdapterDispatch()
45 struct HdfSyscallAdapter *adapter = NULL; in HdfSyscallAdapterInstance()
53 if (adapter == NULL) { in HdfSyscallAdapterInstance()
54 return NULL; in HdfSyscallAdapterInstance()
61 return NULL; in HdfSyscallAdapterInstance()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
H A Dsample_ive_queue.c24 SAMPLE_IVE_QUEUE_S *pstQueueHead = NULL; in SAMPLE_IVE_QueueCreate()
27 return NULL; in SAMPLE_IVE_QueueCreate()
31 if (pstQueueHead == NULL) { in SAMPLE_IVE_QueueCreate()
32 return NULL; in SAMPLE_IVE_QueueCreate()
34 pstQueueHead->front = NULL; in SAMPLE_IVE_QueueCreate()
35 pstQueueHead->rear = NULL; in SAMPLE_IVE_QueueCreate()
43 SAMPLE_IVE_NODE_S *pstQueueTmp = NULL; in SAMPLE_IVE_QueueDestory()
45 if (pstQueueHead == NULL) { in SAMPLE_IVE_QueueDestory()
50 while (pstQueueTmp != NULL) { in SAMPLE_IVE_QueueDestory()
58 pstQueueHead = NULL; in SAMPLE_IVE_QueueDestory()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_proc.c34 static osal_proc_entry_t *g_proc_entry = NULL;
42 if (oldsentry == NULL) { in osal_seq_show()
66 if ((item != NULL) && (item->write != NULL)) { in osal_procwrite()
81 if ((sentry != NULL) && (sentry->open != NULL)) { in osal_procopen()
108 struct proc_dir_entry *entry = NULL; in osal_create_proc()
109 osal_proc_entry_t *sentry = NULL; in osal_create_proc()
110 void *parent_proc_entry = NULL; in osal_create_proc()
113 if (parent == NULL) { in osal_create_proc()
[all...]
H A Dosal_wait.c36 wait_queue_head_t *wq = NULL; in osal_wait_init()
37 if (wait == NULL) { in osal_wait_init()
42 if (wq == NULL) { in osal_wait_init()
53 wait_queue_head_t *wq = NULL; in osal_wait_interruptible()
58 if (wait == NULL) { in osal_wait_interruptible()
64 if (wq == NULL) { in osal_wait_interruptible()
65 osal_trace("%s - wait->wait is NULL!\n", __FUNCTION__); in osal_wait_interruptible()
70 if (func != NULL) { in osal_wait_interruptible()
90 wait_queue_head_t *wq = NULL; in osal_wait_uninterruptible()
95 if (wait == NULL) { in osal_wait_uninterruptible()
[all...]
/device/board/hihope/rk3568/audio_drivers/soc/src/
H A Drk3568_dma_ops.c56 struct DmaRuntimeData *dmaRtd = NULL; in GetDmaDevice()
57 struct platform_device *platformdev = NULL; in GetDmaDevice()
60 if (data == NULL || data->regConfig == NULL) { in GetDmaDevice()
66 if (dmaRtd == NULL) { in GetDmaDevice()
74 if (dmaRtd->dmaOfNode == NULL) { in GetDmaDevice()
80 if (platformdev == NULL) { in GetDmaDevice()
91 struct DmaRuntimeData *dmaRtd = NULL; in GetDmaChannel()
92 struct device_node *dmaOfNode = NULL; in GetDmaChannel()
93 struct device *dmaDevice = NULL; in GetDmaChannel()
[all...]
/device/qemu/drivers/uart/
H A Duart.c33 struct UartDriverData *udd = NULL; in Hi35xxRead()
35 if (host == NULL || host->priv == NULL) { in Hi35xxRead()
56 struct UartDriverData *udd = NULL; in Hi35xxWrite()
58 if (host == NULL || host->priv == NULL) { in Hi35xxWrite()
66 if (udd->ops->StartTx != NULL) { in Hi35xxWrite()
77 struct UartDriverData *udd = NULL; in Hi35xxGetBaud()
79 if (host == NULL || host->priv == NULL || baudRat in Hi35xxGetBaud()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/
H A Dmedia_mem.c111 hil_mmz_t *p = NULL; in hil_mmz_create()
115 if (name == NULL) { in hil_mmz_create()
116 osal_trace(KERN_ERR "%s: 'name' should not be NULL!", __FUNCTION__); in hil_mmz_create()
117 return NULL; in hil_mmz_create()
121 if (p == NULL) { in hil_mmz_create()
123 return NULL; in hil_mmz_create()
130 return NULL; in hil_mmz_create()
152 hil_mmz_t *p = NULL; in hil_mmz_create_v2()
156 if (name == NULL) { in hil_mmz_create_v2()
158 return NULL; in hil_mmz_create_v2()
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dpthread_attr.c38 if (attr == NULL) { in pthread_attr_init()
48 attr->stackaddr = NULL; in pthread_attr_init()
57 if (attr == NULL) { in pthread_attr_destroy()
67 if ((attr != NULL) && ((detachState == PTHREAD_CREATE_JOINABLE) || (detachState == PTHREAD_CREATE_DETACHED))) { in pthread_attr_setdetachstate()
77 if ((attr == NULL) || (detachState == NULL)) { in pthread_attr_getdetachstate()
88 if (attr == NULL) { in pthread_attr_setscope()
106 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
117 if ((attr != NULL) in pthread_attr_setinheritsched()
[all...]
/device/soc/hisilicon/common/platform/uart/
H A Duart_hi35xx.c52 if (port->dumper == NULL) { in UartDumperDump()
53 HDF_LOGE("%s: uart dumper is NULL", __func__); in UartDumperDump()
66 struct PlatformDumper *dumper = NULL; in UartDumperCreate()
67 char *name = NULL; in UartDumperCreate()
70 if (name == NULL) { in UartDumperCreate()
83 if (dumper == NULL) { in UartDumperCreate()
104 struct UartDriverData *udd = NULL; in Hi35xxRead()
106 if (host == NULL || host->priv == NULL) { in Hi35xxRead()
127 struct UartDriverData *udd = NULL; in Hi35xxWrite()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhnd_pktq.c66 return NULL; in pktq_penq()
69 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq()
91 return NULL; in pktq_penq()
106 return NULL; in spktq_enq()
110 PKTSETLINK(p, NULL); in spktq_enq()
124 return NULL; in spktq_enq()
136 return NULL; in pktq_penq_head()
139 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq_head()
146 if (q->head == NULL) in pktq_penq_head()
160 return NULL; in pktq_penq_head()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_gpuprops_backend.c35 regdump->gpu_id = kbase_reg_read(kbdev, GPU_CONTROL_REG(GPU_ID), NULL); in kbase_backend_gpuprops_get()
38 GPU_CONTROL_REG(L2_FEATURES), NULL); in kbase_backend_gpuprops_get()
40 GPU_CONTROL_REG(SUSPEND_SIZE), NULL); in kbase_backend_gpuprops_get()
42 GPU_CONTROL_REG(TILER_FEATURES), NULL); in kbase_backend_gpuprops_get()
44 GPU_CONTROL_REG(MEM_FEATURES), NULL); in kbase_backend_gpuprops_get()
46 GPU_CONTROL_REG(MMU_FEATURES), NULL); in kbase_backend_gpuprops_get()
48 GPU_CONTROL_REG(AS_PRESENT), NULL); in kbase_backend_gpuprops_get()
50 GPU_CONTROL_REG(JS_PRESENT), NULL); in kbase_backend_gpuprops_get()
54 GPU_CONTROL_REG(JS_FEATURES_REG(i)), NULL); in kbase_backend_gpuprops_get()
58 GPU_CONTROL_REG(TEXTURE_FEATURES_REG(i)), NULL); in kbase_backend_gpuprops_get()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_gpuprops_backend.c30 regdump->gpu_id = kbase_reg_read(kbdev, GPU_CONTROL_REG(GPU_ID), NULL); in kbase_backend_gpuprops_get()
32 regdump->l2_features = kbase_reg_read(kbdev, GPU_CONTROL_REG(L2_FEATURES), NULL); in kbase_backend_gpuprops_get()
33 regdump->suspend_size = kbase_reg_read(kbdev, GPU_CONTROL_REG(SUSPEND_SIZE), NULL); in kbase_backend_gpuprops_get()
34 regdump->tiler_features = kbase_reg_read(kbdev, GPU_CONTROL_REG(TILER_FEATURES), NULL); in kbase_backend_gpuprops_get()
35 regdump->mem_features = kbase_reg_read(kbdev, GPU_CONTROL_REG(MEM_FEATURES), NULL); in kbase_backend_gpuprops_get()
36 regdump->mmu_features = kbase_reg_read(kbdev, GPU_CONTROL_REG(MMU_FEATURES), NULL); in kbase_backend_gpuprops_get()
37 regdump->as_present = kbase_reg_read(kbdev, GPU_CONTROL_REG(AS_PRESENT), NULL); in kbase_backend_gpuprops_get()
38 regdump->js_present = kbase_reg_read(kbdev, GPU_CONTROL_REG(JS_PRESENT), NULL); in kbase_backend_gpuprops_get()
41 regdump->js_features[i] = kbase_reg_read(kbdev, GPU_CONTROL_REG(JS_FEATURES_REG(i)), NULL); in kbase_backend_gpuprops_get()
45 regdump->texture_features[i] = kbase_reg_read(kbdev, GPU_CONTROL_REG(TEXTURE_FEATURES_REG(i)), NULL); in kbase_backend_gpuprops_get()
[all...]
/device/soc/hisilicon/common/platform/i2s/
H A Di2s_hi35xx.c58 if (configInfo->dumper == NULL) { in I2sDumperDump()
59 HDF_LOGE("%s: configInfo dumper is NULL!", __func__); in I2sDumperDump()
72 struct PlatformDumper *dumper = NULL; in I2sDumperCreate()
73 char *name = NULL; in I2sDumperCreate()
76 if (name == NULL) { in I2sDumperCreate()
88 if (dumper == NULL) { in I2sDumperCreate()
124 if (addr == NULL) { in Hi35xxI2sRegWrite()
125 I2S_PRINT_LOG_ERR("%s: addr is NULL", __func__); in Hi35xxI2sRegWrite()
135 if (addr == NULL) { in Hi35xxI2sRegRead()
136 I2S_PRINT_LOG_ERR("%s: addr is NULL", __func_ in Hi35xxI2sRegRead()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/core/
H A DRockchip_OMX_Component_Register.c54 {"libomxvpu_dec.z.so", NULL },
55 {"libomxvpu_enc.z.so", NULL }
78 OMX_PTR soHandle = NULL; in Rockchip_OMX_Component_Register()
80 if ((soHandle = Rockchip_OSAL_dlopen(com_inf.lib_name, RTLD_NOW)) != NULL) { in Rockchip_OMX_Component_Register()
84 "Rockchip_OMX_COMPONENT_Library_Register")) != NULL) { in Rockchip_OMX_Component_Register()
87 componentNum = (*Rockchip_OMX_COMPONENT_Library_Register)(NULL); in Rockchip_OMX_Component_Register()
116 if ((errorMsg = Rockchip_OSAL_dlerror()) != NULL) in Rockchip_OMX_Component_Register()
144 if ((component->GetComponentVersion == NULL) || in Rockchip_OMX_ComponentAPICheck()
145 (component->SendCommand == NULL) || in Rockchip_OMX_ComponentAPICheck()
146 (component->GetParameter == NULL) || in Rockchip_OMX_ComponentAPICheck()
[all...]
/device/soc/rockchip/rk2206/hdf_driver/i2c/
H A Di2c_driver.c69 if (bus == NULL) { in i2cdrv_initdevice()
119 if (bus == NULL) { in i2cdrv_deinitdevice()
131 struct DeviceResourceIface *iface = NULL; in i2cdrv_readdrs()
133 if (node == NULL) { in i2cdrv_readdrs()
137 if (bus == NULL) { in i2cdrv_readdrs()
143 if (iface == NULL) { in i2cdrv_readdrs()
147 if (iface->GetUint32 == NULL) { in i2cdrv_readdrs()
278 if (cntlr == NULL) { in i2cdrv_transfer()
282 if (cntlr->priv == NULL) { in i2cdrv_transfer()
286 if (msgs == NULL) { in i2cdrv_transfer()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_mmz_intf.c50 hil_mmb_t *mmb = NULL; in new_mmb()
53 if (mmb == NULL) { in new_mmb()
65 hil_mmb_t *mmb = NULL; in delete_mmb()
68 if (mmb == NULL) { in delete_mmb()
79 hil_mmb_t *mmb = NULL; in remap_mmb()
81 void *virt = NULL; in remap_mmb()
84 if (mmb == NULL) { in remap_mmb()
85 return NULL; in remap_mmb()
94 if (virt == NULL) { in remap_mmb()
95 return NULL; in remap_mmb()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/component/common/
H A DRockchip_OMX_Resourcemanager.c42 static ROCKCHIP_OMX_RM_COMPONENT_LIST *gpVideoDecRMComponentList = NULL;
43 static ROCKCHIP_OMX_RM_COMPONENT_LIST *gpVideoDecRMWaitingList = NULL;
44 static ROCKCHIP_OMX_RM_COMPONENT_LIST *gpVideoEncRMComponentList = NULL;
45 static ROCKCHIP_OMX_RM_COMPONENT_LIST *gpVideoEncRMWaitingList = NULL;
46 static OMX_HANDLETYPE ghVideoRMComponentListMutex = NULL;
52 ROCKCHIP_OMX_RM_COMPONENT_LIST *pTempComp = NULL; in addElementList()
53 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in addElementList()
56 if (*ppList != NULL) { in addElementList()
58 while (pTempComp->pNext != NULL) { in addElementList()
63 if (pTempComp->pNext == NULL) { in addElementList()
[all...]
/device/board/hisilicon/hispark_taurus/audio_drivers/codec/hi3516/src/
H A Dhi3516_codec_ops.c29 { "SPKL", NULL, "SPKL PGA"},
30 { "SPKR", NULL, "SPKR PGA"},
34 { "ADCL", NULL, "LPGA"},
37 { "ADCR", NULL, "RPGA"},
43 if (audioCard == NULL || codec == NULL || codec->devData == NULL || in Hi3516CodecDeviceInit()
44 codec->devData->sapmComponents == NULL || codec->devData->controls == NULL) { in Hi3516CodecDeviceInit()
45 AUDIO_DRIVER_LOG_ERR("input para is NULL in Hi3516CodecDeviceInit()
[all...]
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dhdf_bdh_mac80211.c49 if (ndev == NULL || ndev->ieee80211_ptr == NULL) { in get_linux_wiphy_ndev()
50 return NULL; in get_linux_wiphy_ndev()
65 struct NetDevice *p2p_hnetdev = NULL; in get_scan_ifidx()
68 if (p2p_hnetdev == NULL) { in get_scan_ifidx()
83 struct net_device *netdev = NULL; in BDH6WalSetMode()
84 NetDevice *netDev = NULL; in BDH6WalSetMode()
85 struct wiphy *wiphy = NULL; in BDH6WalSetMode()
91 HDF_LOGE("%s: net_device is NULL", __func__); in BDH6WalSetMode()
97 HDF_LOGE("%s: wiphy is NULL", __func_ in BDH6WalSetMode()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_SharedMemory.c102 if (handle == NULL) { in ion_alloc()
131 if (map_fd == NULL) { in ion_map()
135 if (ptr == NULL) { in ion_map()
149 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map()
164 if (handle == NULL) { in ion_import()
214 static func_mmap64 mpp_rt_mmap64 = NULL;
238 return NULL; in drm_mmap()
248 return NULL; in drm_mmap()
251 return mmap64(NULL, len, prot, flags, fd, offset); in drm_mmap()
263 if (map_fd == NULL) { in drm_handle_to_fd()
[all...]

Completed in 14 milliseconds

12345678910>>...64