/freebsd-9.3-release/sys/dev/iicbus/ |
H A D | iic.h | 56 uint32_t nmsgs; member in struct:iic_rdwr_data
|
H A D | iiconf.h | 124 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 D | iic.c | 348 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 D | iiconf.c | 353 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 D | iicbb.c | 78 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 D | intel_iic.c | 70 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 D | gencat.c | 561 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 D | xlr_i2c.c | 103 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 D | fmn.c | 336 int nmsgs; local 363 nmsgs = xlr_msgring_handler(0xff, 0); 364 msgring_nmsgs[hwtid] += nmsgs;
|
/freebsd-9.3-release/sys/mips/nlm/ |
H A D | cms.c | 303 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 D | kiic.c | 124 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 D | smu.c | 1385 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 D | at91_twi.c | 313 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 D | glxiic.c | 146 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;
|