Lines Matching refs:ch
393 static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, u8 *ch)
419 *ch = in_buf[0];
438 static bool ns2501_writeb(struct intel_dvo_device *dvo, int addr, u8 ch)
452 out_buf[1] = ch;
477 unsigned char ch;
487 if (!ns2501_readb(dvo, NS2501_VID_LO, &ch))
490 if (ch != (NS2501_VID & 0xff)) {
492 ch, adapter->name, dvo->slave_addr);
496 if (!ns2501_readb(dvo, NS2501_DID_LO, &ch))
499 if (ch != (NS2501_DID & 0xff)) {
501 ch, adapter->name, dvo->slave_addr);
647 unsigned char ch;
649 if (!ns2501_readb(dvo, NS2501_REG8, &ch))
652 return ch & NS2501_8_PD;