Lines Matching refs:die_dt
232 if ((desc->desc.die_dt & DT_MASK) != DT_FEMPTY) in rswitch_is_queue_rxed()
386 desc->desc.die_dt = DT_FEMPTY | DIE; in rswitch_gwca_queue_format()
388 desc->desc.die_dt = DT_EEMPTY | DIE; in rswitch_gwca_queue_format()
392 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_queue_format()
395 linkfix->die_dt = DT_LINKFIX; in rswitch_gwca_queue_format()
426 desc->desc.die_dt = DT_FEMPTY_ND | DIE; in rswitch_gwca_ts_queue_fill()
454 desc->desc.die_dt = DT_FEMPTY | DIE; in rswitch_gwca_queue_ext_ts_fill()
457 desc->desc.die_dt = DT_EEMPTY | DIE; in rswitch_gwca_queue_ext_ts_fill()
493 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_queue_ext_ts_format()
496 linkfix->die_dt = DT_LINKFIX; in rswitch_gwca_queue_ext_ts_format()
518 gwca->linkfix_table[i].die_dt = DT_EOS; in rswitch_gwca_linkfix_alloc()
548 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_ts_queue_alloc()
723 u8 die_dt = desc->desc.die_dt & DT_MASK; in rswitch_rx_handle_desc() local
736 switch (die_dt) { in rswitch_rx_handle_desc()
757 switch (die_dt) { in rswitch_rx_handle_desc()
765 if (die_dt == DT_FSTART) { in rswitch_rx_handle_desc()
777 if (die_dt == DT_FEND) { in rswitch_rx_handle_desc()
784 netdev_err(ndev, "%s: unexpected value (%x)\n", __func__, die_dt); in rswitch_rx_handle_desc()
808 while ((desc->desc.die_dt & DT_MASK) != DT_FEMPTY) { in rswitch_rx()
868 if ((desc->desc.die_dt & DT_MASK) != DT_FEMPTY) in rswitch_tx_free()
882 desc->desc.die_dt = DT_EEMPTY; in rswitch_tx_free()
1012 while ((desc->desc.die_dt & DT_MASK) != DT_FEMPTY_ND) { in rswitch_ts()
1621 dma_addr_t dma_addr, u16 len, u8 die_dt) in rswitch_ext_desc_set() argument
1630 desc->desc.die_dt = die_dt; in rswitch_ext_desc_set()
1646 static u16 rswitch_ext_desc_get_len(u8 die_dt, unsigned int orig_len) in rswitch_ext_desc_get_len() argument
1648 switch (die_dt & DT_MASK) { in rswitch_ext_desc_get_len()
1668 u8 die_dt; in rswitch_start_xmit() local
1690 die_dt = rswitch_ext_desc_get_die_dt(nr_desc, i); in rswitch_start_xmit()
1692 len = rswitch_ext_desc_get_len(die_dt, skb->len); in rswitch_start_xmit()
1693 if (!rswitch_ext_desc_set(rdev, skb, desc, dma_addr, len, die_dt)) in rswitch_start_xmit()