Home
last modified time | relevance | path

Searched full:bitstream (Results 1 – 25 of 198) sorted by relevance

12345678

/linux-6.12.1/Documentation/ABI/stable/
Dsysfs-driver-misc-cp5005 Description: Version of the FPGA configuration bitstream as printable string.
14 bitstream on reset. Normal FPGA behavior and default is to keep
15 configuration bitstream and to only reset the configured logic.
18 configuration bitstream with a simple reboot. Otherwise it is
20 configuration bitstream.
23 1 = keep configuration bitstream on reset, default
24 0 = reload configuration bitstream on reset
/linux-6.12.1/fs/ntfs3/lib/
Ddecompress_common.h72 /* 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-6.12.1/lib/zstd/common/
Dentropy_common.c68 U32 bitStream; in FSE_readNCount_body() local
88 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()
89 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body()
91 bitStream >>= 4; in FSE_readNCount_body()
105 int repeats = FSE_ctz(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()
115 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
116 repeats = FSE_ctz(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()
119 bitStream >>= 2 * repeats; in FSE_readNCount_body()
123 assert((bitStream & 3) < 3); in FSE_readNCount_body()
124 charnum += bitStream & 3; in FSE_readNCount_body()
[all …]
Dbitstream.h2 * 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 …]
Dfse.h293 #include "bitstream.h"
397 BIT_CStream_t bitStream; // bitStream tracking structure
401 The first thing to do is to init bitStream and state.
402 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
409 FSE_encodeByte(&bitStream, &state, symbol);
413 BIT_addBits(&bitStream, bitField, nbBits);
418 BIT_flushBits(&bitStream);
421 FSE_flushState(&bitStream, &state);
423 Finally, you must close the bitStream.
427 size_t size = BIT_closeCStream(&bitStream);
[all …]
/linux-6.12.1/drivers/block/drbd/
Ddrbd_vli.h69 * __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-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5.h15 * Bitstream buffer option: Explicit End
16 * When set to 1 the VPU assumes that the bitstream has at least one frame and
17 * will read until the end of the bitstream buffer.
21 * bitstream data for a full frame.
28 * bitstream buffer.
34 * picture format, the bitstream and the report parameter the hardware works
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-driver-genwqe4 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
Ddebugfs-driver-genwqe58 Description: Comprehensive summary of bitstream version and software
59 version. Used bitstream and bitstream clocking information.
/linux-6.12.1/lib/zstd/compress/
Dfse_compress.c22 #include "../common/bitstream.h"
228 + 2 /* additional two bytes for bitstream flush */; in FSE_NCountWriteBound()
244 U32 bitStream = 0; in FSE_writeNCount_generic() local
251 bitStream += (tableLog-FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic()
266 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic()
269 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic()
270 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()
272 bitStream>>=16; in FSE_writeNCount_generic()
276 bitStream += 3 << bitCount; in FSE_writeNCount_generic()
279 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic()
[all …]
/linux-6.12.1/drivers/firmware/microchip/
Dmpfs-auto-update.c50 * | Used for bitstream info |
138 "flash device has insufficient capacity to store this bitstream\n"); in mpfs_auto_update_prepare()
179 * the bitstream is located. in mpfs_auto_update_verify_image()
219 * the system controller where to find the actual bitstream. Since in mpfs_auto_update_set_image_address()
284 * For bitstream info, the descriptor is written to a fixed offset, in mpfs_auto_update_write_bitstream()
295 dev_err(priv->dev, "bitstream info exceeds permitted size\n"); in mpfs_auto_update_write_bitstream()
314 * No parsing etc of the bitstream is required. The system controller in mpfs_auto_update_write_bitstream()
315 * will do all of that itself - including verifying that the bitstream in mpfs_auto_update_write_bitstream()
436 "The current bitstream does not support auto-update\n"); in mpfs_auto_update_probe()
442 "Failed to register the bitstream uploader\n"); in mpfs_auto_update_probe()
/linux-6.12.1/drivers/media/platform/chips-media/coda/
Dcoda-bit.c157 (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-6.12.1/drivers/media/test-drivers/visl/
Dvisl-debugfs.c3 * Debugfs tracing for bitstream buffers. This is similar to VA-API's
4 * LIBVA_TRACE_BUFDATA in that the raw bitstream can be dumped as a debugging
32 dev->bitstream_debugfs = debugfs_create_dir("bitstream", in visl_debugfs_bitstream_init()
57 snprintf(name, 32, "bitstream%d", run->src->sequence); in visl_trace_bitstream()
Dvisl-debugfs.h3 * Debugfs tracing for bitstream buffers. This is similar to VA-API's
4 * LIBVA_TRACE_BUFDATA in that the raw bitstream can be dumped as a debugging
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_ipi_msg.h75 * @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
Dvenc_drv_base.h29 * @bs_buf: [in] bitstream buffer to store output bitstream
/linux-6.12.1/drivers/fpga/
Dmicrochip-spi.c125 * Go through look-up table to find out where actual bitstream starts in mpf_ops_parse_header()
126 * and where sizes of components of the bitstream lies. in mpf_ops_parse_header()
173 * Parse bitstream size. in mpf_ops_parse_header()
174 * Sizes of components of the bitstream are 22-bits long placed next in mpf_ops_parse_header()
176 * actual bitstream starts, so no need for overflow check anymore. in mpf_ops_parse_header()
312 dev_err(dev, "Bitstream size is not a multiple of %d\n", in mpf_ops_write()
320 dev_err(dev, "Failed to write bitstream frame %d/%zu\n", in mpf_ops_write()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/venc/
Dvenc_vp8_if.c222 * Compose ac_tag, bitstream header and bitstream payload into
223 * one bitstream buffer.
261 mtk_venc_err(inst->ctx, "bitstream buf size is too small(%zu)", bs_buf->size); in vp8_enc_compose_one_frame()
266 * (1) The vp8 bitstream header and body are generated by the HW vp8 in vp8_enc_compose_one_frame()
267 * encoder separately at the same time. We cannot know the bitstream in vp8_enc_compose_one_frame()
270 * ac tag, bitstream header and bitstream body. in vp8_enc_compose_one_frame()
/linux-6.12.1/Documentation/admin-guide/media/
Dvisl.rst43 - keep_bitstream_buffers: Controls whether bitstream (i.e. OUTPUT) buffers are
141 **/sys/kernel/debug/visl/bitstream** with OUTPUT buffer data according to the
150 snprintf(name, 32, "bitstream%d", run->src->sequence);
158 $ xxd /sys/kernel/debug/visl/bitstream/bitstream0
172 $ xxd /sys/kernel/debug/visl/bitstream/bitstream1
/linux-6.12.1/drivers/misc/genwqe/
Dcard_sysfs.c15 * 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-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c300 /* | Y meta | ** | Y bitstream | */ in _dpu_format_populate_addrs_ubwc()
303 /* | Y bitstream | ** | CbCr bitstream | */ in _dpu_format_populate_addrs_ubwc()
309 /* | CbCr bitstream | ** | CbCr meta | */ in _dpu_format_populate_addrs_ubwc()
314 /* configure Y bitstream plane */ in _dpu_format_populate_addrs_ubwc()
317 /* configure CbCr bitstream plane */ in _dpu_format_populate_addrs_ubwc()
338 /* | RGB meta | ** | RGB bitstream | */ in _dpu_format_populate_addrs_ubwc()
341 /* | RGB bitstream | ** | NONE | */ in _dpu_format_populate_addrs_ubwc()
/linux-6.12.1/drivers/char/xilinx_hwicap/
Dbuffer_icap.c262 * 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.
/linux-6.12.1/Documentation/staging/
Dlzo.rst88 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-6.12.1/drivers/net/hamradio/
Dbaycom_epp.c176 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 …]
Dhdlcdrv.c172 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 …]

12345678