Home
last modified time | relevance | path

Searched refs:our_id (Results 1 – 12 of 12) sorted by relevance

/freebsd-head/sys/dev/aic7xxx/
HDaic7xxx_osm.h75 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
79 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument
80 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
HDaic79xx_osm.h78 (ahd->our_id)
81 #define BUILD_SCSIID(ahd, sim, target_id, our_id) \ argument
82 ((((target_id) << TID_SHIFT) & TID) | (our_id))
HDaic7770.c197 ahc->our_id = scsiconf1 & HWSCSIID; in aic7770_config()
201 ahc->our_id = scsiconf & HSCSIID; in aic7770_config()
357 ahc->our_id = sc->brtime_id & CFSCSIID; in aha2840_load_seeprom()
359 scsi_conf = (ahc->our_id & 0x7); in aha2840_load_seeprom()
HDaic79xx_osm.c59 int our_id, char channel,
62 int our_id, char channel,
469 u_int our_id; in ahd_action() local
476 our_id = SIM_SCSI_ID(ahd, sim); in ahd_action()
515 our_id = target_id; in ahd_action()
540 tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, in ahd_action()
572 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id); in ahd_action()
702 cpi->initiator_id = ahd->our_id; in ahd_action()
731 ahd_set_tran_settings(struct ahd_softc *ahd, int our_id, char channel, in ahd_set_tran_settings() argument
847 ahd_get_tran_settings(struct ahd_softc *ahd, int our_id, char channel, in ahd_get_tran_settings() argument
[all …]
HDaic7xxx_pci.c782 u_int our_id; in ahc_pci_config() local
790 our_id = 0; in ahc_pci_config()
864 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config()
866 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config()
871 our_id = 7; in ahc_pci_config()
974 our_id = 0x07; in ahc_pci_config()
977 ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI); in ahc_pci_config()
979 ahc->our_id = our_id; in ahc_pci_config()
1556 ahc->our_id = sc->brtime_id & CFSCSIID; in ahc_parse_pci_eeprom()
1558 scsi_conf = (ahc->our_id & 0x7); in ahc_parse_pci_eeprom()
HDaic7xxx_osm.c53 int our_id, char channel,
452 u_int our_id; in ahc_action() local
459 our_id = SIM_SCSI_ID(ahc, sim); in ahc_action()
497 our_id = target_id; in ahc_action()
540 hscb->scsiid = BUILD_SCSIID(ahc, sim, target_id, our_id); in ahc_action()
796 cpi->initiator_id = ahc->our_id; in ahc_action()
828 ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel, in ahc_get_tran_settings() argument
840 ahc_compile_devinfo(&devinfo, our_id, in ahc_get_tran_settings()
1302 ahc_get_tran_settings(ahc, channel == 'A' ? ahc->our_id in ahc_send_async()
HDaic7xxx_inline.h238 char channel, u_int our_id,
285 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, in ahc_fetch_transinfo() argument
295 our_id += 8; in ahc_fetch_transinfo()
296 *tstate = ahc->enabled_targets[our_id]; in ahc_fetch_transinfo()
HDaic7xxx.c1568 master_tstate = ahc->enabled_targets[ahc->our_id]; in ahc_alloc_tstate()
1619 || (channel == 'A' && scsi_id == ahc->our_id)) in ahc_free_tstate()
2171 int our_id; in ahc_fetch_devinfo() local
2183 our_id = ahc_inb(ahc, TARGIDIN) & OID; in ahc_fetch_devinfo()
2185 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_fetch_devinfo()
2187 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_fetch_devinfo()
2191 our_id, in ahc_fetch_devinfo()
2217 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, in ahc_compile_devinfo() argument
2220 devinfo->our_scsiid = our_id; in ahc_compile_devinfo()
2243 int our_id; in ahc_scb_devinfo() local
[all …]
HDaic79xx.c2795 master_tstate = ahd->enabled_targets[ahd->our_id]; in ahd_alloc_tstate()
2839 if (scsi_id == ahd->our_id in ahd_free_tstate()
3453 int our_id; in ahd_fetch_devinfo() local
3466 our_id = ahd_inb(ahd, TARGIDIN) & OID; in ahd_fetch_devinfo()
3468 our_id = ahd_inb(ahd, TOWNID); in ahd_fetch_devinfo()
3470 our_id = ahd_inb(ahd, IOWNID); in ahd_fetch_devinfo()
3474 our_id, in ahd_fetch_devinfo()
3508 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, in ahd_compile_devinfo() argument
3511 devinfo->our_scsiid = our_id; in ahd_compile_devinfo()
3527 int our_id; in ahd_scb_devinfo() local
[all …]
HDaic79xx_inline.h427 char channel, u_int our_id,
501 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, in ahd_fetch_transinfo() argument
511 our_id += 8; in ahd_fetch_transinfo()
512 *tstate = ahd->enabled_targets[our_id]; in ahd_fetch_transinfo()
HDaic7xxx.h1052 uint8_t our_id; member
1277 u_int our_id, u_int target,
HDaic79xx.h1226 uint8_t our_id; member
1490 u_int our_id, u_int target,