Lines Matching refs:hscb
201 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb()
202 /*len*/sizeof(*scb->hscb), op); in ahc_sync_scb()
275 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual()
381 struct hardware_scb *hscb; in ahc_free_scb() local
383 hscb = scb->hscb; in ahc_free_scb()
385 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb()
387 hscb->control = 0; in ahc_free_scb()
425 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb()
427 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
434 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb()
437 ahc->next_queued_scb->hscb = scb->hscb; in ahc_swap_with_next_hscb()
438 scb->hscb = q_hscb; in ahc_swap_with_next_hscb()
441 ahc->scb_data->scbindex[scb->hscb->tag] = scb; in ahc_swap_with_next_hscb()
452 if (scb->hscb->tag == SCB_LIST_NULL in ahc_queue_scb()
453 || scb->hscb->next == SCB_LIST_NULL) in ahc_queue_scb()
455 scb->hscb->tag, scb->hscb->next); in ahc_queue_scb()
460 scb->hscb->lun &= LID; in ahc_queue_scb()
462 scb->hscb->lun |= SCB_XFERLEN_ODD; in ahc_queue_scb()
467 ahc->qinfifo[ahc->qinfifonext++] = scb->hscb->tag; in ahc_queue_scb()