Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/comedi/drivers/ !
Dni_at_ao.c455 unsigned int bitstring, bit; in atao_calib_insn_write() local
458 bitstring = ((chan & 0x7) << 8) | (data[insn->n - 1] & 0xff); in atao_calib_insn_write()
461 outw(devpriv->cfg2 | ((bit & bitstring) ? SDATA : 0), in atao_calib_insn_write()
463 outw(devpriv->cfg2 | SCLK | ((bit & bitstring) ? SDATA : 0), in atao_calib_insn_write()
Dni_mio_common.c4757 int bitstring; local
4759 bitstring = 0x0300 | ((addr & 0x100) << 3) | (addr & 0xff);
4762 ni_writeb(0x04 | ((bit & bitstring) ? 0x02 : 0),
4764 ni_writeb(0x05 | ((bit & bitstring) ? 0x02 : 0),
4767 bitstring = 0;
4771 bitstring |= ((ni_readb(XXX_Status) & PROMOUT) ? bit : 0);
4775 return bitstring;
4947 static int pack_mb88341(int addr, int val, int *bitstring);
4948 static int pack_dac8800(int addr, int val, int *bitstring);
4949 static int pack_dac8043(int addr, int val, int *bitstring);
[all …]