/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-misc-cp500 | 5 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/fs/ntfs3/lib/ |
H A 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/lib/zstd/common/ |
H A D | entropy_common.c | 52 U32 bitStream; in FSE_readNCount_body() local 72 bitStream = MEM_readLE32(ip); in FSE_readNCount_body() 73 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body() 75 bitStream >>= 4; in FSE_readNCount_body() 89 int repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body() 99 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body() 100 repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body() 103 bitStream >>= 2 * repeats; in FSE_readNCount_body() 107 assert((bitStream & 3) < 3); in FSE_readNCount_body() 108 charnum += bitStream & 3; in FSE_readNCount_body() [all …]
|
H A D | bitstream.h | 3 * bitstream 43 * bitStream encoding API (write forward) 46 /* bitStream can mix input from multiple sources. 64 * bitStream will never write outside of this buffer. 73 * Avoid storing elements of more than 24 bits if you want compatibility with 32-bits bitstream rea… 75 * Last operation is to close the bitStream. 82 * bitStream decoding API (read backward) 93 BIT_DStream_endOfBuffer = 1, /* still some bits left in bitstream */ 94 BIT_DStream_completed = 2, /* bitstream entirely consumed, bit-exact */ 95 BIT_DStream_overflow = 3 /* user requested more bits than present in bitstream */ [all …]
|
H A D | fse.h | 230 #include "bitstream.h" 315 BIT_CStream_t bitStream; // bitStream tracking structure 319 The first thing to do is to init bitStream and state. 320 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize); 327 FSE_encodeByte(&bitStream, &state, symbol); 331 BIT_addBits(&bitStream, bitField, nbBits); 336 BIT_flushBits(&bitStream); 339 FSE_flushState(&bitStream, &state); 341 Finally, you must close the bitStream. 345 size_t size = BIT_closeCStream(&bitStream); [all …]
|
/linux/drivers/block/drbd/ |
H A 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/lib/zstd/compress/ |
H A D | fse_compress.c | 23 #include "../common/bitstream.h" 230 + 2 /* additional two bytes for bitstream flush */; in FSE_NCountWriteBound() 246 U32 bitStream = 0; in FSE_writeNCount_generic() local 253 bitStream += (tableLog-FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic() 268 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic() 271 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic() 272 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic() 274 bitStream>>=16; in FSE_writeNCount_generic() 278 bitStream += 3U << bitCount; in FSE_writeNCount_generic() 281 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic() [all …]
|
/linux/Documentation/ABI/testing/ |
H A 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
|
H A D | debugfs-driver-genwqe | 58 Description: Comprehensive summary of bitstream version and software 59 version. Used bitstream and bitstream clocking information.
|
/linux/drivers/media/platform/chips-media/coda/ |
H A 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/drivers/media/test-drivers/visl/ |
H A D | visl-debugfs.c | 3 * 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()
|
H A D | visl-debugfs.h | 3 * 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/drivers/firmware/microchip/ |
H A D | mpfs-auto-update.c | 50 * | 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/drivers/media/platform/mediatek/vcodec/encoder/ |
H A 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
|
H A D | venc_drv_base.h | 29 * @bs_buf: [in] bitstream buffer to store output bitstream
|
/linux/drivers/fpga/ |
H A D | microchip-spi.c | 125 * 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()
|
H A 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/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_vp8_if.c | 222 * 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/drivers/misc/genwqe/ |
H A 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/Documentation/admin-guide/media/ |
H A D | visl.rst | 43 - 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/drivers/char/xilinx_hwicap/ |
H A 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.
|
H A D | buffer_icap.h | 43 /* Loads a partial bitstream from system memory. */ 47 /* Loads a partial bitstream from system memory. */
|
/linux/Documentation/staging/ |
H A 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/drivers/net/hamradio/ |
H A 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/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|