Lines Matching defs:Bus

43  * First I2C Bus: Typically used for detecting a VGA monitor.
46 ViaI2C1PutBits(I2CBusPtr Bus, int clock, int data)
48 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
61 ViaI2C1GetBits(I2CBusPtr Bus, int *clock, int *data)
63 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
83 "Initialization of I2C Bus 1 failed.\n");
89 pI2CBus->BusName = "I2C Bus 1";
104 "Initialization of I2C Bus 1 failed.\n");
116 * Second I2C Bus: Used to detect a DVI monitor, VGA monitor via
120 ViaI2C2PutBits(I2CBusPtr Bus, int clock, int data)
122 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
135 ViaI2C2GetBits(I2CBusPtr Bus, int *clock, int *data)
137 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
157 "Initialization of I2C Bus 2 failed.\n");
163 pI2CBus->BusName = "I2C Bus 2";
174 "Initialization of I2C Bus 2 failed.\n");
186 * Third I2C Bus: Implemented via manipulation of GPIO (General
345 ViaI2C3SimplePutBits(I2CBusPtr Bus, int clock, int data)
347 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
360 ViaI2C3SimpleGetBits(I2CBusPtr Bus, int *clock, int *data)
362 vgaHWPtr hwp = Bus->DriverPrivate.ptr;
383 "Initialization of I2C Bus 3 failed.\n");
389 pI2CBus->BusName = "I2C Bus 3";
396 "using alternative PutBits/GetBits functions for I2C Bus 3\n"));
422 "Initialization of I2C Bus 3 failed.\n");
435 ViaI2CScan(I2CBusPtr Bus)
439 DEBUG(xf86DrvMsg(Bus->scrnIndex, X_INFO,
442 xf86DrvMsg(Bus->scrnIndex, X_INFO, "Scanning %s.\n",
443 Bus->BusName);
446 if (xf86I2CProbeAddress(Bus, i))
447 xf86DrvMsg(Bus->scrnIndex, X_PROBED, "Found slave on %s "
448 "- 0x%02X.\n", Bus->BusName, i);
450 DEBUG(xf86DrvMsg(Bus->scrnIndex, X_INFO,