Lines Matching defs:ahd_softc

626 	struct ahd_softc	 *ahd_softc;
982 int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
985 int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
987 int ahd_wait_seeprom(struct ahd_softc *ahd);
990 int ahd_acquire_seeprom(struct ahd_softc *ahd);
991 void ahd_release_seeprom(struct ahd_softc *ahd);
1042 typedef void (*ahd_bus_intr_t)(struct ahd_softc *);
1096 struct ahd_softc {
1220 TAILQ_ENTRY(ahd_softc) links;
1310 TAILQ_HEAD(ahd_softc_tailq, ahd_softc);
1366 typedef int (ahd_device_setup_t)(struct ahd_softc *);
1379 void ahd_reset_cmds_pending(struct ahd_softc *ahd);
1380 u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
1381 void ahd_busy_tcl(struct ahd_softc *ahd,
1383 static __inline void ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl);
1385 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
1392 int ahd_pci_config(struct ahd_softc *,
1394 int ahd_pci_test_register_access(struct ahd_softc *);
1397 int ahd_probe_scbs(struct ahd_softc *);
1398 void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
1400 int ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
1405 struct ahd_softc *ahd_alloc(void *platform_arg, char *name);
1406 int ahd_softc_init(struct ahd_softc *);
1407 void ahd_controller_info(struct ahd_softc *ahd, char *buf);
1408 int ahd_init(struct ahd_softc *ahd);
1409 int ahd_default_config(struct ahd_softc *ahd);
1410 int ahd_parse_vpddata(struct ahd_softc *ahd,
1412 int ahd_parse_cfgdata(struct ahd_softc *ahd,
1414 void ahd_intr_enable(struct ahd_softc *ahd, int enable);
1415 void ahd_update_coalescing_values(struct ahd_softc *ahd,
1419 void ahd_enable_coalescing(struct ahd_softc *ahd,
1421 void ahd_pause_and_flushwork(struct ahd_softc *ahd);
1422 int ahd_suspend(struct ahd_softc *ahd);
1423 int ahd_resume(struct ahd_softc *ahd);
1424 void ahd_softc_insert(struct ahd_softc *);
1425 void ahd_set_unit(struct ahd_softc *, int);
1426 void ahd_set_name(struct ahd_softc *, char *);
1427 struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
1428 void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
1429 int ahd_alloc_scbs(struct ahd_softc *ahd);
1430 void ahd_free(struct ahd_softc *ahd);
1431 int ahd_reset(struct ahd_softc *ahd, int reinit);
1433 int ahd_write_flexport(struct ahd_softc *ahd,
1435 int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
1437 int ahd_wait_flexport(struct ahd_softc *ahd);
1440 void ahd_pci_intr(struct ahd_softc *ahd);
1441 void ahd_clear_intstat(struct ahd_softc *ahd);
1442 void ahd_flush_qoutfifo(struct ahd_softc *ahd);
1443 void ahd_run_qoutfifo(struct ahd_softc *ahd);
1445 void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused);
1447 void ahd_handle_hwerrint(struct ahd_softc *ahd);
1448 void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
1449 void ahd_handle_scsiint(struct ahd_softc *ahd,
1451 void ahd_clear_critical_section(struct ahd_softc *ahd);
1460 void ahd_done_with_status(struct ahd_softc *ahd,
1462 int ahd_search_qinfifo(struct ahd_softc *ahd, int target,
1466 int ahd_search_disc_list(struct ahd_softc *ahd, int target,
1470 void ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
1471 int ahd_reset_channel(struct ahd_softc *ahd, char channel,
1473 int ahd_abort_scbs(struct ahd_softc *ahd, int target,
1476 void ahd_restart(struct ahd_softc *ahd);
1477 void ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo);
1478 void ahd_handle_scb_status(struct ahd_softc *ahd,
1480 void ahd_handle_scsi_status(struct ahd_softc *ahd,
1482 void ahd_calc_residual(struct ahd_softc *ahd,
1485 void ahd_recover_commands(struct ahd_softc *ahd);
1494 void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
1496 void ahd_validate_offset(struct ahd_softc *ahd,
1500 void ahd_validate_width(struct ahd_softc *ahd,
1513 int ahd_update_neg_request(struct ahd_softc*,
1518 void ahd_set_width(struct ahd_softc *ahd,
1521 void ahd_set_syncrate(struct ahd_softc *ahd,
1532 void ahd_set_tags(struct ahd_softc *ahd,
1538 void ahd_send_lstate_events(struct ahd_softc *,
1540 void ahd_handle_en_lun(struct ahd_softc *ahd,
1542 cam_status ahd_find_tmode_devs(struct ahd_softc *ahd,
1574 void ahd_print_devinfo(struct ahd_softc *ahd,
1578 void ahd_dump_card_state(struct ahd_softc *ahd);
1586 void ahd_dump_scbs(struct ahd_softc *ahd);