drivers/scsi/aic7xxx/aic79xx.h
1024
typedef void (*ahd_bus_intr_t)(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1163
TAILQ_ENTRY(ahd_softc) links;
drivers/scsi/aic7xxx/aic79xx.h
1303
typedef int (ahd_device_setup_t)(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1330
int ahd_pci_config(struct ahd_softc *,
drivers/scsi/aic7xxx/aic79xx.h
1332
int ahd_pci_test_register_access(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1333
void __maybe_unused ahd_pci_suspend(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1334
void __maybe_unused ahd_pci_resume(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1337
void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1341
struct ahd_softc *ahd_alloc(void *platform_arg, char *name);
drivers/scsi/aic7xxx/aic79xx.h
1342
int ahd_softc_init(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx.h
1343
void ahd_controller_info(struct ahd_softc *ahd, char *buf);
drivers/scsi/aic7xxx/aic79xx.h
1344
int ahd_init(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1345
int __maybe_unused ahd_suspend(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1346
void __maybe_unused ahd_resume(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1347
int ahd_default_config(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1348
int ahd_parse_vpddata(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1350
int ahd_parse_cfgdata(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1352
void ahd_intr_enable(struct ahd_softc *ahd, int enable);
drivers/scsi/aic7xxx/aic79xx.h
1353
void ahd_pause_and_flushwork(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1354
void ahd_set_unit(struct ahd_softc *, int);
drivers/scsi/aic7xxx/aic79xx.h
1355
void ahd_set_name(struct ahd_softc *, char *);
drivers/scsi/aic7xxx/aic79xx.h
1356
struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
drivers/scsi/aic7xxx/aic79xx.h
1357
void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
drivers/scsi/aic7xxx/aic79xx.h
1358
void ahd_free(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
1359
int ahd_reset(struct ahd_softc *ahd, int reinit);
drivers/scsi/aic7xxx/aic79xx.h
1360
int ahd_write_flexport(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1362
int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
drivers/scsi/aic7xxx/aic79xx.h
1372
int ahd_search_qinfifo(struct ahd_softc *ahd, int target,
drivers/scsi/aic7xxx/aic79xx.h
1376
int ahd_search_disc_list(struct ahd_softc *ahd, int target,
drivers/scsi/aic7xxx/aic79xx.h
1380
int ahd_reset_channel(struct ahd_softc *ahd, char channel,
drivers/scsi/aic7xxx/aic79xx.h
1388
void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
drivers/scsi/aic7xxx/aic79xx.h
1399
int ahd_update_neg_request(struct ahd_softc*,
drivers/scsi/aic7xxx/aic79xx.h
1404
void ahd_set_width(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1407
void ahd_set_syncrate(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1420
void ahd_send_lstate_events(struct ahd_softc *,
drivers/scsi/aic7xxx/aic79xx.h
1422
void ahd_handle_en_lun(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1424
cam_status ahd_find_tmode_devs(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1455
void ahd_print_devinfo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx.h
1457
void ahd_dump_card_state(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
608
struct ahd_softc *ahd_softc;
drivers/scsi/aic7xxx/aic79xx.h
959
int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
drivers/scsi/aic7xxx/aic79xx.h
962
int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
drivers/scsi/aic7xxx/aic79xx.h
965
int ahd_acquire_seeprom(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx.h
966
void ahd_release_seeprom(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
10022
ahd_wait_seeprom(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
10090
ahd_acquire_seeprom(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
101
static int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
10113
ahd_release_seeprom(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
10122
ahd_wait_flexport(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
10137
ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
10160
ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value)
drivers/scsi/aic7xxx/aic79xx_core.c
10180
ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb,
drivers/scsi/aic7xxx/aic79xx_core.c
10221
ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb)
drivers/scsi/aic7xxx/aic79xx_core.c
103
static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
1030
ahd_assert_atn(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
104
static void ahd_handle_proto_violation(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
1042
ahd_currently_packetized(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
105
static void ahd_force_renegotiation(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
10534
ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask)
drivers/scsi/aic7xxx/aic79xx_core.c
10574
ahd_run_tqinfifo(struct ahd_softc *ahd, int paused)
drivers/scsi/aic7xxx/aic79xx_core.c
10612
ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd)
drivers/scsi/aic7xxx/aic79xx_core.c
1065
ahd_set_active_fifo(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
1082
ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
drivers/scsi/aic7xxx/aic79xx_core.c
109
ahd_alloc_tstate(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
1092
ahd_update_residual(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
1102
ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
1119
ahd_restart(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
112
static void ahd_free_tstate(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
115
static void ahd_devlimited_syncrate(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
1163
ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo)
drivers/scsi/aic7xxx/aic79xx_core.c
1187
ahd_flush_qoutfifo(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
120
static void ahd_update_neg_table(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
123
static void ahd_update_pending_scbs(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
124
static void ahd_fetch_devinfo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
126
static void ahd_scb_devinfo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
129
static void ahd_setup_initiator_msgout(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
132
static void ahd_build_transfer_msg(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
134
static void ahd_construct_sdtr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
137
static void ahd_construct_wdtr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
1395
ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
140
static void ahd_construct_ppr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
1424
ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
144
static void ahd_clear_msg_state(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
145
static void ahd_handle_message_phase(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
151
static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type,
drivers/scsi/aic7xxx/aic79xx_core.c
153
static int ahd_parse_msg(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
155
static int ahd_handle_msg_reject(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
157
static void ahd_handle_ign_wide_residue(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
159
static void ahd_reinitialize_dataptrs(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
160
static void ahd_handle_devreset(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
165
static void ahd_setup_target_msgin(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
1658
ahd_run_qoutfifo(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
1697
ahd_handle_hwerrint(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
170
static u_int ahd_sglist_size(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
171
static u_int ahd_sglist_allocsize(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
1732
if ((scb->ahd_softc->flags & AHD_64BIT_ADDRESSING) != 0) {
drivers/scsi/aic7xxx/aic79xx_core.c
174
static void ahd_initialize_hscbs(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
175
static int ahd_init_scbdata(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
176
static void ahd_fini_scbdata(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
1769
ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat)
drivers/scsi/aic7xxx/aic79xx_core.c
177
static void ahd_setup_iocell_workaround(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
178
static void ahd_iocell_first_selection(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
179
static void ahd_add_col_list(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
181
static void ahd_rem_col_list(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
183
static void ahd_chip_init(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
184
static void ahd_qinfifo_requeue(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
187
static int ahd_qinfifo_count(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
188
static int ahd_search_scb_list(struct ahd_softc *ahd, int target,
drivers/scsi/aic7xxx/aic79xx_core.c
194
static void ahd_stitch_tid_list(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
197
static void ahd_add_scb_to_free_list(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
199
static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
drivers/scsi/aic7xxx/aic79xx_core.c
201
static void ahd_reset_current_bus(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
204
static void ahd_dumpseq(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
206
static void ahd_loadseq(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
207
static int ahd_check_patch(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
210
static u_int ahd_resolve_seqaddr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
212
static void ahd_download_instr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
214
static int ahd_probe_stack_size(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
215
static int ahd_scb_active_in_fifo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
217
static void ahd_run_data_fifo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
221
static void ahd_queue_lstate_event(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
226
static void ahd_update_scsiid(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
228
static int ahd_handle_target_cmd(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
232
static int ahd_abort_scbs(struct ahd_softc *ahd, int target,
drivers/scsi/aic7xxx/aic79xx_core.c
235
static void ahd_alloc_scbs(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
236
static void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl,
drivers/scsi/aic7xxx/aic79xx_core.c
2373
ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat)
drivers/scsi/aic7xxx/aic79xx_core.c
238
static void ahd_calc_residual(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
240
static void ahd_clear_critical_section(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
241
static void ahd_clear_intstat(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
242
static void ahd_enable_coalescing(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
244
static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
drivers/scsi/aic7xxx/aic79xx_core.c
245
static void ahd_freeze_devq(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
247
static void ahd_handle_scb_status(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
251
static void ahd_update_coalescing_values(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
256
static int ahd_wait_seeprom(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
257
static int ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
drivers/scsi/aic7xxx/aic79xx_core.c
261
static void ahd_reset_cmds_pending(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
264
static void ahd_run_qoutfifo(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
2655
ahd_handle_transmission_error(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
266
static void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused);
drivers/scsi/aic7xxx/aic79xx_core.c
268
static void ahd_handle_hwerrint(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
269
static void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
drivers/scsi/aic7xxx/aic79xx_core.c
270
static void ahd_handle_scsiint(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
275
ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
drivers/scsi/aic7xxx/aic79xx_core.c
2841
ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1)
drivers/scsi/aic7xxx/aic79xx_core.c
2883
ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime)
drivers/scsi/aic7xxx/aic79xx_core.c
293
ahd_update_modes(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3015
ahd_handle_nonpkt_busfree(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
309
ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode,
drivers/scsi/aic7xxx/aic79xx_core.c
325
ahd_save_modes(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3289
ahd_handle_proto_violation(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
335
ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state)
drivers/scsi/aic7xxx/aic79xx_core.c
3388
ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
3410
ahd_clear_critical_section(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
349
ahd_is_paused(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3532
ahd_clear_intstat(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3596
ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel)
drivers/scsi/aic7xxx/aic79xx_core.c
362
ahd_pause(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3638
ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force)
drivers/scsi/aic7xxx/aic79xx_core.c
3663
ahd_devlimited_syncrate(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
3712
ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
drivers/scsi/aic7xxx/aic79xx_core.c
3751
ahd_validate_offset(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
3782
ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
3812
ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
385
ahd_unpause(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
3855
ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4001
ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4055
ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd,
drivers/scsi/aic7xxx/aic79xx_core.c
406
ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
drivers/scsi/aic7xxx/aic79xx_core.c
4066
ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4186
ahd_update_pending_scbs(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
4267
ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
430
ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
4302
ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
4342
ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4365
ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4486
ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
451
ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
4582
ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4602
ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4620
ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
4649
ahd_clear_msg_state(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
4677
ahd_handle_message_phase(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
488
ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
497
ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr)
drivers/scsi/aic7xxx/aic79xx_core.c
5017
ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full)
drivers/scsi/aic7xxx/aic79xx_core.c
5066
ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
507
ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg)
drivers/scsi/aic7xxx/aic79xx_core.c
519
ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op)
drivers/scsi/aic7xxx/aic79xx_core.c
528
ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op)
drivers/scsi/aic7xxx/aic79xx_core.c
540
ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op)
drivers/scsi/aic7xxx/aic79xx_core.c
5484
ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
550
ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index)
drivers/scsi/aic7xxx/aic79xx_core.c
563
ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id,
drivers/scsi/aic7xxx/aic79xx_core.c
5655
ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_core.c
579
ahd_inw(struct ahd_softc *ahd, u_int port)
drivers/scsi/aic7xxx/aic79xx_core.c
5805
ahd_reinitialize_dataptrs(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
5887
ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
591
ahd_outw(struct ahd_softc *ahd, u_int port, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
5951
ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo,
drivers/scsi/aic7xxx/aic79xx_core.c
5974
ahd_sglist_size(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
5991
ahd_sglist_allocsize(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
602
ahd_inl(struct ahd_softc *ahd, u_int port)
drivers/scsi/aic7xxx/aic79xx_core.c
6035
struct ahd_softc *
drivers/scsi/aic7xxx/aic79xx_core.c
6038
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_core.c
6088
ahd_softc_init(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6097
ahd_set_unit(struct ahd_softc *ahd, int unit)
drivers/scsi/aic7xxx/aic79xx_core.c
6103
ahd_set_name(struct ahd_softc *ahd, char *name)
drivers/scsi/aic7xxx/aic79xx_core.c
611
ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value)
drivers/scsi/aic7xxx/aic79xx_core.c
6110
ahd_free(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6177
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_core.c
6179
ahd = (struct ahd_softc *)arg;
drivers/scsi/aic7xxx/aic79xx_core.c
620
ahd_inq(struct ahd_softc *ahd, u_int port)
drivers/scsi/aic7xxx/aic79xx_core.c
6200
ahd_reset(struct ahd_softc *ahd, int reinit)
drivers/scsi/aic7xxx/aic79xx_core.c
6303
ahd_probe_scbs(struct ahd_softc *ahd) {
drivers/scsi/aic7xxx/aic79xx_core.c
633
ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value)
drivers/scsi/aic7xxx/aic79xx_core.c
6336
ahd_initialize_hscbs(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6352
ahd_init_scbdata(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6453
ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag)
drivers/scsi/aic7xxx/aic79xx_core.c
646
ahd_get_scbptr(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6491
ahd_fini_scbdata(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
654
ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr)
drivers/scsi/aic7xxx/aic79xx_core.c
6560
ahd_setup_iocell_workaround(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6578
ahd_iocell_first_selection(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6609
ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx)
drivers/scsi/aic7xxx/aic79xx_core.c
6629
ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
664
ahd_get_hnscb_qoff(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6663
ahd_get_scb(struct ahd_softc *ahd, u_int col_idx)
drivers/scsi/aic7xxx/aic79xx_core.c
6699
ahd_free_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
671
ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
6751
ahd_alloc_scbs(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
678
ahd_get_hescb_qoff(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
685
ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
691
ahd_get_snscb_qoff(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
6915
next_scb->ahd_softc = ahd;
drivers/scsi/aic7xxx/aic79xx_core.c
6937
ahd_controller_info(struct ahd_softc *ahd, char *buf)
drivers/scsi/aic7xxx/aic79xx_core.c
6987
ahd_init(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
702
ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
710
ahd_get_sescb_qoff(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
718
ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
7198
ahd_chip_init(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
726
ahd_get_sdscb_qoff(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
734
ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value)
drivers/scsi/aic7xxx/aic79xx_core.c
742
ahd_inb_scbram(struct ahd_softc *ahd, u_int offset)
drivers/scsi/aic7xxx/aic79xx_core.c
7540
ahd_default_config(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
7617
ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc)
drivers/scsi/aic7xxx/aic79xx_core.c
767
ahd_inw_scbram(struct ahd_softc *ahd, u_int offset)
drivers/scsi/aic7xxx/aic79xx_core.c
774
ahd_inl_scbram(struct ahd_softc *ahd, u_int offset)
drivers/scsi/aic7xxx/aic79xx_core.c
7751
ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd)
drivers/scsi/aic7xxx/aic79xx_core.c
7764
ahd_intr_enable(struct ahd_softc *ahd, int enable)
drivers/scsi/aic7xxx/aic79xx_core.c
7781
ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds,
drivers/scsi/aic7xxx/aic79xx_core.c
7799
ahd_enable_coalescing(struct ahd_softc *ahd, int enable)
drivers/scsi/aic7xxx/aic79xx_core.c
781
ahd_inq_scbram(struct ahd_softc *ahd, u_int offset)
drivers/scsi/aic7xxx/aic79xx_core.c
7818
ahd_pause_and_flushwork(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
7869
ahd_suspend(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
788
ahd_lookup_scb(struct ahd_softc *ahd, u_int tag)
drivers/scsi/aic7xxx/aic79xx_core.c
7882
ahd_resume(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
7899
ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)
drivers/scsi/aic7xxx/aic79xx_core.c
7921
ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl)
drivers/scsi/aic7xxx/aic79xx_core.c
7934
ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid)
drivers/scsi/aic7xxx/aic79xx_core.c
7946
ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
drivers/scsi/aic7xxx/aic79xx_core.c
7982
ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
8000
ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
802
ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
8022
ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb,
drivers/scsi/aic7xxx/aic79xx_core.c
8042
ahd_qinfifo_count(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
8060
ahd_reset_cmds_pending(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
8085
ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status)
drivers/scsi/aic7xxx/aic79xx_core.c
8100
ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel,
drivers/scsi/aic7xxx/aic79xx_core.c
8330
ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel,
drivers/scsi/aic7xxx/aic79xx_core.c
8398
ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev,
drivers/scsi/aic7xxx/aic79xx_core.c
841
ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
8436
ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
drivers/scsi/aic7xxx/aic79xx_core.c
8469
ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid)
drivers/scsi/aic7xxx/aic79xx_core.c
8487
ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel,
drivers/scsi/aic7xxx/aic79xx_core.c
8583
ahd_reset_current_bus(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
8613
ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset)
drivers/scsi/aic7xxx/aic79xx_core.c
8787
struct ahd_softc *ahd = timer_container_of(ahd, t, stat_timer);
drivers/scsi/aic7xxx/aic79xx_core.c
8821
ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
887
ahd_sync_qoutfifo(struct ahd_softc *ahd, int op)
drivers/scsi/aic7xxx/aic79xx_core.c
895
ahd_sync_tqinfifo(struct ahd_softc *ahd, int op)
drivers/scsi/aic7xxx/aic79xx_core.c
9030
ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
9044
ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_core.c
9147
ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate,
drivers/scsi/aic7xxx/aic79xx_core.c
915
ahd_check_cmdcmpltqueues(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
9198
ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate)
drivers/scsi/aic7xxx/aic79xx_core.c
9234
ahd_dumpseq(struct ahd_softc* ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
9256
ahd_loadseq(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
9415
ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch,
drivers/scsi/aic7xxx/aic79xx_core.c
945
ahd_intr(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
9451
ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address)
drivers/scsi/aic7xxx/aic79xx_core.c
9480
ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts)
drivers/scsi/aic7xxx/aic79xx_core.c
9549
ahd_probe_stack_size(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
9632
ahd_dump_card_state(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
98
static void ahd_handle_transmission_error(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_core.c
9894
ahd_dump_scbs(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_core.c
99
static void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_core.c
9928
ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
drivers/scsi/aic7xxx/aic79xx_core.c
9973
ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
drivers/scsi/aic7xxx/aic79xx_inline.h
104
static inline size_t ahd_sg_size(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
106
void ahd_sync_sglist(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
109
static inline size_t ahd_sg_size(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_inline.h
118
ahd_fetch_transinfo(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
123
ahd_inw(struct ahd_softc *ahd, u_int port);
drivers/scsi/aic7xxx/aic79xx_inline.h
124
void ahd_outw(struct ahd_softc *ahd, u_int port,
drivers/scsi/aic7xxx/aic79xx_inline.h
127
ahd_inl(struct ahd_softc *ahd, u_int port);
drivers/scsi/aic7xxx/aic79xx_inline.h
128
void ahd_outl(struct ahd_softc *ahd, u_int port,
drivers/scsi/aic7xxx/aic79xx_inline.h
131
ahd_inq(struct ahd_softc *ahd, u_int port);
drivers/scsi/aic7xxx/aic79xx_inline.h
132
void ahd_outq(struct ahd_softc *ahd, u_int port,
drivers/scsi/aic7xxx/aic79xx_inline.h
134
u_int ahd_get_scbptr(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
135
void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr);
drivers/scsi/aic7xxx/aic79xx_inline.h
136
u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset);
drivers/scsi/aic7xxx/aic79xx_inline.h
137
u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset);
drivers/scsi/aic7xxx/aic79xx_inline.h
139
ahd_lookup_scb(struct ahd_softc *ahd, u_int tag);
drivers/scsi/aic7xxx/aic79xx_inline.h
140
void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb);
drivers/scsi/aic7xxx/aic79xx_inline.h
142
static inline uint8_t *ahd_get_sense_buf(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
144
static inline uint32_t ahd_get_sense_bufaddr(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
158
ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_inline.h
164
ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_inline.h
170
int ahd_intr(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
49
static inline char *ahd_name(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
51
static inline char *ahd_name(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_inline.h
57
static inline void ahd_known_modes(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
59
static inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
62
static inline void ahd_extract_mode_state(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
66
void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
drivers/scsi/aic7xxx/aic79xx_inline.h
68
ahd_mode_state ahd_save_modes(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
69
void ahd_restore_modes(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_inline.h
71
int ahd_is_paused(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
72
void ahd_pause(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
73
void ahd_unpause(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_inline.h
76
ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
drivers/scsi/aic7xxx/aic79xx_inline.h
85
ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
drivers/scsi/aic7xxx/aic79xx_inline.h
91
ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state,
drivers/scsi/aic7xxx/aic79xx_inline.h
99
void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
drivers/scsi/aic7xxx/aic79xx_osm.c
1208
ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template)
drivers/scsi/aic7xxx/aic79xx_osm.c
1217
host = scsi_host_alloc(template, sizeof(struct ahd_softc *));
drivers/scsi/aic7xxx/aic79xx_osm.c
1221
*((struct ahd_softc **)host->hostdata) = ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
1264
ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.c
1309
ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg)
drivers/scsi/aic7xxx/aic79xx_osm.c
1322
ahd_platform_free(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.c
1358
ahd_platform_init(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.c
1378
ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.c
1387
ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
drivers/scsi/aic7xxx/aic79xx_osm.c
1471
ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel,
drivers/scsi/aic7xxx/aic79xx_osm.c
1478
ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
drivers/scsi/aic7xxx/aic79xx_osm.c
1516
struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
1539
ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev,
drivers/scsi/aic7xxx/aic79xx_osm.c
1659
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
1663
ahd = (struct ahd_softc *) dev_id;
drivers/scsi/aic7xxx/aic79xx_osm.c
1671
ahd_send_async(struct ahd_softc *ahd, char channel,
drivers/scsi/aic7xxx/aic79xx_osm.c
1759
ahd_done(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.c
1877
ahd_linux_handle_scsi_status(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.c
2023
ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd)
drivers/scsi/aic7xxx/aic79xx_osm.c
2126
ahd_freeze_simq(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.c
2132
ahd_release_simq(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.c
2140
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
2158
ahd = *(struct ahd_softc **)cmd->device->host->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
224
ahd_print_path(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.c
2370
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2384
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2437
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2472
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2514
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2553
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2593
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2629
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2665
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2709
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2759
struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
2788
struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
352
static void ahd_linux_handle_scsi_status(struct ahd_softc *,
drivers/scsi/aic7xxx/aic79xx_osm.c
355
static void ahd_linux_queue_cmd_complete(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.c
358
static void ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.c
359
static u_int ahd_linux_user_tagdepth(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.c
362
static enum scsi_qc_status ahd_linux_run_command(struct ahd_softc*,
drivers/scsi/aic7xxx/aic79xx_osm.c
367
static void ahd_freeze_simq(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.c
368
static void ahd_release_simq(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.c
391
uint8_t ahd_inb(struct ahd_softc * ahd, long port);
drivers/scsi/aic7xxx/aic79xx_osm.c
392
void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
drivers/scsi/aic7xxx/aic79xx_osm.c
393
void ahd_outw_atomic(struct ahd_softc * ahd,
drivers/scsi/aic7xxx/aic79xx_osm.c
395
void ahd_outsb(struct ahd_softc * ahd, long port,
drivers/scsi/aic7xxx/aic79xx_osm.c
397
void ahd_insb(struct ahd_softc * ahd, long port,
drivers/scsi/aic7xxx/aic79xx_osm.c
401
ahd_inb(struct ahd_softc * ahd, long port)
drivers/scsi/aic7xxx/aic79xx_osm.c
416
ahd_inw_atomic(struct ahd_softc * ahd, long port)
drivers/scsi/aic7xxx/aic79xx_osm.c
431
ahd_outb(struct ahd_softc * ahd, long port, uint8_t val)
drivers/scsi/aic7xxx/aic79xx_osm.c
442
ahd_outw_atomic(struct ahd_softc * ahd, long port, uint16_t val)
drivers/scsi/aic7xxx/aic79xx_osm.c
453
ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count)
drivers/scsi/aic7xxx/aic79xx_osm.c
467
ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count)
drivers/scsi/aic7xxx/aic79xx_osm.c
531
static void ahd_linux_unmap_scb(struct ahd_softc*, struct scb*);
drivers/scsi/aic7xxx/aic79xx_osm.c
534
ahd_linux_unmap_scb(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.c
546
static inline unsigned int ahd_build_scsiid(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.c
561
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
564
ahd = *(struct ahd_softc **)host->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
584
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
586
ahd = *(struct ahd_softc **)cmd->device->host->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
599
struct ahd_softc *ahd =
drivers/scsi/aic7xxx/aic79xx_osm.c
600
*((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
613
struct ahd_softc *ahd =
drivers/scsi/aic7xxx/aic79xx_osm.c
614
*((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
677
struct ahd_softc *ahd =
drivers/scsi/aic7xxx/aic79xx_osm.c
678
*((struct ahd_softc **)sdev->host->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
730
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
732
ahd = *((struct ahd_softc **)sdev->host->hostdata);
drivers/scsi/aic7xxx/aic79xx_osm.c
772
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
784
ahd = *(struct ahd_softc **)cmd->device->host->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
868
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm.c
872
ahd = *(struct ahd_softc **)cmd->device->host->hostdata;
drivers/scsi/aic7xxx/aic79xx_osm.c
917
ahd_dma_tag_create(struct ahd_softc *ahd, bus_dma_tag_t parent,
drivers/scsi/aic7xxx/aic79xx_osm.c
945
ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat)
drivers/scsi/aic7xxx/aic79xx_osm.c
951
ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr,
drivers/scsi/aic7xxx/aic79xx_osm.c
962
ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat,
drivers/scsi/aic7xxx/aic79xx_osm.c
969
ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map,
drivers/scsi/aic7xxx/aic79xx_osm.c
986
ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map)
drivers/scsi/aic7xxx/aic79xx_osm.c
991
ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map)
drivers/scsi/aic7xxx/aic79xx_osm.h
161
int ahd_dma_tag_create(struct ahd_softc *, bus_dma_tag_t /*parent*/,
drivers/scsi/aic7xxx/aic79xx_osm.h
169
void ahd_dma_tag_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/);
drivers/scsi/aic7xxx/aic79xx_osm.h
171
int ahd_dmamem_alloc(struct ahd_softc *, bus_dma_tag_t /*dmat*/,
drivers/scsi/aic7xxx/aic79xx_osm.h
175
void ahd_dmamem_free(struct ahd_softc *, bus_dma_tag_t /*dmat*/,
drivers/scsi/aic7xxx/aic79xx_osm.h
178
void ahd_dmamap_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/,
drivers/scsi/aic7xxx/aic79xx_osm.h
181
int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/,
drivers/scsi/aic7xxx/aic79xx_osm.h
186
int ahd_dmamap_unload(struct ahd_softc *, bus_dma_tag_t, bus_dmamap_t);
drivers/scsi/aic7xxx/aic79xx_osm.h
357
uint8_t ahd_inb(struct ahd_softc * ahd, long port);
drivers/scsi/aic7xxx/aic79xx_osm.h
358
void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
drivers/scsi/aic7xxx/aic79xx_osm.h
359
void ahd_outw_atomic(struct ahd_softc * ahd,
drivers/scsi/aic7xxx/aic79xx_osm.h
361
void ahd_outsb(struct ahd_softc * ahd, long port,
drivers/scsi/aic7xxx/aic79xx_osm.h
363
void ahd_insb(struct ahd_softc * ahd, long port,
drivers/scsi/aic7xxx/aic79xx_osm.h
367
int ahd_linux_register_host(struct ahd_softc *,
drivers/scsi/aic7xxx/aic79xx_osm.h
372
ahd_lockinit(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.h
378
ahd_lock(struct ahd_softc *ahd, unsigned long *flags)
drivers/scsi/aic7xxx/aic79xx_osm.h
384
ahd_unlock(struct ahd_softc *ahd, unsigned long *flags)
drivers/scsi/aic7xxx/aic79xx_osm.h
449
void ahd_power_state_change(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.h
455
int ahd_pci_map_registers(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.h
456
int ahd_pci_map_int(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.h
485
static inline void ahd_flush_device_writes(struct ahd_softc *);
drivers/scsi/aic7xxx/aic79xx_osm.h
487
ahd_flush_device_writes(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm.h
606
ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.h
612
ahd_notify_xfer_settings_change(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm.h
619
ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
drivers/scsi/aic7xxx/aic79xx_osm.h
624
int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg);
drivers/scsi/aic7xxx/aic79xx_osm.h
625
void ahd_platform_free(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.h
626
void ahd_platform_init(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_osm.h
627
void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
drivers/scsi/aic7xxx/aic79xx_osm.h
638
void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
drivers/scsi/aic7xxx/aic79xx_osm.h
640
int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,
drivers/scsi/aic7xxx/aic79xx_osm.h
645
void ahd_done(struct ahd_softc*, struct scb*);
drivers/scsi/aic7xxx/aic79xx_osm.h
646
void ahd_send_async(struct ahd_softc *, char channel,
drivers/scsi/aic7xxx/aic79xx_osm.h
648
void ahd_print_path(struct ahd_softc *, struct scb *);
drivers/scsi/aic7xxx/aic79xx_osm.h
93
struct ahd_softc;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
106
struct ahd_softc *ahd = pci_get_drvdata(pdev);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
119
ahd_linux_pci_inherit_flags(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
126
struct ahd_softc *master = pci_get_drvdata(master_pdev);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
140
struct ahd_softc *ahd;
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
232
ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, resource_size_t *base,
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
254
ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
290
ahd_pci_map_registers(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
362
ahd_pci_map_int(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
375
ahd_power_state_change(struct ahd_softc *ahd, ahd_power_state new_state)
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
80
struct ahd_softc *ahd = dev_get_drvdata(dev);
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
94
struct ahd_softc *ahd = dev_get_drvdata(dev);
drivers/scsi/aic7xxx/aic79xx_pci.c
244
static int ahd_check_extport(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
245
static void ahd_configure_termination(struct ahd_softc *ahd,
drivers/scsi/aic7xxx/aic79xx_pci.c
247
static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
drivers/scsi/aic7xxx/aic79xx_pci.c
248
static void ahd_pci_intr(struct ahd_softc *ahd);
drivers/scsi/aic7xxx/aic79xx_pci.c
289
ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry)
drivers/scsi/aic7xxx/aic79xx_pci.c
381
ahd_pci_suspend(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
397
ahd_pci_resume(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
412
ahd_pci_test_register_access(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
504
ahd_check_extport(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
637
ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control)
drivers/scsi/aic7xxx/aic79xx_pci.c
781
ahd_pci_intr(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
839
ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat)
drivers/scsi/aic7xxx/aic79xx_pci.c
901
ahd_aic7901_setup(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
910
ahd_aic7901A_setup(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
919
ahd_aic7902_setup(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_pci.c
927
ahd_aic790X_setup(struct ahd_softc *ahd)
drivers/scsi/aic7xxx/aic79xx_proc.c
157
ahd_dump_target_state(struct ahd_softc *ahd, struct seq_file *m,
drivers/scsi/aic7xxx/aic79xx_proc.c
210
struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata;
drivers/scsi/aic7xxx/aic79xx_proc.c
277
struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata;
drivers/scsi/aic7xxx/aic79xx_proc.c
45
static void ahd_dump_target_state(struct ahd_softc *ahd,