Searched refs:rxlen (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/net/ |
D | cs8900.c | 174 u16 rxlen; in cs8900_recv() local 186 rxlen = REG_READ(&priv->regs->rtdata); in cs8900_recv() 188 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv() 190 for (addr = (u16 *)net_rx_packets[0], i = rxlen >> 1; i > 0; i--) in cs8900_recv() 192 if (rxlen & 1) in cs8900_recv() 196 net_process_received_packet(net_rx_packets[0], rxlen); in cs8900_recv() 197 return rxlen; in cs8900_recv()
|
D | ftmac100.c | 159 unsigned short rxlen; in __ftmac100_recv() local 173 rxlen = FTMAC100_RXDES0_RFL (curr_des->rxdes0); in __ftmac100_recv() 174 invalidate_dcache_range(curr_des->rxdes2,curr_des->rxdes2+rxlen); in __ftmac100_recv() 176 __func__, priv->rx_index, rxlen); in __ftmac100_recv() 178 return rxlen; in __ftmac100_recv()
|
D | ftgmac100.c | 471 unsigned short rxlen; in ftgmac100_recv() local 486 rxlen = FTGMAC100_RXDES0_VDBC(curr_des->rxdes0); in ftgmac100_recv() 489 __func__, priv->rx_index, rxlen); in ftgmac100_recv() 492 dma_map_single((void *)curr_des->rxdes2, rxlen, DMA_FROM_DEVICE); in ftgmac100_recv() 495 net_process_received_packet((void *)curr_des->rxdes2, rxlen); in ftgmac100_recv()
|
D | uli526x.c | 542 int rxlen = 0; in uli526x_rx_packet() local 559 rxlen = ((rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet() 561 printf("%s(): rxlen =%x\n", __FUNCTION__, rxlen); in uli526x_rx_packet() 570 ((db->cr6_data & CR6_PM) && (rxlen > 6))) { in uli526x_rx_packet() 576 __FUNCTION__, rxlen); in uli526x_rx_packet() 581 __FUNCTION__, rxlen); in uli526x_rx_packet() 589 (uchar *)rxptr->rx_buf_ptr, rxlen); in uli526x_rx_packet() 603 return rxlen; in uli526x_rx_packet()
|
/external/u-boot/drivers/usb/eth/ |
D | usb_ether.c | 115 ueth->rxlen = actual_len; in usb_ether_receive() 124 if (num_bytes < 0 || ueth->rxptr >= ueth->rxlen) in usb_ether_advance_rxbuf() 125 ueth->rxlen = 0; in usb_ether_advance_rxbuf() 130 if (!ueth->rxlen) in usb_ether_get_rx_bytes() 135 return ueth->rxlen - ueth->rxptr; in usb_ether_get_rx_bytes()
|
/external/u-boot/drivers/spi/ |
D | cadence_qspi_apb.c | 436 unsigned int cmdlen, const u8 *cmdbuf, unsigned int rxlen, in cadence_qspi_apb_command_read() argument 443 if (!cmdlen || rxlen > CQSPI_STIG_DATA_LEN_MAX || rxbuf == NULL) { in cadence_qspi_apb_command_read() 445 cmdlen, rxlen); in cadence_qspi_apb_command_read() 454 reg |= (((rxlen - 1) & CQSPI_REG_CMDCTRL_RD_BYTES_MASK) in cadence_qspi_apb_command_read() 463 read_len = (rxlen > 4) ? 4 : rxlen; in cadence_qspi_apb_command_read() 467 if (rxlen > 4) { in cadence_qspi_apb_command_read() 470 read_len = rxlen - read_len; in cadence_qspi_apb_command_read()
|
D | cadence_qspi.h | 53 unsigned int cmdlen, const u8 *cmdbuf, unsigned int rxlen, u8 *rxbuf); 61 unsigned int rxlen, u8 *rxbuf);
|
/external/u-boot/drivers/usb/musb/ |
D | musb_hcd.c | 267 u32 rxlen = 0; in ctrlreq_in_data_phase() local 274 while (rxlen < len) { in ctrlreq_in_data_phase() 276 nextlen = ((len-rxlen) > maxpktsize) ? maxpktsize : (len-rxlen); in ctrlreq_in_data_phase() 289 read_fifo(MUSB_CONTROL_EP, rxedlength, &rxbuff[rxlen]); in ctrlreq_in_data_phase() 301 rxlen += nextlen; in ctrlreq_in_data_phase() 302 dev->act_len = rxlen; in ctrlreq_in_data_phase()
|
/external/u-boot/include/ |
D | usb_ether.h | 27 int rxlen; /* Total bytes available in rxbuf */ member
|