Home
last modified time | relevance | path

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

/NextBSD/sys/dev/aic7xxx/
HDaic79xx_osm.h87 (ahd->our_id)
90 #define BUILD_SCSIID(ahd, sim, target_id, our_id) \ argument
91 ((((target_id) << TID_SHIFT) & TID) | (our_id))
HDaic7xxx_osm.h97 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
101 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument
102 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
HDaic7770.c203 ahc->our_id = scsiconf1 & HWSCSIID; in aic7770_config()
207 ahc->our_id = scsiconf & HSCSIID; in aic7770_config()
364 ahc->our_id = sc->brtime_id & CFSCSIID; in aha2840_load_seeprom()
366 scsi_conf = (ahc->our_id & 0x7); in aha2840_load_seeprom()
HDaic79xx_osm.c62 int our_id, char channel,
65 int our_id, char channel,
461 u_int our_id; in ahd_action() local
468 our_id = SIM_SCSI_ID(ahd, sim); in ahd_action()
508 our_id = target_id; in ahd_action()
533 tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, in ahd_action()
566 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id); in ahd_action()
696 cpi->initiator_id = ahd->our_id; in ahd_action()
726 ahd_set_tran_settings(struct ahd_softc *ahd, int our_id, char channel, in ahd_set_tran_settings() argument
842 ahd_get_tran_settings(struct ahd_softc *ahd, int our_id, char channel, in ahd_get_tran_settings() argument
[all …]
HDaic7xxx_pci.c789 u_int our_id; in ahc_pci_config() local
797 our_id = 0; in ahc_pci_config()
872 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config()
874 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config()
879 our_id = 7; in ahc_pci_config()
984 our_id = 0x07; in ahc_pci_config()
987 ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI); in ahc_pci_config()
989 ahc->our_id = our_id; in ahc_pci_config()
1567 ahc->our_id = sc->brtime_id & CFSCSIID; in ahc_parse_pci_eeprom()
1569 scsi_conf = (ahc->our_id & 0x7); in ahc_parse_pci_eeprom()
HDaic7xxx_osm.c58 int our_id, char channel,
447 u_int our_id; in ahc_action() local
454 our_id = SIM_SCSI_ID(ahc, sim); in ahc_action()
493 our_id = target_id; in ahc_action()
537 hscb->scsiid = BUILD_SCSIID(ahc, sim, target_id, our_id); in ahc_action()
794 cpi->initiator_id = ahc->our_id; in ahc_action()
826 ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel, in ahc_get_tran_settings() argument
838 ahc_compile_devinfo(&devinfo, our_id, in ahc_get_tran_settings()
1309 ahc_get_tran_settings(ahc, channel == 'A' ? ahc->our_id in ahc_send_async()
HDaic7xxx.c1580 master_tstate = ahc->enabled_targets[ahc->our_id]; in ahc_alloc_tstate()
1631 || (channel == 'A' && scsi_id == ahc->our_id)) in ahc_free_tstate()
2187 int our_id; in ahc_fetch_devinfo() local
2199 our_id = ahc_inb(ahc, TARGIDIN) & OID; in ahc_fetch_devinfo()
2201 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_fetch_devinfo()
2203 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_fetch_devinfo()
2207 our_id, in ahc_fetch_devinfo()
2233 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, in ahc_compile_devinfo() argument
2236 devinfo->our_scsiid = our_id; in ahc_compile_devinfo()
2259 int our_id; in ahc_scb_devinfo() local
[all …]
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()
HDaic79xx.c2820 master_tstate = ahd->enabled_targets[ahd->our_id]; in ahd_alloc_tstate()
2864 if (scsi_id == ahd->our_id in ahd_free_tstate()
3481 int our_id; in ahd_fetch_devinfo() local
3494 our_id = ahd_inb(ahd, TARGIDIN) & OID; in ahd_fetch_devinfo()
3496 our_id = ahd_inb(ahd, TOWNID); in ahd_fetch_devinfo()
3498 our_id = ahd_inb(ahd, IOWNID); in ahd_fetch_devinfo()
3502 our_id, in ahd_fetch_devinfo()
3536 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, in ahd_compile_devinfo() argument
3539 devinfo->our_scsiid = our_id; in ahd_compile_devinfo()
3555 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.h1056 uint8_t our_id; member
1281 u_int our_id, u_int target,
HDaic79xx.h1230 uint8_t our_id; member
1494 u_int our_id, u_int target,