/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/srce/ |
D | bitstream-decode.c | 43 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, in OI_BITSTREAM_ReadInit() argument 46 bs->value = ((OI_INT32)buffer[0] << 16) | ((OI_INT32)buffer[1] << 8) | (buffer[2]); in OI_BITSTREAM_ReadInit() 47 bs->ptr.r = buffer + 3; in OI_BITSTREAM_ReadInit() 48 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit() 51 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) in OI_BITSTREAM_ReadUINT() argument 55 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT() 60 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) in OI_BITSTREAM_ReadUINT4Aligned() argument 64 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned() 65 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned() 67 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned() [all …]
|
D | decoder-private.c | 169 OI_BITSTREAM *bs) in OI_SBC_ReadScalefactors() argument 190 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors() 205 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors() 206 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); in OI_SBC_ReadScalefactors()
|
D | decoder-sbc.c | 109 OI_BITSTREAM bs; in DecodeBody() local 129 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody() 136 OI_SBC_ReadSamplesJoint(context, &bs); in DecodeBody() 138 OI_SBC_ReadSamples(context, &bs); in DecodeBody()
|
/device/soc/esp/esp32/components/bootloader/subproject/main/ |
D | bootloader_start.c | 22 static int select_partition_number(bootloader_state_t *bs); 23 static int selected_boot_partition(const bootloader_state_t *bs); 46 bootloader_state_t bs = {0}; in call_start_cpu0() local 47 int boot_index = select_partition_number(&bs); in call_start_cpu0() 53 bootloader_utility_load_boot_image(&bs, boot_index); in call_start_cpu0() 57 static int select_partition_number(bootloader_state_t *bs) in select_partition_number() argument 60 if (!bootloader_utility_load_partition_table(bs)) { in select_partition_number() 66 return selected_boot_partition(bs); in select_partition_number() 73 static int selected_boot_partition(const bootloader_state_t *bs) in selected_boot_partition() argument 75 int boot_index = bootloader_utility_get_selected_boot_partition(bs); in selected_boot_partition() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_bitstream.h | 43 INLINE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, const OI_BYTE *buffer); 45 INLINE void OI_BITSTREAM_WriteInit(OI_BITSTREAM *bs, OI_BYTE *buffer); 47 INLINE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits); 49 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs); 51 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs); 53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM *bs, 60 PRIVATE void OI_BITSTREAM_WriteUINT8Aligned(OI_BITSTREAM *bs, 66 PRIVATE void OI_BITSTREAM_Write2xUINT4Aligned(OI_BITSTREAM *bs, 74 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) argument 75 #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) argument
|
/device/soc/esp/esp32/components/bootloader_support/src/ |
D | bootloader_utility.c | 127 bool bootloader_utility_load_partition_table(bootloader_state_t *bs) in bootloader_utility_load_partition_table() argument 161 bs->factory = partition->pos; in bootloader_utility_load_partition_table() 165 bs->test = partition->pos; in bootloader_utility_load_partition_table() 171 bs->ota[partition->subtype & PART_SUBTYPE_OTA_MASK] = partition->pos; in bootloader_utility_load_partition_table() 172 ++bs->app_count; in bootloader_utility_load_partition_table() 183 bs->ota_info = partition->pos; in bootloader_utility_load_partition_table() 223 static esp_partition_pos_t index_to_partition(const bootloader_state_t *bs, int index) in index_to_partition() argument 226 return bs->factory; in index_to_partition() 230 return bs->test; in index_to_partition() 233 if (index >= 0 && index < MAX_OTA_SLOTS && index < (int)bs->app_count) { in index_to_partition() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/ |
D | vdec_drv_if.c | 70 struct aml_vcodec_mem *bs, void *out) in vdec_if_probe() argument 74 ret = ctx->dec_if->probe(ctx->drv_handle, bs, out); in vdec_if_probe() 79 int vdec_if_decode(struct aml_vcodec_ctx *ctx, struct aml_vcodec_mem *bs, in vdec_if_decode() argument 84 if (bs) { in vdec_if_decode() 85 if ((bs->addr & 63) != 0) { in vdec_if_decode() 96 ret = ctx->dec_if->decode(ctx->drv_handle, bs, timestamp, res_chg); in vdec_if_decode()
|
D | vdec_drv_base.h | 36 struct aml_vcodec_mem *bs, void *out); 45 int (*decode)(unsigned long h_vdec, struct aml_vcodec_mem *bs,
|
D | vdec_drv_if.h | 111 struct aml_vcodec_mem *bs, void *out); 132 int vdec_if_decode(struct aml_vcodec_ctx *ctx, struct aml_vcodec_mem *bs,
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/ |
D | vdec_mjpeg_if.c | 344 struct aml_vcodec_mem *bs, void *out) in vdec_mjpeg_probe() argument 348 u8 *buf = (u8 *)bs->vaddr; in vdec_mjpeg_probe() 349 u32 size = bs->size; in vdec_mjpeg_probe() 353 if (bs->model == VB2_MEMORY_MMAP) { in vdec_mjpeg_probe() 366 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_mjpeg_probe() 367 bs->model == VB2_MEMORY_USERPTR) { in vdec_mjpeg_probe() 368 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_mjpeg_probe() 369 BUFF_IDX(bs, bs->index)); in vdec_mjpeg_probe() 459 static int vdec_mjpeg_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_mjpeg_decode() argument 464 u8 *buf = (u8 *) bs->vaddr; in vdec_mjpeg_decode() [all …]
|
D | vdec_mpeg12_if.c | 363 struct aml_vcodec_mem *bs, void *out) in vdec_mpeg12_probe() argument 367 u8 *buf = (u8 *)bs->vaddr; in vdec_mpeg12_probe() 368 u32 size = bs->size; in vdec_mpeg12_probe() 372 if (bs->model == VB2_MEMORY_MMAP) { in vdec_mpeg12_probe() 385 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_mpeg12_probe() 386 bs->model == VB2_MEMORY_USERPTR) { in vdec_mpeg12_probe() 387 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_mpeg12_probe() 388 BUFF_IDX(bs, bs->index)); in vdec_mpeg12_probe() 478 static int vdec_mpeg12_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_mpeg12_decode() argument 483 u8 *buf = (u8 *) bs->vaddr; in vdec_mpeg12_decode() [all …]
|
D | vdec_mpeg4_if.c | 373 struct aml_vcodec_mem *bs, void *out) in vdec_mpeg4_probe() argument 377 u8 *buf = (u8 *)bs->vaddr; in vdec_mpeg4_probe() 378 u32 size = bs->size; in vdec_mpeg4_probe() 382 if (bs->model == VB2_MEMORY_MMAP) { in vdec_mpeg4_probe() 395 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_mpeg4_probe() 396 bs->model == VB2_MEMORY_USERPTR) { in vdec_mpeg4_probe() 397 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_mpeg4_probe() 398 BUFF_IDX(bs, bs->index)); in vdec_mpeg4_probe() 488 static int vdec_mpeg4_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_mpeg4_decode() argument 493 u8 *buf = (u8 *) bs->vaddr; in vdec_mpeg4_decode() [all …]
|
D | vdec_hevc_if.c | 476 struct aml_vcodec_mem *bs, void *out) in vdec_hevc_probe() argument 480 u8 *buf = (u8 *)bs->vaddr; in vdec_hevc_probe() 481 u32 size = bs->size; in vdec_hevc_probe() 485 if (bs->model == VB2_MEMORY_MMAP) { in vdec_hevc_probe() 498 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_hevc_probe() 499 bs->model == VB2_MEMORY_USERPTR) { in vdec_hevc_probe() 500 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_hevc_probe() 501 BUFF_IDX(bs, bs->index)); in vdec_hevc_probe() 631 static int vdec_hevc_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_hevc_decode() argument 636 u8 *buf = (u8 *) bs->vaddr; in vdec_hevc_decode() [all …]
|
D | vdec_vp9_if.c | 505 struct aml_vcodec_mem *bs, void *out) in vdec_vp9_probe() argument 509 u8 *buf = (u8 *)bs->vaddr; in vdec_vp9_probe() 510 u32 size = bs->size; in vdec_vp9_probe() 514 if (bs->model == VB2_MEMORY_MMAP) { in vdec_vp9_probe() 527 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_vp9_probe() 528 bs->model == VB2_MEMORY_USERPTR) { in vdec_vp9_probe() 529 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_vp9_probe() 530 BUFF_IDX(bs, bs->index)); in vdec_vp9_probe() 745 static int vdec_vp9_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_vp9_decode() argument 750 u8 *buf = (u8 *) bs->vaddr; in vdec_vp9_decode() [all …]
|
D | vdec_h264_if.c | 638 struct aml_vcodec_mem *bs, void *out) in vdec_h264_probe() argument 642 u8 *buf = (u8 *) bs->vaddr; in vdec_h264_probe() 643 u32 size = bs->size; in vdec_h264_probe() 647 if (bs->model == VB2_MEMORY_MMAP) { in vdec_h264_probe() 661 } else if (bs->model == VB2_MEMORY_DMABUF || in vdec_h264_probe() 662 bs->model == VB2_MEMORY_USERPTR) { in vdec_h264_probe() 663 ret = parse_stream_ucode_dma(inst, bs->addr, size, in vdec_h264_probe() 664 BUFF_IDX(bs, bs->index)); in vdec_h264_probe() 867 static int vdec_h264_decode(unsigned long h_vdec, struct aml_vcodec_mem *bs, in vdec_h264_decode() argument 872 u8 *buf = (u8 *) bs->vaddr; in vdec_h264_decode() [all …]
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/ |
D | mkddrinit.sh | 35 dd if=../$1 of=./fb4 bs=1 count=8192 skip=64 36 dd if=./ddr_init.bin of=./fb1 bs=1 count=64 37 dd if=./fb4 of=./fb2 bs=8192 conv=sync 38 dd if=./ddr_init.bin of=./fb3 bs=1 skip=8256
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/ |
D | mkddrinit.sh | 35 dd if=../$1 of=./fb4 bs=1 count=8192 skip=64 36 dd if=./ddr_init.bin of=./fb1 bs=1 count=64 37 dd if=./fb4 of=./fb2 bs=8192 conv=sync 38 dd if=./ddr_init.bin of=./fb3 bs=1 skip=8256
|
/device/soc/esp/esp32/components/bootloader_support/include_bootloader/ |
D | bootloader_utility.h | 29 bool bootloader_utility_load_partition_table(bootloader_state_t* bs); 42 int bootloader_utility_get_selected_boot_partition(const bootloader_state_t *bs); 56 __attribute__((noreturn)) void bootloader_utility_load_boot_image(const bootloader_state_t *bs, int…
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/ |
D | ccu_common.c | 274 void set_reg(char __iomem *addr, u32 val, u8 bw, u8 bs) in set_reg() argument 280 tmp &= ~(mask << bs); in set_reg() 282 writel(tmp | ((val & mask) << bs), addr); in set_reg() 287 u32 val, u8 bw, u8 bs) in set_reg_key() argument 294 tmp &= ~(mask << bs); in set_reg_key() 296 writel(tmp | ((val & mask) << bs) | ((key & kmask) << kbs), addr); in set_reg_key()
|
D | ccu_common.h | 98 void set_reg(char __iomem *addr, u32 val, u8 bw, u8 bs); 102 u32 val, u8 bw, u8 bs);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
D | scons_utils.py | 126 bs = kw.get('bs', 1024) 140 append_len = count*bs 144 new_len = seek*bs + append_len 150 img_data[seek*bs : new_len] = data[0 : append_len] 156 src.seek(skip*bs)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/ |
D | scons_utils.py | 126 bs = kw.get('bs', 1024) 140 append_len = count*bs 144 new_len = seek*bs + append_len 150 img_data[seek*bs : new_len] = data[0 : append_len] 156 src.seek(skip*bs)
|
/device/qemu/drivers/virtio/ |
D | virtblock.c | 89 uint32_t bs; in Feature0() local 98 bs = conf->blkSize; in Feature0() 99 if ((bs >= MMC_SEC_SIZE) && (bs <= FAT32_MAX_CLUSTER_SECS * MMC_SEC_SIZE) && in Feature0() 100 ((bs & (bs - 1)) == 0)) { in Feature0() 101 blk->blkSize = bs; in Feature0()
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ |
D | create_secure_boot.sh | 68 dd if=./private.bin of=./fb1 bs=1 skip=33 count=256 73 dd if=./private.bin of=./fb3 bs=1 skip=291 count=3 244 dd if=./u-boot-rsa2048.bin of=rsa2048pem/rsa_pub_2048.bin bs=1 skip=16 count=512 263 dd if=./private_4096.bin of=./fb1 bs=1 skip=33 count=512 268 dd if=./private_4096.bin of=./fb3 bs=1 skip=547 count=3 438 dd if=./u-boot-rsa4096.bin of=rsa4096pem/rsa_pub_4096.bin bs=1 skip=16 count=1024
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ |
D | create_secure_boot.sh | 110 dd if=./private.bin of=./fb1 bs=1 skip=33 count=256 115 dd if=./private.bin of=./fb3 bs=1 skip=291 count=3 286 dd if=./u-boot-rsa2048.bin of=rsa2048pem/rsa_pub_2048.bin bs=1 skip=16 count=512 310 dd if=./private_4096.bin of=./fb1 bs=1 skip=33 count=512 315 dd if=./private_4096.bin of=./fb3 bs=1 skip=547 count=3 485 dd if=./u-boot-rsa4096.bin of=rsa4096pem/rsa_pub_4096.bin bs=1 skip=16 count=1024
|