Searched refs:pI2CBus (Results 1 - 25 of 47) sorted by relevance

12

/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Datii2c.c40 (*pI2CBus->I2CUDelay)(pI2CBus, pI2CBus->HoldTime)
124 I2CBusPtr pI2CBus,
128 ATII2CPtr pATII2C = pI2CBus->DriverPrivate.ptr;
164 I2CBusPtr pI2CBus = pI2CDev->pI2CBus; local in function:ATII2CAddress
167 if ((*pI2CBus->I2CPutByte)(pI2CDev, (I2CByte)Address))
174 if ((*pI2CBus->I2CPutByte)(pI2CDev, (I2CByte)(Address >> 8)))
179 (*pI2CBus
122 ATII2CStart(I2CBusPtr pI2CBus,int timeout) argument
194 I2CBusPtr pI2CBus = pI2CDev->pI2CBus; local in function:ATII2CStop
226 I2CBusPtr pI2CBus = pI2CDev->pI2CBus; local in function:ATII2CPutByte
274 I2CBusPtr pI2CBus = pI2CDev->pI2CBus; local in function:ATII2CGetByte
321 I2CBusPtr pI2CBus; local in function:ATICreateI2CBusRec
384 I2CBusPtr pI2CBus, *ppI2CBus; local in function:ATII2CFreeScreen
[all...]
H A Datimach64i2c.c296 I2CBusPtr pI2CBus
306 pI2CDev->pI2CBus = pI2CBus;
307 pI2CDev->StartTimeout = pI2CBus->StartTimeout;
308 pI2CDev->BitTimeout = pI2CBus->BitTimeout;
309 pI2CDev->AcknTimeout = pI2CBus->AcknTimeout;
310 pI2CDev->ByteTimeout = pI2CBus->ByteTimeout;
316 if (xf86I2CFindDev(pI2CBus, pI2CDev->SlaveAddr))
321 if (!(*pI2CBus->I2CWriteRead)(pI2CDev, &tmp, 1, NULL, 0) ||
322 !(*pI2CBus
292 ATITVAddOnProbe(ScrnInfoPtr pScreenInfo,ATIPtr pATI,I2CBusPtr pI2CBus) argument
367 I2CBusPtr pI2CBus; local in function:ATIMach64I2CPreInit
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/tfp410/
H A Dtfp410.c73 xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
75 tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
87 xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
89 tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
123 tfp->d.pI2CBus = b;
133 xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
135 id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
141 xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
143 id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
218 xf86DrvMsg(tfp->d.pI2CBus
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_i2c.c76 I2CBusPtr pI2CBus = xf86CreateI2CBusRec(); local in function:ViaI2CBus1Init
79 if (!pI2CBus) {
89 pI2CBus->BusName = "I2C Bus 1";
90 pI2CBus->scrnIndex = pScrn->scrnIndex;
91 pI2CBus->I2CPutBits = ViaI2C1PutBits;
92 pI2CBus->I2CGetBits = ViaI2C1GetBits;
93 pI2CBus->DriverPrivate.ptr = hwp;
94 pI2CBus->ByteTimeout = 2200;
95 pI2CBus->StartTimeout = 550;
96 pI2CBus
150 I2CBusPtr pI2CBus = xf86CreateI2CBusRec(); local in function:ViaI2CBus2Init
375 I2CBusPtr pI2CBus = xf86CreateI2CBusRec(); local in function:ViaI2CBus3Init
[all...]
H A Dvia_sii164.h52 Bool viaSiI164Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
H A Dvia_vt1632.h49 Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di830_i2c.c146 I2CBusPtr b = d->pI2CBus;
189 I2CBusPtr b = d->pI2CBus;
233 I2CBusPtr b = d->pI2CBus;
243 if (I830I2CStart(d->pI2CBus, d->StartTimeout)) {
345 I2CBusPtr pI2CBus; local in function:I830I2CInit
348 pI2CBus = xf86CreateI2CBusRec();
350 if (!pI2CBus)
353 pI2CBus->BusName = name;
354 pI2CBus->scrnIndex = pScrn->scrnIndex;
356 pI2CBus
[all...]
H A Di830_dvo.c301 if (intel_output->pI2CBus)
302 xf86DestroyI2CBusRec (intel_output->pI2CBus, TRUE, TRUE);
401 I2CBusPtr pI2CBus = NULL; local in function:i830_dvo_init
446 if (pI2CBus != NULL)
447 xf86DestroyI2CBusRec(pI2CBus, TRUE, TRUE);
448 if (!I830I2CInit(pScrn, &pI2CBus, gpio,
455 ret_ptr = drv->vid_rec->init(pI2CBus, drv->address);
483 xf86DestroyI2CBusRec(pI2CBus, TRUE, TRUE);
497 intel_output->pI2CBus = pI2CBus;
[all...]
/xsrc/external/mit/xf86-video-ati/xorg-server-copy/
H A Duda1380.c52 t->d.pI2CBus = b;
72 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 stereo coder-decoder detected\n");
91 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to initialize\n");
103 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to initialize\n");
107 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 initialized\n");
123 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to shutdown\n");
143 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to set volume\n");
159 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to mute\n");
169 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to unmute\n");
H A Dtda9885.c31 t->d.pI2CBus = b;
95 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"TDA9885 setparam: B data: %x, C data: %x, E data: %x\n", data[1], data[2], data[3]);
100 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"TDA9885 status: after_reset=%d afc_status=%d (%3.1f kHz off) fm_carrier=%d vif_level=%d afc_win=%d %s\n",
H A Dfi1236.c53 f->d.pI2CBus = b;
80 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: input f_rf=%g f_if1=%g f_if2=%g f_ref=%g f_ifbw=%g f_step=%g\n",
83 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: computed f_lo1=%g f_lo2=%g LO1I=%d LO2I=%d SEL=%d STEP=%d NUM=%d\n",
95 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: Company code 0x%02x%02x, part code 0x%02x, revision code 0x%02x\n",
164 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to read XOK\n");
165 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: XOK=%d\n", value & 0x01);
170 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to read XOGC\n");
177 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: try XOGC=%d\n", xogc);
277 /* xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: LO1LK=%d LO2LK=%d\n", (value & 0x04)>>2, (value & 0x02)>>1); */
284 xf86DrvMsg(f->d.pI2CBus
[all...]
H A Dmsp3430.c55 xf86DrvMsg(m->d.pI2CBus->scrnIndex,X_ERROR, "Attempt to access non-existent register in MSP34xxX: 0x%02x 0x%02x 0x%02x <- 0x%02x 0x%02x\n",
92 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: SAP(8)=%d mono/NICAM(7)=%d stereo=%d %s O_1=%d O_0=%d 2nd car=%d 1st car=%d\n",
99 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: standard result=0x%02x%02x\n",
103 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: control=0x%02x%02x\n",
112 xf86DrvMsg(m->d.pI2CBus->scrnIndex,X_INFO,"InitMSP3430(m->connector=%d, m->standard=%d, m->chip_family=%d)\n",
143 m->d.pI2CBus = b;
234 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "Found %s%s, rom version 0x%02x, chip_id=0x%04x\n",
271 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP3430 result 0x%02x\n", result);
285 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP3430 volume 0x%02x\n",value);
292 xf86DrvMsg(m->d.pI2CBus
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
H A Duda1380.c52 t->d.pI2CBus = b;
72 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 stereo coder-decoder detected\n");
91 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to initialize\n");
103 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to initialize\n");
107 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 initialized\n");
123 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to shutdown\n");
143 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to set volume\n");
159 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to mute\n");
169 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"UDA1380 failed to unmute\n");
H A Dxf86i2c.c153 I2CBusPtr b = d->pI2CBus;
225 I2CBusPtr b = d->pI2CBus;
283 I2CBusPtr b = d->pI2CBus;
335 if (I2CStart(d->pI2CBus, d->StartTimeout)) {
373 d.pI2CBus = b;
412 I2CBusPtr b = d->pI2CBus;
447 I2CBusPtr b = d->pI2CBus;
517 I2CBusPtr b = d->pI2CBus;
561 I2CBusPtr b = d->pI2CBus;
591 * contain at least a SlaveAddr, and a pI2CBus pointe
846 I2CBusPtr pI2CBus; local in function:xf86I2CGetScreenBuses
[all...]
H A Dtda9885.c31 t->d.pI2CBus = b;
95 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"TDA9885 setparam: B data: %x, C data: %x, E data: %x\n", data[1], data[2], data[3]);
100 xf86DrvMsg(t->d.pI2CBus->scrnIndex,X_INFO,"TDA9885 status: after_reset=%d afc_status=%d (%3.1f kHz off) fm_carrier=%d vif_level=%d afc_win=%d %s\n",
H A Dfi1236.c53 f->d.pI2CBus = b;
80 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: input f_rf=%g f_if1=%g f_if2=%g f_ref=%g f_ifbw=%g f_step=%g\n",
83 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: computed f_lo1=%g f_lo2=%g LO1I=%d LO2I=%d SEL=%d STEP=%d NUM=%d\n",
95 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: Company code 0x%02x%02x, part code 0x%02x, revision code 0x%02x\n",
164 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to read XOK\n");
165 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: XOK=%d\n", value & 0x01);
170 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: failed to read XOGC\n");
177 xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: try XOGC=%d\n", xogc);
277 /* xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "MT2032: LO1LK=%d LO2LK=%d\n", (value & 0x04)>>2, (value & 0x02)>>1); */
284 xf86DrvMsg(f->d.pI2CBus
[all...]
H A Dmsp3430.c55 xf86DrvMsg(m->d.pI2CBus->scrnIndex,X_ERROR, "Attempt to access non-existent register in MSP34xxX: 0x%02x 0x%02x 0x%02x <- 0x%02x 0x%02x\n",
92 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: SAP(8)=%d mono/NICAM(7)=%d stereo=%d %s O_1=%d O_0=%d 2nd car=%d 1st car=%d\n",
99 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: standard result=0x%02x%02x\n",
103 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP34xx: control=0x%02x%02x\n",
112 xf86DrvMsg(m->d.pI2CBus->scrnIndex,X_INFO,"InitMSP3430(m->connector=%d, m->standard=%d, m->chip_family=%d)\n",
143 m->d.pI2CBus = b;
234 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "Found %s%s, rom version 0x%02x, chip_id=0x%04x\n",
271 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP3430 result 0x%02x\n", result);
285 xf86DrvMsg(m->d.pI2CBus->scrnIndex, X_INFO, "MSP3430 volume 0x%02x\n",value);
292 xf86DrvMsg(m->d.pI2CBus
[all...]
H A Dxf86i2c.h55 extern _X_EXPORT void xf86DestroyI2CBusRec(I2CBusPtr pI2CBus, Bool unalloc, Bool devs_too);
57 extern _X_EXPORT Bool xf86I2CBusInit(I2CBusPtr pI2CBus);
74 I2CBusPtr pI2CBus; member in struct:_I2CDevRec
89 extern _X_EXPORT Bool xf86I2CProbeAddress(I2CBusPtr pI2CBus, I2CSlaveAddr);
/xsrc/external/mit/xf86-video-intel-old/dist/src/sil164/
H A Dsil164.c74 xf86DrvMsg(sil->d.pI2CBus->scrnIndex, X_ERROR,
76 sil->d.pI2CBus->BusName, sil->d.SlaveAddr);
88 xf86DrvMsg(sil->d.pI2CBus->scrnIndex, X_ERROR,
90 sil->d.pI2CBus->BusName, sil->d.SlaveAddr);
111 sil->d.pI2CBus = b;
123 xf86DrvMsg(sil->d.pI2CBus->scrnIndex, X_ERROR,
125 ch, sil->d.pI2CBus->BusName, sil->d.SlaveAddr);
133 xf86DrvMsg(sil->d.pI2CBus->scrnIndex, X_ERROR,
135 ch, sil->d.pI2CBus->BusName, sil->d.SlaveAddr);
217 xf86DrvMsg(sil->d.pI2CBus
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/ivch/
H A Divch.c89 I2CBusPtr b = priv->d.pI2CBus;
113 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
115 addr, priv->d.pI2CBus->BusName, priv->d.SlaveAddr);
126 I2CBusPtr b = priv->d.pI2CBus;
151 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
153 addr, priv->d.pI2CBus->BusName, priv->d.SlaveAddr);
173 priv->d.pI2CBus = b;
190 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
308 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_INFO, "VR00: 0x%04x\n", val);
310 xf86DrvMsg(priv->d.pI2CBus
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/i2c/
H A Dxf86i2c.c155 I2CBusPtr b = d->pI2CBus;
227 I2CBusPtr b = d->pI2CBus;
286 I2CBusPtr b = d->pI2CBus;
338 if (I2CStart(d->pI2CBus, d->StartTimeout)) {
375 d.pI2CBus = b;
414 I2CBusPtr b = d->pI2CBus;
450 I2CBusPtr b = d->pI2CBus;
522 I2CBusPtr b = d->pI2CBus;
566 I2CBusPtr b = d->pI2CBus;
597 * contain at least a SlaveAddr, and a pI2CBus pointe
860 I2CBusPtr pI2CBus; local in function:xf86I2CGetScreenBuses
[all...]
H A Dxf86i2c.h57 extern _X_EXPORT void xf86DestroyI2CBusRec(I2CBusPtr pI2CBus, Bool unalloc,
60 extern _X_EXPORT Bool xf86I2CBusInit(I2CBusPtr pI2CBus);
77 I2CBusPtr pI2CBus; member in struct:_I2CDevRec
93 extern _X_EXPORT Bool xf86I2CProbeAddress(I2CBusPtr pI2CBus, I2CSlaveAddr);
/xsrc/external/mit/xf86-video-intel-old/dist/src/ch7017/
H A Dch7017.c76 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
78 priv->d.pI2CBus->BusName, priv->d.SlaveAddr);
88 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
90 priv->d.pI2CBus->BusName, priv->d.SlaveAddr);
109 priv->d.pI2CBus = b;
122 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_ERROR,
124 val, priv->d.pI2CBus->BusName, priv->d.SlaveAddr);
163 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_INFO,
226 xf86DrvMsg(priv->d.pI2CBus->scrnIndex, X_INFO,
271 xf86DrvMsg(priv->d.pI2CBus
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/ch7xxx/
H A Dch7xxx.c103 xf86DrvMsg(dev_priv->d.pI2CBus->scrnIndex,
105 dev_priv->d.pI2CBus->BusName, dev_priv->d.SlaveAddr);
119 xf86DrvMsg(dev_priv->d.pI2CBus->scrnIndex, X_ERROR,
121 dev_priv->d.pI2CBus->BusName, dev_priv->d.SlaveAddr);
143 dev_priv->d.pI2CBus = b;
156 xf86DrvMsg(dev_priv->d.pI2CBus->scrnIndex, X_INFO,
158 vendor, dev_priv->d.pI2CBus->BusName,
168 xf86DrvMsg(dev_priv->d.pI2CBus->scrnIndex, X_INFO,
170 device, dev_priv->d.pI2CBus->BusName,
176 xf86DrvMsg(dev_priv->d.pI2CBus
[all...]
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_output.c331 if (r128_output->pI2CBus) {
337 *MonInfo = xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn), r128_output->pI2CBus);
375 if (r128_output->pI2CBus) {
376 edid_mon = xf86OutputGetEDID(output, r128_output->pI2CBus);
449 I2CBusPtr pI2CBus; local in function:R128I2CInit
451 pI2CBus = xf86CreateI2CBusRec();
452 if(!pI2CBus) return FALSE;
454 pI2CBus->BusName = name;
455 pI2CBus->scrnIndex = pScrn->scrnIndex;
456 pI2CBus
[all...]

Completed in 18 milliseconds

12