Searched refs:bitstream (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.h31 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream,
H A Dhantro_v4l2.c130 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream, argument
138 if (bitstream == (formats[i].codec_mode !=
146 if (bitstream == (formats[i].codec_mode !=
174 vpu_debug(0, "unsupported bitstream format (%08x)\n",
/linux-master/drivers/block/drbd/
H A 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)
234 static inline void bitstream_rewind(struct bitstream *bs)
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 *b
[all...]
H A Ddrbd_main.c1106 struct bitstream bs;
H A Ddrbd_receiver.c4690 struct bitstream bs;
/linux-master/drivers/net/hamradio/
H A Dbaycom_epp.c176 unsigned int bitbuf, bitstream, numbits, state; member in struct:baycom_state::__anon677
363 unsigned bitstream, notbitstream, bitbuf, numbit, crc; local
380 bitstream = bitbuf = numbit = 0;
382 bitstream >>= 8;
383 bitstream |= ((unsigned int)*bp) << 8;
385 notbitstream = ~bitstream;
392 bitstream &= ~(0x100 << j);
396 notbitstream = ~bitstream;
555 unsigned int bitbuf, notbitstream, bitstream, numbits, state; local
563 bitstream
[all...]
H A Dhdlcdrv.c172 s->hdlcrx.bitstream >>= 16;
173 s->hdlcrx.bitstream |= word << 16;
182 if ((s->hdlcrx.bitstream & mask1) == mask1)
184 else if ((s->hdlcrx.bitstream & mask2) == mask3) {
197 } else if ((s->hdlcrx.bitstream & mask4) == mask5) {
316 s->hdlctx.bitstream = 0;
328 s->hdlctx.bitstream >>= 8;
329 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16;
336 if ((s->hdlctx.bitstream & mask1) != mask1)
338 s->hdlctx.bitstream
[all...]
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-bit.c157 (rd_ptr - ctx->bitstream.paddr);
168 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask);
170 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask);
180 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask);
212 v4l2_err(&ctx->dev->v4l2_dev, "failed to flush bitstream\n");
216 kfifo_init(&ctx->bitstream_fifo, ctx->bitstream.vaddr,
217 ctx->bitstream.size);
260 ctx->bitstream.size)
287 "bitstream buffer overflow\n");
305 v4l2_err(&ctx->dev->v4l2_dev, "bitstream buffe
[all...]
H A Dcoda.h263 struct coda_aux_buf bitstream; member in struct:coda_ctx
348 * The bitstream prefetcher needs to read at least 2 256 byte periods past
349 * the desired bitstream position for all data to reach the decoder.
H A Dcoda-common.c973 * bitstream ringbuffer, slice buffer, work buffer, etc. if needed.
1575 * the compressed frame can be in the bitstream.
1611 "not ready: need 2 buffers available (queue:%d + bitstream:%d)\n",
1621 "not ready: not enough bitstream data to read past %u (%u)\n",
1876 * bitstream ringbuffer and mark it as ready to be dequeued.
1878 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) {
2158 ctx->bitstream.vaddr, ctx->bitstream.size);
/linux-master/drivers/misc/genwqe/
H A Dcard_debugfs.c287 u64 app_id, slu_id, bitstream = -1; local
294 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM);
312 bitstream);
H A Dcard_utils.c705 u64 bitstream; local
710 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM) & 0x1;
711 cd->softreset = (bitstream == 0) ? 0x8ull : 0xcull;
/linux-master/include/linux/
H A Dhdlcdrv.h111 unsigned int bitstream; member in struct:hdlcdrv_state::hdlcdrv_hdlcrx
131 unsigned int bitstream; member in struct:hdlcdrv_state::hdlcdrv_hdlctx
/linux-master/drivers/comedi/drivers/
H A Dcb_pcidas64.c1689 u8 bitstream; local
1704 bitstream = (address << 1) & ~read_bit;
1705 i2c_write_byte(dev, bitstream);
3518 unsigned int bitstream = ((address & 0x7) << 8) | value; local
3528 if (bitstream & bit)
3651 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); local
3659 if (bitstream & bit)
3703 unsigned int bitstream = (read_command << 8) | address; local
3725 if (bitstream & bit)
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c928 struct tegra_m2m_buffer *bitstream = vb_to_tegra_buf(&src->vb2_buf); local
939 bitstream->dma_addr[0],

Completed in 198 milliseconds