Home
last modified time | relevance | path

Searched refs:bitstring (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_at_ao.c241 unsigned int bitstring = ((chan & 0x7) << 8) | val; in atao_calib_insn_write() local
248 bits = (bit & bitstring) ? ATAO_CFG2_SDATA : 0; in atao_calib_insn_write()
Dni_mio_common.c4246 static int pack_mb88341(int addr, int val, int *bitstring) in pack_mb88341() argument
4258 *bitstring = ((addr & 0x1) << 11) | in pack_mb88341()
4264 static int pack_dac8800(int addr, int val, int *bitstring) in pack_dac8800() argument
4266 *bitstring = ((addr & 0x7) << 8) | (val & 0xff); in pack_dac8800()
4270 static int pack_dac8043(int addr, int val, int *bitstring) in pack_dac8043() argument
4272 *bitstring = val & 0xfff; in pack_dac8043()
4276 static int pack_ad8522(int addr, int val, int *bitstring) in pack_ad8522() argument
4278 *bitstring = (val & 0xfff) | (addr ? 0xc000 : 0xa000); in pack_ad8522()
4282 static int pack_ad8804(int addr, int val, int *bitstring) in pack_ad8804() argument
4284 *bitstring = ((addr & 0xf) << 8) | (val & 0xff); in pack_ad8804()
[all …]