Lines Matching defs:cmd
81 unsigned int cmd,
92 return c6xdigio_write_data(dev, cmd, status);
98 unsigned int cmd = C6XDIGIO_DATA_PWM | C6XDIGIO_DATA_CHAN(chan);
107 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
109 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80);
111 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
113 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80);
115 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
123 unsigned int cmd = C6XDIGIO_DATA_ENCODER | C6XDIGIO_DATA_CHAN(chan);
127 c6xdigio_write_data(dev, cmd, 0x00);
129 c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80);
132 c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00);
135 c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80);
138 c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00);
141 c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80);
144 c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00);
147 c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80);
150 c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00);