Home
last modified time | relevance | path

Searched refs:omsg (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/drivers/i2c/
Dlpc32xx_i2c.c301 struct i2c_msg *dmsg, *omsg, dummy;
314 omsg = nmsgs == 1 ? &dummy : msg;
318 address = omsg->buf[0];
319 for (i = 1; i < omsg->len; i++)
320 address = (address << 8) + omsg->buf[i];
324 omsg->len, dmsg->buf, dmsg->len);
327 omsg->len, dmsg->buf, dmsg->len);
Dihs_i2c.c296 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() local
308 omsg = nmsgs == 1 ? &dummy : msg; in ihs_i2c_xfer()
312 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
313 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
316 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
317 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
Dmv_i2c.c539 struct i2c_msg *dmsg, *omsg, dummy; in mv_i2c_xfer() local
552 omsg = nmsgs == 1 ? &dummy : msg; in mv_i2c_xfer()
556 return __i2c_read(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
557 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
559 return __i2c_write(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
560 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
Dfsl_i2c.c609 struct i2c_msg *dmsg, *omsg, dummy;
621 omsg = nmsgs == 1 ? &dummy : msg;
625 return __i2c_read(dev->base, dmsg->addr, omsg->buf, omsg->len,
628 return __i2c_write(dev->base, dmsg->addr, omsg->buf, omsg->len,
Dmvtwsi.c833 struct i2c_msg *dmsg, *omsg, dummy;
844 omsg = nmsgs == 1 ? &dummy : msg;
848 return __twsi_i2c_read(dev->base, dmsg->addr, omsg->buf,
849 omsg->len, dmsg->buf, dmsg->len,
852 return __twsi_i2c_write(dev->base, dmsg->addr, omsg->buf,
853 omsg->len, dmsg->buf, dmsg->len,
Dintel_i2c.c207 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer() local
222 omsg = nmsgs == 1 ? &dummy : msg; in intel_i2c_xfer()
227 omsg->buf[0], dmsg->len); in intel_i2c_xfer()
/external/mdnsresponder/mDNSCore/
DuDNS.c750 mDNSu8 *responsePtr = m->omsg.data; in sendChallengeResponse()
781 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in sendChallengeResponse()
782 responsePtr = putLLQ(&m->omsg, responsePtr, q, llq); in sendChallengeResponse()
785 …mStatus err = mDNSSendDNSMessage(m, &m->omsg, responsePtr, mDNSInterface_Any, q->LocalSocket, &q->… in sendChallengeResponse()
908 InitializeDNSMessage(&m->omsg.h, msg->h.id, ResponseFlags); in uDNS_recvLLQResponse()
909 ackEnd = putLLQ(&m->omsg, m->omsg.data, q, &opt->u.llq); in uDNS_recvLLQResponse()
910 …if (ackEnd) mDNSSendDNSMessage(m, &m->omsg, ackEnd, mDNSInterface_Any, q->LocalSocket, srcaddr, sr… in uDNS_recvLLQResponse()
1378 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in startLLQHandshake()
1379 end = putLLQ(&m->omsg, m->omsg.data, q, &llqData); in startLLQHandshake()
1382 …mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort,… in startLLQHandshake()
[all …]
DmDNS.c1704 mDNSu8 *responseptr = m->omsg.data; in SendDelayedUnicastResponse()
1706 InitializeDNSMessage(&m->omsg.h, zeroID, ResponseFlags); in SendDelayedUnicastResponse()
1714 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAnswers, &rr->resrec); in SendDelayedUnicastResponse()
1716 if (!newptr && m->omsg.h.numAnswers) break; // If packet full, send it now in SendDelayedUnicastResponse()
1731 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendDelayedUnicastResponse()
1735 if (newptr && m->omsg.h.numAnswers) rr->RequireGoodbye = mDNStrue; in SendDelayedUnicastResponse()
1743 if (m->omsg.h.numAnswers) in SendDelayedUnicastResponse()
1744 …mDNSSendDNSMessage(m, &m->omsg, responseptr, InterfaceID, mDNSNULL, dest, MulticastDNSPort, mDNSNU… in SendDelayedUnicastResponse()
1856 mDNSu8 *ptr = m->omsg.data; in SendARP()
1889 mDNSPlatformSendRawPacket(m->omsg.data, ptr, rr->resrec.InterfaceID); in SendARP()
[all …]
DDNSCommon.h208 …PutResourceRecordTTLWithLimit(&m->omsg, (ptr), (count), (rr), (ttl), m->omsg.data + AllowedRRSpace…
DmDNSEmbeddedAPI.h1964 DNSMessage omsg; // Outgoing message we're building member
/external/toybox/toys/pending/
Dsyslogd.c322 char *omsg = msg; in logmsg() local
364 wlen = sendto(tf->logfd, omsg, olen, 0, (struct sockaddr*)&tf->saddr, sizeof(tf->saddr)); in logmsg()