sys/dev/aic7xxx/ahd_pci.c
137
ahd_pci_map_registers(struct ahd_softc *ahd)
sys/dev/aic7xxx/ahd_pci.c
233
ahd_pci_map_int(struct ahd_softc *ahd)
sys/dev/aic7xxx/ahd_pci.c
50
sizeof(struct ahd_softc)
sys/dev/aic7xxx/ahd_pci.c
74
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx.c
10128
ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask)
sys/dev/aic7xxx/aic79xx.c
10168
ahd_run_tqinfifo(struct ahd_softc *ahd, int paused)
sys/dev/aic7xxx/aic79xx.c
10205
ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd)
sys/dev/aic7xxx/aic79xx.c
104
static void ahd_handle_transmission_error(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
105
static void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
107
static int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
109
static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
110
static void ahd_handle_proto_violation(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
111
static void ahd_force_renegotiation(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
115
ahd_alloc_tstate(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
118
static void ahd_free_tstate(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
121
static void ahd_devlimited_syncrate(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
126
static void ahd_update_neg_table(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
129
static void ahd_update_pending_scbs(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
130
static void ahd_fetch_devinfo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
132
static void ahd_scb_devinfo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
135
static void ahd_setup_initiator_msgout(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
138
static void ahd_build_transfer_msg(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
140
static void ahd_construct_sdtr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
143
static void ahd_construct_wdtr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
146
static void ahd_construct_ppr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
150
static void ahd_clear_msg_state(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
151
static void ahd_handle_message_phase(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
1523
ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat)
sys/dev/aic7xxx/aic79xx.c
157
static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type,
sys/dev/aic7xxx/aic79xx.c
159
static int ahd_parse_msg(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
161
static int ahd_handle_msg_reject(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
163
static void ahd_handle_ign_wide_residue(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
165
static void ahd_reinitialize_dataptrs(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
166
static void ahd_handle_devreset(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
171
static void ahd_setup_target_msgin(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
176
static u_int ahd_sglist_size(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
177
static u_int ahd_sglist_allocsize(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
1795
ahd_handle_transmission_error(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
180
static void ahd_initialize_hscbs(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
181
static int ahd_init_scbdata(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
182
static void ahd_fini_scbdata(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
183
static void ahd_setup_iocell_workaround(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
184
static void ahd_iocell_first_selection(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
185
static void ahd_add_col_list(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
187
static void ahd_rem_col_list(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
189
static void ahd_chip_init(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
190
static void ahd_qinfifo_requeue(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
193
static int ahd_qinfifo_count(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
194
static int ahd_search_scb_list(struct ahd_softc *ahd, int target,
sys/dev/aic7xxx/aic79xx.c
1985
ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1)
sys/dev/aic7xxx/aic79xx.c
200
static void ahd_stitch_tid_list(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
203
static void ahd_add_scb_to_free_list(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
2030
ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime)
sys/dev/aic7xxx/aic79xx.c
205
static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
sys/dev/aic7xxx/aic79xx.c
207
static void ahd_reset_current_bus(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
211
static void ahd_dumpseq(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
213
static void ahd_loadseq(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
214
static int ahd_check_patch(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
2164
ahd_handle_nonpkt_busfree(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
217
static u_int ahd_resolve_seqaddr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
219
static void ahd_download_instr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
221
static int ahd_probe_stack_size(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
222
static int ahd_other_scb_timeout(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
225
static int ahd_scb_active_in_fifo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
227
static void ahd_run_data_fifo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
231
static void ahd_queue_lstate_event(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
236
static void ahd_update_scsiid(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
238
static int ahd_handle_target_cmd(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
243
static __inline void ahd_assert_atn(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
2438
ahd_handle_proto_violation(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
244
static __inline int ahd_currently_packetized(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
245
static __inline int ahd_set_active_fifo(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.c
248
ahd_assert_atn(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
2542
ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
2564
ahd_clear_critical_section(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
260
ahd_currently_packetized(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
2687
ahd_clear_intstat(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
2748
if ((scb->ahd_softc->flags & AHD_64BIT_ADDRESSING) != 0) {
sys/dev/aic7xxx/aic79xx.c
2789
ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel)
sys/dev/aic7xxx/aic79xx.c
283
ahd_set_active_fifo(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
2831
ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force)
sys/dev/aic7xxx/aic79xx.c
2857
ahd_devlimited_syncrate(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
2906
ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
sys/dev/aic7xxx/aic79xx.c
2945
ahd_validate_offset(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.c
2976
ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo,
sys/dev/aic7xxx/aic79xx.c
3006
ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
304
ahd_restart(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
3049
ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3194
ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3247
ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3256
ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3366
ahd_update_pending_scbs(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
3448
ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
348
ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo)
sys/dev/aic7xxx/aic79xx.c
3483
ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
3523
ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3545
ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3669
ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
372
ahd_flush_qoutfifo(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
3764
ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3787
ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3807
ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
3841
ahd_clear_msg_state(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
3869
ahd_handle_message_phase(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
4208
ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full)
sys/dev/aic7xxx/aic79xx.c
4255
ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
4672
ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
4841
ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
sys/dev/aic7xxx/aic79xx.c
4979
ahd_reinitialize_dataptrs(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5061
ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
5128
ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
sys/dev/aic7xxx/aic79xx.c
5151
ahd_sglist_size(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5168
ahd_sglist_allocsize(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5212
struct ahd_softc *
sys/dev/aic7xxx/aic79xx.c
5215
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx.c
5263
ahd_softc_init(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5272
ahd_softc_insert(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5274
struct ahd_softc *list_ahd;
sys/dev/aic7xxx/aic79xx.c
5290
struct ahd_softc *master;
sys/dev/aic7xxx/aic79xx.c
5291
struct ahd_softc *slave;
sys/dev/aic7xxx/aic79xx.c
5324
ahd_set_unit(struct ahd_softc *ahd, int unit)
sys/dev/aic7xxx/aic79xx.c
5330
ahd_set_name(struct ahd_softc *ahd, char *name)
sys/dev/aic7xxx/aic79xx.c
5338
ahd_free(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5407
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx.c
5409
ahd = (struct ahd_softc *)arg;
sys/dev/aic7xxx/aic79xx.c
5431
ahd_reset(struct ahd_softc *ahd, int reinit)
sys/dev/aic7xxx/aic79xx.c
5535
ahd_probe_scbs(struct ahd_softc *ahd) {
sys/dev/aic7xxx/aic79xx.c
5568
ahd_initialize_hscbs(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5584
ahd_init_scbdata(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5687
ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag)
sys/dev/aic7xxx/aic79xx.c
5725
ahd_fini_scbdata(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5794
ahd_setup_iocell_workaround(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
581
ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
5812
ahd_iocell_first_selection(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
5843
ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx)
sys/dev/aic7xxx/aic79xx.c
5863
ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
5897
ahd_get_scb(struct ahd_softc *ahd, u_int col_idx)
sys/dev/aic7xxx/aic79xx.c
5933
ahd_free_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
5983
ahd_alloc_scbs(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
610
ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
6155
next_scb->ahd_softc = ahd;
sys/dev/aic7xxx/aic79xx.c
6184
ahd_controller_info(struct ahd_softc *ahd, char *buf)
sys/dev/aic7xxx/aic79xx.c
6225
ahd_init(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
6470
ahd_chip_init(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
6800
ahd_default_config(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
6878
ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc)
sys/dev/aic7xxx/aic79xx.c
7013
ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd)
sys/dev/aic7xxx/aic79xx.c
7026
ahd_intr_enable(struct ahd_softc *ahd, int enable)
sys/dev/aic7xxx/aic79xx.c
7043
ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds,
sys/dev/aic7xxx/aic79xx.c
7061
ahd_enable_coalescing(struct ahd_softc *ahd, int enable)
sys/dev/aic7xxx/aic79xx.c
7080
ahd_pause_and_flushwork(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7132
ahd_suspend(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7146
ahd_resume(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7165
ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)
sys/dev/aic7xxx/aic79xx.c
7187
ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl)
sys/dev/aic7xxx/aic79xx.c
7200
ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid)
sys/dev/aic7xxx/aic79xx.c
7212
ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
sys/dev/aic7xxx/aic79xx.c
7248
ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
7266
ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
7288
ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb,
sys/dev/aic7xxx/aic79xx.c
7308
ahd_qinfifo_count(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7326
ahd_reset_cmds_pending(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7351
ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status)
sys/dev/aic7xxx/aic79xx.c
7366
ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel,
sys/dev/aic7xxx/aic79xx.c
7595
ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel,
sys/dev/aic7xxx/aic79xx.c
7662
ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev,
sys/dev/aic7xxx/aic79xx.c
7698
ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
sys/dev/aic7xxx/aic79xx.c
7731
ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid)
sys/dev/aic7xxx/aic79xx.c
7749
ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel,
sys/dev/aic7xxx/aic79xx.c
7845
ahd_reset_current_bus(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
7875
ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset)
sys/dev/aic7xxx/aic79xx.c
8030
struct ahd_softc *ahd = (struct ahd_softc *)arg;
sys/dev/aic7xxx/aic79xx.c
8060
struct ahd_softc *ahd = (struct ahd_softc *)arg;
sys/dev/aic7xxx/aic79xx.c
8092
ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
8103
ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
8329
ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx.c
842
ahd_run_qoutfifo(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
8432
ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate,
sys/dev/aic7xxx/aic79xx.c
8483
ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate)
sys/dev/aic7xxx/aic79xx.c
8518
ahd_dumpseq(struct ahd_softc* ahd)
sys/dev/aic7xxx/aic79xx.c
8540
ahd_loadseq(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
8698
ahd_check_patch(struct ahd_softc *ahd, struct patch **start_patch,
sys/dev/aic7xxx/aic79xx.c
8732
ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address)
sys/dev/aic7xxx/aic79xx.c
8760
ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts)
sys/dev/aic7xxx/aic79xx.c
882
ahd_handle_hwerrint(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
8829
ahd_probe_stack_size(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
8866
struct ahd_softc *list_ahd;
sys/dev/aic7xxx/aic79xx.c
8927
ahd_dump_card_state(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
913
ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat)
sys/dev/aic7xxx/aic79xx.c
9191
ahd_dump_scbs(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9220
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx.c
9222
ahd = scb->ahd_softc;
sys/dev/aic7xxx/aic79xx.c
9241
ahd_recover_commands(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9471
ahd_other_scb_timeout(struct ahd_softc *ahd, struct scb *scb,
sys/dev/aic7xxx/aic79xx.c
9524
ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
sys/dev/aic7xxx/aic79xx.c
9568
ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
sys/dev/aic7xxx/aic79xx.c
9617
ahd_wait_seeprom(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9685
ahd_acquire_seeprom(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9708
ahd_release_seeprom(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9714
ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value)
sys/dev/aic7xxx/aic79xx.c
9737
ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value)
sys/dev/aic7xxx/aic79xx.c
9758
ahd_wait_flexport(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx.c
9775
ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb,
sys/dev/aic7xxx/aic79xx.c
9816
ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb)
sys/dev/aic7xxx/aic79xx.h
1042
typedef void (*ahd_bus_intr_t)(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1220
TAILQ_ENTRY(ahd_softc) links;
sys/dev/aic7xxx/aic79xx.h
1310
TAILQ_HEAD(ahd_softc_tailq, ahd_softc);
sys/dev/aic7xxx/aic79xx.h
1366
typedef int (ahd_device_setup_t)(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1379
void ahd_reset_cmds_pending(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1380
u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
sys/dev/aic7xxx/aic79xx.h
1381
void ahd_busy_tcl(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1383
static __inline void ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl);
sys/dev/aic7xxx/aic79xx.h
1385
ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
sys/dev/aic7xxx/aic79xx.h
1392
int ahd_pci_config(struct ahd_softc *,
sys/dev/aic7xxx/aic79xx.h
1394
int ahd_pci_test_register_access(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1397
int ahd_probe_scbs(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1398
void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1400
int ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
sys/dev/aic7xxx/aic79xx.h
1405
struct ahd_softc *ahd_alloc(void *platform_arg, char *name);
sys/dev/aic7xxx/aic79xx.h
1406
int ahd_softc_init(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1407
void ahd_controller_info(struct ahd_softc *ahd, char *buf);
sys/dev/aic7xxx/aic79xx.h
1408
int ahd_init(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1409
int ahd_default_config(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1410
int ahd_parse_vpddata(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1412
int ahd_parse_cfgdata(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1414
void ahd_intr_enable(struct ahd_softc *ahd, int enable);
sys/dev/aic7xxx/aic79xx.h
1415
void ahd_update_coalescing_values(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1419
void ahd_enable_coalescing(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1421
void ahd_pause_and_flushwork(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1422
int ahd_suspend(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1423
int ahd_resume(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1424
void ahd_softc_insert(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx.h
1425
void ahd_set_unit(struct ahd_softc *, int);
sys/dev/aic7xxx/aic79xx.h
1426
void ahd_set_name(struct ahd_softc *, char *);
sys/dev/aic7xxx/aic79xx.h
1427
struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
sys/dev/aic7xxx/aic79xx.h
1428
void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
sys/dev/aic7xxx/aic79xx.h
1429
int ahd_alloc_scbs(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1430
void ahd_free(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1431
int ahd_reset(struct ahd_softc *ahd, int reinit);
sys/dev/aic7xxx/aic79xx.h
1433
int ahd_write_flexport(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1435
int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
sys/dev/aic7xxx/aic79xx.h
1437
int ahd_wait_flexport(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1440
void ahd_pci_intr(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1441
void ahd_clear_intstat(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1442
void ahd_flush_qoutfifo(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1443
void ahd_run_qoutfifo(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1445
void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused);
sys/dev/aic7xxx/aic79xx.h
1447
void ahd_handle_hwerrint(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1448
void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
sys/dev/aic7xxx/aic79xx.h
1449
void ahd_handle_scsiint(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1451
void ahd_clear_critical_section(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1460
void ahd_done_with_status(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1462
int ahd_search_qinfifo(struct ahd_softc *ahd, int target,
sys/dev/aic7xxx/aic79xx.h
1466
int ahd_search_disc_list(struct ahd_softc *ahd, int target,
sys/dev/aic7xxx/aic79xx.h
1470
void ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
sys/dev/aic7xxx/aic79xx.h
1471
int ahd_reset_channel(struct ahd_softc *ahd, char channel,
sys/dev/aic7xxx/aic79xx.h
1473
int ahd_abort_scbs(struct ahd_softc *ahd, int target,
sys/dev/aic7xxx/aic79xx.h
1476
void ahd_restart(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1477
void ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo);
sys/dev/aic7xxx/aic79xx.h
1478
void ahd_handle_scb_status(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1480
void ahd_handle_scsi_status(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1482
void ahd_calc_residual(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1485
void ahd_recover_commands(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1494
void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
sys/dev/aic7xxx/aic79xx.h
1496
void ahd_validate_offset(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1500
void ahd_validate_width(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1513
int ahd_update_neg_request(struct ahd_softc*,
sys/dev/aic7xxx/aic79xx.h
1518
void ahd_set_width(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1521
void ahd_set_syncrate(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1532
void ahd_set_tags(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1538
void ahd_send_lstate_events(struct ahd_softc *,
sys/dev/aic7xxx/aic79xx.h
1540
void ahd_handle_en_lun(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1542
cam_status ahd_find_tmode_devs(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1574
void ahd_print_devinfo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx.h
1578
void ahd_dump_card_state(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
1586
void ahd_dump_scbs(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
626
struct ahd_softc *ahd_softc;
sys/dev/aic7xxx/aic79xx.h
982
int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
sys/dev/aic7xxx/aic79xx.h
985
int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
sys/dev/aic7xxx/aic79xx.h
987
int ahd_wait_seeprom(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
990
int ahd_acquire_seeprom(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx.h
991
void ahd_release_seeprom(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
103
ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/aic7xxx/aic79xx_inline.h
121
ahd_update_modes(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
137
ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode,
sys/dev/aic7xxx/aic79xx_inline.h
150
ahd_save_modes(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
160
ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state)
sys/dev/aic7xxx/aic79xx_inline.h
177
ahd_is_paused(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
190
ahd_pause(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
213
ahd_unpause(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
233
static __inline void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
sys/dev/aic7xxx/aic79xx_inline.h
236
static __inline void ahd_setup_scb_common(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
238
static __inline void ahd_setup_data_scb(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
240
static __inline void ahd_setup_noxfer_scb(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
244
ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
sys/dev/aic7xxx/aic79xx_inline.h
268
ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
289
ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
326
ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
334
static __inline size_t ahd_sg_size(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
336
ahd_sg_bus_to_virt(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
340
ahd_sg_virt_to_bus(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
343
static __inline void ahd_sync_scb(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
345
static __inline void ahd_sync_sglist(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
347
static __inline void ahd_sync_sense(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
350
ahd_targetcmd_offset(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
354
ahd_sg_size(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
362
ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr)
sys/dev/aic7xxx/aic79xx_inline.h
372
ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg)
sys/dev/aic7xxx/aic79xx_inline.h
384
ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/aic7xxx/aic79xx_inline.h
393
ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/aic7xxx/aic79xx_inline.h
405
ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op)
sys/dev/aic7xxx/aic79xx_inline.h
414
ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index)
sys/dev/aic7xxx/aic79xx_inline.h
421
static __inline void ahd_complete_scb(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
423
static __inline void ahd_update_residual(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
426
ahd_fetch_transinfo(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
431
ahd_inw(struct ahd_softc *ahd, u_int port);
sys/dev/aic7xxx/aic79xx_inline.h
432
static __inline void ahd_outw(struct ahd_softc *ahd, u_int port,
sys/dev/aic7xxx/aic79xx_inline.h
435
ahd_inl(struct ahd_softc *ahd, u_int port);
sys/dev/aic7xxx/aic79xx_inline.h
436
static __inline void ahd_outl(struct ahd_softc *ahd, u_int port,
sys/dev/aic7xxx/aic79xx_inline.h
439
ahd_inq(struct ahd_softc *ahd, u_int port);
sys/dev/aic7xxx/aic79xx_inline.h
440
static __inline void ahd_outq(struct ahd_softc *ahd, u_int port,
sys/dev/aic7xxx/aic79xx_inline.h
442
static __inline u_int ahd_get_scbptr(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
443
static __inline void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr);
sys/dev/aic7xxx/aic79xx_inline.h
444
static __inline u_int ahd_get_hnscb_qoff(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
445
static __inline void ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value);
sys/dev/aic7xxx/aic79xx_inline.h
446
static __inline u_int ahd_get_hescb_qoff(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
447
static __inline void ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value);
sys/dev/aic7xxx/aic79xx_inline.h
448
static __inline u_int ahd_get_snscb_qoff(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
449
static __inline void ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value);
sys/dev/aic7xxx/aic79xx_inline.h
450
static __inline u_int ahd_get_sescb_qoff(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
451
static __inline void ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value);
sys/dev/aic7xxx/aic79xx_inline.h
452
static __inline u_int ahd_get_sdscb_qoff(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
453
static __inline void ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value);
sys/dev/aic7xxx/aic79xx_inline.h
454
static __inline u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset);
sys/dev/aic7xxx/aic79xx_inline.h
455
static __inline u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset);
sys/dev/aic7xxx/aic79xx_inline.h
457
ahd_inl_scbram(struct ahd_softc *ahd, u_int offset);
sys/dev/aic7xxx/aic79xx_inline.h
459
ahd_inq_scbram(struct ahd_softc *ahd, u_int offset);
sys/dev/aic7xxx/aic79xx_inline.h
460
static __inline void ahd_swap_with_next_hscb(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
462
static __inline void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb);
sys/dev/aic7xxx/aic79xx_inline.h
464
ahd_get_sense_buf(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
467
ahd_get_sense_bufaddr(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
471
ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
487
ahd_update_residual(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
49
static __inline char *ahd_name(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
501
ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id,
sys/dev/aic7xxx/aic79xx_inline.h
52
ahd_name(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
523
ahd_inw(struct ahd_softc *ahd, u_int port)
sys/dev/aic7xxx/aic79xx_inline.h
534
ahd_outw(struct ahd_softc *ahd, u_int port, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
545
ahd_inl(struct ahd_softc *ahd, u_int port)
sys/dev/aic7xxx/aic79xx_inline.h
554
ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value)
sys/dev/aic7xxx/aic79xx_inline.h
563
ahd_inq(struct ahd_softc *ahd, u_int port)
sys/dev/aic7xxx/aic79xx_inline.h
576
ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value)
sys/dev/aic7xxx/aic79xx_inline.h
58
static __inline void ahd_known_modes(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
589
ahd_get_scbptr(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
597
ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr)
sys/dev/aic7xxx/aic79xx_inline.h
60
static __inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
606
ahd_get_hnscb_qoff(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
612
ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
618
ahd_get_hescb_qoff(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
624
ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
63
static __inline void ahd_extract_mode_state(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
630
ahd_get_snscb_qoff(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
641
ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
648
ahd_get_sescb_qoff(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
655
ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
66
static __inline void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
sys/dev/aic7xxx/aic79xx_inline.h
662
ahd_get_sdscb_qoff(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
669
ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value)
sys/dev/aic7xxx/aic79xx_inline.h
677
ahd_inb_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/aic7xxx/aic79xx_inline.h
68
static __inline void ahd_update_modes(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
69
static __inline void ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode,
sys/dev/aic7xxx/aic79xx_inline.h
702
ahd_inw_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/aic7xxx/aic79xx_inline.h
709
ahd_inl_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/aic7xxx/aic79xx_inline.h
716
ahd_inq_scbram(struct ahd_softc *ahd, u_int offset)
sys/dev/aic7xxx/aic79xx_inline.h
72
static __inline ahd_mode_state ahd_save_modes(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
723
ahd_lookup_scb(struct ahd_softc *ahd, u_int tag)
sys/dev/aic7xxx/aic79xx_inline.h
73
static __inline void ahd_restore_modes(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_inline.h
737
ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
75
static __inline int ahd_is_paused(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
76
static __inline void ahd_pause(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
77
static __inline void ahd_unpause(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
776
ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
80
ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/aic7xxx/aic79xx_inline.h
821
ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
827
ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_inline.h
833
static __inline void ahd_sync_qoutfifo(struct ahd_softc *ahd, int op);
sys/dev/aic7xxx/aic79xx_inline.h
834
static __inline void ahd_sync_tqinfifo(struct ahd_softc *ahd, int op);
sys/dev/aic7xxx/aic79xx_inline.h
835
static __inline u_int ahd_check_cmdcmpltqueues(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
836
static __inline int ahd_intr(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_inline.h
839
ahd_sync_qoutfifo(struct ahd_softc *ahd, int op)
sys/dev/aic7xxx/aic79xx_inline.h
847
ahd_sync_tqinfifo(struct ahd_softc *ahd, int op)
sys/dev/aic7xxx/aic79xx_inline.h
867
ahd_check_cmdcmpltqueues(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
89
ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
sys/dev/aic7xxx/aic79xx_inline.h
897
ahd_intr(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_inline.h
95
ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state,
sys/dev/aic7xxx/aic79xx_osm.c
1067
ahd_setup_data(struct ahd_softc *ahd, struct cam_sim *sim,
sys/dev/aic7xxx/aic79xx_osm.c
108
struct ahd_softc *sc;
sys/dev/aic7xxx/aic79xx_osm.c
1135
ahd_abort_ccb(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb)
sys/dev/aic7xxx/aic79xx_osm.c
1220
ahd_send_async(struct ahd_softc *ahd, char channel, u_int target,
sys/dev/aic7xxx/aic79xx_osm.c
125
struct ahd_softc *sc;
sys/dev/aic7xxx/aic79xx_osm.c
1266
ahd_platform_set_tags(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_osm.c
1272
ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg)
sys/dev/aic7xxx/aic79xx_osm.c
1282
ahd_platform_free(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.c
1318
ahd_softc_comp(struct ahd_softc *lahd, struct ahd_softc *rahd)
sys/dev/aic7xxx/aic79xx_osm.c
1327
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx_osm.c
1384
static struct ahd_softc *ahd_ddb_softc;
sys/dev/aic7xxx/aic79xx_osm.c
1389
struct ahd_softc *list_ahd;
sys/dev/aic7xxx/aic79xx_osm.c
139
ahd_create_path(struct ahd_softc *ahd, char channel, u_int target,
sys/dev/aic7xxx/aic79xx_osm.c
150
ahd_sysctl(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.c
192
ahd_map_int(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.c
210
ahd_attach(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.c
297
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx_osm.c
299
ahd = (struct ahd_softc *)arg;
sys/dev/aic7xxx/aic79xx_osm.c
306
ahd_sync_ccb(struct ahd_softc *ahd, struct scb *scb, union ccb *ccb, bool post)
sys/dev/aic7xxx/aic79xx_osm.c
330
ahd_done(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_osm.c
464
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx_osm.c
473
ahd = (struct ahd_softc *)cam_sim_softc(sim);
sys/dev/aic7xxx/aic79xx_osm.c
58
static void ahd_set_tran_settings(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_osm.c
61
static void ahd_get_tran_settings(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_osm.c
69
static void ahd_setup_data(struct ahd_softc *ahd, struct cam_sim *sim,
sys/dev/aic7xxx/aic79xx_osm.c
71
static void ahd_abort_ccb(struct ahd_softc *ahd, struct cam_sim *sim,
sys/dev/aic7xxx/aic79xx_osm.c
73
static int ahd_create_path(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_osm.c
731
ahd_set_tran_settings(struct ahd_softc *ahd, int our_id, char channel,
sys/dev/aic7xxx/aic79xx_osm.c
847
ahd_get_tran_settings(struct ahd_softc *ahd, int our_id, char channel,
sys/dev/aic7xxx/aic79xx_osm.c
915
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx_osm.c
919
ahd = (struct ahd_softc *)cam_sim_softc(sim);
sys/dev/aic7xxx/aic79xx_osm.c
953
struct ahd_softc *ahd;
sys/dev/aic7xxx/aic79xx_osm.c
960
ahd = scb->ahd_softc;
sys/dev/aic7xxx/aic79xx_osm.h
175
static __inline void ahd_flush_device_writes(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx_osm.h
178
ahd_flush_device_writes(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
186
static __inline void ahd_lockinit(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx_osm.h
187
static __inline void ahd_lock(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx_osm.h
188
static __inline void ahd_unlock(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx_osm.h
191
ahd_lockinit(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
197
ahd_lock(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
203
ahd_unlock(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
209
int ahd_pci_map_registers(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
210
int ahd_pci_map_int(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
228
static __inline void ahd_print_path(struct ahd_softc *, struct scb *);
sys/dev/aic7xxx/aic79xx_osm.h
229
static __inline void ahd_platform_dump_card_state(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
232
ahd_print_path(struct ahd_softc *ahd, struct scb *scb)
sys/dev/aic7xxx/aic79xx_osm.h
238
ahd_platform_dump_card_state(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
243
void ahd_notify_xfer_settings_change(struct ahd_softc *,
sys/dev/aic7xxx/aic79xx_osm.h
245
void ahd_platform_set_tags(struct ahd_softc *, struct ahd_devinfo *,
sys/dev/aic7xxx/aic79xx_osm.h
249
int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg);
sys/dev/aic7xxx/aic79xx_osm.h
250
void ahd_platform_free(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
251
int ahd_map_int(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
252
int ahd_attach(struct ahd_softc *);
sys/dev/aic7xxx/aic79xx_osm.h
253
int ahd_softc_comp(struct ahd_softc *lahd, struct ahd_softc *rahd);
sys/dev/aic7xxx/aic79xx_osm.h
254
void ahd_sysctl(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
260
static __inline void ahd_platform_flushwork(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_osm.h
262
ahd_platform_flushwork(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_osm.h
267
void ahd_done(struct ahd_softc *ahd, struct scb *scb);
sys/dev/aic7xxx/aic79xx_osm.h
268
void ahd_send_async(struct ahd_softc *, char /*channel*/,
sys/dev/aic7xxx/aic79xx_pci.c
275
static int ahd_check_extport(struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_pci.c
276
static void ahd_configure_termination(struct ahd_softc *ahd,
sys/dev/aic7xxx/aic79xx_pci.c
278
static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
sys/dev/aic7xxx/aic79xx_pci.c
330
ahd_pci_config(struct ahd_softc *ahd, struct ahd_pci_identity *entry)
sys/dev/aic7xxx/aic79xx_pci.c
453
ahd_pci_test_register_access(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
546
ahd_check_extport(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
679
ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control)
sys/dev/aic7xxx/aic79xx_pci.c
823
ahd_pci_intr(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
879
ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat)
sys/dev/aic7xxx/aic79xx_pci.c
948
ahd_aic7901_setup(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
957
ahd_aic7901A_setup(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
966
ahd_aic7902_setup(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_pci.c
974
ahd_aic790X_setup(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
1001
ahd_patch3_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
1009
ahd_patch2_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
1017
ahd_patch1_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
1025
ahd_patch0_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
837
typedef int ahd_patch_func_t (struct ahd_softc *ahd);
sys/dev/aic7xxx/aic79xx_seq.h
841
ahd_patch23_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
849
ahd_patch22_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
857
ahd_patch21_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
865
ahd_patch20_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
873
ahd_patch19_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
881
ahd_patch18_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
889
ahd_patch17_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
897
ahd_patch16_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
905
ahd_patch15_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
913
ahd_patch14_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
921
ahd_patch13_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
929
ahd_patch12_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
937
ahd_patch11_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
945
ahd_patch10_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
953
ahd_patch9_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
961
ahd_patch8_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
969
ahd_patch7_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
977
ahd_patch6_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
985
ahd_patch5_func(struct ahd_softc *ahd)
sys/dev/aic7xxx/aic79xx_seq.h
993
ahd_patch4_func(struct ahd_softc *ahd)