Lines Matching refs:ahd_softc
224 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) in ahd_print_path()
352 static void ahd_linux_handle_scsi_status(struct ahd_softc *,
355 static void ahd_linux_queue_cmd_complete(struct ahd_softc *ahd,
358 static void ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd);
359 static u_int ahd_linux_user_tagdepth(struct ahd_softc *ahd,
362 static int ahd_linux_run_command(struct ahd_softc*,
367 static void ahd_freeze_simq(struct ahd_softc *ahd);
368 static void ahd_release_simq(struct ahd_softc *ahd);
391 uint8_t ahd_inb(struct ahd_softc * ahd, long port);
392 void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
393 void ahd_outw_atomic(struct ahd_softc * ahd,
395 void ahd_outsb(struct ahd_softc * ahd, long port,
397 void ahd_insb(struct ahd_softc * ahd, long port,
401 ahd_inb(struct ahd_softc * ahd, long port) in ahd_inb()
416 ahd_inw_atomic(struct ahd_softc * ahd, long port)
431 ahd_outb(struct ahd_softc * ahd, long port, uint8_t val) in ahd_outb()
442 ahd_outw_atomic(struct ahd_softc * ahd, long port, uint16_t val) in ahd_outw_atomic()
453 ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count) in ahd_outsb()
467 ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count) in ahd_insb()
531 static void ahd_linux_unmap_scb(struct ahd_softc*, struct scb*);
534 ahd_linux_unmap_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_linux_unmap_scb()
556 struct ahd_softc *ahd; in ahd_linux_info()
559 ahd = *(struct ahd_softc **)host->hostdata; in ahd_linux_info()
577 struct ahd_softc *ahd; in ahd_linux_queue_lck()
581 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_lck()
594 struct ahd_softc *ahd = in DEF_SCSI_QCMD()
595 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
608 struct ahd_softc *ahd = in ahd_linux_target_alloc()
609 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in ahd_linux_target_alloc()
672 struct ahd_softc *ahd = in ahd_linux_slave_alloc()
673 *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_slave_alloc()
725 struct ahd_softc *ahd; in ahd_linux_biosparam()
727 ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_biosparam()
767 struct ahd_softc *ahd; in ahd_linux_dev_reset()
779 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_dev_reset()
863 struct ahd_softc *ahd; in ahd_linux_bus_reset()
867 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_bus_reset()
912 ahd_dma_tag_create(struct ahd_softc *ahd, bus_dma_tag_t parent, in ahd_dma_tag_create()
940 ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat) in ahd_dma_tag_destroy()
946 ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr, in ahd_dmamem_alloc()
957 ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat, in ahd_dmamem_free()
964 ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map, in ahd_dmamap_load()
981 ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_destroy()
986 ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_unload()
1203 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) in ahd_linux_register_host()
1212 host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); in ahd_linux_register_host()
1216 *((struct ahd_softc **)host->hostdata) = ahd; in ahd_linux_register_host()
1259 ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd) in ahd_linux_initialize_scsi_bus()
1304 ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg) in ahd_platform_alloc()
1317 ahd_platform_free(struct ahd_softc *ahd) in ahd_platform_free()
1353 ahd_platform_init(struct ahd_softc *ahd) in ahd_platform_init()
1373 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_freeze_devq()
1382 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, in ahd_platform_set_tags()
1466 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, in ahd_platform_abort_scbs()
1473 ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_linux_user_tagdepth()
1511 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_device_queue_depth()
1534 ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev, in ahd_linux_run_command()
1654 struct ahd_softc *ahd; in ahd_linux_isr()
1658 ahd = (struct ahd_softc *) dev_id; in ahd_linux_isr()
1666 ahd_send_async(struct ahd_softc *ahd, char channel, in ahd_send_async()
1754 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done()
1863 ahd_linux_handle_scsi_status(struct ahd_softc *ahd, in ahd_linux_handle_scsi_status()
2009 ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd) in ahd_linux_queue_cmd_complete()
2112 ahd_freeze_simq(struct ahd_softc *ahd) in ahd_freeze_simq()
2118 ahd_release_simq(struct ahd_softc *ahd) in ahd_release_simq()
2126 struct ahd_softc *ahd; in ahd_linux_queue_abort_cmd()
2144 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_abort_cmd()
2356 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_width()
2370 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_period()
2423 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_offset()
2458 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_dt()
2500 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_qas()
2539 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_iu()
2579 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rd_strm()
2615 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_wr_flow()
2651 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rti()
2695 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_pcomp_en()
2745 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_hold_mcs()
2774 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_linux_get_signalling()