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

/drivers/block/drbd/
H A Ddrbd_vli.h81 * __little endian__ bitstream, least significant bit first (left most)
202 /* for the bitstream, we need a cursor */
226 /* the bitstream itself knows its length */
227 struct bitstream { struct
238 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits)
246 static inline void bitstream_rewind(struct bitstream *bs)
252 /* Put (at most 64) least significant bits of val into bitstream, and advance cursor.
257 * If there is not enough room left in bitstream,
258 * leaves bitstream unchanged and returns -ENOBUFS.
260 static inline int bitstream_put_bits(struct bitstream *b
[all...]
H A Ddrbd_main.c1086 struct bitstream bs;
H A Ddrbd_receiver.c4307 struct bitstream bs;
/drivers/net/hamradio/
H A Dbaycom_epp.c191 unsigned int bitbuf, bitstream, numbits, state; member in struct:baycom_state::__anon4004
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; local
391 bitstream = bitbuf = numbit = 0;
393 bitstream >>= 8;
394 bitstream |= ((unsigned int)*bp) << 8;
396 notbitstream = ~bitstream;
403 bitstream &= ~(0x100 << j);
407 notbitstream = ~bitstream;
565 unsigned int bitbuf, notbitstream, bitstream, numbits, state; local
573 bitstream
[all...]
H A Dhdlcdrv.c184 s->hdlcrx.bitstream >>= 16;
185 s->hdlcrx.bitstream |= word << 16;
194 if ((s->hdlcrx.bitstream & mask1) == mask1)
196 else if ((s->hdlcrx.bitstream & mask2) == mask3) {
209 } else if ((s->hdlcrx.bitstream & mask4) == mask5) {
328 s->hdlctx.bitstream = 0;
340 s->hdlctx.bitstream >>= 8;
341 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16;
348 if ((s->hdlctx.bitstream & mask1) != mask1)
350 s->hdlctx.bitstream
[all...]
/drivers/media/platform/coda/
H A Dcoda-bit.c142 (rd_ptr - ctx->bitstream.paddr);
153 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask);
155 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask);
165 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask);
181 ctx->bitstream.paddr, ctx->bitstream.size,
195 vb2_get_plane_payload(src_buf, 0) + 512 >= ctx->bitstream.size)
205 v4l2_err(&ctx->dev->v4l2_dev, "bitstream buffer overflow\n");
227 * Source buffer is queued in the bitstream ringbuffer;
1262 ctx->bitstream
[all...]
H A Dcoda-common.c767 * the compressed frame can be in the bitstream.
787 "%d: not ready: not enough bitstream data.\n",
965 * bitstream ringbuffer and mark it as ready to be dequeued.
1145 ctx->bitstream.vaddr, ctx->bitstream.size);
1451 ctx->bitstream.size = CODA_MAX_FRAME_SIZE;
1452 ctx->bitstream.vaddr = dma_alloc_writecombine(&dev->plat_dev->dev,
1453 ctx->bitstream.size, &ctx->bitstream.paddr, GFP_KERNEL);
1454 if (!ctx->bitstream
[all...]
H A Dcoda.h208 struct coda_aux_buf bitstream; member in struct:coda_ctx
/drivers/misc/genwqe/
H A Dcard_debugfs.c309 u64 app_id, slu_id, bitstream = -1; local
316 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM);
337 bitstream);
H A Dcard_utils.c712 u64 bitstream; local
717 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM) & 0x1;
718 cd->softreset = (bitstream == 0) ? 0x8ull : 0xcull;
/drivers/staging/comedi/drivers/
H A Dcb_pcidas.c582 unsigned int bitstream,
590 if (bitstream & bit)
605 unsigned int bitstream = ((address & 0x7) << 8) | value; local
618 write_calibration_bitstream(dev, cal_enable_bits(dev), bitstream,
701 unsigned int bitstream = value & 0x7f; local
709 write_calibration_bitstream(dev, register_bits, bitstream,
726 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); local
734 write_calibration_bitstream(dev, register_bits, bitstream,
580 write_calibration_bitstream(struct comedi_device *dev, unsigned int register_bits, unsigned int bitstream, unsigned int bitstream_length) argument
H A Dcb_pcidas64.c1668 uint8_t bitstream; local
1681 bitstream = (address << 1) & ~read_bit;
1682 i2c_write_byte(dev, bitstream);
3493 unsigned int bitstream = ((address & 0x7) << 8) | value; local
3503 if (bitstream & bit)
3635 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); local
3645 if (bitstream & bit)
3697 unsigned int bitstream = (read_command << 8) | address; local
3719 if (bitstream & bit)
/drivers/char/hw_random/
H A DKconfig32 the default FPGA bitstream on the TS-7800 has such functionality.

Completed in 332 milliseconds