Home
last modified time | relevance | path

Searched refs:ahd_softc (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h49 static inline char *ahd_name(struct ahd_softc *ahd);
51 static inline char *ahd_name(struct ahd_softc *ahd) in ahd_name()
57 static inline void ahd_known_modes(struct ahd_softc *ahd,
59 static inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd,
62 static inline void ahd_extract_mode_state(struct ahd_softc *ahd,
66 void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
68 ahd_mode_state ahd_save_modes(struct ahd_softc *ahd);
69 void ahd_restore_modes(struct ahd_softc *ahd,
71 int ahd_is_paused(struct ahd_softc *ahd);
72 void ahd_pause(struct ahd_softc *ahd);
[all …]
H A Daic79xx_osm.h93 struct ahd_softc;
161 int ahd_dma_tag_create(struct ahd_softc *, bus_dma_tag_t /*parent*/,
169 void ahd_dma_tag_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/);
171 int ahd_dmamem_alloc(struct ahd_softc *, bus_dma_tag_t /*dmat*/,
175 void ahd_dmamem_free(struct ahd_softc *, bus_dma_tag_t /*dmat*/,
178 void ahd_dmamap_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/,
181 int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/,
186 int ahd_dmamap_unload(struct ahd_softc *, bus_dma_tag_t, bus_dmamap_t);
357 uint8_t ahd_inb(struct ahd_softc * ahd, long port);
358 void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
[all …]
H A Daic79xx.h608 struct ahd_softc *ahd_softc; member
959 int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
962 int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
965 int ahd_acquire_seeprom(struct ahd_softc *ahd);
966 void ahd_release_seeprom(struct ahd_softc *ahd);
1024 typedef void (*ahd_bus_intr_t)(struct ahd_softc *);
1053 struct ahd_softc { struct
1163 TAILQ_ENTRY(ahd_softc) links; argument
1303 typedef int (ahd_device_setup_t)(struct ahd_softc *);
1330 int ahd_pci_config(struct ahd_softc *,
[all …]
H A Daic79xx_osm.c224 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);
[all …]
H A Daic79xx_core.c98 static void ahd_handle_transmission_error(struct ahd_softc *ahd);
99 static void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
101 static int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
103 static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
104 static void ahd_handle_proto_violation(struct ahd_softc *ahd);
105 static void ahd_force_renegotiation(struct ahd_softc *ahd,
109 ahd_alloc_tstate(struct ahd_softc *ahd,
112 static void ahd_free_tstate(struct ahd_softc *ahd,
115 static void ahd_devlimited_syncrate(struct ahd_softc *ahd,
120 static void ahd_update_neg_table(struct ahd_softc *ahd,
[all …]
H A Daic79xx_osm_pci.c80 struct ahd_softc *ahd = dev_get_drvdata(dev); in ahd_linux_pci_dev_suspend()
94 struct ahd_softc *ahd = dev_get_drvdata(dev); in ahd_linux_pci_dev_resume()
106 struct ahd_softc *ahd = pci_get_drvdata(pdev); in ahd_linux_pci_dev_remove()
119 ahd_linux_pci_inherit_flags(struct ahd_softc *ahd) in ahd_linux_pci_inherit_flags()
126 struct ahd_softc *master = pci_get_drvdata(master_pdev); in ahd_linux_pci_inherit_flags()
140 struct ahd_softc *ahd; in ahd_linux_pci_dev_probe()
232 ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, resource_size_t *base, in ahd_linux_pci_reserve_io_regions()
254 ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, in ahd_linux_pci_reserve_mem_region()
290 ahd_pci_map_registers(struct ahd_softc *ahd) in ahd_pci_map_registers()
362 ahd_pci_map_int(struct ahd_softc *ahd) in ahd_pci_map_int()
[all …]
H A Daic79xx_pci.c244 static int ahd_check_extport(struct ahd_softc *ahd);
245 static void ahd_configure_termination(struct ahd_softc *ahd,
247 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
248 static void ahd_pci_intr(struct ahd_softc *ahd);
289 ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry) in ahd_pci_config()
381 ahd_pci_suspend(struct ahd_softc *ahd) in ahd_pci_suspend()
397 ahd_pci_resume(struct ahd_softc *ahd) in ahd_pci_resume()
412 ahd_pci_test_register_access(struct ahd_softc *ahd) in ahd_pci_test_register_access()
504 ahd_check_extport(struct ahd_softc *ahd) in ahd_check_extport()
637 ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control) in ahd_configure_termination()
[all …]
H A Daic79xx_proc.c45 static void ahd_dump_target_state(struct ahd_softc *ahd,
157 ahd_dump_target_state(struct ahd_softc *ahd, struct seq_file *m, in ahd_dump_target_state()
210 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_proc_write_seeprom()
277 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_linux_show_info()
H A Daic79xx_seq.h_shipped837 typedef int ahd_patch_func_t (struct ahd_softc *ahd);
841 ahd_patch23_func(struct ahd_softc *ahd)
849 ahd_patch22_func(struct ahd_softc *ahd)
857 ahd_patch21_func(struct ahd_softc *ahd)
865 ahd_patch20_func(struct ahd_softc *ahd)
873 ahd_patch19_func(struct ahd_softc *ahd)
881 ahd_patch18_func(struct ahd_softc *ahd)
889 ahd_patch17_func(struct ahd_softc *ahd)
897 ahd_patch16_func(struct ahd_softc *ahd)
905 ahd_patch15_func(struct ahd_softc *ahd)
[all …]
H A Daic79xx.seq44 PATCH_ARG_LIST = "struct ahd_softc *ahd"