Lines Matching defs:ahd_softc
636 struct ahd_softc *ahd_softc;
983 int ahd_read_seeprom(struct ahd_softc *, uint16_t *, u_int, u_int,
986 int ahd_write_seeprom(struct ahd_softc *, uint16_t *, u_int, u_int);
987 int ahd_wait_seeprom(struct ahd_softc *);
990 int ahd_acquire_seeprom(struct ahd_softc *);
991 void ahd_release_seeprom(struct ahd_softc *);
1042 typedef int (*ahd_bus_intr_t)(struct ahd_softc *);
1066 struct ahd_softc {
1174 TAILQ_ENTRY(ahd_softc) links;
1267 TAILQ_HEAD(ahd_softc_tailq, ahd_softc);
1323 typedef int (ahd_device_setup_t)(struct ahd_softc *, struct pci_attach_args *);
1347 void ahd_reset_cmds_pending(struct ahd_softc *);
1348 u_int ahd_find_busy_tcl(struct ahd_softc *, u_int);
1349 void ahd_busy_tcl(struct ahd_softc *, u_int, u_int);
1350 static __inline void ahd_unbusy_tcl(struct ahd_softc *, u_int);
1352 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
1358 int ahd_probe_scbs(struct ahd_softc *);
1359 void ahd_qinfifo_requeue_tail(struct ahd_softc *,
1361 int ahd_match_scb(struct ahd_softc *, struct scb *,
1365 /*struct ahd_softc *ahd_alloc(void *, char *);*/
1366 int ahd_softc_init(struct ahd_softc *);
1367 void ahd_controller_info(struct ahd_softc *, char *, size_t);
1368 int ahd_init(struct ahd_softc *);
1369 int ahd_default_config(struct ahd_softc *);
1370 int ahd_parse_vpddata(struct ahd_softc *,
1372 int ahd_parse_cfgdata(struct ahd_softc *,
1374 void ahd_intr_enable(struct ahd_softc *, int);
1375 void ahd_update_coalescing_values(struct ahd_softc *,
1377 void ahd_enable_coalescing(struct ahd_softc *, int);
1378 void ahd_pause_and_flushwork(struct ahd_softc *);
1379 int ahd_suspend(struct ahd_softc *);
1380 int ahd_resume(struct ahd_softc *);
1381 void ahd_set_unit(struct ahd_softc *, int);
1382 void ahd_set_name(struct ahd_softc *, const char *);
1383 struct scb *ahd_get_scb(struct ahd_softc *, u_int);
1384 void ahd_free_scb(struct ahd_softc *, struct scb *);
1385 int ahd_alloc_scbs(struct ahd_softc *);
1386 void ahd_free(struct ahd_softc *);
1387 int ahd_reset(struct ahd_softc *, int);
1389 int ahd_write_flexport(struct ahd_softc *,
1391 int ahd_read_flexport(struct ahd_softc *, u_int,
1393 int ahd_wait_flexport(struct ahd_softc *);
1396 void ahd_clear_intstat(struct ahd_softc *);
1397 void ahd_flush_qoutfifo(struct ahd_softc *);
1398 void ahd_run_qoutfifo(struct ahd_softc *);
1399 void ahd_run_post_qoutfifo(struct ahd_softc *);
1401 void ahd_run_tqinfifo(struct ahd_softc *, int);
1403 void ahd_handle_hwerrint(struct ahd_softc *);
1404 void ahd_handle_seqint(struct ahd_softc *, u_int);
1405 void ahd_handle_scsiint(struct ahd_softc *, u_int);
1406 void ahd_clear_critical_section(struct ahd_softc *);
1415 int ahd_search_qinfifo(struct ahd_softc *, int, char, int,
1417 int ahd_search_disc_list(struct ahd_softc *, int, char,
1419 void ahd_freeze_devq(struct ahd_softc *, struct scb *);
1420 int ahd_reset_channel(struct ahd_softc *, char, int);
1421 int ahd_abort_scbs(struct ahd_softc *, int, char, int,
1423 void ahd_restart(struct ahd_softc *);
1424 void ahd_clear_fifo(struct ahd_softc *, u_int);
1425 void ahd_handle_scb_status(struct ahd_softc *, struct scb *);
1426 void ahd_handle_scsi_status(struct ahd_softc *,
1428 void ahd_calc_residual(struct ahd_softc *, struct scb *);
1435 void ahd_find_syncrate(struct ahd_softc *, u_int *,
1437 void ahd_validate_offset(struct ahd_softc *,
1440 void ahd_validate_width(struct ahd_softc *,
1451 int ahd_update_neg_request(struct ahd_softc *,
1454 void ahd_set_width(struct ahd_softc *,
1456 void ahd_set_syncrate(struct ahd_softc *,
1465 void ahd_set_tags(struct ahd_softc *, struct ahd_devinfo *,
1470 void ahd_send_lstate_events(struct ahd_softc *,
1472 void ahd_handle_en_lun(struct ahd_softc *,
1474 cam_status ahd_find_tmode_devs(struct ahd_softc *, struct cam_sim *,
1504 void ahd_print_devinfo(struct ahd_softc *,
1508 void ahd_dump_card_state(struct ahd_softc *);
1511 void ahd_dump_scbs(struct ahd_softc *);