Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_vli.h227 struct bitstream { struct
238 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() argument
246 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
260 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
293 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
340 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
Ddrbd_main.c1087 struct bitstream bs; in fill_bitmap_rle_bits()
Ddrbd_receiver.c4328 struct bitstream bs; in recv_bm_rle_bits()
/drivers/net/hamradio/
Dbaycom_epp.c191 unsigned int bitbuf, bitstream, numbits, state; member
374 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
391 bitstream = bitbuf = numbit = 0; in encode_hdlc()
393 bitstream >>= 8; in encode_hdlc()
394 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc()
396 notbitstream = ~bitstream; in encode_hdlc()
403 bitstream &= ~(0x100 << j); in encode_hdlc()
407 notbitstream = ~bitstream; in encode_hdlc()
565 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
573 bitstream = bc->hdlcrx.bitstream; in receive()
[all …]
Dhdlcdrv.c184 s->hdlcrx.bitstream >>= 16; in hdlcdrv_receiver()
185 s->hdlcrx.bitstream |= word << 16; in hdlcdrv_receiver()
194 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver()
196 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
209 } else if ((s->hdlcrx.bitstream & mask4) == mask5) { in hdlcdrv_receiver()
328 s->hdlctx.bitstream = 0; in hdlcdrv_transmitter()
340 s->hdlctx.bitstream >>= 8; in hdlcdrv_transmitter()
341 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter()
348 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter()
350 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
[all …]
/drivers/media/platform/coda/
Dcoda-bit.c154 (rd_ptr - ctx->bitstream.paddr); in coda_kfifo_sync_from_device()
165 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full()
167 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
177 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
204 ctx->bitstream.size) in coda_bitstream_try_queue()
1417 ctx->bitstream.vaddr, ctx->bitstream.size); in coda_seq_end_work()
1454 if (ctx->bitstream.vaddr) in coda_alloc_bitstream_buffer()
1457 ctx->bitstream.size = roundup_pow_of_two(q_data->sizeimage * 2); in coda_alloc_bitstream_buffer()
1458 ctx->bitstream.vaddr = dma_alloc_writecombine( in coda_alloc_bitstream_buffer()
1459 &ctx->dev->plat_dev->dev, ctx->bitstream.size, in coda_alloc_bitstream_buffer()
[all …]
Dcoda.h215 struct coda_aux_buf bitstream; member
Dcoda-common.c1188 if (ctx->bitstream.size && vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in coda_buf_queue()
1387 ctx->bitstream.vaddr, ctx->bitstream.size); in coda_stop_streaming()
/drivers/staging/gs_fpgaboot/
DREADME28 - load Xilinx FPGA bitstream format[1] firmware image file using
69 2. bitstream file info:
/drivers/misc/genwqe/
Dcard_debugfs.c309 u64 app_id, slu_id, bitstream = -1; in genwqe_info_show() local
316 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM); in genwqe_info_show()
337 bitstream); in genwqe_info_show()
Dcard_utils.c730 u64 bitstream; in genwqe_read_softreset() local
735 bitstream = __genwqe_readq(cd, IO_SLU_BITSTREAM) & 0x1; in genwqe_read_softreset()
736 cd->softreset = (bitstream == 0) ? 0x8ull : 0xcull; in genwqe_read_softreset()
/drivers/staging/comedi/drivers/
Dcb_pcidas64.c1697 uint8_t bitstream; in i2c_write() local
1712 bitstream = (address << 1) & ~read_bit; in i2c_write()
1713 i2c_write_byte(dev, bitstream); in i2c_write()
3536 unsigned int bitstream = ((address & 0x7) << 8) | value; in caldac_8800_write() local
3546 if (bitstream & bit) in caldac_8800_write()
3669 unsigned int bitstream = ((channel & 0x3) << 8) | (value & 0xff); in ad8402_write() local
3677 if (bitstream & bit) in ad8402_write()
3721 unsigned int bitstream = (read_command << 8) | address; in read_eeprom() local
3743 if (bitstream & bit) in read_eeprom()
/drivers/misc/
DKconfig500 tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
505 This option enables support for bitstream configuration (programming
/drivers/char/hw_random/
DKconfig32 the default FPGA bitstream on the TS-7800 has such functionality.