dle
struct dle* wr_ptr;
struct dle *dle, *cur_dle;
dle = iadev->rx_dle_q.read;
dle_lp = readl(iadev->dma+IPHASE5575_RX_LIST_ADDR) & (sizeof(struct dle)*DLE_ENTRIES - 1);
cur_dle = (struct dle*)(iadev->rx_dle_q.start + (dle_lp >> 4));
while(dle != cur_dle)
if (++dle == iadev->rx_dle_q.end)
dle = iadev->rx_dle_q.start;
iadev->rx_dle_q.read = dle;
iadev->rx_dle_q.start = (struct dle *)dle_addr;
iadev->rx_dle_q.end = (struct dle*)((unsigned long)dle_addr+sizeof(struct dle)*DLE_ENTRIES);
struct dle *dle, *cur_dle;
dle = iadev->tx_dle_q.read;
(sizeof(struct dle)*DLE_ENTRIES - 1);
cur_dle = (struct dle*)(iadev->tx_dle_q.start + (dle_lp >> 4));
while (dle != cur_dle)
if (!((dle - iadev->tx_dle_q.start)%(2*sizeof(struct dle)))) {
dma_unmap_single(&iadev->pci->dev, dle->sys_pkt_addr, skb->len,
if (++dle == iadev->tx_dle_q.end)
dle = iadev->tx_dle_q.start;
iadev->tx_dle_q.read = dle;
iadev->tx_dle_q.start = (struct dle*)dle_addr;
iadev->tx_dle_q.end = (struct dle*)((unsigned long)dle_addr+sizeof(struct dle)*DLE_ENTRIES);
struct dle *wr_ptr;
#define DLE_TOTAL_SIZE (sizeof(struct dle)*DLE_ENTRIES)
struct dle *start;
struct dle *end;
struct dle *read;
struct dle *write;
int reg, dle, lle;
dle = SUNI_MCM_DLE;
dle = SUNI_MCT_DLE;
control = dev->ops->phy_get(dev, reg) & ~(dle | lle);
control |= dle;
struct mvumi_dyn_list_entry *dle;
dle = ib_entry;
dle->src_low_addr =
dle->src_high_addr =
dle->if_length = (frame_len >> 2) & 0xFFF;