Searched refs:len_stat (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_iudma.h10 u32 len_stat; member in struct:bcm_enet_desc
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.c248 u32 len_stat; bcm_enet_refill_rx() local
264 len_stat = priv->rx_skb_size << DMADESC_LENGTH_SHIFT; bcm_enet_refill_rx()
265 len_stat |= DMADESC_OWNER_MASK; bcm_enet_refill_rx()
267 len_stat |= (DMADESC_WRAP_MASK >> priv->dma_desc_shift); bcm_enet_refill_rx()
273 desc->len_stat = len_stat; bcm_enet_refill_rx()
333 u32 len_stat; bcm_enet_receive_queue() local
343 len_stat = desc->len_stat; bcm_enet_receive_queue()
346 if (len_stat & DMADESC_OWNER_MASK) bcm_enet_receive_queue()
357 if ((len_stat & (DMADESC_ESOP_MASK >> priv->dma_desc_shift)) != bcm_enet_receive_queue()
365 unlikely(len_stat & DMADESC_ERR_MASK)) { bcm_enet_receive_queue()
368 if (len_stat & DMADESC_OVSIZE_MASK) bcm_enet_receive_queue()
370 if (len_stat & DMADESC_CRC_MASK) bcm_enet_receive_queue()
372 if (len_stat & DMADESC_UNDER_MASK) bcm_enet_receive_queue()
374 if (len_stat & DMADESC_OV_MASK) bcm_enet_receive_queue()
381 len = (len_stat & DMADESC_LENGTH_MASK) >> DMADESC_LENGTH_SHIFT; bcm_enet_receive_queue()
448 if (!force && (desc->len_stat & DMADESC_OWNER_MASK)) { bcm_enet_tx_reclaim()
469 if (desc->len_stat & DMADESC_UNDER_MASK) bcm_enet_tx_reclaim()
578 u32 len_stat; bcm_enet_start_xmit() local
624 len_stat = (skb->len << DMADESC_LENGTH_SHIFT) & DMADESC_LENGTH_MASK; bcm_enet_start_xmit()
625 len_stat |= (DMADESC_ESOP_MASK >> priv->dma_desc_shift) | bcm_enet_start_xmit()
632 len_stat |= (DMADESC_WRAP_MASK >> priv->dma_desc_shift); bcm_enet_start_xmit()
639 desc->len_stat = len_stat; bcm_enet_start_xmit()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c659 d->len_stat = dmaflags; iudma_write()
690 dmaflags = d->len_stat; iudma_read()
749 d->len_stat = 0; iudma_reset_channel()
2233 seq_printf(s, " %03x (%02x): len_stat: %04x_%04x; pa %08x", bcm63xx_iudma_dbg_show()
2235 d->len_stat >> 16, d->len_stat & 0xffff, bcm63xx_iudma_dbg_show()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1636 "%s:p_ind=%d c_ind=%d read_ptr=%d len_stat=0x%08x\n", bcmgenet_desc_rx()

Completed in 304 milliseconds