Lines Matching +full:0 +full:xff0000
23 * [0] - I/O port base address
39 #define PCM3724_8255_0_BASE 0x00
40 #define PCM3724_8255_1_BASE 0x04
41 #define PCM3724_DIO_DIR_REG 0x08
42 #define PCM3724_DIO_DIR_C0_OUT BIT(0)
48 #define PCM3724_GATE_CTRL_REG 0x09
49 #define PCM3724_GATE_CTRL_C0_ENA BIT(0)
65 if (s->io_bits & 0x0000ff) { in compute_buffer()
66 if (devno == 0) in compute_buffer()
71 if (s->io_bits & 0x00ff00) { in compute_buffer()
72 if (devno == 0) in compute_buffer()
77 if (s->io_bits & 0xff0000) { in compute_buffer()
78 if (devno == 0) in compute_buffer()
89 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in do_3724_config()
98 if (!(s->io_bits & 0x0000ff)) in do_3724_config()
101 if (!(s->io_bits & 0x00ff00)) in do_3724_config()
104 if (!(s->io_bits & 0xff0000)) in do_3724_config()
107 buffer_config = compute_buffer(0, 0, s_dio1); in do_3724_config()
124 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in enable_chan()
128 gatecfg = 0; in enable_chan()
136 if (priv->dio_1 & 0xff0000) in enable_chan()
139 if (priv->dio_1 & 0xff00) in enable_chan()
142 if (priv->dio_1 & 0xff) in enable_chan()
145 if (priv->dio_2 & 0xff0000) in enable_chan()
148 if (priv->dio_2 & 0xff00) in enable_chan()
151 if (priv->dio_2 & 0xff) in enable_chan()
168 mask = 0x0000ff; in subdev_3724_insn_config()
170 mask = 0x00ff00; in subdev_3724_insn_config()
172 mask = 0x0f0000; in subdev_3724_insn_config()
174 mask = 0xf00000; in subdev_3724_insn_config()
197 ret = comedi_request_region(dev, it->options[0], 0x10); in pcm3724_attach()
205 for (i = 0; i < dev->n_subdevices; i++) { in pcm3724_attach()
212 return 0; in pcm3724_attach()