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()
578 struct ahd_softc *ahd; in ahd_linux_queue_lck()
582 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_lck()
596 struct ahd_softc *ahd = in DEF_SCSI_QCMD()
597 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
610 struct ahd_softc *ahd = in ahd_linux_target_alloc()
611 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in ahd_linux_target_alloc()
674 struct ahd_softc *ahd = in ahd_linux_slave_alloc()
675 *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_slave_alloc()
727 struct ahd_softc *ahd; in ahd_linux_biosparam()
729 ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_biosparam()
773 struct ahd_softc *ahd; in ahd_linux_dev_reset()
785 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_dev_reset()
869 struct ahd_softc *ahd; in ahd_linux_bus_reset()
873 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_bus_reset()
918 ahd_dma_tag_create(struct ahd_softc *ahd, bus_dma_tag_t parent, in ahd_dma_tag_create()
946 ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat) in ahd_dma_tag_destroy()
952 ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr, in ahd_dmamem_alloc()
963 ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat, in ahd_dmamem_free()
970 ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map, in ahd_dmamap_load()
987 ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_destroy()
992 ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) in ahd_dmamap_unload()
1209 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) in ahd_linux_register_host()
1218 host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); in ahd_linux_register_host()
1222 *((struct ahd_softc **)host->hostdata) = ahd; in ahd_linux_register_host()
1265 ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd) in ahd_linux_initialize_scsi_bus()
1310 ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg) in ahd_platform_alloc()
1323 ahd_platform_free(struct ahd_softc *ahd) in ahd_platform_free()
1359 ahd_platform_init(struct ahd_softc *ahd) in ahd_platform_init()
1379 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_freeze_devq()
1388 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, in ahd_platform_set_tags()
1472 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, in ahd_platform_abort_scbs()
1479 ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_linux_user_tagdepth()
1517 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_device_queue_depth()
1540 ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev, in ahd_linux_run_command()
1660 struct ahd_softc *ahd; in ahd_linux_isr()
1664 ahd = (struct ahd_softc *) dev_id; in ahd_linux_isr()
1672 ahd_send_async(struct ahd_softc *ahd, char channel, in ahd_send_async()
1760 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done()
1869 ahd_linux_handle_scsi_status(struct ahd_softc *ahd, in ahd_linux_handle_scsi_status()
2015 ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd) in ahd_linux_queue_cmd_complete()
2123 ahd_freeze_simq(struct ahd_softc *ahd) in ahd_freeze_simq()
2129 ahd_release_simq(struct ahd_softc *ahd) in ahd_release_simq()
2137 struct ahd_softc *ahd; in ahd_linux_queue_abort_cmd()
2156 ahd = *(struct ahd_softc **)cmd->device->host->hostdata; in ahd_linux_queue_abort_cmd()
2368 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_width()
2382 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_period()
2435 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_offset()
2470 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_dt()
2512 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_qas()
2551 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_iu()
2591 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rd_strm()
2627 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_wr_flow()
2663 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_rti()
2707 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_pcomp_en()
2757 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); in ahd_linux_set_hold_mcs()
2786 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_linux_get_signalling()