Searched refs:next_bits (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/lib/842/ |
H A D | 842_decompress.c | 65 static int next_bits(struct sw842_param *p, u64 *d, u8 n); 77 ret = next_bits(p, &tmp, n - s); in __split_next_bits() 80 ret = next_bits(p, d, s); in __split_next_bits() 87 static int next_bits(struct sw842_param *p, u64 *d, u8 n) in next_bits() function 139 ret = next_bits(p, &v, n * 8); in do_data() 168 ret = next_bits(p, &index, bits); in __do_index() 297 ret = next_bits(&p, &op, OP_BITS); in sw842_decompress() 305 ret = next_bits(&p, &rep, REPEAT_BITS); in sw842_decompress() 341 ret = next_bits(&p, &bytes, SHORT_DATA_BITS); in sw842_decompress() 349 ret = next_bits(&p, &tmp, 8); in sw842_decompress() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | gsc_hpdi.c | 415 u32 next_bits = PLX_DMADPR_DESCPCI | PLX_DMADPR_TCINTR | in gsc_hpdi_setup_dma_descriptors() local 433 (i + 1) * sizeof(devpriv->dma_desc[0])) | next_bits); in gsc_hpdi_setup_dma_descriptors() 446 devpriv->dma_desc[i - 1].next = cpu_to_le32(phys_addr | next_bits); in gsc_hpdi_setup_dma_descriptors()
|
H A D | cb_pcidas64.c | 2938 unsigned int next_bits; in load_ao_dma_buffer() local 2949 next_bits = le32_to_cpu(devpriv->ao_dma_desc[buffer_index].next); in load_ao_dma_buffer() 2950 next_bits |= PLX_DMADPR_CHAINEND; in load_ao_dma_buffer() 2951 devpriv->ao_dma_desc[buffer_index].next = cpu_to_le32(next_bits); in load_ao_dma_buffer() 2956 next_bits = le32_to_cpu(devpriv->ao_dma_desc[prev_buffer_index].next); in load_ao_dma_buffer() 2957 next_bits &= ~PLX_DMADPR_CHAINEND; in load_ao_dma_buffer() 2958 devpriv->ao_dma_desc[prev_buffer_index].next = cpu_to_le32(next_bits); in load_ao_dma_buffer()
|