Lines Matching defs:dw
614 uint32_t * const dw = bd.word;
682 dw[0] = cpsw_txdesc_paddr(sc,
684 dw[1] = dm->dm_segs[seg].ds_addr;
685 dw[2] = dm->dm_segs[seg].ds_len;
686 dw[3] = 0;
689 dw[3] |= CPDMA_BD_SOP | CPDMA_BD_OWNER |
693 dw[3] |= CPDMA_BD_EOP;
701 dw[0] = cpsw_txdesc_paddr(sc,
703 dw[1] = sc->sc_txpad_pa;
704 dw[2] = CPSW_PAD_LEN - mlen;
705 dw[3] = CPDMA_BD_EOP;
846 uint32_t * const dw = bd.word;
884 dw[0] = 0;
885 dw[1] = rdp->rx_dm[i]->dm_segs[0].ds_addr;
886 dw[2] = MIN(0x7ff, rdp->rx_dm[i]->dm_segs[0].ds_len);
887 dw[3] = CPDMA_BD_OWNER;
1155 const uint32_t * const dw = bd.word;
1178 if (ISSET(dw[3], CPDMA_BD_OWNER))
1181 if (ISSET(dw[3], CPDMA_BD_TDOWNCMPLT)) {
1187 if ((dw[3] & (CPDMA_BD_SOP | CPDMA_BD_EOP)) !=
1202 off = __SHIFTOUT(dw[2], (uint32_t)__BITS(26, 16));
1203 len = __SHIFTOUT(dw[3], (uint32_t)__BITS(10, 0));
1205 if (ISSET(dw[3], CPDMA_BD_PASSCRC))
1216 if (ISSET(dw[3], CPDMA_BD_EOQ)) {
1245 const uint32_t * const dw = bd.word;
1279 if (dw[2] == 0) {
1284 if (ISSET(dw[3], CPDMA_BD_SOP) == 0)
1287 if (ISSET(dw[3], CPDMA_BD_OWNER)) {
1293 if (ISSET(dw[3], CPDMA_BD_TDOWNCMPLT)) {
1313 if (ISSET(dw[3], CPDMA_BD_EOP) && ISSET(dw[3], CPDMA_BD_EOQ)) {
1323 if (ISSET(dw[3], CPDMA_BD_EOP) && ISSET(dw[3], CPDMA_BD_EOQ)) {