Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/aic7xxx/
H A Daic79xx.c2664 ahd_set_modes(ahd, ahd->saved_src_mode, ahd->saved_dst_mode); in ahd_clear_critical_section()
3570 ahd->msgout_buf[ahd->msgout_index++] = ahd->send_msg_perror; in ahd_setup_initiator_msgout()
3984 ahd_outb(ahd, RETURN_2, ahd->msgout_buf[ahd->msgout_index++]); in ahd_handle_message_phase()
4021 ahd->msgin_buf[ahd->msgin_index] = ahd_inb(ahd, SCSIBUS); in ahd_handle_message_phase()
4117 ahd_outb(ahd, SCSIDAT, ahd->msgout_buf[ahd->msgout_index++]); in ahd_handle_message_phase()
4142 ahd->msgin_buf[ahd->msgin_index] = ahd_inb(ahd, SCSIDAT); in ahd_handle_message_phase()
5236 memset(ahd, 0, sizeof(*ahd)); in ahd_alloc()
5374 aic_dmamem_free(ahd, ahd->shared_data_dmat, ahd->qoutfifo, in ahd_free()
8710 ahd_name(ahd), ahd->features, ahd->bugs, ahd->flags); in ahd_loadseq()
9175 ahd_set_modes(ahd, ahd->saved_src_mode, ahd->saved_dst_mode); in ahd_dump_card_state()
[all …]
H A Daic79xx_inline.h105 if (ahd->src_mode == src && ahd->dst_mode == dst) in ahd_set_modes()
156 return (ahd_build_mode_state(ahd, ahd->src_mode, ahd->dst_mode)); in ahd_save_modes()
192 ahd_outb(ahd, HCNTRL, ahd->pause); in ahd_pause()
223 ahd_set_modes(ahd, ahd->saved_src_mode, ahd->saved_dst_mode); in ahd_unpause()
227 ahd_outb(ahd, HCNTRL, ahd->unpause); in ahd_unpause()
386 aic_dmamap_sync(ahd, ahd->scb_data.hscb_dmat, in ahd_sync_scb()
398 aic_dmamap_sync(ahd, ahd->scb_data.sg_dmat, in ahd_sync_sglist()
817 ahd_set_hnscb_qoff(ahd, ahd->qinfifonext); in ahd_queue_scb()
841 aic_dmamap_sync(ahd, ahd->shared_data_dmat, ahd->shared_data_map.dmamap, in ahd_sync_qoutfifo()
872 aic_dmamap_sync(ahd, ahd->shared_data_dmat, ahd->shared_data_map.dmamap, in ahd_check_cmdcmpltqueues()
[all …]
H A Daic79xx_pci.c369 pci_find_cap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr); in ahd_pci_config()
372 ahd->chip |= AHD_PCI; in ahd_pci_config()
422 ahd->pci_cachesize = in ahd_pci_config()
434 error = ahd_init(ahd); in ahd_pci_config()
445 ahd_lock(ahd); in ahd_pci_config()
449 ahd_softc_insert(ahd); in ahd_pci_config()
450 ahd_unlock(ahd); in ahd_pci_config()
560 sc = ahd->seep_config; in ahd_check_extport()
881 ahd_unpause(ahd); in ahd_pci_intr()
947 aic_pci_write_config(ahd->dev_softc, ahd->pcix_ptr + PCIXR_STATUS, in ahd_pci_split_intr()
[all …]
H A Dahd_pci.c75 struct ahd_softc *ahd; in ahd_pci_attach() local
93 if (ahd == NULL) in ahd_pci_attach()
117 &ahd->parent_dmat); in ahd_pci_attach()
122 ahd_free(ahd); in ahd_pci_attach()
125 ahd->dev_softc = dev; in ahd_pci_attach()
128 ahd_free(ahd); in ahd_pci_attach()
132 ahd_sysctl(ahd); in ahd_pci_attach()
133 ahd_attach(ahd); in ahd_pci_attach()
173 ahd->tags[1] = ahd->tags[0]; in ahd_pci_map_registers()
174 error = bus_space_subregion(ahd->tags[0], ahd->bshs[0], in ahd_pci_map_registers()
[all …]
H A Daic79xx_osm.h75 #define SIM_CHANNEL(ahd, sim) \ argument
77 #define SIM_SCSI_ID(ahd, sim) \ argument
78 (ahd->our_id)
79 #define SIM_PATH(ahd, sim) \ argument
80 (ahd->platform_data->path)
85 #define SCB_GET_SIM(ahd, scb) \ argument
86 ((ahd)->platform_data->sim)
143 #define AIC_LIB_PREFIX ahd
167 (ahd)->bshs[(port) >> 8], \
181 ahd_inb(ahd, INTSTAT); in ahd_flush_device_writes()
[all …]
H A Daic79xx_seq.h841 ahd_patch23_func(struct ahd_softc *ahd) in ahd_patch23_func() argument
953 ahd_patch9_func(struct ahd_softc *ahd) in ahd_patch9_func() argument
961 ahd_patch8_func(struct ahd_softc *ahd) in ahd_patch8_func() argument
969 ahd_patch7_func(struct ahd_softc *ahd) in ahd_patch7_func() argument
977 ahd_patch6_func(struct ahd_softc *ahd) in ahd_patch6_func() argument
985 ahd_patch5_func(struct ahd_softc *ahd) in ahd_patch5_func() argument
993 ahd_patch4_func(struct ahd_softc *ahd) in ahd_patch4_func() argument
1001 ahd_patch3_func(struct ahd_softc *ahd) in ahd_patch3_func() argument
1009 ahd_patch2_func(struct ahd_softc *ahd) in ahd_patch2_func() argument
1017 ahd_patch1_func(struct ahd_softc *ahd) in ahd_patch1_func() argument
[all …]
H A Daic79xx_osm.c198 error = bus_setup_intr(ahd->dev_softc, ahd->platform_data->irq, in ahd_map_int()
200 ahd_platform_intr, ahd, &ahd->platform_data->ih); in ahd_map_int()
233 ahd_lock(ahd); in ahd_attach()
280 ahd_unlock(ahd); in ahd_attach()
301 ahd_lock(ahd); in ahd_platform_intr()
302 ahd_intr(ahd); in ahd_platform_intr()
645 ahd_set_tran_settings(ahd, SIM_SCSI_ID(ahd, sim), in ahd_action()
653 ahd_get_tran_settings(ahd, SIM_SCSI_ID(ahd, sim), in ahd_action()
668 found = ahd_reset_channel(ahd, SIM_CHANNEL(ahd, sim), in ahd_action()
1245 ahd_get_tran_settings(ahd, ahd->our_id, channel, &cts); in ahd_send_async()
[all …]
H A Daic79xx.h81 #define SCSIID_TARGET(ahd, scsiid) \ argument
85 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument
86 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument
89 #define SCB_GET_TARGET(ahd, scb) \ argument
90 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
91 #define SCB_GET_CHANNEL(ahd, scb) \ argument
92 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
95 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument
96 SCB_GET_TARGET(ahd, scb)
97 #define SCB_GET_TARGET_MASK(ahd, scb) \ argument
[all …]
H A Daic79xx.seq42 PATCH_ARG_LIST = "struct ahd_softc *ahd"
49 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) {
56 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) {
122 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) {
296 if ((ahd->bugs & AHD_PKT_LUN_BUG) != 0) {
518 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) {
799 if ((ahd->bugs & AHD_LQO_ATNO_BUG) != 0) {
1488 if ((ahd->features & AHD_RTI) == 0) {
1735 if ((ahd->flags & AHD_TARGETROLE) != 0) {
1848 if ((ahd->features & AHD_RTI) == 0) {
[all …]
H A Daic79xx.reg60 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \
67 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \
74 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \
/freebsd-14.2/sys/modules/aic7xxx/
H A DMakefile2 SUBDIR= ahc ahd
10 ( cd ${.CURDIR}/ahd ; ${MAKE} ahdfirmware )
18 ( cd .${CURDIR}/ahd ; ${MAKE} cleanfirmware )
/freebsd-14.2/sys/modules/aic7xxx/ahd/
H A DMakefile3 KMOD= ahd
/freebsd-14.2/share/man/man4/
H A DMakefile32 ahd.4 \
/freebsd-14.2/sys/amd64/conf/
H A DGENERIC144 device ahd # AHA39320/29320 and onboard AIC79xx devices
/freebsd-14.2/sys/conf/
H A DNOTES1554 # ahd: Adaptec 29320/39320 Controllers.
1573 device ahd
1621 # Aic79xx driver debugging options. Adds ~215k to driver. See ahd(4).
H A Dfiles796 dev/aic7xxx/ahd_pci.c optional ahd pci \
799 dev/aic7xxx/aic79xx.c optional ahd pci
800 dev/aic7xxx/aic79xx_osm.c optional ahd pci
801 dev/aic7xxx/aic79xx_pci.c optional ahd pci
802 dev/aic7xxx/aic79xx_reg_print.c optional ahd pci ahd_reg_pretty_print
/freebsd-14.2/contrib/ntp/
H A DCommitLog79503 [Bug 2482] Add droproot ahd jail support for Solaris
79506 [Bug 2482] Add droproot ahd jail support for Solaris
79512 [Bug 2482] Add droproot ahd jail support for Solaris
79518 [Bug 2482] Add droproot ahd jail support for Solaris
79521 [Bug 2482] Add droproot ahd jail support for Solaris
79524 [Bug 2482] Add droproot ahd jail support for Solaris