Home | History | Annotate | Download | only in altboot

Lines Matching defs:txd

126 	struct txdesc txd;
330 struct txdesc *txd;
336 txd = &l->txd;
337 txd->cb_status = 0;
338 txd->cb_command =
340 txd->link_addr = -1;
341 txd->tbd_array_addr = htole32(VTOPHYS(&txd->tx_buf_addr0));
342 txd->tx_buf_addr0 = htole32(VTOPHYS(buf));
343 txd->tx_buf_size0 = htole32(len);
344 txd->byte_count = htole16(0x8000);
345 txd->tx_threshold = 0x20;
346 txd->tbd_number = 1;
348 wbinv(txd, sizeof(*txd));
351 CSR_WRITE_4(l, FXP_CSR_SCB_GENERAL, VTOPHYS(txd));
355 while (!(le16toh(txd->cb_status) & FXP_CB_STATUS_C) && --loop > 0) {
357 inv(txd, sizeof(struct txdesc));