Lines Matching refs:scb_index

879 	u_int  scb_index;  in ahc_run_qoutfifo()  local
884 scb_index = ahc->qoutfifo[ahc->qoutfifonext]; in ahc_run_qoutfifo()
904 scb = ahc_lookup_scb(ahc, scb_index); in ahc_run_qoutfifo()
908 ahc_name(ahc), scb_index, in ahc_run_qoutfifo()
994 u_int scb_index; in ahc_handle_seqint() local
1013 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_seqint()
1014 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_seqint()
1019 intstat, scb_index); in ahc_handle_seqint()
1247 u_int scb_index; in ahc_handle_seqint() local
1265 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_seqint()
1266 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_seqint()
1272 scb_index); in ahc_handle_seqint()
1351 u_int scb_index; in ahc_handle_seqint() local
1356 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_seqint()
1357 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_seqint()
1529 u_int scb_index; in ahc_handle_scsiint() local
1567 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_scsiint()
1568 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_scsiint()
1737 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_scsiint()
1739 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_scsiint()
1743 ahc_name(ahc), scbptr, scb_index); in ahc_handle_scsiint()
1751 scb_index); in ahc_handle_scsiint()
3992 u_int scb_index; in ahc_handle_msg_reject() local
3996 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_msg_reject()
3997 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_msg_reject()
4134 u_int scb_index; in ahc_handle_ign_wide_residue() local
4137 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_ign_wide_residue()
4138 scb = ahc_lookup_scb(ahc, scb_index); in ahc_handle_ign_wide_residue()
4245 u_int scb_index; in ahc_reinitialize_dataptrs() local
4250 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_reinitialize_dataptrs()
4251 scb = ahc_lookup_scb(ahc, scb_index); in ahc_reinitialize_dataptrs()
5940 uint8_t scb_index; in ahc_search_qinfifo() local
5943 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_search_qinfifo()
5944 if (scb_index >= ahc->scb_data->numscbs) { in ahc_search_qinfifo()
5947 scb_index, ahc->scb_data->numscbs); in ahc_search_qinfifo()
5951 scb = ahc_lookup_scb(ahc, scb_index); in ahc_search_qinfifo()
5954 scb_index, next); in ahc_search_qinfifo()
6125 u_int scb_index; in ahc_search_disc_list() local
6128 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_search_disc_list()
6129 if (scb_index >= ahc->scb_data->numscbs) { in ahc_search_disc_list()
6132 scb_index, ahc->scb_data->numscbs); in ahc_search_disc_list()
6142 scbp = ahc_lookup_scb(ahc, scb_index); in ahc_search_disc_list()
7113 uint8_t scb_index; in ahc_dump_card_state() local
7180 scb_index = ahc_inb(ahc, WAITING_SCBH); in ahc_dump_card_state()
7182 while (scb_index != SCB_LIST_NULL && i++ < 256) { in ahc_dump_card_state()
7183 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7184 printk("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG)); in ahc_dump_card_state()
7185 scb_index = ahc_inb(ahc, SCB_NEXT); in ahc_dump_card_state()
7190 scb_index = ahc_inb(ahc, DISCONNECTED_SCBH); in ahc_dump_card_state()
7192 while (scb_index != SCB_LIST_NULL && i++ < 256) { in ahc_dump_card_state()
7193 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7194 printk("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG)); in ahc_dump_card_state()
7195 scb_index = ahc_inb(ahc, SCB_NEXT); in ahc_dump_card_state()
7210 scb_index = ahc_inb(ahc, FREE_SCBH); in ahc_dump_card_state()
7212 while (scb_index != SCB_LIST_NULL && i++ < 256) { in ahc_dump_card_state()
7213 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7214 printk("%d ", scb_index); in ahc_dump_card_state()
7215 scb_index = ahc_inb(ahc, SCB_NEXT); in ahc_dump_card_state()