Lines Matching refs:length
50 int i, length = 0; in ll_temac_recv_fifo() local
79 length = in_be32(&fifo_ctrl->rlf) & LL_FIFO_RLF_MASK; in ll_temac_recv_fifo()
86 if (length > PKTSIZE_ALIGN) { in ll_temac_recv_fifo()
88 __func__, length); in ll_temac_recv_fifo()
93 for (i = 0; i < length; i += 4) in ll_temac_recv_fifo()
96 net_process_received_packet(net_rx_packets[0], length); in ll_temac_recv_fifo()
102 int ll_temac_send_fifo(struct eth_device *dev, void *packet, int length) in ll_temac_send_fifo() argument
109 if (length < LL_FIFO_TLF_MIN) { in ll_temac_send_fifo()
111 __func__, length); in ll_temac_send_fifo()
115 if (length > LL_FIFO_TLF_MAX) { in ll_temac_send_fifo()
117 __func__, length); in ll_temac_send_fifo()
121 for (i = 0; i < length; i += 4) in ll_temac_send_fifo()
136 out_be32(&fifo_ctrl->tlf, length); in ll_temac_send_fifo()