Home
last modified time | relevance | path

Searched refs:bitstream (Results 1 – 19 of 19) 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.c1102 struct bitstream bs; in fill_bitmap_rle_bits()
Ddrbd_receiver.c4675 struct bitstream bs; in recv_bm_rle_bits()
/drivers/net/hamradio/
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 …]
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 …]
/drivers/media/platform/chips-media/
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()
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()
1731 ctx->bitstream.vaddr, ctx->bitstream.size); in coda_seq_end_work()
1768 if (ctx->bitstream.vaddr) in coda_alloc_bitstream_buffer()
1771 ctx->bitstream.size = roundup_pow_of_two(q_data->sizeimage * 2); in coda_alloc_bitstream_buffer()
[all …]
Dcoda.h263 struct coda_aux_buf bitstream; member
Dcoda-common.c1878 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in coda_buf_queue()
2158 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/media/platform/verisilicon/
Dhantro_v4l2.h27 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream);
Dhantro_v4l2.c122 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream) in hantro_get_default_fmt() argument
129 if (bitstream == (formats[i].codec_mode != in hantro_get_default_fmt()
/drivers/media/platform/st/sti/delta/
DKconfig10 decoding of various compressed video bitstream format in
/drivers/comedi/drivers/
Dcb_pcidas64.c1689 u8 bitstream; in i2c_write() local
1704 bitstream = (address << 1) & ~read_bit; in i2c_write()
1705 i2c_write_byte(dev, bitstream); in i2c_write()
3518 unsigned int bitstream = ((address & 0x7) << 8) | value; in caldac_8800_write() local
3528 if (bitstream & bit) in caldac_8800_write()
3651 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); in ad8402_write() local
3659 if (bitstream & bit) in ad8402_write()
3703 unsigned int bitstream = (read_command << 8) | address; in read_eeprom() local
3725 if (bitstream & bit) in read_eeprom()
/drivers/media/platform/nvidia/tegra-vde/
Dh264.c928 struct tegra_m2m_buffer *bitstream = vb_to_tegra_buf(&src->vb2_buf); in tegra_vde_h264_decode_run() local
939 bitstream->dma_addr[0], in tegra_vde_h264_decode_run()
/drivers/misc/
DKconfig406 tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
411 This option enables support for bitstream configuration (programming
/drivers/fpga/
DKconfig266 bitstream image.
/drivers/firmware/
DKconfig199 risk of corrupting the bitstream storage and bricking the system.
/drivers/char/hw_random/
DKconfig31 the default FPGA bitstream on the TS-7800 has such functionality.