Lines Matching refs:ahc_softc

254 ahc_print_path(struct ahc_softc *ahc, struct scb *scb)  in ahc_print_path()
362 static void ahc_linux_handle_scsi_status(struct ahc_softc *,
365 static void ahc_linux_queue_cmd_complete(struct ahc_softc *ahc,
367 static void ahc_linux_freeze_simq(struct ahc_softc *ahc);
368 static void ahc_linux_release_simq(struct ahc_softc *ahc);
370 static void ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc);
371 static u_int ahc_linux_user_tagdepth(struct ahc_softc *ahc,
374 static int ahc_linux_run_command(struct ahc_softc*,
400 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb()
414 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val) in ahc_outb()
425 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_outsb()
439 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_insb()
453 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
455 static int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
460 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) in ahc_linux_unmap_scb()
471 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, in ahc_linux_map_seg()
501 struct ahc_softc *ahc; in ahc_linux_info()
504 ahc = *(struct ahc_softc **)host->hostdata; in ahc_linux_info()
523 struct ahc_softc *ahc; in ahc_linux_queue_lck()
528 ahc = *(struct ahc_softc **)cmd->device->host->hostdata; in ahc_linux_queue_lck()
545 struct ahc_softc *ahc = in DEF_SCSI_QCMD()
546 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
559 struct ahc_softc *ahc = in ahc_linux_target_alloc()
560 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in ahc_linux_target_alloc()
636 struct ahc_softc *ahc = in ahc_linux_slave_alloc()
637 *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_slave_alloc()
692 struct ahc_softc *ahc; in ahc_linux_biosparam()
695 ahc = *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_biosparam()
757 struct ahc_softc *ahc; in ahc_linux_bus_reset()
761 ahc = *(struct ahc_softc **)cmd->device->host->hostdata; in ahc_linux_bus_reset()
809 ahc_dma_tag_create(struct ahc_softc *ahc, bus_dma_tag_t parent, in ahc_dma_tag_create()
837 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat) in ahc_dma_tag_destroy()
843 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr, in ahc_dmamem_alloc()
854 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat, in ahc_dmamem_free()
861 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map, in ahc_dmamap_load()
878 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_destroy()
883 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_unload()
1069 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) in ahc_linux_register_host()
1078 host = scsi_host_alloc(template, sizeof(struct ahc_softc *)); in ahc_linux_register_host()
1082 *((struct ahc_softc **)host->hostdata) = ahc; in ahc_linux_register_host()
1125 ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc) in ahc_linux_initialize_scsi_bus()
1192 ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) in ahc_platform_alloc()
1210 ahc_platform_free(struct ahc_softc *ahc) in ahc_platform_free()
1244 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) in ahc_platform_freeze_devq()
1253 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, in ahc_platform_set_tags()
1333 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel, in ahc_platform_abort_scbs()
1340 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth()
1378 struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_device_queue_depth()
1402 ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev, in ahc_linux_run_command()
1569 struct ahc_softc *ahc; in ahc_linux_isr()
1573 ahc = (struct ahc_softc *) dev_id; in ahc_linux_isr()
1581 ahc_platform_flushwork(struct ahc_softc *ahc) in ahc_platform_flushwork()
1587 ahc_send_async(struct ahc_softc *ahc, char channel, in ahc_send_async()
1671 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done()
1793 ahc_linux_handle_scsi_status(struct ahc_softc *ahc, in ahc_linux_handle_scsi_status()
1921 ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, struct scsi_cmnd *cmd) in ahc_linux_queue_cmd_complete()
1991 ahc_linux_freeze_simq(struct ahc_softc *ahc) in ahc_linux_freeze_simq()
2009 ahc_linux_release_simq(struct ahc_softc *ahc) in ahc_linux_release_simq()
2034 struct ahc_softc *ahc; in ahc_linux_queue_recovery_cmd()
2052 ahc = *(struct ahc_softc **)cmd->device->host->hostdata; in ahc_linux_queue_recovery_cmd()
2314 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_width()
2328 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_period()
2373 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_offset()
2402 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_dt()
2441 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2470 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2499 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; in ahc_linux_get_signalling()