Searched refs:new_buf (Results 1 – 3 of 3) sorted by relevance
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | ucode_download.c | 64 unsigned char *new_buf; in dload_ucode_part() local 84 new_buf = (unsigned char *)malloc(size2alloc); in dload_ucode_part() 85 memset(new_buf, 0, size2alloc); in dload_ucode_part() 86 ucode_ptr = (struct wl_ucode_info *)((uint8 *)new_buf+ucode_offset); in dload_ucode_part() 94 memset(new_buf+ucode_offset+chunk_offset, 0, size2alloc-ucode_offset-chunk_offset); in dload_ucode_part() 99 err = dload_generic_data(wl, DL_TYPE_UCODE, new_buf, size2alloc); in dload_ucode_part() 107 free(new_buf); in dload_ucode_part()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_muxer.c | 2051 mm_frame_sync_queue_node_t *new_buf = NULL; in mm_camera_muxer_do_frame_sync() local 2053 new_buf = (mm_frame_sync_queue_node_t *) in mm_camera_muxer_do_frame_sync() 2055 if (NULL != new_buf) { in mm_camera_muxer_do_frame_sync() 2056 memset(new_buf, 0, sizeof(mm_frame_sync_queue_node_t)); in mm_camera_muxer_do_frame_sync() 2057 new_buf->super_buf[buf_s_idx] = *buffer; in mm_camera_muxer_do_frame_sync() 2058 new_buf->num_objs++; in mm_camera_muxer_do_frame_sync() 2059 new_buf->frame_idx = buffer->bufs[0]->frame_idx; in mm_camera_muxer_do_frame_sync() 2060 new_buf->matched = 0; in mm_camera_muxer_do_frame_sync() 2061 if (new_buf->num_objs == queue->num_objs && super_obj) { in mm_camera_muxer_do_frame_sync() 2062 new_buf->matched = 1; in mm_camera_muxer_do_frame_sync() [all …]
|
D | mm_camera_channel.c | 3295 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local 3298 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 3300 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue() 3301 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue() 3303 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue() 3304 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue() 3305 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue() 3306 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue() 3310 new_buf->expected_frame = TRUE; in mm_channel_superbuf_comp_and_enqueue() 3323 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue() [all …]
|