Lines Matching defs:dw3
536 u32 dw3;
581 dw3 = 0;
587 dw3 = qh->ping;
589 dw3 = 0;
595 dw3 |= PTD_NAC_CNT(nak);
599 dw3 |= PTD_DATA_TOGGLE(qtd->toggle);
601 dw3 |= qh->toggle;
604 dw3 |= PTD_ACTIVE;
606 dw3 |= PTD_CERR(ERR_COUNTER);
613 ptd->dw3 = cpu_to_le32(dw3);
706 u32 dw3;
708 dw3 = le32_to_cpu(ptd->dw3);
709 if (dw3 & DW3_HALT_BIT) {
712 if (dw3 & DW3_ERROR_BIT)
716 if (dw3 & DW3_QTD_ACTIVE) {
718 printk(KERN_ERR "nak counter: %d, rl: %d\n", (dw3 >> 19) & 0xf,
986 u32 dw3;
1022 dw3 = le32_to_cpu(ptd.dw3);
1024 nakcount = (dw3 >> 19) & 0xf;
1027 if ((dw3 & DW3_ERROR_BIT) && (dw3 & DW3_QTD_ACTIVE) &&
1028 !(dw3 & DW3_HALT_BIT)) {
1031 length = PTD_XFERRED_LENGTH(dw3);
1037 if (!nakcount && (dw3 & DW3_QTD_ACTIVE)) {
1047 urb, qh, PTD_XFERRED_LENGTH(dw3),
1052 dw3 &= ~(0xf << 19);
1053 dw3 |= rl << 19;
1054 dw3 &= ~(3 << (55 - 32));
1055 dw3 |= ERR_COUNTER << (55 - 32);
1069 ptd.dw3 = cpu_to_le32(dw3);
1094 priv->atl_ints[queue_entry].qh->toggle = dw3 &
1096 priv->atl_ints[queue_entry].qh->ping = dw3 &
1101 length = PTD_XFERRED_LENGTH(dw3);
1205 u32 dw3;
1237 dw3 = le32_to_cpu(ptd.dw3);
1248 dw3 & (1 << 25);
1249 priv->int_ints[queue_entry].qh->ping = dw3 & (1 << 26);
1253 length = PTD_XFERRED_LENGTH_LO(dw3);
1255 length = PTD_XFERRED_LENGTH(dw3);