Lines Matching refs:our_id

443 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id,  in ahc_fetch_transinfo()  argument
453 our_id += 8; in ahc_fetch_transinfo()
454 *tstate = ahc->enabled_targets[our_id]; in ahc_fetch_transinfo()
2122 master_tstate = ahc->enabled_targets[ahc->our_id]; in ahc_alloc_tstate()
2172 || (channel == 'A' && scsi_id == ahc->our_id)) in ahc_free_tstate()
2749 int our_id; in ahc_fetch_devinfo() local
2761 our_id = ahc_inb(ahc, TARGIDIN) & OID; in ahc_fetch_devinfo()
2763 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_fetch_devinfo()
2765 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_fetch_devinfo()
2769 our_id, in ahc_fetch_devinfo()
2795 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, in ahc_compile_devinfo() argument
2798 devinfo->our_scsiid = our_id; in ahc_compile_devinfo()
2821 int our_id; in ahc_scb_devinfo() local
2823 our_id = SCSIID_OUR_ID(scb->hscb->scsiid); in ahc_scb_devinfo()
2827 ahc_compile_devinfo(devinfo, our_id, SCB_GET_TARGET(ahc, scb), in ahc_scb_devinfo()
5007 ahc->our_id, ahc->our_id_b, in ahc_controller_info()
5027 speed, type, ahc->channel, ahc->our_id); in ahc_controller_info()
5073 ahc_outb(ahc, SCSIID_ULTRA2, ahc->our_id); in ahc_chip_init()
5075 ahc_outb(ahc, SCSIID, ahc->our_id); in ahc_chip_init()
5271 ahc->our_id = ahc->our_id_b = 7; in ahc_init()
5352 if (ahc_alloc_tstate(ahc, ahc->our_id, 'A') == NULL) { in ahc_init()
5425 u_int our_id; in ahc_init() local
5430 our_id = ahc->our_id; in ahc_init()
5434 our_id = ahc->our_id_b; in ahc_init()
5437 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_init()
7335 u_int our_id; in ahc_handle_en_lun() local
7348 our_id = ahc->our_id; in ahc_handle_en_lun()
7350 our_id = ahc->our_id_b; in ahc_handle_en_lun()
7352 if (ccb->ccb_h.target_id != our_id) { in ahc_handle_en_lun()
7528 u_int our_id; in ahc_handle_en_lun() local
7532 our_id = SIM_SCSI_ID(ahc, sim); in ahc_handle_en_lun()
7538 if (target != our_id) { in ahc_handle_en_lun()
7550 ahc->our_id = target; in ahc_handle_en_lun()
7716 u_int our_id; in ahc_update_scsiid() local
7719 our_id = ffs(targid_mask); in ahc_update_scsiid()
7720 if (our_id == 0) in ahc_update_scsiid()
7721 our_id = ahc->our_id; in ahc_update_scsiid()
7723 our_id--; in ahc_update_scsiid()
7725 scsiid |= our_id; in ahc_update_scsiid()