Home
last modified time | relevance | path

Searched refs:q_hscb (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_core.c569 struct hardware_scb *q_hscb; in ahc_swap_with_next_hscb() local
584 q_hscb = ahc->next_queued_scb->hscb; in ahc_swap_with_next_hscb()
585 saved_tag = q_hscb->tag; in ahc_swap_with_next_hscb()
586 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahc_swap_with_next_hscb()
588 q_hscb->shared_data.cdb_ptr = in ahc_swap_with_next_hscb()
589 ahc_htole32(ahc_hscb_busaddr(ahc, q_hscb->tag) in ahc_swap_with_next_hscb()
592 q_hscb->tag = saved_tag; in ahc_swap_with_next_hscb()
593 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb()
597 scb->hscb = q_hscb; in ahc_swap_with_next_hscb()
Daic79xx_core.c804 struct hardware_scb *q_hscb; in ahd_swap_with_next_hscb() local
820 q_hscb = ahd->next_queued_hscb; in ahd_swap_with_next_hscb()
822 saved_hscb_busaddr = q_hscb->hscb_busaddr; in ahd_swap_with_next_hscb()
823 memcpy(q_hscb, scb->hscb, sizeof(*scb->hscb)); in ahd_swap_with_next_hscb()
824 q_hscb->hscb_busaddr = saved_hscb_busaddr; in ahd_swap_with_next_hscb()
825 q_hscb->next_hscb_busaddr = scb->hscb->hscb_busaddr; in ahd_swap_with_next_hscb()
830 scb->hscb = q_hscb; in ahd_swap_with_next_hscb()