Lines Matching refs:ahc_softc

579 	struct ahc_softc	 *ahc_softc;  member
910 typedef void (*ahc_bus_intr_t)(struct ahc_softc *);
911 typedef int (*ahc_bus_chip_init_t)(struct ahc_softc *);
912 typedef int (*ahc_bus_suspend_t)(struct ahc_softc *);
913 typedef int (*ahc_bus_resume_t)(struct ahc_softc *);
916 struct ahc_softc { struct
1028 TAILQ_ENTRY(ahc_softc) links; argument
1114 TAILQ_HEAD(ahc_softc_tailq, ahc_softc); argument
1138 typedef int (ahc_device_setup_t)(struct ahc_softc *);
1164 u_int ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl);
1165 void ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl);
1166 void ahc_busy_tcl(struct ahc_softc *ahc,
1171 int ahc_pci_config(struct ahc_softc *,
1173 int ahc_pci_test_register_access(struct ahc_softc *);
1177 int aic7770_config(struct ahc_softc *ahc,
1182 int ahc_probe_scbs(struct ahc_softc *);
1183 void ahc_run_untagged_queues(struct ahc_softc *ahc);
1184 void ahc_run_untagged_queue(struct ahc_softc *ahc,
1186 void ahc_qinfifo_requeue_tail(struct ahc_softc *ahc,
1188 int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb,
1193 struct ahc_softc *ahc_alloc(void *platform_arg, char *name);
1194 int ahc_softc_init(struct ahc_softc *);
1195 void ahc_controller_info(struct ahc_softc *ahc, char *buf);
1196 int ahc_chip_init(struct ahc_softc *ahc);
1197 int ahc_init(struct ahc_softc *ahc);
1198 void ahc_intr_enable(struct ahc_softc *ahc, int enable);
1199 void ahc_pause_and_flushwork(struct ahc_softc *ahc);
1200 int ahc_suspend(struct ahc_softc *ahc);
1201 int ahc_resume(struct ahc_softc *ahc);
1202 void ahc_softc_insert(struct ahc_softc *);
1203 struct ahc_softc *ahc_find_softc(struct ahc_softc *ahc);
1204 void ahc_set_unit(struct ahc_softc *, int);
1205 void ahc_set_name(struct ahc_softc *, char *);
1206 void ahc_alloc_scbs(struct ahc_softc *ahc);
1207 void ahc_free(struct ahc_softc *ahc);
1208 int ahc_reset(struct ahc_softc *ahc, int reinit);
1212 void ahc_clear_intstat(struct ahc_softc *ahc);
1213 void ahc_run_qoutfifo(struct ahc_softc *ahc);
1215 void ahc_run_tqinfifo(struct ahc_softc *ahc, int paused);
1217 void ahc_handle_brkadrint(struct ahc_softc *ahc);
1218 void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
1219 void ahc_handle_scsiint(struct ahc_softc *ahc,
1221 void ahc_clear_critical_section(struct ahc_softc *ahc);
1229 int ahc_search_qinfifo(struct ahc_softc *ahc, int target,
1233 int ahc_search_untagged_queues(struct ahc_softc *ahc,
1238 int ahc_search_disc_list(struct ahc_softc *ahc, int target,
1242 void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
1243 int ahc_reset_channel(struct ahc_softc *ahc, char channel,
1245 int ahc_abort_scbs(struct ahc_softc *ahc, int target,
1248 void ahc_restart(struct ahc_softc *ahc);
1249 void ahc_calc_residual(struct ahc_softc *ahc,
1259 struct ahc_syncrate* ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
1261 u_int ahc_find_period(struct ahc_softc *ahc,
1263 void ahc_validate_offset(struct ahc_softc *ahc,
1268 void ahc_validate_width(struct ahc_softc *ahc,
1281 int ahc_update_neg_request(struct ahc_softc*,
1286 void ahc_set_width(struct ahc_softc *ahc,
1289 void ahc_set_syncrate(struct ahc_softc *ahc,
1301 void ahc_set_tags(struct ahc_softc *ahc,
1307 void ahc_send_lstate_events(struct ahc_softc *,
1309 void ahc_handle_en_lun(struct ahc_softc *ahc,
1311 cam_status ahc_find_tmode_devs(struct ahc_softc *ahc,
1338 void ahc_print_devinfo(struct ahc_softc *ahc,
1340 void ahc_dump_card_state(struct ahc_softc *ahc);
1349 int ahc_acquire_seeprom(struct ahc_softc *ahc,