/Linux-v5.15/lib/zstd/ |
D | entropy_common.c | 67 U32 bitStream; in FSE_readNCount() local 74 bitStream = ZSTD_readLE32(ip); in FSE_readNCount() 75 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount() 78 bitStream >>= 4; in FSE_readNCount() 88 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSE_readNCount() 92 bitStream = ZSTD_readLE32(ip) >> bitCount; in FSE_readNCount() 94 bitStream >>= 16; in FSE_readNCount() 98 while ((bitStream & 3) == 3) { in FSE_readNCount() 100 bitStream >>= 2; in FSE_readNCount() 103 n0 += bitStream & 3; in FSE_readNCount() [all …]
|
D | fse_compress.c | 48 #include "bitstream.h" 213 U32 bitStream; in FSE_writeNCount_generic() local 218 bitStream = 0; in FSE_writeNCount_generic() 221 bitStream += (tableLog - FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic() 236 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic() 239 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic() 240 out[1] = (BYTE)(bitStream >> 8); in FSE_writeNCount_generic() 242 bitStream >>= 16; in FSE_writeNCount_generic() 246 bitStream += 3 << bitCount; in FSE_writeNCount_generic() 249 bitStream += (charnum - start) << bitCount; in FSE_writeNCount_generic() [all …]
|
D | bitstream.h | 2 * bitstream 64 * bitStream encoding API (write forward) 66 /* bitStream can mix input from multiple sources. 84 * bitStream will never write outside of this buffer. 93 * Avoid storing elements of more than 24 bits if you want compatibility with 32-bits bitstream rea… 95 * Last operation is to close the bitStream. 101 * bitStream decoding API (read backward) 124 * A chunk of the bitStream is then stored into a local register. 156 * bitStream encoding 231 * bitStream decoding [all …]
|
D | fse.h | 228 #include "bitstream.h" 317 BIT_CStream_t bitStream; // bitStream tracking structure 321 The first thing to do is to init bitStream and state. 322 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize); 329 FSE_encodeByte(&bitStream, &state, symbol); 333 BIT_addBits(&bitStream, bitField, nbBits); 338 BIT_flushBits(&bitStream); 341 FSE_flushState(&bitStream, &state); 343 Finally, you must close the bitStream. 347 size_t size = BIT_closeCStream(&bitStream); [all …]
|
/Linux-v5.15/fs/ntfs3/lib/ |
D | decompress_common.h | 72 /* Initialize a bitstream to read from the specified input buffer. */ 82 /* Ensure the bit buffer variable for the bitstream contains at least @num_bits 84 * may be called on the bitstream to peek or remove up to @num_bits bits. Note 100 /* Return the next @num_bits bits from the bitstream, without removing them. 110 /* Remove @num_bits from the bitstream. There must be at least @num_bits 121 /* Remove and return @num_bits bits from the bitstream. There must be at least 134 /* Read and return the next @num_bits bits from the bitstream. */ 142 /* Read and return the next literal byte embedded in the bitstream. */ 151 /* Read and return the next 16-bit integer embedded in the bitstream. */ 164 /* Read and return the next 32-bit integer embedded in the bitstream. */ [all …]
|
/Linux-v5.15/drivers/block/drbd/ |
D | drbd_vli.h | 69 * __little endian__ bitstream, least significant bit first (left most) 190 /* for the bitstream, we need a cursor */ 214 /* the bitstream itself knows its length */ 215 struct bitstream { struct 226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() argument 234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind() 240 /* Put (at most 64) least significant bits of val into bitstream, and advance cursor. 245 * If there is not enough room left in bitstream, 246 * leaves bitstream unchanged and returns -ENOBUFS. 248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits() [all …]
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-driver-genwqe | 4 Description: Unique bitstream identification e.g. 21 Description: Currently active bitstream. 1 is default, 0 is backup. 26 Description: Interface to set the next bitstream to be used. 31 Description: Interface to trigger a PCIe card reset to reload the bitstream. 38 If successfully, the card will come back with the bitstream set
|
D | debugfs-driver-genwqe | 58 Description: Comprehensive summary of bitstream version and software 59 version. Used bitstream and bitstream clocking information.
|
/Linux-v5.15/drivers/media/platform/coda/ |
D | coda-bit.c | 157 (rd_ptr - ctx->bitstream.paddr); in coda_kfifo_sync_from_device() 168 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full() 170 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full() 180 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write() 212 v4l2_err(&ctx->dev->v4l2_dev, "failed to flush bitstream\n"); in coda_bitstream_flush() 216 kfifo_init(&ctx->bitstream_fifo, ctx->bitstream.vaddr, in coda_bitstream_flush() 217 ctx->bitstream.size); in coda_bitstream_flush() 260 ctx->bitstream.size) in coda_bitstream_try_queue() 287 "bitstream buffer overflow\n"); in coda_bitstream_try_queue() 305 v4l2_err(&ctx->dev->v4l2_dev, "bitstream buffer overflow\n"); in coda_bitstream_try_queue() [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec-stateless.rst | 27 bitstream) for the associated H264 slice data. This includes the 29 pipeline for H264. The bitstream parameters are defined according 172 bitstream) for the associated H264 slice data. This includes the 174 pipeline for H264. The bitstream parameters are defined according 277 Specifies the scaling matrix (as extracted from the bitstream) for 278 the associated H264 slice data. The bitstream parameters are 311 Specifies the slice parameters (as extracted from the bitstream) 314 for H264. The bitstream parameters are defined according to 522 Specifies the decode parameters (as extracted from the bitstream) 525 for H264. The bitstream parameters are defined according to [all …]
|
/Linux-v5.15/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_vp8_if.c | 233 * Compose ac_tag, bitstream header and bitstream payload into 234 * one bitstream buffer. 272 mtk_vcodec_err(inst, "bitstream buf size is too small(%zu)", in vp8_enc_compose_one_frame() 278 * (1) The vp8 bitstream header and body are generated by the HW vp8 in vp8_enc_compose_one_frame() 279 * encoder separately at the same time. We cannot know the bitstream in vp8_enc_compose_one_frame() 282 * ac tag, bitstream header and bitstream body. in vp8_enc_compose_one_frame()
|
/Linux-v5.15/drivers/misc/genwqe/ |
D | card_sysfs.c | 15 * the version of the bitstream as well as some for the driver. For 133 * curr_bitstream_show() - Show the current bitstream id 136 * bitstream, which causes the IO_SLU_BITSTREAM register to report 144 * The proposed circumvention is to use a special recovery bitstream 160 * next_bitstream_show() - Show the next activated bitstream
|
/Linux-v5.15/drivers/staging/gs_fpgaboot/ |
D | gs_fpgaboot.h | 8 f_bit, /* only bitstream is supported */ 32 * the following can be read from bitstream,
|
D | gs_fpgaboot.c | 89 * read first 13 bytes to check bitstream magic number 102 pr_info("bitstream file magic number Ok\n"); in readmagic_bitstream() 110 * NOTE: supports only bitstream format 170 pr_info("image is bitstream format\n"); in gs_read_image()
|
D | README | 28 - load Xilinx FPGA bitstream format[1] firmware image file using 69 2. bitstream file info:
|
/Linux-v5.15/drivers/char/xilinx_hwicap/ |
D | buffer_icap.c | 262 * buffer_icap_set_configuration - Load a partial bitstream from system memory. 264 * @data: Kernel address of the partial bitstream. 265 * @size: the size of the partial bitstream in 32 bit words. 321 * @data: Address of the data representing the partial bitstream 322 * @size: the size of the partial bitstream in 32 bit words.
|
D | buffer_icap.h | 43 /* Loads a partial bitstream from system memory. */ 47 /* Loads a partial bitstream from system memory. */
|
/Linux-v5.15/Documentation/staging/ |
D | lzo.rst | 88 common case for zram. This modifies the bitstream in a backwards compatible way 105 17 : bitstream version. If the first byte is 17, and compressed 107 versioned bitstream), the next byte gives the bitstream version 109 Otherwise, the bitstream version is 0.
|
/Linux-v5.15/drivers/media/platform/mtk-vcodec/ |
D | venc_drv_base.h | 29 * @bs_buf: [in] bitstream buffer to store output bitstream
|
D | vdec_drv_if.h | 78 * @bs : [in] input bitstream 83 * Note: To flush the decoder when reaching EOF, set input bitstream as NULL.
|
/Linux-v5.15/drivers/net/hamradio/ |
D | baycom_epp.c | 176 unsigned int bitbuf, bitstream, numbits, state; member 363 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local 380 bitstream = bitbuf = numbit = 0; in encode_hdlc() 382 bitstream >>= 8; in encode_hdlc() 383 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc() 385 notbitstream = ~bitstream; in encode_hdlc() 392 bitstream &= ~(0x100 << j); in encode_hdlc() 396 notbitstream = ~bitstream; in encode_hdlc() 555 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local 563 bitstream = bc->hdlcrx.bitstream; in receive() [all …]
|
D | hdlcdrv.c | 171 s->hdlcrx.bitstream >>= 16; in hdlcdrv_receiver() 172 s->hdlcrx.bitstream |= word << 16; in hdlcdrv_receiver() 181 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver() 183 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver() 196 } else if ((s->hdlcrx.bitstream & mask4) == mask5) { in hdlcdrv_receiver() 315 s->hdlctx.bitstream = 0; in hdlcdrv_transmitter() 327 s->hdlctx.bitstream >>= 8; in hdlcdrv_transmitter() 328 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter() 335 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter() 337 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/ |
D | xilinx.txt | 15 to be recompiled every time the FPGA bitstream is resynthesized. 18 generate a new device tree each time the FPGA bitstream changes. The 108 bitstream stored on a CF card. It can also be used as a generic CF
|
/Linux-v5.15/include/linux/fpga/ |
D | fpga-mgr.h | 65 * %FPGA_MGR_ENCRYPTED_BITSTREAM: indicates bitstream is encrypted 67 * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first 69 * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
|
/Linux-v5.15/drivers/fpga/ |
D | dfl-fme-mgr.c | 60 /* Incompatible PR bitstream detected. */ 180 dev_dbg(dev, "pushing data from bitstream to HW\n"); in fme_mgr_write() 204 dev_err(dev, "Invalid PR bitstream size\n"); in fme_mgr_write() 232 dev_dbg(dev, "green bitstream push complete\n"); in fme_mgr_write_complete()
|