sys/dev/ic/aic79xx.c
116
static void ahd_handle_transmission_error(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
117
static void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
119
static int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
121
static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
122
static void ahd_handle_proto_violation(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
123
static void ahd_force_renegotiation(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
127
ahd_alloc_tstate(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
130
static void ahd_free_tstate(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
133
static void ahd_devlimited_syncrate(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
138
static void ahd_update_neg_table(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
141
static void ahd_update_pending_scbs(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
142
static void ahd_fetch_devinfo(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
144
static void ahd_scb_devinfo(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
147
static void ahd_setup_initiator_msgout(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
150
static void ahd_build_transfer_msg(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
1501
ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat)
sys/dev/ic/aic79xx.c
152
static void ahd_construct_sdtr(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
155
static void ahd_construct_wdtr(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
158
static void ahd_construct_ppr(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
162
static void ahd_clear_msg_state(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
163
static void ahd_handle_message_phase(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
169
static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type,
sys/dev/ic/aic79xx.c
171
static int ahd_parse_msg(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
173
static int ahd_handle_msg_reject(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
1749
ahd_handle_transmission_error(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
175
static void ahd_handle_ign_wide_residue(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
177
static void ahd_reinitialize_dataptrs(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
178
static void ahd_handle_devreset(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
184
static void ahd_setup_target_msgin(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
189
static u_int ahd_sglist_size(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
190
static u_int ahd_sglist_allocsize(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
191
static void ahd_initialize_hscbs(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
192
static int ahd_init_scbdata(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
193
static void ahd_fini_scbdata(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
1935
ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1)
sys/dev/ic/aic79xx.c
194
static void ahd_setup_iocell_workaround(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
195
static void ahd_iocell_first_selection(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
196
static void ahd_add_col_list(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
1977
ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime)
sys/dev/ic/aic79xx.c
198
static void ahd_rem_col_list(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
200
static void ahd_chip_init(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
201
static void ahd_qinfifo_requeue(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
204
static int ahd_qinfifo_count(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
205
static int ahd_search_scb_list(struct ahd_softc *ahd, int target,
sys/dev/ic/aic79xx.c
210
static void ahd_stitch_tid_list(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
2113
ahd_handle_nonpkt_busfree(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
213
static void ahd_add_scb_to_free_list(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
215
static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
sys/dev/ic/aic79xx.c
217
static void ahd_reset_current_bus(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
221
static void ahd_dumpseq(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
223
static void ahd_loadseq(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
224
static int ahd_check_patch(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
227
static u_int ahd_resolve_seqaddr(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
229
static void ahd_download_instr(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
231
static int ahd_probe_stack_size(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
232
static int ahd_scb_active_in_fifo(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
234
static void ahd_run_data_fifo(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
2351
ahd_handle_proto_violation(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
238
static void ahd_queue_lstate_event(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
243
static void ahd_update_scsiid(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
245
static int ahd_handle_target_cmd(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
2450
ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
2472
ahd_clear_critical_section(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
2596
ahd_clear_intstat(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
2657
if ((scb->ahd_softc->flags & AHD_64BIT_ADDRESSING) != 0) {
sys/dev/ic/aic79xx.c
268
static inline void ahd_assert_atn(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
269
static inline int ahd_currently_packetized(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
2698
ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel)
sys/dev/ic/aic79xx.c
270
static inline int ahd_set_active_fifo(struct ahd_softc *ahd);
sys/dev/ic/aic79xx.c
273
ahd_assert_atn(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
2738
ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force)
sys/dev/ic/aic79xx.c
2764
ahd_devlimited_syncrate(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
2813
ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
sys/dev/ic/aic79xx.c
285
ahd_currently_packetized(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
2852
ahd_validate_offset(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
2883
ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo,
sys/dev/ic/aic79xx.c
2913
ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
2956
ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
308
ahd_set_active_fifo(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
3103
ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3158
ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3167
ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3267
ahd_update_pending_scbs(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
329
ahd_restart(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
3351
ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
3386
ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
3426
ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3449
ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3570
ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
365
ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo)
sys/dev/ic/aic79xx.c
3666
ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3689
ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3709
ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
3743
ahd_clear_msg_state(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
3771
ahd_handle_message_phase(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
389
ahd_flush_qoutfifo(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
4111
ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full)
sys/dev/ic/aic79xx.c
4160
ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
4578
ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/ic/aic79xx.c
4749
ahd_handle_ign_wide_residue(struct ahd_softc *ahd,
sys/dev/ic/aic79xx.c
4902
ahd_reinitialize_dataptrs(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
4993
ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
5056
ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/ic/aic79xx.c
5079
ahd_sglist_size(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5096
ahd_sglist_allocsize(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5137
ahd_softc_init(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5146
ahd_set_unit(struct ahd_softc *ahd, int unit)
sys/dev/ic/aic79xx.c
5152
ahd_set_name(struct ahd_softc *ahd, const char *name)
sys/dev/ic/aic79xx.c
5158
ahd_free(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5224
struct ahd_softc *ahd;
sys/dev/ic/aic79xx.c
5251
ahd_reset(struct ahd_softc *ahd, int reinit)
sys/dev/ic/aic79xx.c
5357
ahd_probe_scbs(struct ahd_softc *ahd) {
sys/dev/ic/aic79xx.c
5390
ahd_initialize_hscbs(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5406
ahd_init_scbdata(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5459
ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag)
sys/dev/ic/aic79xx.c
5497
ahd_fini_scbdata(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
553
ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
5558
ahd_setup_iocell_workaround(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5576
ahd_iocell_first_selection(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
5607
ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx)
sys/dev/ic/aic79xx.c
5627
ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
5661
ahd_get_scb(struct ahd_softc *ahd, u_int col_idx)
sys/dev/ic/aic79xx.c
5688
ahd_free_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
5741
ahd_alloc_scbs(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
582
ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
5930
next_scb->ahd_softc = ahd;
sys/dev/ic/aic79xx.c
5962
ahd_controller_info(struct ahd_softc *ahd, char *tbuf, size_t l)
sys/dev/ic/aic79xx.c
6004
ahd_init(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6202
ahd_chip_init(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6535
ahd_default_config(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6612
ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc)
sys/dev/ic/aic79xx.c
6746
ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd)
sys/dev/ic/aic79xx.c
6759
ahd_intr_enable(struct ahd_softc *ahd, int enable)
sys/dev/ic/aic79xx.c
6776
ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds,
sys/dev/ic/aic79xx.c
6794
ahd_enable_coalescing(struct ahd_softc *ahd, int enable)
sys/dev/ic/aic79xx.c
6813
ahd_pause_and_flushwork(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6882
ahd_suspend(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6896
ahd_resume(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
6915
ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)
sys/dev/ic/aic79xx.c
6937
ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl)
sys/dev/ic/aic79xx.c
6950
ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid)
sys/dev/ic/aic79xx.c
6962
ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
sys/dev/ic/aic79xx.c
6998
ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
7016
ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
7038
ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb,
sys/dev/ic/aic79xx.c
7061
ahd_qinfifo_count(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
7079
ahd_reset_cmds_pending(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
7104
ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel,
sys/dev/ic/aic79xx.c
7290
ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel,
sys/dev/ic/aic79xx.c
7365
ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev,
sys/dev/ic/aic79xx.c
7403
ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
sys/dev/ic/aic79xx.c
7433
ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid)
sys/dev/ic/aic79xx.c
7453
ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel,
sys/dev/ic/aic79xx.c
7549
ahd_reset_current_bus(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
7579
ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset)
sys/dev/ic/aic79xx.c
7739
struct ahd_softc *ahd;
sys/dev/ic/aic79xx.c
7780
struct ahd_softc *ahd;
sys/dev/ic/aic79xx.c
7823
ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
7834
ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
8042
ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx.c
812
ahd_run_qoutfifo(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
8146
ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate,
sys/dev/ic/aic79xx.c
8197
ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate)
sys/dev/ic/aic79xx.c
8233
ahd_dumpseq(struct ahd_softc* ahd)
sys/dev/ic/aic79xx.c
8256
ahd_loadseq(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
8412
ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch,
sys/dev/ic/aic79xx.c
8448
ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address)
sys/dev/ic/aic79xx.c
845
ahd_handle_hwerrint(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
8477
ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts)
sys/dev/ic/aic79xx.c
8546
ahd_probe_stack_size(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
8583
struct ahd_softc *list_ahd;
sys/dev/ic/aic79xx.c
8654
ahd_dump_card_state(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
874
ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat)
sys/dev/ic/aic79xx.c
8889
ahd_dump_scbs(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
8922
ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *tbuf,
sys/dev/ic/aic79xx.c
8970
ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *tbuf,
sys/dev/ic/aic79xx.c
9019
ahd_wait_seeprom(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
9087
ahd_acquire_seeprom(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
9111
ahd_release_seeprom(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
9117
ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value)
sys/dev/ic/aic79xx.c
9140
ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value)
sys/dev/ic/aic79xx.c
9161
ahd_wait_flexport(struct ahd_softc *ahd)
sys/dev/ic/aic79xx.c
9178
ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb,
sys/dev/ic/aic79xx.c
9219
ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb)
sys/dev/ic/aic79xx.c
9542
ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask)
sys/dev/ic/aic79xx.c
9583
ahd_run_tqinfifo(struct ahd_softc *ahd, int paused)
sys/dev/ic/aic79xx.c
9622
ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd)
sys/dev/ic/aic79xx_inline.h
102
ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/ic/aic79xx_inline.h
120
ahd_update_modes(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
136
ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode,
sys/dev/ic/aic79xx_inline.h
149
ahd_save_modes(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
159
ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state)
sys/dev/ic/aic79xx_inline.h
176
ahd_is_paused(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
189
ahd_pause(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
212
ahd_unpause(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
232
static __inline void *ahd_sg_setup(struct ahd_softc *, struct scb *,
sys/dev/ic/aic79xx_inline.h
234
static __inline void ahd_setup_scb_common(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
235
static __inline void ahd_setup_data_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
236
static __inline void ahd_setup_noxfer_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
239
ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
sys/dev/ic/aic79xx_inline.h
263
ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
284
ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
321
ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
329
static __inline size_t ahd_sg_size(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
331
ahd_sg_bus_to_virt(struct ahd_softc *, struct scb *,
sys/dev/ic/aic79xx_inline.h
334
ahd_sg_virt_to_bus(struct ahd_softc *, struct scb *,
sys/dev/ic/aic79xx_inline.h
336
static __inline void ahd_sync_scb(struct ahd_softc *, struct scb *, int);
sys/dev/ic/aic79xx_inline.h
337
static __inline void ahd_sync_sglist(struct ahd_softc *, struct scb *, int);
sys/dev/ic/aic79xx_inline.h
338
static __inline void ahd_sync_sense(struct ahd_softc *, struct scb *, int);
sys/dev/ic/aic79xx_inline.h
340
ahd_targetcmd_offset(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
343
ahd_sg_size(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
351
ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr)
sys/dev/ic/aic79xx_inline.h
361
ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg)
sys/dev/ic/aic79xx_inline.h
373
ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/ic/aic79xx_inline.h
381
ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/ic/aic79xx_inline.h
392
ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/ic/aic79xx_inline.h
401
ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index)
sys/dev/ic/aic79xx_inline.h
408
static __inline void ahd_complete_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
409
static __inline void ahd_update_residual(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
411
ahd_fetch_transinfo(struct ahd_softc *, char, u_int,
sys/dev/ic/aic79xx_inline.h
414
ahd_inw(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
415
static __inline void ahd_outw(struct ahd_softc *, u_int, u_int);
sys/dev/ic/aic79xx_inline.h
417
ahd_inl(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
418
static __inline void ahd_outl(struct ahd_softc *, u_int, uint32_t);
sys/dev/ic/aic79xx_inline.h
420
ahd_inq(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
421
static __inline void ahd_outq(struct ahd_softc *, u_int, uint64_t);
sys/dev/ic/aic79xx_inline.h
422
static __inline u_int ahd_get_scbptr(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
423
static __inline void ahd_set_scbptr(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
424
static __inline u_int ahd_get_hnscb_qoff(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
425
static __inline void ahd_set_hnscb_qoff(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
426
static __inline u_int ahd_get_hescb_qoff(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
427
static __inline void ahd_set_hescb_qoff(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
428
static __inline u_int ahd_get_snscb_qoff(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
429
static __inline void ahd_set_snscb_qoff(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
430
static __inline u_int ahd_get_sescb_qoff(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
431
static __inline void ahd_set_sescb_qoff(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
432
static __inline u_int ahd_get_sdscb_qoff(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
433
static __inline void ahd_set_sdscb_qoff(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
434
static __inline u_int ahd_inb_scbram(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
435
static __inline u_int ahd_inw_scbram(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
437
ahd_inl_scbram(struct ahd_softc *, u_int);
sys/dev/ic/aic79xx_inline.h
439
ahd_inq_scbram(struct ahd_softc *ahd, u_int offset);
sys/dev/ic/aic79xx_inline.h
440
static __inline void ahd_swap_with_next_hscb(struct ahd_softc *,
sys/dev/ic/aic79xx_inline.h
442
static __inline void ahd_queue_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
444
ahd_get_sense_buf(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
446
ahd_get_sense_bufaddr(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
447
static __inline void ahd_post_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_inline.h
451
ahd_post_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
463
ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
479
ahd_update_residual(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
493
ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id,
sys/dev/ic/aic79xx_inline.h
515
ahd_inw(struct ahd_softc *ahd, u_int port)
sys/dev/ic/aic79xx_inline.h
521
ahd_outw(struct ahd_softc *ahd, u_int port, u_int value)
sys/dev/ic/aic79xx_inline.h
528
ahd_inl(struct ahd_softc *ahd, u_int port)
sys/dev/ic/aic79xx_inline.h
537
ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value)
sys/dev/ic/aic79xx_inline.h
54
static __inline const char *ahd_name(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
546
ahd_inq(struct ahd_softc *ahd, u_int port)
sys/dev/ic/aic79xx_inline.h
559
ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value)
sys/dev/ic/aic79xx_inline.h
57
ahd_name(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
572
ahd_get_scbptr(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
580
ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr)
sys/dev/ic/aic79xx_inline.h
589
ahd_get_hnscb_qoff(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
595
ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/ic/aic79xx_inline.h
601
ahd_get_hescb_qoff(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
607
ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/ic/aic79xx_inline.h
613
ahd_get_snscb_qoff(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
624
ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/ic/aic79xx_inline.h
63
static __inline void ahd_known_modes(struct ahd_softc *, ahd_mode, ahd_mode);
sys/dev/ic/aic79xx_inline.h
631
ahd_get_sescb_qoff(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
638
ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/ic/aic79xx_inline.h
64
static __inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *,
sys/dev/ic/aic79xx_inline.h
645
ahd_get_sdscb_qoff(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
652
ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/ic/aic79xx_inline.h
66
static __inline void ahd_extract_mode_state(struct ahd_softc *,
sys/dev/ic/aic79xx_inline.h
660
ahd_inb_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/ic/aic79xx_inline.h
68
static __inline void ahd_set_modes(struct ahd_softc *, ahd_mode, ahd_mode);
sys/dev/ic/aic79xx_inline.h
685
ahd_inw_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/ic/aic79xx_inline.h
69
static __inline void ahd_update_modes(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
692
ahd_inl_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/ic/aic79xx_inline.h
699
ahd_inq_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/ic/aic79xx_inline.h
70
static __inline void ahd_assert_modes(struct ahd_softc *, ahd_mode,
sys/dev/ic/aic79xx_inline.h
706
ahd_lookup_scb(struct ahd_softc *ahd, u_int tag)
sys/dev/ic/aic79xx_inline.h
72
static __inline ahd_mode_state ahd_save_modes(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
720
ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
73
static __inline void ahd_restore_modes(struct ahd_softc *, ahd_mode_state);
sys/dev/ic/aic79xx_inline.h
74
static __inline int ahd_is_paused(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
75
static __inline void ahd_pause(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
76
static __inline void ahd_unpause(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
762
ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
79
ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/ic/aic79xx_inline.h
806
ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
812
ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_inline.h
818
static __inline void ahd_sync_qoutfifo(struct ahd_softc *, int);
sys/dev/ic/aic79xx_inline.h
819
static __inline void ahd_sync_tqinfifo(struct ahd_softc *, int);
sys/dev/ic/aic79xx_inline.h
820
static __inline u_int ahd_check_cmdcmpltqueues(struct ahd_softc *);
sys/dev/ic/aic79xx_inline.h
825
ahd_sync_qoutfifo(struct ahd_softc *ahd, int op)
sys/dev/ic/aic79xx_inline.h
832
ahd_sync_tqinfifo(struct ahd_softc *ahd, int op)
sys/dev/ic/aic79xx_inline.h
852
ahd_check_cmdcmpltqueues(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_inline.h
88
ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/ic/aic79xx_inline.h
884
struct ahd_softc *ahd = arg;
sys/dev/ic/aic79xx_inline.h
94
ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state,
sys/dev/ic/aic79xx_osm.c
124
struct ahd_softc *sc = device_private(dev);
sys/dev/ic/aic79xx_osm.c
137
struct ahd_softc *sc = device_private(dev);
sys/dev/ic/aic79xx_osm.c
148
struct ahd_softc *sc = device_private(dev);
sys/dev/ic/aic79xx_osm.c
160
struct ahd_softc *ahd;
sys/dev/ic/aic79xx_osm.c
185
struct ahd_softc *ahd;
sys/dev/ic/aic79xx_osm.c
199
ahd_done(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_osm.c
323
struct ahd_softc *ahd;
sys/dev/ic/aic79xx_osm.c
532
struct ahd_softc *ahd;
sys/dev/ic/aic79xx_osm.c
59
static int ahd_poll(struct ahd_softc *ahd, int wait);
sys/dev/ic/aic79xx_osm.c
60
static void ahd_setup_data(struct ahd_softc *ahd, struct scsipi_xfer *xs,
sys/dev/ic/aic79xx_osm.c
64
static void ahd_set_recoveryscb(struct ahd_softc *ahd, struct scb *scb);
sys/dev/ic/aic79xx_osm.c
662
ahd_poll(struct ahd_softc *ahd, int wait)
sys/dev/ic/aic79xx_osm.c
682
ahd_setup_data(struct ahd_softc *ahd, struct scsipi_xfer *xs,
sys/dev/ic/aic79xx_osm.c
742
struct ahd_softc *ahd;
sys/dev/ic/aic79xx_osm.c
746
ahd = scb->ahd_softc;
sys/dev/ic/aic79xx_osm.c
75
ahd_attach(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.c
781
ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg)
sys/dev/ic/aic79xx_osm.c
789
ahd_platform_free(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.c
795
ahd_softc_comp(struct ahd_softc *lahd, struct ahd_softc *rahd)
sys/dev/ic/aic79xx_osm.c
802
ahd_detach(struct ahd_softc *ahd, int flags)
sys/dev/ic/aic79xx_osm.c
817
ahd_platform_set_tags(struct ahd_softc *ahd,
sys/dev/ic/aic79xx_osm.c
832
ahd_send_async(struct ahd_softc *ahd, char channel, u_int target, u_int lun,
sys/dev/ic/aic79xx_osm.h
236
static __inline void ahd_flush_device_writes(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
239
ahd_flush_device_writes(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
247
static __inline void ahd_lockinit(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
248
static __inline void ahd_lock(struct ahd_softc *, int *);
sys/dev/ic/aic79xx_osm.h
249
static __inline void ahd_unlock(struct ahd_softc *, int *);
sys/dev/ic/aic79xx_osm.h
252
static __inline void ahd_done_lockinit(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
253
static __inline void ahd_done_lock(struct ahd_softc *, unsigned long *);
sys/dev/ic/aic79xx_osm.h
254
static __inline void ahd_done_unlock(struct ahd_softc *, unsigned long *);
sys/dev/ic/aic79xx_osm.h
262
ahd_lockinit(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
267
ahd_lock(struct ahd_softc *ahd, int *flags)
sys/dev/ic/aic79xx_osm.h
273
ahd_unlock(struct ahd_softc *ahd, int *flags)
sys/dev/ic/aic79xx_osm.h
280
ahd_done_lockinit(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
285
ahd_done_lock(struct ahd_softc *ahd, unsigned long *flags)
sys/dev/ic/aic79xx_osm.h
290
ahd_done_unlock(struct ahd_softc *ahd, unsigned long *flags)
sys/dev/ic/aic79xx_osm.h
325
static __inline uint32_t ahd_get_sense_bufsize(struct ahd_softc*, struct scb*);
sys/dev/ic/aic79xx_osm.h
326
static __inline void ahd_freeze_simq(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
327
static __inline void ahd_release_simq(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
329
static __inline void ahd_platform_freeze_devq(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_osm.h
330
static __inline int ahd_platform_abort_scbs(struct ahd_softc *, int,
sys/dev/ic/aic79xx_osm.h
408
ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_osm.h
414
ahd_freeze_simq(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
420
ahd_release_simq(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
437
ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_osm.h
443
ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,
sys/dev/ic/aic79xx_osm.h
452
ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_osm.h
475
int ahd_pci_map_registers(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
476
int ahd_pci_map_int(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
518
void ahd_power_state_change(struct ahd_softc *, ahd_power_state);
sys/dev/ic/aic79xx_osm.h
521
int aic7770_map_registers(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
522
int aic7770_map_int(struct ahd_softc *, int);
sys/dev/ic/aic79xx_osm.h
525
static __inline void ahd_print_path(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_osm.h
526
static __inline void ahd_platform_dump_card_state(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
528
ahd_print_path(struct ahd_softc *ahd, struct scb *scb)
sys/dev/ic/aic79xx_osm.h
534
ahd_platform_dump_card_state(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
539
void ahd_notify_xfer_settings_change(struct ahd_softc *,
sys/dev/ic/aic79xx_osm.h
541
void ahd_platform_set_tags(struct ahd_softc *, struct ahd_devinfo *,
sys/dev/ic/aic79xx_osm.h
545
int ahd_platform_alloc(struct ahd_softc *, void *);
sys/dev/ic/aic79xx_osm.h
546
void ahd_platform_free(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
547
int ahd_map_int(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
548
int ahd_attach(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
549
int ahd_softc_comp(struct ahd_softc *, struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
550
int ahd_detach(struct ahd_softc *, int);
sys/dev/ic/aic79xx_osm.h
556
static __inline void ahd_platform_flushwork(struct ahd_softc *);
sys/dev/ic/aic79xx_osm.h
558
ahd_platform_flushwork(struct ahd_softc *ahd)
sys/dev/ic/aic79xx_osm.h
564
void ahd_done(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xx_osm.h
565
void ahd_send_async(struct ahd_softc *, char, u_int, u_int, ac_code, void *);
sys/dev/ic/aic79xxvar.h
1042
typedef int (*ahd_bus_intr_t)(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1174
TAILQ_ENTRY(ahd_softc) links;
sys/dev/ic/aic79xxvar.h
1267
TAILQ_HEAD(ahd_softc_tailq, ahd_softc);
sys/dev/ic/aic79xxvar.h
1323
typedef int (ahd_device_setup_t)(struct ahd_softc *, struct pci_attach_args *);
sys/dev/ic/aic79xxvar.h
1347
void ahd_reset_cmds_pending(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1348
u_int ahd_find_busy_tcl(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1349
void ahd_busy_tcl(struct ahd_softc *, u_int, u_int);
sys/dev/ic/aic79xxvar.h
1350
static __inline void ahd_unbusy_tcl(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1352
ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
sys/dev/ic/aic79xxvar.h
1358
int ahd_probe_scbs(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1359
void ahd_qinfifo_requeue_tail(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1361
int ahd_match_scb(struct ahd_softc *, struct scb *,
sys/dev/ic/aic79xxvar.h
1366
int ahd_softc_init(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1367
void ahd_controller_info(struct ahd_softc *, char *, size_t);
sys/dev/ic/aic79xxvar.h
1368
int ahd_init(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1369
int ahd_default_config(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1370
int ahd_parse_vpddata(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1372
int ahd_parse_cfgdata(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1374
void ahd_intr_enable(struct ahd_softc *, int);
sys/dev/ic/aic79xxvar.h
1375
void ahd_update_coalescing_values(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1377
void ahd_enable_coalescing(struct ahd_softc *, int);
sys/dev/ic/aic79xxvar.h
1378
void ahd_pause_and_flushwork(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1379
int ahd_suspend(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1380
int ahd_resume(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1381
void ahd_set_unit(struct ahd_softc *, int);
sys/dev/ic/aic79xxvar.h
1382
void ahd_set_name(struct ahd_softc *, const char *);
sys/dev/ic/aic79xxvar.h
1383
struct scb *ahd_get_scb(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1384
void ahd_free_scb(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xxvar.h
1385
int ahd_alloc_scbs(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1386
void ahd_free(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1387
int ahd_reset(struct ahd_softc *, int);
sys/dev/ic/aic79xxvar.h
1389
int ahd_write_flexport(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1391
int ahd_read_flexport(struct ahd_softc *, u_int,
sys/dev/ic/aic79xxvar.h
1393
int ahd_wait_flexport(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1396
void ahd_clear_intstat(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1397
void ahd_flush_qoutfifo(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1398
void ahd_run_qoutfifo(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1399
void ahd_run_post_qoutfifo(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1401
void ahd_run_tqinfifo(struct ahd_softc *, int);
sys/dev/ic/aic79xxvar.h
1403
void ahd_handle_hwerrint(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1404
void ahd_handle_seqint(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1405
void ahd_handle_scsiint(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1406
void ahd_clear_critical_section(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1415
int ahd_search_qinfifo(struct ahd_softc *, int, char, int,
sys/dev/ic/aic79xxvar.h
1417
int ahd_search_disc_list(struct ahd_softc *, int, char,
sys/dev/ic/aic79xxvar.h
1419
void ahd_freeze_devq(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xxvar.h
1420
int ahd_reset_channel(struct ahd_softc *, char, int);
sys/dev/ic/aic79xxvar.h
1421
int ahd_abort_scbs(struct ahd_softc *, int, char, int,
sys/dev/ic/aic79xxvar.h
1423
void ahd_restart(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1424
void ahd_clear_fifo(struct ahd_softc *, u_int);
sys/dev/ic/aic79xxvar.h
1425
void ahd_handle_scb_status(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xxvar.h
1426
void ahd_handle_scsi_status(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1428
void ahd_calc_residual(struct ahd_softc *, struct scb *);
sys/dev/ic/aic79xxvar.h
1435
void ahd_find_syncrate(struct ahd_softc *, u_int *,
sys/dev/ic/aic79xxvar.h
1437
void ahd_validate_offset(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1440
void ahd_validate_width(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1451
int ahd_update_neg_request(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1454
void ahd_set_width(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1456
void ahd_set_syncrate(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1465
void ahd_set_tags(struct ahd_softc *, struct ahd_devinfo *,
sys/dev/ic/aic79xxvar.h
1470
void ahd_send_lstate_events(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1472
void ahd_handle_en_lun(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1474
cam_status ahd_find_tmode_devs(struct ahd_softc *, struct cam_sim *,
sys/dev/ic/aic79xxvar.h
1504
void ahd_print_devinfo(struct ahd_softc *,
sys/dev/ic/aic79xxvar.h
1508
void ahd_dump_card_state(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
1511
void ahd_dump_scbs(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
636
struct ahd_softc *ahd_softc;
sys/dev/ic/aic79xxvar.h
983
int ahd_read_seeprom(struct ahd_softc *, uint16_t *, u_int, u_int,
sys/dev/ic/aic79xxvar.h
986
int ahd_write_seeprom(struct ahd_softc *, uint16_t *, u_int, u_int);
sys/dev/ic/aic79xxvar.h
987
int ahd_wait_seeprom(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
990
int ahd_acquire_seeprom(struct ahd_softc *);
sys/dev/ic/aic79xxvar.h
991
void ahd_release_seeprom(struct ahd_softc *);
sys/dev/microcode/aic7xxx/aic79xx_seq.h
796
typedef int ahd_patch_func_t (struct ahd_softc *ahd);
sys/dev/microcode/aic7xxx/aic79xx_seq.h
800
ahd_patch22_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
808
ahd_patch21_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
816
ahd_patch20_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
824
ahd_patch19_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
832
ahd_patch18_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
840
ahd_patch17_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
848
ahd_patch16_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
856
ahd_patch15_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
864
ahd_patch14_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
872
ahd_patch13_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
880
ahd_patch12_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
888
ahd_patch11_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
896
ahd_patch10_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
904
ahd_patch9_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
912
ahd_patch8_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
920
ahd_patch7_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
928
ahd_patch6_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
936
ahd_patch5_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
944
ahd_patch4_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
952
ahd_patch3_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
960
ahd_patch2_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
968
ahd_patch1_func(struct ahd_softc *ahd)
sys/dev/microcode/aic7xxx/aic79xx_seq.h
976
ahd_patch0_func(struct ahd_softc *ahd)
sys/dev/pci/ahd_pci.c
1010
ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat)
sys/dev/pci/ahd_pci.c
1082
ahd_aic7901_setup(struct ahd_softc *ahd, struct pci_attach_args *pa)
sys/dev/pci/ahd_pci.c
1091
ahd_aic7901A_setup(struct ahd_softc *ahd, struct pci_attach_args *pa)
sys/dev/pci/ahd_pci.c
1100
ahd_aic7902_setup(struct ahd_softc *ahd, struct pci_attach_args *pa)
sys/dev/pci/ahd_pci.c
1109
ahd_aic790X_setup(struct ahd_softc *ahd, struct pci_attach_args *pa)
sys/dev/pci/ahd_pci.c
269
static int ahd_check_extport(struct ahd_softc *ahd);
sys/dev/pci/ahd_pci.c
270
static void ahd_configure_termination(struct ahd_softc *ahd,
sys/dev/pci/ahd_pci.c
272
static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
sys/dev/pci/ahd_pci.c
274
static int ahd_pci_test_register_access(struct ahd_softc *);
sys/dev/pci/ahd_pci.c
276
static int ahd_pci_intr(struct ahd_softc *);
sys/dev/pci/ahd_pci.c
312
struct ahd_softc *ahd = device_private(self);
sys/dev/pci/ahd_pci.c
566
CFATTACH_DECL_NEW(ahd_pci, sizeof(struct ahd_softc),
sys/dev/pci/ahd_pci.c
574
ahd_pci_test_register_access(struct ahd_softc *ahd)
sys/dev/pci/ahd_pci.c
667
ahd_check_extport(struct ahd_softc *ahd)
sys/dev/pci/ahd_pci.c
801
ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control)
sys/dev/pci/ahd_pci.c
950
ahd_pci_intr(struct ahd_softc *ahd)