Lines Matching refs:length
100 bool CI2CPort::Write(int address, const char * buffer, int length)
102 if (Send(address, buffer, length, true, true) == length)
107 bool CI2CPort::Read(int address, char * buffer, int length)
109 if (Receive(address, buffer, length, true, true) == length)
114 bool CI2CPort::Write(int address, const char * buffer, int length, char * result, int reslen)
116 if (Send(address, buffer, length, true, false) == length)
145 int CI2CPort::Send(int address, const char * buffer, int length, bool start, bool stop)
147 //fRadeon.WaitForFifo(4 + length);
158 for (int offset = 0; offset < length; offset++)
164 (fTimeLimit << 24) | length |
168 (fTimeLimit << 24) | length |
187 return length;
190 int CI2CPort::Receive(int address, char * buffer, int length, bool start, bool stop)
192 //fRadeon.WaitForFifo(length + 4);
203 length | 0x010);
207 length | 0x100);
226 for (int offset = 0; offset < length; offset++) {
231 return length;