| /freebsd/sys/dev/aic7xxx/ |
| H A D | aic7xxx_inline.h | 49 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 112 ahc_unpause(struct ahc_softc * ahc) ahc_unpause() argument 127 ahc_freeze_untagged_queues(struct ahc_softc * ahc) ahc_freeze_untagged_queues() argument 140 ahc_release_untagged_queues(struct ahc_softc * ahc) ahc_release_untagged_queues() argument 190 ahc_hscb_busaddr(struct ahc_softc * ahc,u_int index) ahc_hscb_busaddr() argument 197 ahc_sync_scb(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_scb() argument 206 ahc_sync_sglist(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_sglist() argument 218 ahc_targetcmd_offset(struct ahc_softc * ahc,u_int index) ahc_targetcmd_offset() argument 227 ahc_name(struct ahc_softc * ahc) ahc_name() argument 271 ahc_update_residual(struct ahc_softc * ahc,struct scb * scb) ahc_update_residual() argument 285 ahc_fetch_transinfo(struct ahc_softc * ahc,char channel,u_int our_id,u_int remote_id,struct ahc_tmode_tstate ** tstate) ahc_fetch_transinfo() argument 301 ahc_inw(struct ahc_softc * ahc,u_int port) ahc_inw() argument 307 ahc_outw(struct ahc_softc * ahc,u_int port,u_int value) ahc_outw() argument 314 ahc_inl(struct ahc_softc * ahc,u_int port) ahc_inl() argument 323 ahc_outl(struct ahc_softc * ahc,u_int port,uint32_t value) ahc_outl() argument 332 ahc_inq(struct ahc_softc * ahc,u_int port) ahc_inq() argument 345 ahc_outq(struct ahc_softc * ahc,u_int port,uint64_t value) ahc_outq() argument 361 ahc_get_scb(struct ahc_softc * ahc) ahc_get_scb() argument 380 ahc_free_scb(struct ahc_softc * ahc,struct scb * scb) ahc_free_scb() argument 397 ahc_lookup_scb(struct ahc_softc * ahc,u_int tag) ahc_lookup_scb() argument 409 ahc_swap_with_next_hscb(struct ahc_softc * ahc,struct scb * scb) ahc_swap_with_next_hscb() argument 449 ahc_queue_scb(struct ahc_softc * ahc,struct scb * scb) ahc_queue_scb() argument 489 ahc_get_sense_buf(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_buf() argument 498 ahc_get_sense_bufaddr(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_bufaddr() argument 514 ahc_sync_qoutfifo(struct ahc_softc * ahc,int op) ahc_sync_qoutfifo() argument 521 ahc_sync_tqinfifo(struct ahc_softc * ahc,int op) ahc_sync_tqinfifo() argument 541 ahc_check_cmdcmpltqueues(struct ahc_softc * ahc) ahc_check_cmdcmpltqueues() argument 570 ahc_intr(struct ahc_softc * ahc) ahc_intr() argument [all...] |
| H A D | aic7xxx_pci.c | 672 static int ahc_ext_scbram_present(struct ahc_softc *ahc); 673 static void ahc_scbram_config(struct ahc_softc *ahc, int enable, 675 static void ahc_probe_ext_scbram(struct ahc_softc *ahc); 676 static void check_extport(struct ahc_softc *ahc, u_int *sxfrctl1); 677 static void ahc_parse_pci_eeprom(struct ahc_softc *ahc, 679 static void configure_termination(struct ahc_softc *ahc, 684 static void ahc_new_term_detect(struct ahc_softc *ahc, 690 static void aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present, 694 static void aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present, 697 static void write_brdctl(struct ahc_softc *ahc, uint8_ 786 ahc_pci_config(struct ahc_softc * ahc,struct ahc_pci_identity * entry) ahc_pci_config() argument 1058 ahc_ext_scbram_present(struct ahc_softc * ahc) ahc_ext_scbram_present() argument 1094 ahc_scbram_config(struct ahc_softc * ahc,int enable,int pcheck,int fast,int large) ahc_scbram_config() argument 1152 ahc_probe_ext_scbram(struct ahc_softc * ahc) ahc_probe_ext_scbram() argument 1253 ahc_pci_test_register_access(struct ahc_softc * ahc) ahc_pci_test_register_access() argument 1342 check_extport(struct ahc_softc * ahc,u_int * sxfrctl1) check_extport() argument 1490 ahc_parse_pci_eeprom(struct ahc_softc * ahc,struct seeprom_config * sc) ahc_parse_pci_eeprom() argument 1608 configure_termination(struct ahc_softc * ahc,struct seeprom_descriptor * sd,u_int adapter_control,u_int * sxfrctl1) configure_termination() argument 1834 ahc_new_term_detect(struct ahc_softc * ahc,int * enableSEC_low,int * enableSEC_high,int * enablePRI_low,int * enablePRI_high,int * eeprom_present) ahc_new_term_detect() argument 1856 aic787X_cable_detect(struct ahc_softc * ahc,int * internal50_present,int * internal68_present,int * externalcable_present,int * eeprom_present) aic787X_cable_detect() argument 1897 aic785X_cable_detect(struct ahc_softc * ahc,int * internal50_present,int * externalcable_present,int * eeprom_present) aic785X_cable_detect() argument 1920 ahc_acquire_seeprom(struct ahc_softc * ahc,struct seeprom_descriptor * sd) ahc_acquire_seeprom() argument 1955 write_brdctl(struct ahc_softc * ahc,uint8_t value) write_brdctl() argument 1987 read_brdctl(struct ahc_softc * ahc) read_brdctl() argument 2009 ahc_pci_intr(struct ahc_softc * ahc) ahc_pci_intr() argument 2082 ahc_pci_chip_init(struct ahc_softc * ahc) ahc_pci_chip_init() argument 2107 ahc_pci_suspend(struct ahc_softc * ahc) ahc_pci_suspend() argument 2113 ahc_pci_resume(struct ahc_softc * ahc) ahc_pci_resume() argument 2150 ahc_aic785X_setup(struct ahc_softc * ahc) ahc_aic785X_setup() argument 2168 ahc_aic7860_setup(struct ahc_softc * ahc) ahc_aic7860_setup() argument 2186 ahc_apa1480_setup(struct ahc_softc * ahc) ahc_apa1480_setup() argument 2198 ahc_aic7870_setup(struct ahc_softc * ahc) ahc_aic7870_setup() argument 2210 ahc_aha394X_setup(struct ahc_softc * ahc) ahc_aha394X_setup() argument 2221 ahc_aha398X_setup(struct ahc_softc * ahc) ahc_aha398X_setup() argument 2232 ahc_aha494X_setup(struct ahc_softc * ahc) ahc_aha494X_setup() argument 2243 ahc_aic7880_setup(struct ahc_softc * ahc) ahc_aic7880_setup() argument 2264 ahc_aha2940Pro_setup(struct ahc_softc * ahc) ahc_aha2940Pro_setup() argument 2272 ahc_aha394XU_setup(struct ahc_softc * ahc) ahc_aha394XU_setup() argument 2283 ahc_aha398XU_setup(struct ahc_softc * ahc) ahc_aha398XU_setup() argument 2294 ahc_aic7890_setup(struct ahc_softc * ahc) ahc_aic7890_setup() argument 2312 ahc_aic7892_setup(struct ahc_softc * ahc) ahc_aic7892_setup() argument 2325 ahc_aic7895_setup(struct ahc_softc * ahc) ahc_aic7895_setup() argument 2381 ahc_aic7896_setup(struct ahc_softc * ahc) ahc_aic7896_setup() argument 2396 ahc_aic7899_setup(struct ahc_softc * ahc) ahc_aic7899_setup() argument 2411 ahc_aha29160C_setup(struct ahc_softc * ahc) ahc_aha29160C_setup() argument 2423 ahc_raid_setup(struct ahc_softc * ahc) ahc_raid_setup() argument 2430 ahc_aha394XX_setup(struct ahc_softc * ahc) ahc_aha394XX_setup() argument 2452 ahc_aha398XX_setup(struct ahc_softc * ahc) ahc_aha398XX_setup() argument 2479 ahc_aha494XX_setup(struct ahc_softc * ahc) ahc_aha494XX_setup() argument [all...] |
| H A D | aic7xxx.c | 140 static void ahc_force_renegotiation(struct ahc_softc *ahc, 143 ahc_alloc_tstate(struct ahc_softc *ahc, 146 static void ahc_free_tstate(struct ahc_softc *ahc, 150 ahc_devlimited_syncrate(struct ahc_softc *ahc, 155 static void ahc_update_pending_scbs(struct ahc_softc *ahc); 156 static void ahc_fetch_devinfo(struct ahc_softc *ahc, 158 static void ahc_scb_devinfo(struct ahc_softc *ahc, 161 static void ahc_assert_atn(struct ahc_softc *ahc); 162 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc, 165 static void ahc_build_transfer_msg(struct ahc_softc *ahc, [all …]
|
| H A D | aic7770.c | 56 static int aic7770_chip_init(struct ahc_softc *ahc); 57 static int aic7770_suspend(struct ahc_softc *ahc); 58 static int aic7770_resume(struct ahc_softc *ahc); 59 static int aha2840_load_seeprom(struct ahc_softc *ahc); 121 aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) in aic7770_find_device() 129 error = entry->setup(ahc); in aic7770_config() 134 error = aic7770_map_registers(ahc, io); in aic7770_config() 144 ahc_intr_enable(ahc, FALSE); in aic7770_config() 146 ahc->description = entry->name; in aic7770_config() 147 error = ahc_softc_init(ahc); in aic7770_config() 128 aic7770_config(struct ahc_softc * ahc,struct aic7770_identity * entry,u_int io) aic7770_config() argument 274 aic7770_chip_init(struct ahc_softc * ahc) aic7770_chip_init() argument 284 aic7770_suspend(struct ahc_softc * ahc) aic7770_suspend() argument 290 aic7770_resume(struct ahc_softc * ahc) aic7770_resume() argument 299 aha2840_load_seeprom(struct ahc_softc * ahc) aha2840_load_seeprom() argument 384 ahc_aic7770_VL_setup(struct ahc_softc * ahc) ahc_aic7770_VL_setup() argument 394 ahc_aic7770_EISA_setup(struct ahc_softc * ahc) ahc_aic7770_EISA_setup() argument 404 ahc_aic7770_setup(struct ahc_softc * ahc) ahc_aic7770_setup() argument [all...] |
| H A D | aic7xxx_osm.h | 70 #define SIM_IS_SCSIBUS_B(ahc, sim) \ argument 71 ((sim) == ahc->platform_data->sim_b) 72 #define SIM_CHANNEL(ahc, sim) \ argument 73 (((sim) == ahc->platform_data->sim_b) ? 'B' : 'A') 74 #define SIM_SCSI_ID(ahc, sim) \ argument 75 (((sim) == ahc->platform_data->sim_b) ? ahc->our_id_b : ahc->our_id) 76 #define SIM_PATH(ahc, sim) \ argument 77 (((sim) == ahc->platform_data->sim_b) ? ahc->platform_data->path_b \ 78 : ahc->platform_data->path) 79 #define BUILD_SCSIID(ahc, sim, target_id, our_id) \ argument [all …]
|
| H A D | ahc_pci.c | 54 MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1); 74 struct ahc_softc *ahc; in ahc_pci_attach() local 91 ahc = ahc_alloc(dev, name); in ahc_pci_attach() 92 if (ahc == NULL) in ahc_pci_attach() 95 ahc_set_unit(ahc, device_get_unit(dev)); in ahc_pci_attach() 102 ahc->flags |= AHC_39BIT_ADDRESSING; in ahc_pci_attach() 105 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), in ahc_pci_attach() 107 (ahc->flags & AHC_39BIT_ADDRESSING) in ahc_pci_attach() 116 &ahc->parent_dmat); in ahc_pci_attach() 121 ahc_free(ahc); in ahc_pci_attach() [all …]
|
| H A D | aic7xxx_osm.c | 52 static void ahc_get_tran_settings(struct ahc_softc *ahc, 60 static void ahc_setup_data(struct ahc_softc *ahc, struct cam_sim *sim, 62 static void ahc_abort_ccb(struct ahc_softc *ahc, struct cam_sim *sim, 64 static int ahc_create_path(struct ahc_softc *ahc, 69 ahc_create_path(struct ahc_softc *ahc, char channel, u_int target, 75 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path() 77 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path() 84 ahc_map_int(struct ahc_softc *ahc) 91 shareable = (ahc->flags & AHC_EDGE_INTERRUPT) ? 0: RF_SHAREABLE; in ahc_map_int() 92 ahc in ahc_map_int() 70 ahc_create_path(struct ahc_softc * ahc,char channel,u_int target,u_int lun,struct cam_path ** path) ahc_create_path() argument 85 ahc_map_int(struct ahc_softc * ahc) ahc_map_int() argument 115 aic7770_map_registers(struct ahc_softc * ahc,u_int unused_ioport_arg) aic7770_map_registers() argument 139 ahc_attach(struct ahc_softc * ahc) ahc_attach() argument 297 struct ahc_softc *ahc; ahc_platform_intr() local 311 ahc_done(struct ahc_softc * ahc,struct scb * scb) ahc_done() argument 437 struct ahc_softc *ahc; ahc_action() local 816 ahc_get_tran_settings(struct ahc_softc * ahc,int our_id,char channel,struct ccb_trans_settings * cts) ahc_get_tran_settings() argument 884 struct ahc_softc *ahc; ahc_async() local 923 struct ahc_softc *ahc; ahc_execute_scb() local 1117 struct ahc_softc *ahc; ahc_poll() local 1124 ahc_setup_data(struct ahc_softc * ahc,struct cam_sim * sim,struct ccb_scsiio * csio,struct scb * scb) ahc_setup_data() argument 1189 ahc_abort_ccb(struct ahc_softc * ahc,struct cam_sim * sim,union ccb * ccb) ahc_abort_ccb() argument 1272 ahc_send_async(struct ahc_softc * ahc,char channel,u_int target,u_int lun,ac_code code,void * opt_arg) ahc_send_async() argument 1320 ahc_platform_set_tags(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,int enable) ahc_platform_set_tags() argument 1326 ahc_platform_alloc(struct ahc_softc * ahc,void * platform_arg) ahc_platform_alloc() argument 1336 ahc_platform_free(struct ahc_softc * ahc) ahc_platform_free() argument 1381 struct ahc_softc *ahc; ahc_detach() local [all...] |
| H A D | aic7xxx_seq.h | 891 typedef int ahc_patch_func_t (struct ahc_softc *ahc); 895 ahc_patch23_func(struct ahc_softc *ahc) in ahc_patch23_func() argument 897 return ((ahc->bugs & AHC_SCBCHAN_UPLOAD_BUG) != 0); in ahc_patch23_func() 903 ahc_patch22_func(struct ahc_softc *ahc) in ahc_patch22_func() argument 905 return ((ahc->features & AHC_CMD_CHAN) == 0); in ahc_patch22_func() 911 ahc_patch21_func(struct ahc_softc *ahc) in ahc_patch21_func() argument 913 return ((ahc->features & AHC_QUEUE_REGS) == 0); in ahc_patch21_func() 919 ahc_patch20_func(struct ahc_softc *ahc) in ahc_patch20_func() argument 921 return ((ahc->features & AHC_WIDE) != 0); in ahc_patch20_func() 927 ahc_patch19_func(struct ahc_softc *ahc) in ahc_patch19_func() argument [all …]
|
| H A D | aic7xxx.h | 78 #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, (sc 97 SCB_GET_TARGET_OFFSET(ahc,scb) global() argument 99 SCB_GET_TARGET_MASK(ahc,scb) global() argument [all...] |
| H A D | ahc_isa.c | 221 struct ahc_softc *ahc; in ahc_isa_attach() local 247 ahc = ahc_alloc(dev, name); in ahc_isa_attach() 248 if (ahc == NULL) in ahc_isa_attach() 251 ahc_set_unit(ahc, device_get_unit(dev)); in ahc_isa_attach() 254 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), in ahc_isa_attach() 263 &ahc->parent_dmat); in ahc_isa_attach() 268 ahc_free(ahc); in ahc_isa_attach() 271 ahc->dev_softc = dev; in ahc_isa_attach() 272 error = aic7770_config(ahc, entry, /*unused ioport arg*/0); in ahc_isa_attach() 274 ahc_free(ahc); in ahc_isa_attach() [all …]
|
| H A D | aic7xxx.seq | 42 PATCH_ARG_LIST = "struct ahc_softc *ahc" 76 if ((ahc->features & AHC_ULTRA2) != 0) { 80 if ((ahc->features & AHC_TWIN) != 0) { 88 if ((ahc->features & AHC_TWIN) != 0) { 95 if ((ahc->features & AHC_QUEUE_REGS) != 0) { 108 if ((ahc->flags & AHC_PAGESCBS) != 0) { 131 if ((ahc->flags & AHC_SEQUENCER_DEBUG) != 0) { 138 if ((ahc->features & AHC_QUEUE_REGS) != 0) { 167 if ((ahc->features & AHC_DT) == 0) { 179 if ((ahc->flags & AHC_TARGETROLE) != 0) { [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | umac.c | 891 static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res) in ip_short() argument 896 t = ip_aux(0,ahc->ip_keys, nhp[0]); in ip_short() 897 STORE_UINT32_BIG((UINT32 *)res+0, ip_reduce_p36(t) ^ ahc->ip_trans[0]); in ip_short() 899 t = ip_aux(0,ahc->ip_keys+4, nhp[1]); in ip_short() 900 STORE_UINT32_BIG((UINT32 *)res+1, ip_reduce_p36(t) ^ ahc->ip_trans[1]); in ip_short() 903 t = ip_aux(0,ahc->ip_keys+8, nhp[2]); in ip_short() 904 STORE_UINT32_BIG((UINT32 *)res+2, ip_reduce_p36(t) ^ ahc->ip_trans[2]); in ip_short() 907 t = ip_aux(0,ahc->ip_keys+12, nhp[3]); in ip_short() 908 STORE_UINT32_BIG((UINT32 *)res+3, ip_reduce_p36(t) ^ ahc->ip_trans[3]); in ip_short() 916 static void ip_long(uhash_ctx_t ahc, u_char *res) in ip_long() argument [all …]
|
| /freebsd/sys/modules/aic7xxx/ |
| H A D | Makefile | 1 SUBDIR= ahc ahd 12 ( cd ${.CURDIR}/ahc ; ${MAKE} ahcfirmware ) 16 ( cd .${CURDIR}/ahc ; ${MAKE} cleanfirmware )
|
| /freebsd/sys/modules/aic7xxx/ahc/ |
| H A D | Makefile | 3 KMOD= ahc
|
| /freebsd/sys/dev/ath/ath_hal/ |
| H A D | ah.c | 34 ath_hal_add_chip(struct ath_hal_chip *ahc) in ath_hal_add_chip() argument 37 TAILQ_INSERT_TAIL(&ah_chip_list, ahc, node); in ath_hal_add_chip() 42 ath_hal_remove_chip(struct ath_hal_chip *ahc) in ath_hal_remove_chip() argument 45 TAILQ_REMOVE(&ah_chip_list, ahc, node); in ath_hal_remove_chip()
|
| H A D | ah_internal.h | 1049 extern int ath_hal_add_chip(struct ath_hal_chip *ahc); 1050 extern int ath_hal_remove_chip(struct ath_hal_chip *ahc);
|
| /freebsd/sys/powerpc/conf/ |
| H A D | GENERIC | 125 device ahc # AHA2940 and onboard AIC7xxx devices
|
| H A D | GENERIC64LE | 139 device ahc # AHA2940 and onboard AIC7xxx devices
|
| H A D | GENERIC64 | 142 device ahc # AHA2940 and onboard AIC7xxx devices
|
| /freebsd/share/man/man4/ |
| H A D | Makefile | 40 ahc.4 \
|
| /freebsd/sys/i386/conf/ |
| H A D | GENERIC | 131 device ahc # AHA2940 and onboard AIC7xxx devices
|
| /freebsd/sys/amd64/conf/ |
| H A D | GENERIC | 144 device ahc # AHA2940 and onboard AIC7xxx devices
|
| /freebsd/sys/conf/ |
| H A D | NOTES | 1585 # ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/ 1605 device ahc 1637 # Dump the contents of the ahc controller configuration PROM. 1650 # See ahc(4).
|
| H A D | files | 792 dev/aic7xxx/ahc_isa.c optional ahc isa 793 dev/aic7xxx/ahc_pci.c optional ahc pci \ 797 dev/aic7xxx/aic7770.c optional ahc 802 dev/aic7xxx/aic7xxx.c optional ahc 803 dev/aic7xxx/aic7xxx_93cx6.c optional ahc 804 dev/aic7xxx/aic7xxx_osm.c optional ahc 805 dev/aic7xxx/aic7xxx_pci.c optional ahc pci 806 dev/aic7xxx/aic7xxx_reg_print.c optional ahc ahc_reg_pretty_print
|