Searched refs:prod (Results 1 - 6 of 6) sorted by relevance

/u-boot/drivers/serial/
H A Dserial_xen.c108 XENCONS_RING_IDX cons, prod; local
112 prod = intf->out_prod;
115 WARN_ON((prod - cons) > sizeof(intf->out));
117 while ((sent < len) && ((prod - cons) < sizeof(intf->out)))
118 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++];
121 intf->out_prod = prod;
/u-boot/include/xen/interface/io/
H A Dring.h410 static inline RING_IDX name##_queued(RING_IDX prod, \
416 if (prod == cons) \
419 prod = name##_mask(prod, ring_size); \
422 if (prod == cons) \
425 if (prod > cons) \
426 size = prod - cons; \
428 size = ring_size - (cons - prod); \
/u-boot/drivers/xen/
H A Dxenbus.c80 unsigned int prod = xenstore_buf->rsp_prod; local
83 if (!wait_event_timeout(NULL, prod != xenstore_buf->rsp_prod,
89 prod = xenstore_buf->rsp_prod;
194 XENSTORE_RING_IDX prod; local
219 prod = xenstore_buf->req_prod;
224 BUG_ON(prod + len - xenstore_buf->req_cons > XENSTORE_RING_SIZE);
230 XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod));
231 memcpy((char *)xenstore_buf->req + MASK_XENSTORE_IDX(prod),
233 prod += this_chunk;
247 BUG_ON(prod > xenstore_bu
[all...]
/u-boot/cmd/
H A Dusb.c162 if (strlen(dev->mf) || strlen(dev->prod) ||
164 printf(" - %s %s %s\n", dev->mf, dev->prod,
404 if (strlen(dev->mf) || strlen(dev->prod) || strlen(dev->serial))
405 printf(" %s %s %s %s\n", pre, dev->mf, dev->prod, dev->serial);
/u-boot/common/
H A Dusb.c1222 memset(dev->prod, 0, sizeof(dev->prod));
1229 dev->prod, sizeof(dev->prod));
1234 debug("Product %s\n", dev->prod);
/u-boot/include/
H A Dusb.h117 char prod[32]; /* product */ member in struct:usb_device
534 * @prod: the 16 bit USB Product ID
539 #define USB_DEVICE(vend, prod) \
542 .idProduct = (prod)

Completed in 132 milliseconds