/device/soc/esp/esp32/components/bt/host/bluedroid/btc/core/ |
D | btc_config.c | 41 assert(key_value != NULL); in btc_compare_address_key_value() 58 assert(key_value != NULL); in btc_key_value_to_string() 59 assert(value_str != NULL); in btc_key_value_to_string() 92 config = NULL; in btc_config_init() 109 config = NULL; in btc_config_clean_up() 115 assert(config != NULL); in btc_config_has_section() 116 assert(section != NULL); in btc_config_has_section() 123 assert(config != NULL); in btc_config_exist() 124 assert(section != NULL); in btc_config_exist() 125 assert(key != NULL); in btc_config_exist() [all …]
|
/device/qemu/riscv32_virt/liteos_m/board/hardware/adapter/ |
D | hdf_syscall_adapter.c | 27 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() 64 if (deviceObject == NULL) { in HdfSyscallAdapterInstance() 67 return NULL; in HdfSyscallAdapterInstance() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
D | MQTTAsync.h | 320 #define MQTTAsync_message_initializer { {'M', 'Q', 'T', 'M'}, 1, 0, NULL, 0, 0, 0, 0, MQTTPropertie… 462 …alizer {{'M', 'Q', 'F', 'D'}, 0, 0, MQTTREASONCODE_SUCCESS, MQTTProperties_initializer, 0, NULL, 0} 532 #define MQTTalt_initializer {.sub.reasonCodeCount = 0, .sub.reasonCodes = NULL} 646 … {'M', 'Q', 'T', 'R'}, 1, NULL, NULL, 0, 0, NULL, NULL, MQTTProperties_initializer, MQTTSubscribe_… 888 #define MQTTAsync_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 1, NULL, NULL, 0, 0, { 0, NULL } } 1007 …, 'Q', 'T', 'S'}, 4, NULL, NULL, NULL, NULL, NULL, 1, MQTT_SSL_VERSION_DEFAULT, 0, NULL, NULL, NUL… 1183 …Async_connectOptions_initializer { {'M', 'Q', 'T', 'C'}, 6, 60, 1, 65535, NULL, NULL, NULL, 30, 0,\ 1184 NULL, NULL, NULL, NULL, 0, NULL, MQTTVERSION_DEFAULT, 0, 1, 60, {0, NULL}, 0, NULL, NULL, NULL, NUL… 1186 …sync_connectOptions_initializer5 { {'M', 'Q', 'T', 'C'}, 6, 60, 0, 65535, NULL, NULL, NULL, 30, 0,\ 1187 NULL, NULL, NULL, NULL, 0, NULL, MQTTVERSION_5, 0, 1, 60, {0, NULL}, 1, NULL, NULL, NULL, NULL} [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
D | osal_device.c | 53 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) && (fops->open != NULL)) { in osal_open() [all …]
|
/device/soc/esp/esp32/components/efuse/esp32/ |
D | esp_efuse_table.c | 218 NULL 223 NULL 228 NULL 233 NULL 238 NULL 243 NULL 248 NULL 253 NULL 258 NULL 263 NULL [all …]
|
/device/board/hihope/rk3568/audio_drivers/soc/src/ |
D | rk3568_dma_ops.c | 56 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() 94 struct property *dma_names = NULL; in GetDmaChannel() [all …]
|
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/src/ |
D | oc_mqtt_profile_package.c | 48 if (root != NULL) { in cJSON_Delete_root() 50 root = NULL; in cJSON_Delete_root() 57 cJSON *ret = NULL; in profile_fmtvalue() 84 char *ret = NULL; in oc_mqtt_profile_package_msgup() 85 cJSON *root = NULL; in oc_mqtt_profile_package_msgup() 86 cJSON *device_id = NULL; in oc_mqtt_profile_package_msgup() 92 if (root == NULL) { in oc_mqtt_profile_package_msgup() 97 if (payload->device_id != NULL) { in oc_mqtt_profile_package_msgup() 99 if (device_id == NULL) { in oc_mqtt_profile_package_msgup() 106 if (payload->name != NULL) { in oc_mqtt_profile_package_msgup() [all …]
|
D | oc_mqtt.c | 78 uint8_t *response_buf = NULL; in mqtt_callback() 83 if (oc_mqtt.cmd_rsp_cb != NULL) { in mqtt_callback() 87 if (response_buf != NULL || res_len != 0) { in mqtt_callback() 217 char *ret = NULL; in topic_make() 219 if (device_id == NULL) { in topic_make() 223 if (request_id != NULL) { in topic_make() 228 if (ret != NULL) { in topic_make() 243 if (device_id == NULL) { in oc_mqtt_profile_msgup() 244 if (s_oc_mqtt_profile_cb.device_id == NULL) { in oc_mqtt_profile_msgup() 251 if ((payload == NULL) || (payload->msg == NULL)) { in oc_mqtt_profile_msgup() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/ |
D | sample_ive_queue.c | 24 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/board/isoftstone/yangfan/kernel/hdf/drivers/audio/soc/src/ |
D | rk3399_dma_ops.c | 89 struct PlatformData *data = NULL; in AudioDmaDeviceInit() 92 if (data == NULL) { in AudioDmaDeviceInit() 111 if (data == NULL) { in DmaRtdMemAlloc() 127 struct DmaRuntimeData *dmaRtd = NULL; in RK3399DmaBufAlloc() 132 if (data == NULL) { in RK3399DmaBufAlloc() 144 if (dmaDev.of_node == NULL) { in RK3399DmaBufAlloc() 150 if (dmaRtd == NULL) { in RK3399DmaBufAlloc() 158 …if (dmaRtd->dmaChn[1] == NULL || dmaRtd->dmaChn[1]->device == NULL || dmaRtd->dmaChn[1]->device->d… in RK3399DmaBufAlloc() 168 if (data->captureBufInfo.virtAddr == NULL) { in RK3399DmaBufAlloc() 173 if (data->captureBufInfo.virtAddr == NULL) { in RK3399DmaBufAlloc() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
D | osal_proc.c | 34 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() 120 if (entry == NULL) { in osal_create_proc() 122 return NULL; in osal_create_proc() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | hnd_pktq.c | 59 return NULL; in BCMFASTPATH() 62 ASSERT_FP(PKTLINK(p) == NULL); /* queueing chains not allowed */ in BCMFASTPATH() 84 return NULL; in BCMFASTPATH() 97 return NULL; in BCMFASTPATH() 101 return NULL; in BCMFASTPATH() 118 return NULL; in BCMFASTPATH() 122 return NULL; in BCMFASTPATH() 137 return NULL; in BCMFASTPATH() 141 PKTSETLINK(p, NULL); in BCMFASTPATH() 155 return NULL; in BCMFASTPATH() [all …]
|
/device/soc/esp/esp32/components/pthread/ |
D | pthread_local_storage.c | 61 if (new_key == NULL) { in pthread_key_create() 68 new_key->key = (head == NULL) ? 1 : (head->key + 1); in pthread_key_create() 81 key_entry_t *result = NULL;; in find_key() 101 if (entry != NULL) { in pthread_key_delete() 126 assert(tls != NULL); in pthread_local_storage_thread_deleted_callback() 130 while(entry != NULL) { in pthread_local_storage_thread_deleted_callback() 135 if (key != NULL && key->destructor != NULL) { in pthread_local_storage_thread_deleted_callback() 150 if (tls != NULL) { in pthread_local_storage_cleanup() 152 vTaskSetThreadLocalStoragePointer(task, PTHREAD_TLS_INDEX, NULL); in pthread_local_storage_cleanup() 171 void *tls = pvTaskGetThreadLocalStoragePointer(NULL, PTHREAD_TLS_INDEX); [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/arch/riscv/ |
D | arch_interrupt.c | 92 && p_intn_func_handle[irq_source] != NULL) { in mext_interrupt() 163 if((int_number > (INT_ID_MAX-1))|| isr_callback == NULL) in arch_interrupt_register_int() 177 p_intn_func_handle[int_number] = NULL; in arch_interrupt_unregister_int() 307 if(p_intn_func_handle[1] != NULL) in entry_irq1() 319 if(p_intn_func_handle[2] != NULL) in entry_irq2() 331 if(p_intn_func_handle[3] != NULL) in entry_irq3() 343 if(p_intn_func_handle[4] != NULL) in entry_irq4() 354 if(p_intn_func_handle[5] != NULL) in entry_irq5() 366 if(p_intn_func_handle[6] != NULL) in entry_irq6() 378 if(p_intn_func_handle[7] != NULL) in entry_irq7() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | hnd_pktq.c | 60 return NULL; in pktq_penq() 63 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq() 85 return NULL; in pktq_penq() 97 return NULL; in pktq_penq_head() 100 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq_head() 107 if (q->head == NULL) in pktq_penq_head() 121 return NULL; in pktq_penq_head() 142 if (list_q->head == NULL) in pktq_append() 146 ASSERT(PKTLINK(list_q->tail) == NULL); /* terminated list */ in pktq_append() 165 list_q->head = NULL; in pktq_append() [all …]
|
/device/soc/esp/esp32/components/bt/common/btc/core/ |
D | btc_task.c | 79 [BTC_PID_MAIN_INIT] = {btc_main_call_handler, NULL }, 80 [BTC_PID_DEV] = {btc_dev_call_handler, NULL }, 88 [BTC_PID_GATT_COMMON] = {btc_gatt_com_call_handler, NULL }, 93 [BTC_PID_GAP_BLE] = {NULL, NULL}, 95 [BTC_PID_BLE_HID] = {NULL, NULL}, 96 [BTC_PID_SPPLIKE] = {NULL, NULL}, 97 [BTC_PID_DM_SEC] = {NULL, btc_dm_sec_cb_handler }, 102 [BTC_PID_ALARM] = {btc_alarm_handler, NULL }, 108 [BTC_PID_PRF_QUE] = {btc_profile_queue_handler, NULL }, 111 [BTC_PID_AVRC_CT] = {btc_avrc_ct_call_handler, NULL }, [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | hnd_pktq.c | 65 return NULL; in pktq_penq() 69 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq() 93 return NULL; in pktq_penq() 109 return NULL; in spktq_enq() 114 PKTSETLINK(p, NULL); in spktq_enq() 129 return NULL; in spktq_enq() 142 return NULL; in pktq_penq_head() 146 ASSERT(PKTLINK(p) == NULL); /* queueing chains not allowed */ in pktq_penq_head() 153 if (q->head == NULL) { in pktq_penq_head() 169 return NULL; in pktq_penq_head() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | hnd_pktq.c | 66 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/qemu/drivers/uart/ |
D | uart.c | 33 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 || baudRate == NULL) { in Hi35xxGetBaud() 94 struct UartDriverData *udd = NULL; in Hi35xxSetBaud() 96 if (host == NULL || host->priv == NULL) { in Hi35xxSetBaud() 107 if (udd->ops->Config == NULL) { in Hi35xxSetBaud() [all …]
|
/device/soc/hisilicon/common/platform/uart/ |
D | uart_hi35xx.c | 52 if (port->dumper == NULL) { 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() 129 if (host == NULL || host->priv == NULL) { in Hi35xxWrite() 137 if (udd->ops->StartTx != NULL) { in Hi35xxWrite() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
D | media_mem.c | 111 hil_mmz_t *p = NULL; in hil_mmz_create() 115 if (name == NULL) { 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() 162 if (p == NULL) { in hil_mmz_create_v2() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
D | drv_mmz_intf.c | 50 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/esp/esp32/components/bt/host/bluedroid/main/ |
D | bte_init.c | 168 bta_gatts_cb_ptr = NULL; in BTE_DeinitStack() 174 bta_gattc_cb_ptr = NULL; in BTE_DeinitStack() 180 bta_hh_cb_ptr = NULL; in BTE_DeinitStack() 186 bta_av_cb_ptr = NULL; in BTE_DeinitStack() 190 bta_av_sbc_ups_cb_ptr = NULL; in BTE_DeinitStack() 196 bta_ar_cb_ptr = NULL; in BTE_DeinitStack() 202 g_disc_raw_data_buf = NULL; in BTE_DeinitStack() 208 bta_sdp_cb_ptr = NULL; in BTE_DeinitStack() 214 bta_jv_cb_ptr = NULL; in BTE_DeinitStack() 220 bta_hf_client_cb_ptr = NULL; in BTE_DeinitStack() [all …]
|
/device/soc/rockchip/rk3568/hardware/omx_il/component/common/ |
D | Rockchip_OMX_Resourcemanager.c | 42 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/qemu/riscv32_virt/liteos_m/board/driver/video/ |
D | fb.c | 68 static struct fb_chardev_s *g_fb_dev[FB_DEV_MAXNUM] = {NULL}; 75 struct fb_mem *fbmem = NULL; in fb_open() 80 if (key == NULL || strlen(key) >= PATH_MAX) { in fb_open() 88 if (fb == NULL) { in fb_open() 93 if (vtable == NULL) { in fb_open() 114 if (fb == NULL) { in fb_close() 119 if (vtable == NULL) { in fb_close() 131 struct fb_chardev_s *fb = NULL; in fb_ioctl() 143 DEBUGASSERT(ppv != NULL); in fb_ioctl() 152 DEBUGASSERT(fb->vtable != NULL && fb->vtable->getvideoinfo != NULL); in fb_ioctl() [all …]
|