Lines Matching refs:ahc_softc
263 ahc_print_path(struct ahc_softc *ahc, struct scb *scb)
366 static void ahc_linux_handle_scsi_status(struct ahc_softc *,
369 static void ahc_linux_queue_cmd_complete(struct ahc_softc *ahc,
371 static void ahc_linux_freeze_simq(struct ahc_softc *ahc);
372 static void ahc_linux_release_simq(struct ahc_softc *ahc);
374 static void ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc);
375 static u_int ahc_linux_user_tagdepth(struct ahc_softc *ahc,
378 static int ahc_linux_run_command(struct ahc_softc*,
404 ahc_inb(struct ahc_softc * ahc, long port)
418 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val)
429 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count)
443 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count)
457 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
459 static int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
464 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb)
475 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
505 struct ahc_softc *ahc;
508 ahc = *(struct ahc_softc **)host->hostdata;
528 struct ahc_softc *ahc;
533 ahc = *(struct ahc_softc **)cmd->device->host->hostdata;
549 struct ahc_softc *ahc =
550 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata);
563 struct ahc_softc *ahc =
564 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata);
645 struct ahc_softc *ahc =
646 *((struct ahc_softc **)sdev->host->hostdata);
677 struct ahc_softc *ahc;
679 ahc = *((struct ahc_softc **)sdev->host->hostdata);
707 struct ahc_softc *ahc;
710 ahc = *((struct ahc_softc **)sdev->host->hostdata);
777 struct ahc_softc *ahc;
781 ahc = *(struct ahc_softc **)cmd->device->host->hostdata;
829 ahc_dma_tag_create(struct ahc_softc *ahc, bus_dma_tag_t parent,
857 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat)
863 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr,
874 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat,
882 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map,
899 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map)
904 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map)
1086 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template)
1095 host = scsi_host_alloc(template, sizeof(struct ahc_softc *));
1099 *((struct ahc_softc **)host->hostdata) = ahc;
1142 ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc)
1209 ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg)
1228 ahc_platform_free(struct ahc_softc *ahc)
1262 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb)
1271 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev,
1354 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel,
1361 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
1399 struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata);
1423 ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev,
1598 struct ahc_softc *ahc;
1602 ahc = (struct ahc_softc *) dev_id;
1610 ahc_platform_flushwork(struct ahc_softc *ahc)
1616 ahc_send_async(struct ahc_softc *ahc, char channel,
1708 ahc_done(struct ahc_softc *ahc, struct scb *scb)
1828 ahc_linux_handle_scsi_status(struct ahc_softc *ahc,
1957 ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, struct scsi_cmnd *cmd)
2027 ahc_linux_freeze_simq(struct ahc_softc *ahc)
2044 ahc_linux_release_simq(struct ahc_softc *ahc)
2069 struct ahc_softc *ahc;
2087 ahc = *(struct ahc_softc **)cmd->device->host->hostdata;
2346 ahc_platform_dump_card_state(struct ahc_softc *ahc)
2353 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2367 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2411 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2439 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata);
2472 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata;