Symbol: ahc_softc
sys/arch/i386/isa/ahc_isa.c
121
void aha2840_load_seeprom(struct ahc_softc *ahc);
sys/arch/i386/isa/ahc_isa.c
124
sizeof(struct ahc_softc), ahc_isa_probe, ahc_isa_attach
sys/arch/i386/isa/ahc_isa.c
336
struct ahc_softc *ahc = (void *)self;
sys/arch/i386/isa/ahc_isa.c
486
aha2840_load_seeprom(struct ahc_softc *ahc)
sys/dev/eisa/ahc_eisa.c
135
struct ahc_softc *ahc = (void *)self;
sys/dev/eisa/ahc_eisa.c
63
sizeof(struct ahc_softc), ahc_eisa_match, ahc_eisa_attach
sys/dev/ic/aic7xxx.c
1436
ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
1452
ahc_clear_critical_section(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
149
static void ahc_force_renegotiation(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
152
ahc_alloc_tstate(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
1543
ahc_clear_intstat(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
155
static void ahc_free_tstate(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
159
ahc_devlimited_syncrate(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
1600
ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel)
sys/dev/ic/aic7xxx.c
164
static void ahc_update_pending_scbs(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
1646
ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force)
sys/dev/ic/aic7xxx.c
165
static void ahc_fetch_devinfo(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
167
static void ahc_assert_atn(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
1675
ahc_devlimited_syncrate(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
168
static void ahc_setup_initiator_msgout(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
171
static void ahc_build_transfer_msg(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
173
static void ahc_construct_sdtr(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
1730
ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
sys/dev/ic/aic7xxx.c
176
static void ahc_construct_wdtr(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
179
static void ahc_construct_ppr(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
1797
ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync)
sys/dev/ic/aic7xxx.c
1827
ahc_validate_offset(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
183
static void ahc_clear_msg_state(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
184
static void ahc_handle_proto_violation(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
185
static void ahc_handle_message_phase(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
1859
ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo,
sys/dev/ic/aic7xxx.c
1889
ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
191
static int ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type,
sys/dev/ic/aic7xxx.c
193
static int ahc_parse_msg(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
1932
ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
195
static int ahc_handle_msg_reject(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
197
static void ahc_handle_ign_wide_residue(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
199
static void ahc_reinitialize_dataptrs(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
200
static void ahc_handle_devreset(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
205
static void ahc_setup_target_msgin(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
2059
ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
211
static void ahc_build_free_scb_list(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
2115
ahc_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
212
static int ahc_init_scbdata(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
2129
ahc_update_pending_scbs(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
213
static void ahc_fini_scbdata(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
214
static void ahc_qinfifo_requeue(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
217
static int ahc_qinfifo_count(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
218
static u_int ahc_rem_scb_from_disc_list(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
220
static void ahc_add_curscb_to_free_list(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
2207
ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
221
static u_int ahc_rem_wscb(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
223
static void ahc_reset_current_bus(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
225
static void ahc_dumpseq(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
227
static int ahc_loadseq(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx.c
2272
ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
2279
ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
228
static int ahc_check_patch(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
2296
ahc_assert_atn(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
231
static void ahc_download_instr(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
2313
ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
234
static void ahc_queue_lstate_event(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
239
static void ahc_update_scsiid(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
2399
ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
241
static int ahc_handle_target_cmd(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx.c
2497
ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
2520
ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
2540
ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
2567
ahc_clear_msg_state(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
2585
ahc_handle_proto_violation(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
267
ahc_restart(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
2682
ahc_handle_message_phase(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
2984
ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full)
sys/dev/ic/aic7xxx.c
3031
ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
328
ahc_run_qoutfifo(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
3453
ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
3604
ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
sys/dev/ic/aic7xxx.c
3713
ahc_reinitialize_dataptrs(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
375
ahc_run_untagged_queues(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
3769
ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
3824
ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
sys/dev/ic/aic7xxx.c
384
ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue)
sys/dev/ic/aic7xxx.c
3847
ahc_softc_init(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
3868
ahc_softc_insert(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
3870
struct ahc_softc *list_ahc;
sys/dev/ic/aic7xxx.c
3887
struct ahc_softc *master;
sys/dev/ic/aic7xxx.c
3888
struct ahc_softc *slave;
sys/dev/ic/aic7xxx.c
3924
ahc_set_unit(struct ahc_softc *ahc, int unit)
sys/dev/ic/aic7xxx.c
3930
ahc_set_name(struct ahc_softc *ahc, char *name)
sys/dev/ic/aic7xxx.c
3936
ahc_free(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
3991
struct ahc_softc *ahc;
sys/dev/ic/aic7xxx.c
3994
ahc = (struct ahc_softc *)arg;
sys/dev/ic/aic7xxx.c
400
ahc_handle_brkadrint(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4016
ahc_reset(struct ahc_softc *ahc, int reinit)
sys/dev/ic/aic7xxx.c
4118
ahc_probe_scbs(struct ahc_softc *ahc) {
sys/dev/ic/aic7xxx.c
4146
ahc_build_free_scb_list(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4197
ahc_init_scbdata(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4283
ahc_fini_scbdata(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
433
ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
sys/dev/ic/aic7xxx.c
4330
ahc_alloc_scbs(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4379
next_scb->ahc_softc = ahc;
sys/dev/ic/aic7xxx.c
4404
ahc_controller_info(struct ahc_softc *ahc, char *buf, size_t buf_len)
sys/dev/ic/aic7xxx.c
4448
ahc_chip_init(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4634
ahc_init(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
4923
ahc_intr_enable(struct ahc_softc *ahc, int enable)
sys/dev/ic/aic7xxx.c
4945
ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl)
sys/dev/ic/aic7xxx.c
4966
ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl)
sys/dev/ic/aic7xxx.c
4984
ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid)
sys/dev/ic/aic7xxx.c
5003
ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target,
sys/dev/ic/aic7xxx.c
5044
ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx.c
5060
ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx.c
5082
ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb,
sys/dev/ic/aic7xxx.c
5102
ahc_qinfifo_count(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
5117
ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel,
sys/dev/ic/aic7xxx.c
5325
ahc_search_untagged_queues(struct ahc_softc *ahc, struct scsi_xfer *xs,
sys/dev/ic/aic7xxx.c
5421
ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel,
sys/dev/ic/aic7xxx.c
5488
ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr)
sys/dev/ic/aic7xxx.c
5514
ahc_add_curscb_to_free_list(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
5533
ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev)
sys/dev/ic/aic7xxx.c
5584
ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel,
sys/dev/ic/aic7xxx.c
5715
ahc_reset_current_bus(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
5734
ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
sys/dev/ic/aic7xxx.c
5903
ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx.c
5991
ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate,
sys/dev/ic/aic7xxx.c
6042
ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate)
sys/dev/ic/aic7xxx.c
6078
ahc_dumpseq(struct ahc_softc* ahc)
sys/dev/ic/aic7xxx.c
6098
ahc_loadseq(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
6209
ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch,
sys/dev/ic/aic7xxx.c
6245
ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts)
sys/dev/ic/aic7xxx.c
6418
ahc_dump_card_state(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx.c
6607
ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb,
sys/dev/ic/aic7xxx.c
6648
ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb)
sys/dev/ic/aic7xxx.c
7020
ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask)
sys/dev/ic/aic7xxx.c
7059
ahc_run_tqinfifo(struct ahc_softc *ahc, int paused)
sys/dev/ic/aic7xxx.c
7115
ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd)
sys/dev/ic/aic7xxx.c
999
ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat)
sys/dev/ic/aic7xxx_inline.h
101
ahc_pause(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
126
ahc_unpause(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
134
IO_INLINE void ahc_freeze_untagged_queues(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
135
IO_INLINE void ahc_release_untagged_queues(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
143
ahc_freeze_untagged_queues(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
156
ahc_release_untagged_queues(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
175
ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index);
sys/dev/ic/aic7xxx_inline.h
176
IO_INLINE void ahc_sync_scb(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
180
ahc_targetcmd_offset(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
210
ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index)
sys/dev/ic/aic7xxx_inline.h
217
ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op)
sys/dev/ic/aic7xxx_inline.h
227
ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index)
sys/dev/ic/aic7xxx_inline.h
235
static __inline char *ahc_name(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
238
ahc_name(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
245
IO_INLINE void ahc_update_residual(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
248
ahc_fetch_transinfo(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
254
ahc_inw(struct ahc_softc *ahc, u_int port);
sys/dev/ic/aic7xxx_inline.h
255
IO_INLINE void ahc_outw(struct ahc_softc *ahc, u_int port,
sys/dev/ic/aic7xxx_inline.h
258
ahc_inl(struct ahc_softc *ahc, u_int port);
sys/dev/ic/aic7xxx_inline.h
259
IO_INLINE void ahc_outl(struct ahc_softc *ahc, u_int port,
sys/dev/ic/aic7xxx_inline.h
261
IO_INLINE struct scb *ahc_lookup_scb(struct ahc_softc *ahc, u_int tag);
sys/dev/ic/aic7xxx_inline.h
262
IO_INLINE void ahc_swap_with_next_hscb(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
264
IO_INLINE void ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb);
sys/dev/ic/aic7xxx_inline.h
266
ahc_get_sense_buf(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
269
ahc_get_sense_bufaddr(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_inline.h
279
ahc_update_residual(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_inline.h
293
ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id,
sys/dev/ic/aic7xxx_inline.h
309
ahc_inw(struct ahc_softc *ahc, u_int port)
sys/dev/ic/aic7xxx_inline.h
315
ahc_outw(struct ahc_softc *ahc, u_int port, u_int value)
sys/dev/ic/aic7xxx_inline.h
322
ahc_inl(struct ahc_softc *ahc, u_int port)
sys/dev/ic/aic7xxx_inline.h
331
ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value)
sys/dev/ic/aic7xxx_inline.h
340
ahc_lookup_scb(struct ahc_softc *ahc, u_int tag)
sys/dev/ic/aic7xxx_inline.h
353
ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_inline.h
393
ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_inline.h
438
ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_inline.h
447
ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_inline.h
458
IO_INLINE void ahc_sync_qoutfifo(struct ahc_softc *ahc, int op);
sys/dev/ic/aic7xxx_inline.h
459
IO_INLINE void ahc_sync_tqinfifo(struct ahc_softc *ahc, int op);
sys/dev/ic/aic7xxx_inline.h
460
IO_INLINE u_int ahc_check_cmdcmpltqueues(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
461
IO_INLINE int ahc_intr(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
465
ahc_sync_qoutfifo(struct ahc_softc *ahc, int op)
sys/dev/ic/aic7xxx_inline.h
472
ahc_sync_tqinfifo(struct ahc_softc *ahc, int op)
sys/dev/ic/aic7xxx_inline.h
492
ahc_check_cmdcmpltqueues(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
522
ahc_intr(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
62
IO_INLINE void ahc_pause_bug_fix(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
63
IO_INLINE int ahc_is_paused(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
64
IO_INLINE void ahc_pause(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
65
IO_INLINE void ahc_unpause(struct ahc_softc *ahc);
sys/dev/ic/aic7xxx_inline.h
77
ahc_pause_bug_fix(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_inline.h
88
ahc_is_paused(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_openbsd.c
131
struct ahc_softc *ahc = (struct ahc_softc *)arg;
sys/dev/ic/aic7xxx_openbsd.c
146
ahc_done(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_openbsd.c
248
struct ahc_softc *ahc;
sys/dev/ic/aic7xxx_openbsd.c
302
struct ahc_softc *ahc;
sys/dev/ic/aic7xxx_openbsd.c
481
ahc_poll(struct ahc_softc *ahc, int wait)
sys/dev/ic/aic7xxx_openbsd.c
499
ahc_setup_data(struct ahc_softc *ahc, struct scsi_xfer *xs,
sys/dev/ic/aic7xxx_openbsd.c
53
int ahc_poll(struct ahc_softc *, int);
sys/dev/ic/aic7xxx_openbsd.c
54
void ahc_setup_data(struct ahc_softc *, struct scsi_xfer *, struct scb *);
sys/dev/ic/aic7xxx_openbsd.c
552
struct ahc_softc *ahc;
sys/dev/ic/aic7xxx_openbsd.c
56
void ahc_adapter_req_set_xfer_mode(struct ahc_softc *, struct scb *);
sys/dev/ic/aic7xxx_openbsd.c
594
ahc_platform_set_tags(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_openbsd.c
616
ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc)
sys/dev/ic/aic7xxx_openbsd.c
622
ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun,
sys/dev/ic/aic7xxx_openbsd.c
629
ahc_adapter_req_set_xfer_mode(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_openbsd.c
708
struct ahc_softc *ahc = xahc;
sys/dev/ic/aic7xxx_openbsd.c
71
ahc_attach(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_openbsd.c
728
struct ahc_softc *ahc = xahc;
sys/dev/ic/aic7xxx_openbsd.h
182
static __inline void ahc_flush_device_writes(struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
185
ahc_flush_device_writes(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_openbsd.h
208
static __inline uint32_t ahc_get_sense_bufsize(struct ahc_softc *,
sys/dev/ic/aic7xxx_openbsd.h
282
ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_openbsd.h
293
ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_openbsd.h
317
int ahc_pci_map_registers(struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
318
int ahc_pci_map_int(struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
358
void ahc_power_state_change(struct ahc_softc *, ahc_power_state);
sys/dev/ic/aic7xxx_openbsd.h
361
static __inline void ahc_print_path(struct ahc_softc *, struct scb *);
sys/dev/ic/aic7xxx_openbsd.h
362
static __inline void ahc_platform_dump_card_state(struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
365
ahc_print_path(struct ahc_softc *ahc, struct scb *scb)
sys/dev/ic/aic7xxx_openbsd.h
371
ahc_platform_dump_card_state(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_openbsd.h
378
void ahc_platform_set_tags(struct ahc_softc *, struct ahc_devinfo *, int);
sys/dev/ic/aic7xxx_openbsd.h
381
int ahc_attach(struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
382
int ahc_softc_comp(struct ahc_softc *, struct ahc_softc *);
sys/dev/ic/aic7xxx_openbsd.h
388
void ahc_done(struct ahc_softc *, struct scb *);
sys/dev/ic/aic7xxx_openbsd.h
389
void ahc_send_async(struct ahc_softc *, char, u_int, u_int, ac_code,
sys/dev/ic/aic7xxx_seeprom.c
239
ahc_parse_pci_eeprom(struct ahc_softc *ahc, struct seeprom_config *sc)
sys/dev/ic/aic7xxx_seeprom.c
355
configure_termination(struct ahc_softc *ahc,
sys/dev/ic/aic7xxx_seeprom.c
581
ahc_new_term_detect(struct ahc_softc *ahc, int *enableSEC_low,
sys/dev/ic/aic7xxx_seeprom.c
603
aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
sys/dev/ic/aic7xxx_seeprom.c
644
aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
sys/dev/ic/aic7xxx_seeprom.c
664
ahc_acquire_seeprom(struct ahc_softc *ahc, struct seeprom_descriptor *sd)
sys/dev/ic/aic7xxx_seeprom.c
699
write_brdctl(struct ahc_softc *ahc, uint8_t value)
sys/dev/ic/aic7xxx_seeprom.c
731
read_brdctl(struct ahc_softc *ahc)
sys/dev/ic/aic7xxx_seeprom.c
76
static void configure_termination(struct ahc_softc *,
sys/dev/ic/aic7xxx_seeprom.c
80
static void ahc_new_term_detect(struct ahc_softc *, int *, int *, int *,
sys/dev/ic/aic7xxx_seeprom.c
82
static void aic787X_cable_detect(struct ahc_softc *, int *, int *, int *,
sys/dev/ic/aic7xxx_seeprom.c
84
static void aic785X_cable_detect(struct ahc_softc *, int *, int *, int *);
sys/dev/ic/aic7xxx_seeprom.c
85
static void write_brdctl(struct ahc_softc *, u_int8_t);
sys/dev/ic/aic7xxx_seeprom.c
86
static u_int8_t read_brdctl(struct ahc_softc *);
sys/dev/ic/aic7xxx_seeprom.c
87
static void ahc_parse_pci_eeprom(struct ahc_softc *, struct seeprom_config *);
sys/dev/ic/aic7xxx_seeprom.c
94
ahc_check_extport(struct ahc_softc *ahc, u_int *sxfrctl1)
sys/dev/ic/aic7xxxvar.h
1039
TAILQ_ENTRY(ahc_softc) links;
sys/dev/ic/aic7xxxvar.h
1133
TAILQ_HEAD(ahc_softc_tailq, ahc_softc);
sys/dev/ic/aic7xxxvar.h
1157
typedef int (ahc_device_setup_t)(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1172
u_int ahc_index_busy_tcl(struct ahc_softc *, u_int);
sys/dev/ic/aic7xxxvar.h
1173
void ahc_unbusy_tcl(struct ahc_softc *, u_int);
sys/dev/ic/aic7xxxvar.h
1174
void ahc_busy_tcl(struct ahc_softc *, u_int, u_int);
sys/dev/ic/aic7xxxvar.h
1178
int ahc_pci_test_register_access(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1181
int ahc_probe_scbs(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1182
void ahc_run_untagged_queues(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1183
void ahc_run_untagged_queue(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1185
void ahc_qinfifo_requeue_tail(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1187
int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb,
sys/dev/ic/aic7xxxvar.h
1192
int ahc_softc_init(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1194
void ahc_controller_info(struct ahc_softc *, char *, size_t);
sys/dev/ic/aic7xxxvar.h
1196
int ahc_chip_init(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1197
int ahc_init(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1198
void ahc_intr_enable(struct ahc_softc *ahc, int enable);
sys/dev/ic/aic7xxxvar.h
1199
void ahc_softc_insert(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1200
void ahc_set_unit(struct ahc_softc *, int);
sys/dev/ic/aic7xxxvar.h
1201
void ahc_set_name(struct ahc_softc *, char *);
sys/dev/ic/aic7xxxvar.h
1202
void ahc_alloc_scbs(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1203
void ahc_free(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1204
int ahc_reset(struct ahc_softc *ahc, int reinit);
sys/dev/ic/aic7xxxvar.h
1208
void ahc_pci_intr(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1209
void ahc_clear_intstat(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1210
void ahc_run_qoutfifo(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1212
void ahc_run_tqinfifo(struct ahc_softc *ahc, int paused);
sys/dev/ic/aic7xxxvar.h
1214
void ahc_handle_brkadrint(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1215
void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
sys/dev/ic/aic7xxxvar.h
1216
void ahc_handle_scsiint(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1218
void ahc_clear_critical_section(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1226
int ahc_search_qinfifo(struct ahc_softc *, int, char,
sys/dev/ic/aic7xxxvar.h
1228
int ahc_search_untagged_queues(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1231
int ahc_search_disc_list(struct ahc_softc *, int, char,
sys/dev/ic/aic7xxxvar.h
1233
void ahc_freeze_devq(struct ahc_softc *, struct scb *);
sys/dev/ic/aic7xxxvar.h
1234
int ahc_reset_channel(struct ahc_softc *, char, int);
sys/dev/ic/aic7xxxvar.h
1235
int ahc_abort_scbs(struct ahc_softc *, int, char, int,
sys/dev/ic/aic7xxxvar.h
1237
void ahc_restart(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
1238
void ahc_calc_residual(struct ahc_softc *, struct scb *);
sys/dev/ic/aic7xxxvar.h
1247
struct ahc_syncrate* ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
sys/dev/ic/aic7xxxvar.h
1249
u_int ahc_find_period(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1251
void ahc_validate_offset(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1256
void ahc_validate_width(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1269
int ahc_update_neg_request(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1272
void ahc_set_width(struct ahc_softc *, struct ahc_devinfo *,
sys/dev/ic/aic7xxxvar.h
1274
void ahc_set_syncrate(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1277
void ahc_scb_devinfo(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1287
void ahc_set_tags(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1293
void ahc_send_lstate_events(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1295
void ahc_handle_en_lun(struct ahc_softc *, struct scsi_xfer *);
sys/dev/ic/aic7xxxvar.h
1296
cam_status ahc_find_tmode_devs(struct ahc_softc *,
sys/dev/ic/aic7xxxvar.h
1321
void ahc_print_devinfo(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1323
void ahc_dump_card_state(struct ahc_softc *ahc);
sys/dev/ic/aic7xxxvar.h
1332
int ahc_acquire_seeprom(struct ahc_softc *ahc,
sys/dev/ic/aic7xxxvar.h
1336
void ahc_check_extport(struct ahc_softc *, u_int *);
sys/dev/ic/aic7xxxvar.h
594
struct ahc_softc *ahc_softc;
sys/dev/ic/aic7xxxvar.h
929
typedef void (*ahc_bus_intr_t)(struct ahc_softc *);
sys/dev/ic/aic7xxxvar.h
930
typedef int (*ahc_bus_chip_init_t)(struct ahc_softc *);
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1000
ahc_patch10_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1008
ahc_patch9_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1016
ahc_patch8_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1024
ahc_patch7_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1032
ahc_patch6_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1040
ahc_patch5_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1048
ahc_patch4_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1056
ahc_patch3_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1064
ahc_patch2_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1072
ahc_patch1_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
1080
ahc_patch0_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
892
typedef int ahc_patch_func_t (struct ahc_softc *ahc);
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
896
ahc_patch23_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
904
ahc_patch22_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
912
ahc_patch21_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
920
ahc_patch20_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
928
ahc_patch19_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
936
ahc_patch18_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
944
ahc_patch17_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
952
ahc_patch16_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
960
ahc_patch15_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
968
ahc_patch14_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
976
ahc_patch13_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
984
ahc_patch12_func(struct ahc_softc *ahc)
sys/dev/microcode/aic7xxx/aic7xxx_seq.h
992
ahc_patch11_func(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1102
ahc_ext_scbram_present(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1137
ahc_scbram_config(struct ahc_softc *ahc, int enable, int pcheck,
sys/dev/pci/ahc_pci.c
1195
ahc_probe_ext_scbram(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1297
ahc_pci_test_register_access(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1362
ahc_pci_intr(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1412
ahc_pci_chip_init(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1437
ahc_aic785X_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1453
ahc_aic7860_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1469
ahc_apa1480_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1481
ahc_aic7870_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1493
ahc_aha394X_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1504
ahc_aha398X_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1515
ahc_aha494X_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1526
ahc_aic7880_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1545
ahc_aha2940Pro_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1553
ahc_aha394XU_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1564
ahc_aha398XU_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1575
ahc_aic7890_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1591
ahc_aic7892_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1604
ahc_aic7895_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1658
ahc_aic7896_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1670
ahc_aic7899_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1682
ahc_aha29160C_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1694
ahc_raid_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1701
ahc_aha394XX_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1721
ahc_aha398XX_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
1746
ahc_aha494XX_setup(struct ahc_softc *ahc)
sys/dev/pci/ahc_pci.c
634
static int ahc_ext_scbram_present(struct ahc_softc *ahc);
sys/dev/pci/ahc_pci.c
635
static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
sys/dev/pci/ahc_pci.c
637
static void ahc_probe_ext_scbram(struct ahc_softc *ahc);
sys/dev/pci/ahc_pci.c
638
static int ahc_pci_chip_init(struct ahc_softc *ahc);
sys/dev/pci/ahc_pci.c
645
sizeof(struct ahc_softc), ahc_pci_probe, ahc_pci_attach
sys/dev/pci/ahc_pci.c
696
struct ahc_softc *ahc = (void *)self;