Home
last modified time | relevance | path

Searched refs:ahc (Results 1 – 25 of 31) sorted by relevance

12

/NextBSD/sys/dev/aic7xxx/
HDaic7xxx_inline.h49 static __inline void ahc_pause_bug_fix(struct ahc_softc *ahc);
50 static __inline int ahc_is_paused(struct ahc_softc *ahc);
51 static __inline void ahc_pause(struct ahc_softc *ahc);
52 static __inline void ahc_unpause(struct ahc_softc *ahc);
63 ahc_pause_bug_fix(struct ahc_softc *ahc) in ahc_pause_bug_fix() argument
65 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pause_bug_fix()
66 (void)ahc_inb(ahc, CCSCBCTL); in ahc_pause_bug_fix()
74 ahc_is_paused(struct ahc_softc *ahc) in ahc_is_paused() argument
76 return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0); in ahc_is_paused()
87 ahc_pause(struct ahc_softc *ahc) in ahc_pause() argument
[all …]
HDaic7xxx_pci.c678 static int ahc_ext_scbram_present(struct ahc_softc *ahc);
679 static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
681 static void ahc_probe_ext_scbram(struct ahc_softc *ahc);
682 static void check_extport(struct ahc_softc *ahc, u_int *sxfrctl1);
683 static void ahc_parse_pci_eeprom(struct ahc_softc *ahc,
685 static void configure_termination(struct ahc_softc *ahc,
690 static void ahc_new_term_detect(struct ahc_softc *ahc,
696 static void aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
700 static void aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
703 static void write_brdctl(struct ahc_softc *ahc, uint8_t value);
[all …]
HDaic7xxx.c146 static void ahc_force_renegotiation(struct ahc_softc *ahc,
149 ahc_alloc_tstate(struct ahc_softc *ahc,
152 static void ahc_free_tstate(struct ahc_softc *ahc,
156 ahc_devlimited_syncrate(struct ahc_softc *ahc,
161 static void ahc_update_pending_scbs(struct ahc_softc *ahc);
162 static void ahc_fetch_devinfo(struct ahc_softc *ahc,
164 static void ahc_scb_devinfo(struct ahc_softc *ahc,
167 static void ahc_assert_atn(struct ahc_softc *ahc);
168 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc,
171 static void ahc_build_transfer_msg(struct ahc_softc *ahc,
[all …]
HDaic7770.c62 static int aic7770_chip_init(struct ahc_softc *ahc);
63 static int aic7770_suspend(struct ahc_softc *ahc);
64 static int aic7770_resume(struct ahc_softc *ahc);
65 static int aha2840_load_seeprom(struct ahc_softc *ahc);
127 aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) in aic7770_config() argument
135 error = entry->setup(ahc); in aic7770_config()
140 error = aic7770_map_registers(ahc, io); in aic7770_config()
150 ahc_intr_enable(ahc, FALSE); in aic7770_config()
152 ahc->description = entry->name; in aic7770_config()
153 error = ahc_softc_init(ahc); in aic7770_config()
[all …]
HDaic7xxx_osm.h92 #define SIM_IS_SCSIBUS_B(ahc, sim) \ argument
93 ((sim) == ahc->platform_data->sim_b)
94 #define SIM_CHANNEL(ahc, sim) \ argument
95 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A')
96 #define SIM_SCSI_ID(ahc, sim) \ argument
97 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id)
98 #define SIM_PATH(ahc, sim) \ argument
99 (((sim) == ahc->platform_data->sim_b) ? ahc->platform_data->path_b \
100 : ahc->platform_data->path)
101 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument
[all …]
HDaic7xxx_osm.c57 static void ahc_get_tran_settings(struct ahc_softc *ahc,
65 static void ahc_setup_data(struct ahc_softc *ahc, struct cam_sim *sim,
67 static void ahc_abort_ccb(struct ahc_softc *ahc, struct cam_sim *sim,
69 static int ahc_create_path(struct ahc_softc *ahc,
75 ahc_create_path(struct ahc_softc *ahc, char channel, u_int target, in ahc_create_path() argument
81 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
83 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
90 ahc_map_int(struct ahc_softc *ahc) in ahc_map_int() argument
97 shareable = (ahc->flags & AHC_EDGE_INTERRUPT) ? 0: RF_SHAREABLE; in ahc_map_int()
98 ahc->platform_data->irq = in ahc_map_int()
[all …]
HDahc_pci.c57 MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1);
77 struct ahc_softc *ahc; in ahc_pci_attach() local
94 ahc = ahc_alloc(dev, name); in ahc_pci_attach()
95 if (ahc == NULL) in ahc_pci_attach()
98 ahc_set_unit(ahc, device_get_unit(dev)); in ahc_pci_attach()
105 ahc->flags |= AHC_39BIT_ADDRESSING; in ahc_pci_attach()
108 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), in ahc_pci_attach()
110 (ahc->flags & AHC_39BIT_ADDRESSING) in ahc_pci_attach()
119 &ahc->parent_dmat); in ahc_pci_attach()
124 ahc_free(ahc); in ahc_pci_attach()
[all …]
HDaic7xxx_seq.h893 typedef int ahc_patch_func_t (struct ahc_softc *ahc);
897 ahc_patch23_func(struct ahc_softc *ahc) in ahc_patch23_func() argument
899 return ((ahc->bugs & AHC_SCBCHAN_UPLOAD_BUG) != 0); in ahc_patch23_func()
905 ahc_patch22_func(struct ahc_softc *ahc) in ahc_patch22_func() argument
907 return ((ahc->features & AHC_CMD_CHAN) == 0); in ahc_patch22_func()
913 ahc_patch21_func(struct ahc_softc *ahc) in ahc_patch21_func() argument
915 return ((ahc->features & AHC_QUEUE_REGS) == 0); in ahc_patch21_func()
921 ahc_patch20_func(struct ahc_softc *ahc) in ahc_patch20_func() argument
923 return ((ahc->features & AHC_WIDE) != 0); in ahc_patch20_func()
929 ahc_patch19_func(struct ahc_softc *ahc) in ahc_patch19_func() argument
[all …]
HDaic7xxx.h78 #define SCSIID_TARGET(ahc, scsiid) \ argument
79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
83 #define SCSIID_CHANNEL(ahc, scsiid) \ argument
84 ((((ahc)->features & AHC_TWIN) != 0) \
87 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
88 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
91 #define SCB_GET_TARGET(ahc, scb) \ argument
92 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
93 #define SCB_GET_CHANNEL(ahc, scb) \ argument
94 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
[all …]
HDahc_eisa.c109 struct ahc_softc *ahc; in aic7770_attach() local
126 ahc = ahc_alloc(dev, name); in aic7770_attach()
127 if (ahc == NULL) in aic7770_attach()
130 ahc_set_unit(ahc, device_get_unit(dev)); in aic7770_attach()
133 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), in aic7770_attach()
142 &ahc->parent_dmat); in aic7770_attach()
147 ahc_free(ahc); in aic7770_attach()
150 ahc->dev_softc = dev; in aic7770_attach()
151 error = aic7770_config(ahc, entry, /*unused ioport arg*/0); in aic7770_attach()
153 ahc_free(ahc); in aic7770_attach()
[all …]
HDahc_isa.c223 struct ahc_softc *ahc; in ahc_isa_attach() local
249 ahc = ahc_alloc(dev, name); in ahc_isa_attach()
250 if (ahc == NULL) in ahc_isa_attach()
253 ahc_set_unit(ahc, device_get_unit(dev)); in ahc_isa_attach()
256 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), in ahc_isa_attach()
265 &ahc->parent_dmat); in ahc_isa_attach()
270 ahc_free(ahc); in ahc_isa_attach()
273 ahc->dev_softc = dev; in ahc_isa_attach()
274 error = aic7770_config(ahc, entry, /*unused ioport arg*/0); in ahc_isa_attach()
276 ahc_free(ahc); in ahc_isa_attach()
[all …]
HDaic7xxx.seq44 PATCH_ARG_LIST = "struct ahc_softc *ahc"
78 if ((ahc->features & AHC_ULTRA2) != 0) {
82 if ((ahc->features & AHC_TWIN) != 0) {
90 if ((ahc->features & AHC_TWIN) != 0) {
97 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
110 if ((ahc->flags & AHC_PAGESCBS) != 0) {
133 if ((ahc->flags & AHC_SEQUENCER_DEBUG) != 0) {
140 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
169 if ((ahc->features & AHC_DT) == 0) {
181 if ((ahc->flags & AHC_TARGETROLE) != 0) {
[all …]
/NextBSD/crypto/openssh/
HDumac.c895 static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res) in ip_short() argument
900 t = ip_aux(0,ahc->ip_keys, nhp[0]); in ip_short()
901 STORE_UINT32_BIG((UINT32 *)res+0, ip_reduce_p36(t) ^ ahc->ip_trans[0]); in ip_short()
903 t = ip_aux(0,ahc->ip_keys+4, nhp[1]); in ip_short()
904 STORE_UINT32_BIG((UINT32 *)res+1, ip_reduce_p36(t) ^ ahc->ip_trans[1]); in ip_short()
907 t = ip_aux(0,ahc->ip_keys+8, nhp[2]); in ip_short()
908 STORE_UINT32_BIG((UINT32 *)res+2, ip_reduce_p36(t) ^ ahc->ip_trans[2]); in ip_short()
911 t = ip_aux(0,ahc->ip_keys+12, nhp[3]); in ip_short()
912 STORE_UINT32_BIG((UINT32 *)res+3, ip_reduce_p36(t) ^ ahc->ip_trans[3]); in ip_short()
920 static void ip_long(uhash_ctx_t ahc, u_char *res) in ip_long() argument
[all …]
/NextBSD/sys/modules/aic7xxx/
HDMakefile4 SUBDIR= ahc ahd
15 ( cd ${.CURDIR}/ahc ; ${MAKE} ahcfirmware )
19 ( cd .${CURDIR}/ahc ; ${MAKE} cleanfirmware )
/NextBSD/sys/modules/aic7xxx/ahc/
HDMakefile8 KMOD= ahc
/NextBSD/sys/arm/conf/
HDAPALIS-IMX626 makeoptions WITHOUT_MODULES="ahc"
HDDIGI-CCWMX5325 makeoptions WITHOUT_MODULES="ahc"
HDEFIKA_MX26 makeoptions WITHOUT_MODULES="ahc"
/NextBSD/sys/powerpc/conf/
HDGENERIC64111 device ahc # AHA2940 and onboard AIC7xxx devices
HDGENERIC114 device ahc # AHA2940 and onboard AIC7xxx devices
/NextBSD/sys/amd64/conf/
HDMACHTEST119 device ahc # AHA2940 and onboard AIC7xxx devices
HDIFLIB_PERF120 device ahc # AHA2940 and onboard AIC7xxx devices
/NextBSD/sys/sparc64/conf/
HDGENERIC109 device ahc # AHA2940 and onboard AIC7xxx devices
/NextBSD/sys/pc98/conf/
HDGENERIC100 device ahc # AHA2940 and onboard AIC7xxx devices
/NextBSD/share/man/man4/
HDMakefile31 ahc.4 \

12