Searched refs:nmsgs (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/sys/dev/iicbus/
H A Diic.h56 uint32_t nmsgs; member in struct:iic_rdwr_data
H A Diiconf.h124 int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
125 int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
H A Diic.c348 buf = malloc(sizeof(*d->msgs) * d->nmsgs, M_TEMP, M_WAITOK);
349 error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
353 usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | M_WAITOK);
354 for (i = 0; i < d->nmsgs; i++) {
361 error = iicbus_transfer(iicdev, (struct iic_msg *)buf, d->nmsgs);
363 for (i = 0; i < d->nmsgs; i++) {
H A Diiconf.c353 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument
355 return (IICBUS_TRANSFER(device_get_parent(bus), msgs, nmsgs));
364 iicbus_transfer_gen(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
378 for (i = 0, error = 0; i < nmsgs && error == 0; i++) {
H A Diicbb.c78 static int iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs);
418 iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
426 error = iicbus_transfer_gen(dev, msgs, nmsgs);
/freebsd-9.3-release/sys/dev/drm2/i915/
H A Dintel_iic.c70 static int intel_iic_quirk_xfer(device_t idev, struct iic_msg *msgs, int nmsgs);
228 intel_gmbus_transfer(device_t idev, struct iic_msg *msgs, uint32_t nmsgs) argument
243 error = intel_iic_quirk_xfer(dev_priv->bbbus[unit], msgs, nmsgs);
251 for (i = 0; i < nmsgs; i++) {
257 (i + 1 == nmsgs ? GMBUS_CYCLE_STOP : 0) |
288 (i + 1 == nmsgs ? GMBUS_CYCLE_STOP : 0) |
313 if (i + 1 < nmsgs && _intel_wait_for(sc->drm_dev,
358 error = intel_iic_quirk_xfer(dev_priv->bbbus[unit], msgs, nmsgs);
382 intel_iic_quirk_xfer(device_t idev, struct iic_msg *msgs, int nmsgs) argument
400 for (i = 0; i < nmsgs
[all...]
/freebsd-9.3-release/usr.bin/gencat/
H A Dgencat.c561 int nmsgs; /* number of msgs */ local
577 nmsgs = 0;
586 nmsgs++;
593 printf("number of msgs: %d\n", nmsgs);
601 + (nmsgs * sizeof(struct _nls_msg_hdr))
616 nmsgs * sizeof(struct _nls_msg_hdr));
627 nmsgs * sizeof(struct _nls_msg_hdr);
634 nmsgs = 0;
647 nmsgs++;
652 set_hdr->__nmsgs = htonl(nmsgs);
[all...]
/freebsd-9.3-release/sys/mips/rmi/
H A Dxlr_i2c.c103 static int xlr_i2c_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
362 xlr_i2c_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument
369 for (i = 0, error = 0; i < nmsgs && error == 0; i++) {
H A Dfmn.c336 int nmsgs; local
363 nmsgs = xlr_msgring_handler(0xff, 0);
364 msgring_nmsgs[hwtid] += nmsgs;
/freebsd-9.3-release/sys/mips/nlm/
H A Dcms.c303 int hwtid, vc, handled, nmsgs; local
330 nmsgs = xlp_handle_msg_vc(vc, 1);
331 fmn_msgcount[hwtid][vc] += nmsgs;
332 handled += nmsgs;
/freebsd-9.3-release/sys/powerpc/powermac/
H A Dkiic.c124 uint32_t nmsgs);
354 kiic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
381 for (i = 0; i < nmsgs; i++) {
H A Dsmu.c1385 static int smuiic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs);
1487 smuiic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
1500 for (i = 0; i < nmsgs; i++) {
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_twi.c313 at91_twi_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
324 for (i = 0; i < nmsgs; i++) {
/freebsd-9.3-release/sys/dev/glxiic/
H A Dglxiic.c146 uint32_t nmsgs; /* Number of messages remaining. */ member in struct:glxiic_softc
249 uint32_t nmsgs);
867 if (--sc->nmsgs > 0) {
955 glxiic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
971 sc->nmsgs = nmsgs;

Completed in 216 milliseconds