Home
last modified time | relevance | path

Searched refs:ahd (Results 1 – 19 of 19) sorted by relevance

/openbsd/src/sys/dev/ic/
Daic79xx.c135 void ahd_handle_transmission_error(struct ahd_softc *ahd);
136 void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
138 int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
140 int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
141 void ahd_handle_proto_violation(struct ahd_softc *ahd);
142 void ahd_force_renegotiation(struct ahd_softc *ahd,
146 ahd_alloc_tstate(struct ahd_softc *ahd,
149 void ahd_free_tstate(struct ahd_softc *ahd,
152 void ahd_devlimited_syncrate(struct ahd_softc *ahd,
157 void ahd_update_neg_table(struct ahd_softc *ahd,
[all …]
Daic79xx_openbsd.c92 ahd_attach(struct ahd_softc *ahd) in ahd_attach() argument
98 ahd_controller_info(ahd, ahd_info, sizeof ahd_info); in ahd_attach()
100 ahd_lock(ahd, &s); in ahd_attach()
103 ahd_controller_info(ahd, ahd_info, sizeof ahd_info); in ahd_attach()
104 printf("%s: %s\n", ahd->sc_dev.dv_xname, ahd_info); in ahd_attach()
107 ahd_intr_enable(ahd, TRUE); in ahd_attach()
109 if (ahd->flags & AHD_RESET_BUS_A) in ahd_attach()
110 ahd_reset_channel(ahd, 'A', TRUE); in ahd_attach()
112 saa.saa_adapter_target = ahd->our_id; in ahd_attach()
113 saa.saa_adapter_buswidth = (ahd->features & AHD_WIDE) ? 16 : 8; in ahd_attach()
[all …]
Daic79xx_inline.h77 char *ahd_name(struct ahd_softc *ahd);
97 void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
100 void ahd_setup_scb_common(struct ahd_softc *ahd,
102 void ahd_setup_data_scb(struct ahd_softc *ahd,
104 void ahd_setup_noxfer_scb(struct ahd_softc *ahd,
135 u_int ahd_get_scbptr(struct ahd_softc *ahd);
136 void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr);
137 u_int ahd_get_hnscb_qoff(struct ahd_softc *ahd);
138 void ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value);
139 u_int ahd_get_hescb_qoff(struct ahd_softc *ahd);
[all …]
Daic79xx_openbsd.h98 #define SCSI_IS_SCSIBUS_B(ahd, sc_link) \ argument
100 #define SCSI_CHANNEL(ahd, sc_link) \ argument
102 #define SCSI_SCSI_ID(ahd, sc_link) \ argument
103 (ahd->our_id)
104 #define BUILD_SCSIID(ahd, sc_link, target_id, our_id) \ argument
158 #define ahd_inb(ahd, port) \ argument
159 bus_space_read_1((ahd)->tags[(port) >> 8], \
160 (ahd)->bshs[(port) >> 8], (port) & 0xFF)
162 #define ahd_outb(ahd, port, value) \ argument
163 bus_space_write_1((ahd)->tags[(port) >> 8], \
[all …]
Daic79xx.h110 #define SCSIID_TARGET(ahd, scsiid) \ argument
114 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument
115 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument
118 #define SCB_GET_TARGET(ahd, scb) \ argument
119 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
120 #define SCB_GET_CHANNEL(ahd, scb) \ argument
121 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
124 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument
125 SCB_GET_TARGET(ahd, scb)
126 #define SCB_GET_TARGET_MASK(ahd, scb) \ argument
[all …]
/openbsd/src/sys/dev/pci/
Dahd_pci.c292 int ahd_check_extport(struct ahd_softc *ahd);
293 void ahd_configure_termination(struct ahd_softc *ahd,
295 void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
341 struct ahd_softc *ahd = (void *)self; in ahd_pci_attach() local
348 ahd->dev_softc = pa; in ahd_pci_attach()
349 ahd->parent_dmat = pa->pa_dmat; in ahd_pci_attach()
351 if (ahd_alloc(ahd, ahd->sc_dev.dv_xname) == NULL) in ahd_pci_attach()
364 ahd->flags |= AHD_HOSTRAID_BOARD; in ahd_pci_attach()
371 ahd->flags |= AHD_HP_BOARD; in ahd_pci_attach()
373 error = entry->setup(ahd, pa); in ahd_pci_attach()
[all …]
Dfiles.pci48 attach ahd at pci with ahd_pci
/openbsd/src/sys/dev/microcode/aic7xxx/
Daic79xx_seq.h838 typedef int ahd_patch_func_t (struct ahd_softc *ahd);
842 ahd_patch23_func(struct ahd_softc *ahd) in ahd_patch23_func() argument
844 return ((ahd->bugs & AHD_PKT_BITBUCKET_BUG) != 0); in ahd_patch23_func()
850 ahd_patch22_func(struct ahd_softc *ahd) in ahd_patch22_func() argument
852 return ((ahd->bugs & AHD_PKT_BITBUCKET_BUG) == 0); in ahd_patch22_func()
858 ahd_patch21_func(struct ahd_softc *ahd) in ahd_patch21_func() argument
860 return ((ahd->flags & AHD_INITIATORROLE) != 0); in ahd_patch21_func()
866 ahd_patch20_func(struct ahd_softc *ahd) in ahd_patch20_func() argument
868 return ((ahd->flags & AHD_TARGETROLE) != 0); in ahd_patch20_func()
874 ahd_patch19_func(struct ahd_softc *ahd) in ahd_patch19_func() argument
[all …]
Daic79xx.seq45 PATCH_ARG_LIST = "struct ahd_softc *ahd"
52 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) {
59 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) {
125 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) {
299 if ((ahd->bugs & AHD_PKT_LUN_BUG) != 0) {
521 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) {
529 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) {
540 if ((ahd->bugs & AHD_SENT_SCB_UPDATE_BUG) != 0) {
595 if ((ahd->bugs & AHD_NONPACKFIFO_BUG) != 0) {
619 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) {
[all …]
Daic79xx.reg63 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \
70 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \
77 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \
/openbsd/src/sys/arch/i386/conf/
DRAMDISK107 #ahd* at pci? # Adaptec 79?? SCSI controllers
DRAMDISK_CD140 ahd* at pci? # Adaptec 79?? SCSI controllers
DGENERIC444 ahd* at pci? # Adaptec 79?? SCSI controllers
/openbsd/src/share/man/man4/
DMakefile13 ahc.4 ahci.4 ahd.4 aibs.4 aic.4 \
/openbsd/src/sys/conf/
Dfiles136 device ahd: scsi
137 file dev/ic/aic79xx.c ahd
138 file dev/ic/aic79xx_openbsd.c ahd
/openbsd/src/sys/arch/amd64/conf/
DRAMDISK_CD167 ahd* at pci? # Adaptec 79?? SCSI controllers
DGENERIC442 ahd* at pci? # Adaptec 79?? SCSI controllers
/openbsd/src/sys/arch/hppa/conf/
DGENERIC253 #ahd* at pci? # Adaptec 79?? SCSI controllers
/openbsd/src/distrib/sets/lists/man/
Dmi1320 ./usr/share/man/man4/ahd.4