Home
last modified time | relevance | path

Searched defs:ahc (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/sys/dev/ic/
H A Daic7xxx_inline.h77 ahc_pause_bug_fix(struct ahc_softc *ahc) in ahc_pause_bug_fix()
88 ahc_is_paused(struct ahc_softc *ahc) in ahc_is_paused()
101 ahc_pause(struct ahc_softc *ahc) in ahc_pause()
126 ahc_unpause(struct ahc_softc *ahc) in ahc_unpause()
143 ahc_freeze_untagged_queues(struct ahc_softc *ahc) in ahc_freeze_untagged_queues()
156 ahc_release_untagged_queues(struct ahc_softc *ahc) in ahc_release_untagged_queues()
210 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) in ahc_hscb_busaddr()
217 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) in ahc_sync_scb()
227 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) in ahc_targetcmd_offset()
238 ahc_name(struct ahc_softc *ahc) in ahc_name()
[all …]
H A Daic7xxx.c267 ahc_restart(struct ahc_softc * ahc) ahc_restart() argument
328 ahc_run_qoutfifo(struct ahc_softc * ahc) ahc_run_qoutfifo() argument
375 ahc_run_untagged_queues(struct ahc_softc * ahc) ahc_run_untagged_queues() argument
384 ahc_run_untagged_queue(struct ahc_softc * ahc,struct scb_tailq * queue) ahc_run_untagged_queue() argument
400 ahc_handle_brkadrint(struct ahc_softc * ahc) ahc_handle_brkadrint() argument
433 ahc_handle_seqint(struct ahc_softc * ahc,u_int intstat) ahc_handle_seqint() argument
999 ahc_handle_scsiint(struct ahc_softc * ahc,u_int intstat) ahc_handle_scsiint() argument
1436 ahc_force_renegotiation(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_force_renegotiation() argument
1452 ahc_clear_critical_section(struct ahc_softc * ahc) ahc_clear_critical_section() argument
1543 ahc_clear_intstat(struct ahc_softc * ahc) ahc_clear_intstat() argument
1600 ahc_alloc_tstate(struct ahc_softc * ahc,u_int scsi_id,char channel) ahc_alloc_tstate() argument
1646 ahc_free_tstate(struct ahc_softc * ahc,u_int scsi_id,char channel,int force) ahc_free_tstate() argument
1675 ahc_devlimited_syncrate(struct ahc_softc * ahc,struct ahc_initiator_tinfo * tinfo,u_int * period,u_int * ppr_options,role_t role) ahc_devlimited_syncrate() argument
1730 ahc_find_syncrate(struct ahc_softc * ahc,u_int * period,u_int * ppr_options,u_int maxsync) ahc_find_syncrate() argument
1797 ahc_find_period(struct ahc_softc * ahc,u_int scsirate,u_int maxsync) ahc_find_period() argument
1827 ahc_validate_offset(struct ahc_softc * ahc,struct ahc_initiator_tinfo * tinfo,struct ahc_syncrate * syncrate,u_int * offset,int wide,role_t role) ahc_validate_offset() argument
1859 ahc_validate_width(struct ahc_softc * ahc,struct ahc_initiator_tinfo * tinfo,u_int * bus_width,role_t role) ahc_validate_width() argument
1889 ahc_update_neg_request(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct ahc_tmode_tstate * tstate,struct ahc_initiator_tinfo * tinfo,ahc_neg_type neg_type) ahc_update_neg_request() argument
1932 ahc_set_syncrate(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct ahc_syncrate * syncrate,u_int period,u_int offset,u_int ppr_options,u_int type,int paused) ahc_set_syncrate() argument
2059 ahc_set_width(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int width,u_int type,int paused) ahc_set_width() argument
2115 ahc_set_tags(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,ahc_queue_alg alg) ahc_set_tags() argument
2129 ahc_update_pending_scbs(struct ahc_softc * ahc) ahc_update_pending_scbs() argument
2207 ahc_fetch_devinfo(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_fetch_devinfo() argument
2272 ahc_print_devinfo(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_print_devinfo() argument
2279 ahc_scb_devinfo(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_scb_devinfo() argument
2296 ahc_assert_atn(struct ahc_softc * ahc) ahc_assert_atn() argument
2313 ahc_setup_initiator_msgout(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_initiator_msgout() argument
2399 ahc_build_transfer_msg(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_build_transfer_msg() argument
2497 ahc_construct_sdtr(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int period,u_int offset) ahc_construct_sdtr() argument
2520 ahc_construct_wdtr(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int bus_width) ahc_construct_wdtr() argument
2540 ahc_construct_ppr(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,u_int period,u_int offset,u_int bus_width,u_int ppr_options) ahc_construct_ppr() argument
2567 ahc_clear_msg_state(struct ahc_softc * ahc) ahc_clear_msg_state() argument
2585 ahc_handle_proto_violation(struct ahc_softc * ahc) ahc_handle_proto_violation() argument
2682 ahc_handle_message_phase(struct ahc_softc * ahc) ahc_handle_message_phase() argument
2984 ahc_sent_msg(struct ahc_softc * ahc,ahc_msgtype type,u_int msgval,int full) ahc_sent_msg() argument
3031 ahc_parse_msg(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_parse_msg() argument
3453 ahc_handle_msg_reject(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_handle_msg_reject() argument
3604 ahc_handle_ign_wide_residue(struct ahc_softc * ahc,struct ahc_devinfo * devinfo) ahc_handle_ign_wide_residue() argument
3713 ahc_reinitialize_dataptrs(struct ahc_softc * ahc) ahc_reinitialize_dataptrs() argument
3769 ahc_handle_devreset(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,cam_status status,char * message,int verbose_level) ahc_handle_devreset() argument
3824 ahc_setup_target_msgin(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_target_msgin() argument
3847 ahc_softc_init(struct ahc_softc * ahc) ahc_softc_init() argument
3868 ahc_softc_insert(struct ahc_softc * ahc) ahc_softc_insert() argument
3924 ahc_set_unit(struct ahc_softc * ahc,int unit) ahc_set_unit() argument
3930 ahc_set_name(struct ahc_softc * ahc,char * name) ahc_set_name() argument
3936 ahc_free(struct ahc_softc * ahc) ahc_free() argument
3991 struct ahc_softc *ahc; ahc_shutdown() local
4016 ahc_reset(struct ahc_softc * ahc,int reinit) ahc_reset() argument
4118 ahc_probe_scbs(struct ahc_softc * ahc) ahc_probe_scbs() argument
4146 ahc_build_free_scb_list(struct ahc_softc * ahc) ahc_build_free_scb_list() argument
4197 ahc_init_scbdata(struct ahc_softc * ahc) ahc_init_scbdata() argument
4283 ahc_fini_scbdata(struct ahc_softc * ahc) ahc_fini_scbdata() argument
4330 ahc_alloc_scbs(struct ahc_softc * ahc) ahc_alloc_scbs() argument
4404 ahc_controller_info(struct ahc_softc * ahc,char * buf,size_t buf_len) ahc_controller_info() argument
4448 ahc_chip_init(struct ahc_softc * ahc) ahc_chip_init() argument
4634 ahc_init(struct ahc_softc * ahc) ahc_init() argument
4923 ahc_intr_enable(struct ahc_softc * ahc,int enable) ahc_intr_enable() argument
4945 ahc_index_busy_tcl(struct ahc_softc * ahc,u_int tcl) ahc_index_busy_tcl() argument
4966 ahc_unbusy_tcl(struct ahc_softc * ahc,u_int tcl) ahc_unbusy_tcl() argument
4984 ahc_busy_tcl(struct ahc_softc * ahc,u_int tcl,u_int scbid) ahc_busy_tcl() argument
5003 ahc_match_scb(struct ahc_softc * ahc,struct scb * scb,int target,char channel,int lun,u_int tag,role_t role) ahc_match_scb() argument
5044 ahc_freeze_devq(struct ahc_softc * ahc,struct scb * scb) ahc_freeze_devq() argument
5060 ahc_qinfifo_requeue_tail(struct ahc_softc * ahc,struct scb * scb) ahc_qinfifo_requeue_tail() argument
5082 ahc_qinfifo_requeue(struct ahc_softc * ahc,struct scb * prev_scb,struct scb * scb) ahc_qinfifo_requeue() argument
5102 ahc_qinfifo_count(struct ahc_softc * ahc) ahc_qinfifo_count() argument
5117 ahc_search_qinfifo(struct ahc_softc * ahc,int target,char channel,int lun,u_int tag,role_t role,uint32_t status,ahc_search_action action) ahc_search_qinfifo() argument
5325 ahc_search_untagged_queues(struct ahc_softc * ahc,struct scsi_xfer * xs,int target,char channel,int lun,uint32_t status,ahc_search_action action) ahc_search_untagged_queues() argument
5421 ahc_search_disc_list(struct ahc_softc * ahc,int target,char channel,int lun,u_int tag,int stop_on_first,int remove,int save_state) ahc_search_disc_list() argument
5488 ahc_rem_scb_from_disc_list(struct ahc_softc * ahc,u_int prev,u_int scbptr) ahc_rem_scb_from_disc_list() argument
5514 ahc_add_curscb_to_free_list(struct ahc_softc * ahc) ahc_add_curscb_to_free_list() argument
5533 ahc_rem_wscb(struct ahc_softc * ahc,u_int scbpos,u_int prev) ahc_rem_wscb() argument
5584 ahc_abort_scbs(struct ahc_softc * ahc,int target,char channel,int lun,u_int tag,role_t role,uint32_t status) ahc_abort_scbs() argument
5715 ahc_reset_current_bus(struct ahc_softc * ahc) ahc_reset_current_bus() argument
5734 ahc_reset_channel(struct ahc_softc * ahc,char channel,int initiate_reset) ahc_reset_channel() argument
5903 ahc_calc_residual(struct ahc_softc * ahc,struct scb * scb) ahc_calc_residual() argument
5991 ahc_queue_lstate_event(struct ahc_softc * ahc,struct ahc_tmode_lstate * lstate,u_int initiator_id,u_int event_type,u_int event_arg) ahc_queue_lstate_event() argument
6042 ahc_send_lstate_events(struct ahc_softc * ahc,struct ahc_tmode_lstate * lstate) ahc_send_lstate_events() argument
6078 ahc_dumpseq(struct ahc_softc * ahc) ahc_dumpseq() argument
6098 ahc_loadseq(struct ahc_softc * ahc) ahc_loadseq() argument
6209 ahc_check_patch(struct ahc_softc * ahc,const struct patch ** start_patch,u_int start_instr,u_int * skip_addr) ahc_check_patch() argument
6245 ahc_download_instr(struct ahc_softc * ahc,u_int instrptr,uint8_t * dconsts) ahc_download_instr() argument
6418 ahc_dump_card_state(struct ahc_softc * ahc) ahc_dump_card_state() argument
6607 ahc_find_tmode_devs(struct ahc_softc * ahc,struct cam_sim * sim,union ccb * ccb,struct ahc_tmode_tstate ** tstate,struct ahc_tmode_lstate ** lstate,int notfound_failure) ahc_find_tmode_devs() argument
6648 ahc_handle_en_lun(struct ahc_softc * ahc,struct cam_sim * sim,union ccb * ccb) ahc_handle_en_lun() argument
7020 ahc_update_scsiid(struct ahc_softc * ahc,u_int targid_mask) ahc_update_scsiid() argument
7059 ahc_run_tqinfifo(struct ahc_softc * ahc,int paused) ahc_run_tqinfifo() argument
7115 ahc_handle_target_cmd(struct ahc_softc * ahc,struct target_cmd * cmd) ahc_handle_target_cmd() argument
[all...]
H A Daic7xxx_openbsd.c71 ahc_attach(struct ahc_softc *ahc) in ahc_attach()
131 struct ahc_softc *ahc = (struct ahc_softc *)arg; in ahc_platform_intr() local
146 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done()
248 struct ahc_softc *ahc; in ahc_action() local
302 struct ahc_softc *ahc; in ahc_execute_scb() local
481 ahc_poll(struct ahc_softc *ahc, int wait) in ahc_poll()
499 ahc_setup_data(struct ahc_softc *ahc, struct scsi_xfer *xs, in ahc_setup_data()
552 struct ahc_softc *ahc; in ahc_timeout() local
594 ahc_platform_set_tags(struct ahc_softc *ahc, in ahc_platform_set_tags()
622 ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, in ahc_send_async()
[all …]
H A Daic7xxx_openbsd.h88 #define SCSI_IS_SCSIBUS_B(ahc, sc_link) \ argument
90 #define SCSI_SCSI_ID(ahc, sc_link) \ argument
92 #define SCSI_CHANNEL(ahc, sc_link) \ argument
94 #define BUILD_SCSIID(ahc, sc_link, target_id, our_id) \ argument
107 #define ahc_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op) \ argument
170 #define ahc_inb(ahc, port) \ argument
173 #define ahc_outb(ahc, port, value) \ argument
176 #define ahc_outsb(ahc, port, valp, count) \ argument
179 #define ahc_insb(ahc, port, valp, count) \ argument
185 ahc_flush_device_writes(struct ahc_softc *ahc) in ahc_flush_device_writes()
[all …]
H A Daic7xxx_seeprom.c94 ahc_check_extport(struct ahc_softc *ahc, u_int *sxfrctl1) in ahc_check_extport() argument
239 ahc_parse_pci_eeprom(struct ahc_softc * ahc,struct seeprom_config * sc) ahc_parse_pci_eeprom() argument
355 configure_termination(struct ahc_softc * ahc,struct seeprom_descriptor * sd,u_int adapter_control,u_int * sxfrctl1) configure_termination() argument
581 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
603 aic787X_cable_detect(struct ahc_softc * ahc,int * internal50_present,int * internal68_present,int * externalcable_present,int * eeprom_present) aic787X_cable_detect() argument
644 aic785X_cable_detect(struct ahc_softc * ahc,int * internal50_present,int * externalcable_present,int * eeprom_present) aic785X_cable_detect() argument
664 ahc_acquire_seeprom(struct ahc_softc * ahc,struct seeprom_descriptor * sd) ahc_acquire_seeprom() argument
699 write_brdctl(struct ahc_softc * ahc,uint8_t value) write_brdctl() argument
731 read_brdctl(struct ahc_softc * ahc) read_brdctl() argument
[all...]
H A Daic7xxxvar.h81 #define SCSIID_TARGET(ahc, scsiid) \ argument
86 #define SCSIID_CHANNEL(ahc, scsiid) \ argument
90 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
94 #define SCB_GET_TARGET(ahc, scb) \ argument
96 #define SCB_GET_CHANNEL(ahc, scb) \ argument
100 #define SCB_GET_TARGET_OFFSET(ahc, scb) \ argument
102 #define SCB_GET_TARGET_MASK(ahc, scb) \ argument
H A Daic79xx_openbsd.h117 #define ahd_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op) \ argument
/openbsd-src/sys/dev/microcode/aic7xxx/
H A Daic7xxx_seq.h896 ahc_patch23_func(struct ahc_softc *ahc) in ahc_patch23_func()
904 ahc_patch22_func(struct ahc_softc *ahc) in ahc_patch22_func()
912 ahc_patch21_func(struct ahc_softc *ahc) in ahc_patch21_func()
920 ahc_patch20_func(struct ahc_softc *ahc) in ahc_patch20_func()
928 ahc_patch19_func(struct ahc_softc *ahc) in ahc_patch19_func()
936 ahc_patch18_func(struct ahc_softc *ahc) in ahc_patch18_func()
944 ahc_patch17_func(struct ahc_softc *ahc) in ahc_patch17_func()
952 ahc_patch16_func(struct ahc_softc *ahc) in ahc_patch16_func()
960 ahc_patch15_func(struct ahc_softc *ahc) in ahc_patch15_func()
968 ahc_patch14_func(struct ahc_softc *ahc) in ahc_patch14_func()
[all …]
/openbsd-src/sys/dev/pci/
H A Dahc_pci.c696 struct ahc_softc *ahc = (void *)self; in ahc_pci_attach() local
1102 ahc_ext_scbram_present(struct ahc_softc *ahc) in ahc_ext_scbram_present()
1137 ahc_scbram_config(struct ahc_softc *ahc, int enable, int pcheck, in ahc_scbram_config()
1195 ahc_probe_ext_scbram(struct ahc_softc *ahc) in ahc_probe_ext_scbram()
1362 ahc_pci_intr(struct ahc_softc *ahc) in ahc_pci_intr()
1412 ahc_pci_chip_init(struct ahc_softc *ahc) in ahc_pci_chip_init()
1437 ahc_aic785X_setup(struct ahc_softc *ahc) in ahc_aic785X_setup()
1453 ahc_aic7860_setup(struct ahc_softc *ahc) in ahc_aic7860_setup()
1469 ahc_apa1480_setup(struct ahc_softc *ahc) in ahc_apa1480_setup()
1481 ahc_aic7870_setup(struct ahc_softc *ahc) in ahc_aic7870_setup()
[all …]
/openbsd-src/sys/arch/i386/isa/
H A Dahc_isa.c336 struct ahc_softc *ahc = (void *)self; in ahc_isa_attach() local
486 aha2840_load_seeprom(struct ahc_softc *ahc) in aha2840_load_seeprom()
/openbsd-src/sys/dev/eisa/
H A Dahc_eisa.c135 struct ahc_softc *ahc = (void *)self; in ahc_eisa_attach() local
/openbsd-src/usr.bin/ssh/
H A Dumac.c885 static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res) in ip_short()
910 static void ip_long(uhash_ctx_t ahc, u_char *res) in ip_long()
955 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key) in uhash_init()