Lines Matching defs:length
237 * @len: transfer length
352 * Return: received data length on success, negative value on errors
355 * Copy buffer pointer to packetp and return received data length.
361 u32 length;
378 /* Invalidate Rx descriptors to see proper Rx length */
381 length = priv->rx_bd[0]->status & XMCDMA_BD_STS_ACTUAL_LEN_MASK;
384 if (!length) {
385 length = priv->rx_bd[1]->status & XMCDMA_BD_STS_ACTUAL_LEN_MASK;
390 print_buffer(*packetp, *packetp, 1, length, 16);
396 return length;
403 * @length received data length
411 static int axi_mrmac_free_pkt(struct udevice *dev, uchar *packet, int length)
445 log_debug("Rx completed, framelength = %x\n", length);