Home | History | Annotate | Download | only in pci

Lines Matching refs:amr_mbox

378 	    (void **)&amr->amr_mbox,
397 amr->amr_mbox, size, NULL, BUS_DMA_NOWAIT)) != 0) {
405 memset(amr->amr_mbox, 0, size);
409 amr->amr_sgls = (struct amr_sgentry *)((char *)amr->amr_mbox +
573 bus_dmamem_unmap(amr->amr_dmat, (void *)amr->amr_mbox,
1251 if (amr->amr_mbox->mb_cmd.mb_busy == 0)
1273 amr->amr_mbox->mb_poll = 0;
1274 amr->amr_mbox->mb_ack = 0;
1283 while ((amr->amr_mbox->mb_cmd.mb_busy != 0) && (i++ < 10)) {
1293 if (amr->amr_mbox->mb_cmd.mb_busy != 0)
1298 amr->amr_mbox->mb_cmd.mb_busy = 0;
1305 amr->amr_mbox->mb_segment = 0;
1306 memcpy(&amr->amr_mbox->mb_cmd, &ac->ac_cmd, sizeof(ac->ac_cmd));
1325 amr->amr_mbox->mb_poll = 0;
1326 amr->amr_mbox->mb_ack = 0;
1331 if (amr->amr_mbox->mb_cmd.mb_busy != 0)
1335 amr->amr_mbox->mb_cmd.mb_busy = 0;
1341 amr->amr_mbox->mb_segment = 0;
1342 memcpy(&amr->amr_mbox->mb_cmd, &ac->ac_cmd, sizeof(ac->ac_cmd));
1376 memcpy(mbsave, &amr->amr_mbox->mb_resp, sizeof(*mbsave));
1416 memcpy(mbsave, &amr->amr_mbox->mb_resp, sizeof(*mbsave));