/Linux-v6.1/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-v6.1/lib/zstd/common/ |
D | entropy_common.c | 69 U32 bitStream; in FSE_readNCount_body() local 89 bitStream = MEM_readLE32(ip); in FSE_readNCount_body() 90 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body() 92 bitStream >>= 4; in FSE_readNCount_body() 106 int repeats = FSE_ctz(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body() 116 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body() 117 repeats = FSE_ctz(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body() 120 bitStream >>= 2 * repeats; in FSE_readNCount_body() 124 assert((bitStream & 3) < 3); in FSE_readNCount_body() 125 charnum += bitStream & 3; in FSE_readNCount_body() [all …]
|
D | bitstream.h | 2 * bitstream 42 * bitStream encoding API (write forward) 44 /* bitStream can mix input from multiple sources. 62 * bitStream will never write outside of this buffer. 71 * Avoid storing elements of more than 24 bits if you want compatibility with 32-bits bitstream rea… 73 * Last operation is to close the bitStream. 80 * bitStream decoding API (read backward) 103 * A chunk of the bitStream is then stored into a local register. 163 * bitStream encoding 250 * bitStream decoding [all …]
|
D | fse.h | 293 #include "bitstream.h" 396 BIT_CStream_t bitStream; // bitStream tracking structure 400 The first thing to do is to init bitStream and state. 401 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize); 408 FSE_encodeByte(&bitStream, &state, symbol); 412 BIT_addBits(&bitStream, bitField, nbBits); 417 BIT_flushBits(&bitStream); 420 FSE_flushState(&bitStream, &state); 422 Finally, you must close the bitStream. 426 size_t size = BIT_closeCStream(&bitStream); [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/lib/zstd/compress/ |
D | fse_compress.c | 22 #include "../common/bitstream.h" 201 U32 bitStream = 0; in FSE_writeNCount_generic() local 208 bitStream += (tableLog-FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic() 223 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic() 226 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic() 227 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic() 229 bitStream>>=16; in FSE_writeNCount_generic() 233 bitStream += 3 << bitCount; in FSE_writeNCount_generic() 236 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic() 241 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic() [all …]
|
/Linux-v6.1/drivers/media/platform/chips-media/ |
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-v6.1/drivers/fpga/ |
D | microchip-spi.c | 115 * Go through look-up table to find out where actual bitstream starts in mpf_ops_parse_header() 116 * and where sizes of components of the bitstream lies. in mpf_ops_parse_header() 163 * Parse bitstream size. in mpf_ops_parse_header() 164 * Sizes of components of the bitstream are 22-bits long placed next in mpf_ops_parse_header() 166 * actual bitstream starts, so no need for overflow check anymore. in mpf_ops_parse_header() 285 dev_err(dev, "Bitstream size is not a multiple of %d\n", in mpf_ops_write() 304 dev_err(dev, "Failed to write bitstream frame %d/%zu\n", in mpf_ops_write()
|
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()
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/ |
D | venc_ipi_msg.h | 75 * @bs_mode: bitstream mode for h264 107 * @bs_mode: bitstream mode for h264 110 * @bs_addr: output bitstream buffer 34 bit address 111 * @bs_size: bitstream buffer size 217 * @bs_size: encoded bitstream size
|
D | venc_drv_base.h | 29 * @bs_buf: [in] bitstream buffer to store output bitstream
|
D | vdec_drv_if.h | 82 * @bs : [in] input bitstream 87 * Note: To flush the decoder when reaching EOF, set input bitstream as NULL.
|
/Linux-v6.1/drivers/media/platform/mediatek/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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 | 172 s->hdlcrx.bitstream >>= 16; in hdlcdrv_receiver() 173 s->hdlcrx.bitstream |= word << 16; in hdlcdrv_receiver() 182 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver() 184 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver() 197 } else if ((s->hdlcrx.bitstream & mask4) == mask5) { in hdlcdrv_receiver() 316 s->hdlctx.bitstream = 0; in hdlcdrv_transmitter() 328 s->hdlctx.bitstream >>= 8; in hdlcdrv_transmitter() 329 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter() 336 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter() 338 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter() [all …]
|
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/pwm/ |
D | microchip,corepwm.yaml | 41 mode is possible for each channel, and is set by the bitstream programmed to the 58 core, set at instantiation and by the bitstream programmed to the FPGA, determines
|
/Linux-v6.1/include/linux/fpga/ |
D | fpga-mgr.h | 69 * %FPGA_MGR_ENCRYPTED_BITSTREAM: indicates bitstream is encrypted 71 * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first 73 * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
|