Lines Matching refs:ch
74 static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch)
100 *ch = in_buf[0];
111 static bool sil164_writeb(struct intel_dvo_device *dvo, int addr, uint8_t ch)
124 out_buf[1] = ch;
143 unsigned char ch;
153 if (!sil164_readb(dvo, SIL164_VID_LO, &ch))
156 if (ch != (SIL164_VID & 0xff)) {
158 ch, adapter->name, dvo->slave_addr);
162 if (!sil164_readb(dvo, SIL164_DID_LO, &ch))
165 if (ch != (SIL164_DID & 0xff)) {
167 ch, adapter->name, dvo->slave_addr);
225 unsigned char ch;
227 ret = sil164_readb(dvo, SIL164_REG8, &ch);
232 ch |= SIL164_8_PD;
234 ch &= ~SIL164_8_PD;
236 (void) sil164_writeb(dvo, SIL164_REG8, ch);
243 unsigned char ch;
245 ret = sil164_readb(dvo, SIL164_REG8, &ch);
249 if (ch & SIL164_8_PD)