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()
546 static inline unsigned int ahd_build_scsiid(struct ahd_softc *ahd, in ahd_build_scsiid()
561 struct ahd_softc *ahd; in ahd_linux_info()
564 ahd = *(struct ahd_softc **)host->hostdata; in ahd_linux_info()
582 struct ahd_softc *ahd; in ahd_linux_queue_lck()
586 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_lck()
599 struct ahd_softc *ahd = in DEF_SCSI_QCMD()
600 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
613 struct ahd_softc *ahd = in ahd_linux_target_alloc()
614 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in ahd_linux_target_alloc()
677 struct ahd_softc *ahd = in ahd_linux_slave_alloc()
678 *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_slave_alloc()
730 struct ahd_softc *ahd; in ahd_linux_biosparam()
732 ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_biosparam()
772 struct ahd_softc *ahd; in ahd_linux_dev_reset()
784 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_dev_reset()
868 struct ahd_softc *ahd; in ahd_linux_bus_reset()
872 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_bus_reset()
917 ahd_dma_tag_create(struct ahd_softc *ahd, bus_dma_tag_t parent, in ahd_dma_tag_create()
945 ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat) in ahd_dma_tag_destroy()
951 ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr, in ahd_dmamem_alloc()
962 ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat, in ahd_dmamem_free()
969 ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map, in ahd_dmamap_load()
986 ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_destroy()
991 ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_unload()
1208 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) in ahd_linux_register_host()
1217 host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); in ahd_linux_register_host()
1221 *((struct ahd_softc **)host->hostdata) = ahd; in ahd_linux_register_host()
1264 ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd) in ahd_linux_initialize_scsi_bus()
1309 ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg) in ahd_platform_alloc()
1322 ahd_platform_free(struct ahd_softc *ahd) in ahd_platform_free()
1358 ahd_platform_init(struct ahd_softc *ahd) in ahd_platform_init()
1378 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_freeze_devq()
1387 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, in ahd_platform_set_tags()
1471 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, in ahd_platform_abort_scbs()
1478 ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_linux_user_tagdepth()
1516 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_device_queue_depth()
1539 ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev, in ahd_linux_run_command()
1659 struct ahd_softc *ahd; in ahd_linux_isr()
1663 ahd = (struct ahd_softc *) dev_id; in ahd_linux_isr()
1671 ahd_send_async(struct ahd_softc *ahd, char channel, in ahd_send_async()
1759 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done()
1877 ahd_linux_handle_scsi_status(struct ahd_softc *ahd, in ahd_linux_handle_scsi_status()
2023 ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd) in ahd_linux_queue_cmd_complete()
2126 ahd_freeze_simq(struct ahd_softc *ahd) in ahd_freeze_simq()
2132 ahd_release_simq(struct ahd_softc *ahd) in ahd_release_simq()
2140 struct ahd_softc *ahd; in ahd_linux_queue_abort_cmd()
2158 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_abort_cmd()
2370 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_width()
2384 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_period()
2437 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_offset()
2472 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_dt()
2514 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_qas()
2553 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_iu()
2593 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rd_strm()
2629 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_wr_flow()
2665 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rti()
2709 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_pcomp_en()
2759 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_hold_mcs()
2788 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_linux_get_signalling()