Lines Matching refs:ahc_softc

253 ahc_print_path(struct ahc_softc *ahc, struct scb *scb)  in ahc_print_path()
361 static void ahc_linux_handle_scsi_status(struct ahc_softc *,
364 static void ahc_linux_queue_cmd_complete(struct ahc_softc *ahc,
366 static void ahc_linux_freeze_simq(struct ahc_softc *ahc);
367 static void ahc_linux_release_simq(struct ahc_softc *ahc);
369 static void ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc);
370 static u_int ahc_linux_user_tagdepth(struct ahc_softc *ahc,
373 static int ahc_linux_run_command(struct ahc_softc*,
399 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb()
413 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val) in ahc_outb()
424 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_outsb()
438 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_insb()
452 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
454 static int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
459 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) in ahc_linux_unmap_scb()
470 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, in ahc_linux_map_seg()
500 struct ahc_softc *ahc; in ahc_linux_info()
503 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()
546 struct ahc_softc *ahc = in DEF_SCSI_QCMD()
547 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
560 struct ahc_softc *ahc = in ahc_linux_target_alloc()
561 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in ahc_linux_target_alloc()
642 struct ahc_softc *ahc = in ahc_linux_slave_alloc()
643 *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_slave_alloc()
674 struct ahc_softc *ahc; in ahc_linux_slave_configure()
676 ahc = *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_slave_configure()
704 struct ahc_softc *ahc; in ahc_linux_biosparam()
707 ahc = *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_biosparam()
774 struct ahc_softc *ahc; in ahc_linux_bus_reset()
778 ahc = *(struct ahc_softc **)cmd->device->host->hostdata; in ahc_linux_bus_reset()
828 ahc_dma_tag_create(struct ahc_softc *ahc, bus_dma_tag_t parent, in ahc_dma_tag_create()
856 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat) in ahc_dma_tag_destroy()
862 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr, in ahc_dmamem_alloc()
873 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat, in ahc_dmamem_free()
881 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map, in ahc_dmamap_load()
898 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_destroy()
903 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_unload()
1089 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) in ahc_linux_register_host()
1098 host = scsi_host_alloc(template, sizeof(struct ahc_softc *)); in ahc_linux_register_host()
1102 *((struct ahc_softc **)host->hostdata) = ahc; in ahc_linux_register_host()
1146 ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc) in ahc_linux_initialize_scsi_bus()
1213 ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) in ahc_platform_alloc()
1231 ahc_platform_free(struct ahc_softc *ahc) in ahc_platform_free()
1265 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) in ahc_platform_freeze_devq()
1274 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, in ahc_platform_set_tags()
1354 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel, in ahc_platform_abort_scbs()
1361 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) in ahc_linux_user_tagdepth()
1399 struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata); in ahc_linux_device_queue_depth()
1423 ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev, in ahc_linux_run_command()
1590 struct ahc_softc *ahc; in ahc_linux_isr()
1594 ahc = (struct ahc_softc *) dev_id; in ahc_linux_isr()
1602 ahc_platform_flushwork(struct ahc_softc *ahc) in ahc_platform_flushwork()
1608 ahc_send_async(struct ahc_softc *ahc, char channel, in ahc_send_async()
1694 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done()
1814 ahc_linux_handle_scsi_status(struct ahc_softc *ahc, in ahc_linux_handle_scsi_status()
1943 ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, struct scsi_cmnd *cmd) in ahc_linux_queue_cmd_complete()
2013 ahc_linux_freeze_simq(struct ahc_softc *ahc) in ahc_linux_freeze_simq()
2031 ahc_linux_release_simq(struct ahc_softc *ahc) in ahc_linux_release_simq()
2056 struct ahc_softc *ahc; in ahc_linux_queue_recovery_cmd()
2074 ahc = *(struct ahc_softc **)cmd->device->host->hostdata; in ahc_linux_queue_recovery_cmd()
2334 ahc_platform_dump_card_state(struct ahc_softc *ahc) in ahc_platform_dump_card_state()
2341 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_width()
2355 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_period()
2399 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_offset()
2427 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); in ahc_linux_set_dt()
2465 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2493 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2521 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; in ahc_linux_get_signalling()