Home
last modified time | relevance | path

Searched refs:ahc_softc (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7xxx_inline.h49 int ahc_is_paused(struct ahc_softc *ahc);
50 void ahc_pause(struct ahc_softc *ahc);
51 void ahc_unpause(struct ahc_softc *ahc);
54 void ahc_sync_sglist(struct ahc_softc *ahc,
58 static inline char *ahc_name(struct ahc_softc *ahc);
60 static inline char *ahc_name(struct ahc_softc *ahc) in ahc_name()
68 ahc_fetch_transinfo(struct ahc_softc *ahc,
73 ahc_inw(struct ahc_softc *ahc, u_int port);
74 void ahc_outw(struct ahc_softc *ahc, u_int port,
77 ahc_inl(struct ahc_softc *ahc, u_int port);
[all …]
Daic7xxx_osm.h105 struct ahc_softc;
174 int ahc_dma_tag_create(struct ahc_softc *, bus_dma_tag_t /*parent*/,
182 void ahc_dma_tag_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/);
184 int ahc_dmamem_alloc(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
188 void ahc_dmamem_free(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
191 void ahc_dmamap_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/,
194 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
199 int ahc_dmamap_unload(struct ahc_softc *, bus_dma_tag_t, bus_dmamap_t);
370 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
371 void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
[all …]
Daic7xxx.h569 struct ahc_softc *ahc_softc; member
897 typedef void (*ahc_bus_intr_t)(struct ahc_softc *);
898 typedef int (*ahc_bus_chip_init_t)(struct ahc_softc *);
901 struct ahc_softc { struct
1105 typedef int (ahc_device_setup_t)(struct ahc_softc *);
1132 int ahc_pci_config(struct ahc_softc *,
1134 int ahc_pci_test_register_access(struct ahc_softc *);
1135 void __maybe_unused ahc_pci_resume(struct ahc_softc *ahc);
1139 int aic7770_config(struct ahc_softc *ahc,
1144 int ahc_probe_scbs(struct ahc_softc *);
[all …]
Daic7xxx_osm.c254 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()
[all …]
Daic7xxx_pci.c599 static int ahc_ext_scbram_present(struct ahc_softc *ahc);
600 static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
602 static void ahc_probe_ext_scbram(struct ahc_softc *ahc);
603 static void check_extport(struct ahc_softc *ahc, u_int *sxfrctl1);
604 static void ahc_parse_pci_eeprom(struct ahc_softc *ahc,
606 static void configure_termination(struct ahc_softc *ahc,
611 static void ahc_new_term_detect(struct ahc_softc *ahc,
617 static void aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
621 static void aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
624 static void write_brdctl(struct ahc_softc *ahc, uint8_t value);
[all …]
Daic7xxx_core.c134 static void ahc_force_renegotiation(struct ahc_softc *ahc,
137 ahc_alloc_tstate(struct ahc_softc *ahc,
140 static void ahc_free_tstate(struct ahc_softc *ahc,
144 ahc_devlimited_syncrate(struct ahc_softc *ahc,
149 static void ahc_update_pending_scbs(struct ahc_softc *ahc);
150 static void ahc_fetch_devinfo(struct ahc_softc *ahc,
152 static void ahc_scb_devinfo(struct ahc_softc *ahc,
155 static void ahc_assert_atn(struct ahc_softc *ahc);
156 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc,
159 static void ahc_build_transfer_msg(struct ahc_softc *ahc,
[all …]
Daic7xxx_osm_pci.c127 struct ahc_softc *ahc = dev_get_drvdata(dev); in ahc_linux_pci_dev_suspend()
135 struct ahc_softc *ahc = dev_get_drvdata(dev); in ahc_linux_pci_dev_resume()
145 struct ahc_softc *ahc = pci_get_drvdata(pdev); in ahc_linux_pci_dev_remove()
158 ahc_linux_pci_inherit_flags(struct ahc_softc *ahc) in ahc_linux_pci_inherit_flags()
165 struct ahc_softc *master = pci_get_drvdata(master_pdev); in ahc_linux_pci_inherit_flags()
183 struct ahc_softc *ahc; in ahc_linux_pci_dev_probe()
323 ahc_linux_pci_reserve_io_region(struct ahc_softc *ahc, resource_size_t *base) in ahc_linux_pci_reserve_io_region()
337 ahc_linux_pci_reserve_mem_region(struct ahc_softc *ahc, in ahc_linux_pci_reserve_mem_region()
363 ahc_pci_map_registers(struct ahc_softc *ahc) in ahc_pci_map_registers()
436 ahc_pci_map_int(struct ahc_softc *ahc) in ahc_pci_map_int()
Daic7770.c56 static int aic7770_chip_init(struct ahc_softc *ahc);
57 static int aha2840_load_seeprom(struct ahc_softc *ahc);
119 aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) in aic7770_config()
256 aic7770_chip_init(struct ahc_softc *ahc) in aic7770_chip_init()
269 aha2840_load_seeprom(struct ahc_softc *ahc) in aha2840_load_seeprom()
355 ahc_aic7770_VL_setup(struct ahc_softc *ahc) in ahc_aic7770_VL_setup()
365 ahc_aic7770_EISA_setup(struct ahc_softc *ahc) in ahc_aic7770_EISA_setup()
375 ahc_aic7770_setup(struct ahc_softc *ahc) in ahc_aic7770_setup()
Daic7770_osm.c48 aic7770_map_registers(struct ahc_softc *ahc, u_int port) in aic7770_map_registers()
61 aic7770_map_int(struct ahc_softc *ahc, u_int irq) in aic7770_map_int()
82 struct ahc_softc *ahc; in aic7770_probe()
112 struct ahc_softc *ahc = dev_get_drvdata(dev); in aic7770_remove()
Daic7xxx_proc.c46 static void ahc_dump_target_state(struct ahc_softc *ahc,
134 ahc_dump_target_state(struct ahc_softc *ahc, struct seq_file *m, in ahc_dump_target_state()
190 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; in ahc_proc_write_seeprom()
292 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; in ahc_linux_show_info()
Daic7xxx_seq.h_shipped891 typedef int ahc_patch_func_t (struct ahc_softc *ahc);
895 ahc_patch23_func(struct ahc_softc *ahc)
903 ahc_patch22_func(struct ahc_softc *ahc)
911 ahc_patch21_func(struct ahc_softc *ahc)
919 ahc_patch20_func(struct ahc_softc *ahc)
927 ahc_patch19_func(struct ahc_softc *ahc)
935 ahc_patch18_func(struct ahc_softc *ahc)
943 ahc_patch17_func(struct ahc_softc *ahc)
951 ahc_patch16_func(struct ahc_softc *ahc)
959 ahc_patch15_func(struct ahc_softc *ahc)
[all …]
Daic7xxx_93cx6.h54 struct ahc_softc *sd_ahc;
Daic7xxx.seq44 PATCH_ARG_LIST = "struct ahc_softc *ahc"