| /netbsd/src/sys/dev/cardbus/ |
| D | ahc_cardbus.c | 218 int our_id; in ahc_cardbus_attach() local 223 our_id = AHC_CARDBUS_DEFAULT_SCSI_ID; in ahc_cardbus_attach() 225 ahc_outb(ahc, SCSICONF, our_id | ENSPCHK | RESET_SCSI); in ahc_cardbus_attach() 226 ahc->our_id = our_id; in ahc_cardbus_attach()
|
| /netbsd/src/sys/dev/ic/ |
| D | aic79xx_osm.c | 100 ahd->sc_channel.chan_id = ahd->our_id; in ahd_attach() 338 u_int our_id; in ahd_action() local 349 our_id = ahd->our_id; in ahd_action() 356 tinfo = ahd_fetch_transinfo(ahd, channel, our_id, in ahd_action() 383 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id); in ahd_action() 412 int target_id, our_id, first; in ahd_action() local 420 our_id = chan->chan_id; in ahd_action() 423 tinfo = ahd_fetch_transinfo(ahd, channel, our_id, target_id, in ahd_action() 425 ahd_compile_devinfo(&devinfo, our_id, target_id, in ahd_action() 848 tinfo = ahd_fetch_transinfo(ahd, channel, ahd->our_id, target, in ahd_send_async() [all …]
|
| D | aic7xxx_osm.c | 99 ahc->sc_channel.chan_id = ahc->our_id; in ahc_attach() 342 u_int our_id; in ahc_action() local 349 our_id = ahc->our_id; in ahc_action() 374 hscb->scsiid = BUILD_SCSIID(ahc, 0, target_id, our_id); in ahc_action() 400 int target_id, our_id, first; in ahc_action() local 408 our_id = chan->chan_id; in ahc_action() 411 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, target_id, in ahc_action() 413 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_action() 1125 tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, target, in ahc_send_async() 1127 ahc_compile_devinfo(&devinfo, ahc->our_id, target, lun, in ahc_send_async()
|
| D | aic7xxx.c | 1567 master_tstate = ahc->enabled_targets[ahc->our_id]; in ahc_alloc_tstate() 1615 || (channel == 'A' && scsi_id == ahc->our_id)) in ahc_free_tstate() 2169 int our_id; in ahc_fetch_devinfo() local 2181 our_id = ahc_inb(ahc, TARGIDIN) & OID; in ahc_fetch_devinfo() 2183 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_fetch_devinfo() 2185 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_fetch_devinfo() 2189 our_id, in ahc_fetch_devinfo() 2215 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, in ahc_compile_devinfo() argument 2218 devinfo->our_scsiid = our_id; in ahc_compile_devinfo() 2241 int our_id; in ahc_scb_devinfo() local [all …]
|
| D | aic7xxx_inline.h | 243 char channel, u_int our_id, 290 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, in ahc_fetch_transinfo() argument 301 our_id += 8; in ahc_fetch_transinfo() 303 *tstate = ahc->enabled_targets[our_id]; in ahc_fetch_transinfo()
|
| D | aic7xxx_osm.h | 82 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id) 86 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument 87 ((((target_id) << TID_SHIFT) & TID) | (our_id))
|
| D | aic79xx.c | 2704 master_tstate = ahd->enabled_targets[ahd->our_id]; in ahd_alloc_tstate() 2746 if (scsi_id == ahd->our_id in ahd_free_tstate() 3356 int our_id; in ahd_fetch_devinfo() local 3369 our_id = ahd_inb(ahd, TARGIDIN) & OID; in ahd_fetch_devinfo() 3371 our_id = ahd_inb(ahd, TOWNID); in ahd_fetch_devinfo() 3373 our_id = ahd_inb(ahd, IOWNID); in ahd_fetch_devinfo() 3377 our_id, in ahd_fetch_devinfo() 3411 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, in ahd_compile_devinfo() argument 3414 devinfo->our_scsiid = our_id; in ahd_compile_devinfo() 3430 int our_id; in ahd_scb_devinfo() local [all …]
|
| D | aic79xx_osm.h | 83 (ahd->our_id) 86 #define BUILD_SCSIID(ahd, sim, target_id, our_id) \ argument 87 ((((target_id) << TID_SHIFT) & TID) | (our_id))
|
| D | aic7xxx_seeprom.c | 315 ahc->our_id = sc->brtime_id & CFSCSIID; in ahc_parse_pci_eeprom() 317 scsi_conf = (ahc->our_id & 0x7); in ahc_parse_pci_eeprom()
|
| D | aic79xx_inline.h | 493 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, in ahd_fetch_transinfo() argument 503 our_id += 8; in ahd_fetch_transinfo() 504 *tstate = ahd->enabled_targets[our_id]; in ahd_fetch_transinfo()
|
| D | aic7xxxvar.h | 1132 uint8_t our_id; member
|
| D | aic79xxvar.h | 1180 uint8_t our_id; member
|
| /netbsd/src/sys/dev/pci/ |
| D | ahc_pci.c | 762 u_int our_id = 0; in ahc_pci_attach() local 916 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_attach() 918 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_attach() 923 our_id = 7; in ahc_pci_attach() 1072 our_id = 0x07; in ahc_pci_attach() 1075 ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI); in ahc_pci_attach() 1077 ahc->our_id = our_id; in ahc_pci_attach()
|
| /netbsd/src/sys/dev/eisa/ |
| D | ahc_eisa.c | 217 ahc->our_id = scsiconf1 & HWSCSIID; in ahc_eisa_attach() 221 ahc->our_id = scsiconf & HSCSIID; in ahc_eisa_attach()
|
| /netbsd/src/sys/dev/isa/ |
| D | seagate.c | 208 int our_id; /* our scsi id */ member 463 chan->chan_id = sea->our_id; in seaattach() 529 sea->our_id = 7; in sea_init() 533 sea->our_id = 6; in sea_init() 536 sea->our_id_mask = 1 << sea->our_id; in sea_init()
|
| /netbsd/src/sys/arch/i386/isa/ |
| D | ahc_isa.c | 530 ahc->our_id = sc.brtime_id & CFSCSIID; in aha2840_load_seeprom() 532 scsi_conf = (ahc->our_id & 0x7); in aha2840_load_seeprom()
|