Home
last modified time | relevance | path

Searched refs:bitstream (Results 1 – 17 of 17) sorted by relevance

/drivers/block/drbd/
Ddrbd_vli.h215 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()
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
328 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
Ddrbd_main.c1120 struct bitstream bs; in fill_bitmap_rle_bits()
Ddrbd_receiver.c4737 struct bitstream bs; in recv_bm_rle_bits()
/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.c171 s->hdlcrx.bitstream >>= 16; in hdlcdrv_receiver()
172 s->hdlcrx.bitstream |= word << 16; in hdlcdrv_receiver()
181 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver()
183 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
196 } else if ((s->hdlcrx.bitstream & mask4) == mask5) { in hdlcdrv_receiver()
315 s->hdlctx.bitstream = 0; in hdlcdrv_transmitter()
327 s->hdlctx.bitstream >>= 8; in hdlcdrv_transmitter()
328 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter()
335 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter()
337 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
[all …]
/drivers/media/platform/coda/
Dcoda-bit.c156 (rd_ptr - ctx->bitstream.paddr); in coda_kfifo_sync_from_device()
167 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full()
169 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
179 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
215 kfifo_init(&ctx->bitstream_fifo, ctx->bitstream.vaddr, in coda_bitstream_flush()
216 ctx->bitstream.size); in coda_bitstream_flush()
259 ctx->bitstream.size) in coda_bitstream_try_queue()
1729 ctx->bitstream.vaddr, ctx->bitstream.size); in coda_seq_end_work()
1766 if (ctx->bitstream.vaddr) in coda_alloc_bitstream_buffer()
1769 ctx->bitstream.size = roundup_pow_of_two(q_data->sizeimage * 2); in coda_alloc_bitstream_buffer()
[all …]
Dcoda.h253 struct coda_aux_buf bitstream; member
Dcoda-common.c1879 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in coda_buf_queue()
2156 ctx->bitstream.vaddr, ctx->bitstream.size); in coda_stop_streaming()
/drivers/misc/genwqe/
Dcard_debugfs.c287 u64 app_id, slu_id, bitstream = -1; in info_show() local
294 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM); in info_show()
312 bitstream); in info_show()
Dcard_utils.c705 u64 bitstream; in genwqe_read_softreset() local
710 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM) & 0x1; in genwqe_read_softreset()
711 cd->softreset = (bitstream == 0) ? 0x8ull : 0xcull; in genwqe_read_softreset()
/drivers/staging/gs_fpgaboot/
DREADME28 - load Xilinx FPGA bitstream format[1] firmware image file using
69 2. bitstream file info:
/drivers/staging/comedi/drivers/
Dcb_pcidas64.c1695 u8 bitstream; in i2c_write() local
1710 bitstream = (address << 1) & ~read_bit; in i2c_write()
1711 i2c_write_byte(dev, bitstream); in i2c_write()
3524 unsigned int bitstream = ((address & 0x7) << 8) | value; in caldac_8800_write() local
3534 if (bitstream & bit) in caldac_8800_write()
3657 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); in ad8402_write() local
3665 if (bitstream & bit) in ad8402_write()
3709 unsigned int bitstream = (read_command << 8) | address; in read_eeprom() local
3731 if (bitstream & bit) in read_eeprom()
/drivers/staging/media/hantro/
Dhantro_v4l2.c86 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream) in hantro_get_default_fmt() argument
93 if (bitstream == (formats[i].codec_mode != in hantro_get_default_fmt()
/drivers/misc/
DKconfig403 tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
408 This option enables support for bitstream configuration (programming
/drivers/firmware/
DKconfig231 risk of corrupting the bitstream storage and bricking the system.
/drivers/media/platform/
DKconfig383 decoding of various compressed video bitstream format in
/drivers/char/hw_random/
DKconfig31 the default FPGA bitstream on the TS-7800 has such functionality.