Searched refs:bitstring (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/comedi/drivers/ |
D | ni_at_ao.c | 239 unsigned int bitstring = ((chan & 0x7) << 8) | val; in atao_calib_insn_write() local 246 bits = (bit & bitstring) ? ATAO_CFG2_SDATA : 0; in atao_calib_insn_write()
|
D | ni_mio_common.c | 4297 static int pack_mb88341(int addr, int val, int *bitstring) in pack_mb88341() argument 4309 *bitstring = ((addr & 0x1) << 11) | in pack_mb88341() 4315 static int pack_dac8800(int addr, int val, int *bitstring) in pack_dac8800() argument 4317 *bitstring = ((addr & 0x7) << 8) | (val & 0xff); in pack_dac8800() 4321 static int pack_dac8043(int addr, int val, int *bitstring) in pack_dac8043() argument 4323 *bitstring = val & 0xfff; in pack_dac8043() 4327 static int pack_ad8522(int addr, int val, int *bitstring) in pack_ad8522() argument 4329 *bitstring = (val & 0xfff) | (addr ? 0xc000 : 0xa000); in pack_ad8522() 4333 static int pack_ad8804(int addr, int val, int *bitstring) in pack_ad8804() argument 4335 *bitstring = ((addr & 0xf) << 8) | (val & 0xff); in pack_ad8804() [all …]
|