/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
D | fdt_sw.c | 140 struct fdt_node_header *nh; in fdt_begin_node() local 145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 146 if (! nh) in fdt_begin_node() 149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node() 150 memcpy(nh->name, name, namelen); in fdt_begin_node()
|
D | fdt_rw.c | 340 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local 362 nh = _fdt_offset_ptr_w(fdt, offset); in fdt_add_subnode_namelen() 363 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 365 err = _fdt_splice_struct(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen() 369 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen() 370 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 371 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen() 372 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
|
D | fdt_ro.c | 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() local 211 *len = strlen(nh->name); in fdt_get_name() 213 return nh->name; in fdt_get_name()
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 1344 native_handle_t *nh = mNativeHandle[i]; in allocate() local 1345 if (!nh) { in allocate() 1350 nh->data[0] = mMemInfo[i].fd; in allocate() 1351 nh->data[1] = 0; in allocate() 1352 nh->data[2] = (int)mMemInfo[i].size; in allocate() 1353 nh->data[3] = mUsage; in allocate() 1354 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocate() 1355 nh->data[5] = mFormat; in allocate() 1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore() local 1413 if (!nh) { in allocateMore() [all …]
|
D | QCamera2HWICallbacks.cpp | 1433 native_handle_t *nh = NULL; in video_stream_cb_routine() local 1450 nh = videoMemObj->updateNativeHandle(stream->mCurMetaIndex); in video_stream_cb_routine() 1451 if (video_mem == NULL || nh == NULL) { in video_stream_cb_routine() 1480 nh->data[index] = videoMemObj->getFd(frame->buf_idx); in video_stream_cb_routine() 1481 nh->data[index + fd_cnt] = 0; in video_stream_cb_routine() 1482 nh->data[index + (fd_cnt * 2)] = (int)videoMemObj->getSize(frame->buf_idx); in video_stream_cb_routine() 1483 nh->data[index + (fd_cnt * 3)] = videoMemObj->getUsage(); in video_stream_cb_routine() 1484 nh->data[index + (fd_cnt * 4)] = (int)(frame_ts - stream->mFirstTimeStamp); in video_stream_cb_routine() 1485 nh->data[index + (fd_cnt * 5)] = videoMemObj->getFormat(); in video_stream_cb_routine() 1500 native_handle_t *nh = NULL; in video_stream_cb_routine() local [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 1258 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() local 1259 if (!nh) { in allocate() 1263 nh->data[0] = mMemInfo[i].fd; in allocate() 1264 nh->data[1] = 0; in allocate() 1265 nh->data[2] = (int)mMemInfo[i].size; in allocate() 1266 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate() 1312 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocateMore() local 1313 if (!nh) { in allocateMore() 1317 nh->data[0] = mMemInfo[i].fd; in allocateMore() 1318 nh->data[1] = 0; in allocateMore() [all …]
|
D | QCamera2HWICallbacks.cpp | 1128 native_handle_t *nh = NULL; in video_stream_cb_routine() local 1138 nh = const_cast<native_handle_t *>(packet->meta_handle); in video_stream_cb_routine() 1146 if (nh != NULL) { in video_stream_cb_routine() 1161 nh->data[i] = frameobj->getFd(plane_frame->buf_idx); in video_stream_cb_routine() 1162 nh->data[fd_cnt + i] = 0; in video_stream_cb_routine() 1163 nh->data[(2 * fd_cnt) + i] = (int)frameobj->getSize(plane_frame->buf_idx); in video_stream_cb_routine() 1164 nh->data[(3 * fd_cnt) + i] = (int)(frame_ts - timeStamp); in video_stream_cb_routine()
|
D | QCameraStream.cpp | 1043 native_handle_t *nh = const_cast<native_handle_t *>(packet->meta_handle); in bufDone() local 1044 if (NULL != nh) { in bufDone() 1045 if (native_handle_delete(nh)) { in bufDone()
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 1262 native_handle_t * nh = packet->pHandle; in allocate() local 1263 if (!nh) { in allocate() 1267 nh->data[0] = mMemInfo[i].fd; in allocate() 1268 nh->data[1] = 0; in allocate() 1269 nh->data[2] = (int)mMemInfo[i].size; in allocate() 1270 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate() 1317 native_handle_t * nh = packet->pHandle; in allocateMore() local 1318 if (!nh) { in allocateMore() 1322 nh->data[0] = mMemInfo[i].fd; in allocateMore() 1323 nh->data[1] = 0; in allocateMore() [all …]
|
D | QCamera2HWICallbacks.cpp | 1128 native_handle_t *nh = NULL; in video_stream_cb_routine() local 1138 nh = const_cast<native_handle_t *>(packet->meta_handle); in video_stream_cb_routine() 1146 if (nh != NULL) { in video_stream_cb_routine() 1161 nh->data[i] = frameobj->getFd(plane_frame->buf_idx); in video_stream_cb_routine() 1162 nh->data[fd_cnt + i] = 0; in video_stream_cb_routine() 1163 nh->data[(2 * fd_cnt) + i] = (int)frameobj->getSize(plane_frame->buf_idx); in video_stream_cb_routine() 1164 nh->data[(3 * fd_cnt) + i] = (int)(frame_ts - timeStamp); in video_stream_cb_routine()
|
D | QCameraStream.cpp | 1043 native_handle_t *nh = const_cast<native_handle_t *>(packet->meta_handle); in bufDone() local 1044 if (NULL != nh) { in bufDone() 1045 if (native_handle_delete(nh)) { in bufDone()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lparser.c | 646 int nh; /* total number of `record' elements */ member 659 checklimit(fs, cc->nh, MAX_INT, "items in a constructor"); in recfield() 664 cc->nh++; in recfield() 737 cc.na = cc.nh = cc.tostore = 0; in constructor() 752 SETARG_C(fs->f->code[pc], luaO_int2fb(cc.nh)); /* set initial table size */ in constructor()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/ |
D | mcuimage.bin | 550 L����04��G�B����O�aF A�2cF��������,�O��0�����\kp�Ch��Z?�� �$!FA�2#F �����nh 5…
|