Searched refs:ahc (Results 1 - 23 of 23) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/aic7xxx/
H A 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) argument
62 return (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_in
[all...]
H A Daic7770.c62 static int aic7770_chip_init(struct ahc_softc *ahc);
63 static int aha2840_load_seeprom(struct ahc_softc *ahc);
125 aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) argument
133 error = entry->setup(ahc);
138 error = aic7770_map_registers(ahc, io);
148 ahc_intr_enable(ahc, FALSE);
150 ahc->description = entry->name;
151 error = ahc_softc_init(ahc);
155 ahc->bus_chip_init = aic7770_chip_init;
157 error = ahc_reset(ahc, /*reini
262 aic7770_chip_init(struct ahc_softc *ahc) argument
275 aha2840_load_seeprom(struct ahc_softc *ahc) argument
361 ahc_aic7770_VL_setup(struct ahc_softc *ahc) argument
371 ahc_aic7770_EISA_setup(struct ahc_softc *ahc) argument
381 ahc_aic7770_setup(struct ahc_softc *ahc) argument
[all...]
H A Daic7770_osm.c48 aic7770_map_registers(struct ahc_softc *ahc, u_int port) argument
55 ahc->tag = BUS_SPACE_PIO;
56 ahc->bsh.ioport = port;
61 aic7770_map_int(struct ahc_softc *ahc, u_int irq) argument
67 if ((ahc->flags & AHC_EDGE_INTERRUPT) == 0)
70 error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc);
72 ahc->platform_data->irq = irq;
82 struct ahc_softc *ahc; local
92 ahc = ahc_alloc(&aic7xxx_driver_template, name);
93 if (ahc
112 struct ahc_softc *ahc = dev_get_drvdata(dev); local
[all...]
H A Daic7xxx_pci.c602 static int ahc_ext_scbram_present(struct ahc_softc *ahc);
603 static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
605 static void ahc_probe_ext_scbram(struct ahc_softc *ahc);
606 static void check_extport(struct ahc_softc *ahc, u_int *sxfrctl1);
607 static void ahc_parse_pci_eeprom(struct ahc_softc *ahc,
609 static void configure_termination(struct ahc_softc *ahc,
614 static void ahc_new_term_detect(struct ahc_softc *ahc,
620 static void aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
624 static void aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
627 static void write_brdctl(struct ahc_softc *ahc, uint8_
708 ahc_pci_config(struct ahc_softc *ahc, const struct ahc_pci_identity *entry) argument
964 ahc_ext_scbram_present(struct ahc_softc *ahc) argument
1000 ahc_scbram_config(struct ahc_softc *ahc, int enable, int pcheck, int fast, int large) argument
1058 ahc_probe_ext_scbram(struct ahc_softc *ahc) argument
1159 ahc_pci_test_register_access(struct ahc_softc *ahc) argument
1248 check_extport(struct ahc_softc *ahc, u_int *sxfrctl1) argument
1397 ahc_parse_pci_eeprom(struct ahc_softc *ahc, struct seeprom_config *sc) argument
1515 configure_termination(struct ahc_softc *ahc, struct seeprom_descriptor *sd, u_int adapter_control, u_int *sxfrctl1) argument
1741 ahc_new_term_detect(struct ahc_softc *ahc, int *enableSEC_low, int *enableSEC_high, int *enablePRI_low, int *enablePRI_high, int *eeprom_present) argument
1763 aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present, int *internal68_present, int *externalcable_present, int *eeprom_present) argument
1804 aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present, int *externalcable_present, int *eeprom_present) argument
1827 ahc_acquire_seeprom(struct ahc_softc *ahc, struct seeprom_descriptor *sd) argument
1862 write_brdctl(struct ahc_softc *ahc, uint8_t value) argument
1894 read_brdctl(struct ahc_softc *ahc) argument
1916 ahc_pci_intr(struct ahc_softc *ahc) argument
1982 ahc_pci_chip_init(struct ahc_softc *ahc) argument
2008 ahc_pci_resume(struct ahc_softc *ahc) argument
2041 ahc_aic785X_setup(struct ahc_softc *ahc) argument
2059 ahc_aic7860_setup(struct ahc_softc *ahc) argument
2077 ahc_apa1480_setup(struct ahc_softc *ahc) argument
2089 ahc_aic7870_setup(struct ahc_softc *ahc) argument
2101 ahc_aic7870h_setup(struct ahc_softc *ahc) argument
2111 ahc_aha394X_setup(struct ahc_softc *ahc) argument
2122 ahc_aha394Xh_setup(struct ahc_softc *ahc) argument
2132 ahc_aha398X_setup(struct ahc_softc *ahc) argument
2143 ahc_aha494X_setup(struct ahc_softc *ahc) argument
2154 ahc_aha494Xh_setup(struct ahc_softc *ahc) argument
2164 ahc_aic7880_setup(struct ahc_softc *ahc) argument
2185 ahc_aic7880h_setup(struct ahc_softc *ahc) argument
2196 ahc_aha2940Pro_setup(struct ahc_softc *ahc) argument
2204 ahc_aha394XU_setup(struct ahc_softc *ahc) argument
2215 ahc_aha394XUh_setup(struct ahc_softc *ahc) argument
2225 ahc_aha398XU_setup(struct ahc_softc *ahc) argument
2236 ahc_aic7890_setup(struct ahc_softc *ahc) argument
2254 ahc_aic7892_setup(struct ahc_softc *ahc) argument
2267 ahc_aic7895_setup(struct ahc_softc *ahc) argument
2301 ahc_aic7895h_setup(struct ahc_softc *ahc) argument
2311 ahc_aic7896_setup(struct ahc_softc *ahc) argument
2326 ahc_aic7899_setup(struct ahc_softc *ahc) argument
2341 ahc_aha29160C_setup(struct ahc_softc *ahc) argument
2353 ahc_raid_setup(struct ahc_softc *ahc) argument
2360 ahc_aha394XX_setup(struct ahc_softc *ahc) argument
2382 ahc_aha398XX_setup(struct ahc_softc *ahc) argument
2409 ahc_aha494XX_setup(struct ahc_softc *ahc) argument
[all...]
H A Daic7xxx_core.c141 static void ahc_force_renegotiation(struct ahc_softc *ahc,
144 ahc_alloc_tstate(struct ahc_softc *ahc,
147 static void ahc_free_tstate(struct ahc_softc *ahc,
151 ahc_devlimited_syncrate(struct ahc_softc *ahc,
156 static void ahc_update_pending_scbs(struct ahc_softc *ahc);
157 static void ahc_fetch_devinfo(struct ahc_softc *ahc,
159 static void ahc_scb_devinfo(struct ahc_softc *ahc,
162 static void ahc_assert_atn(struct ahc_softc *ahc);
163 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc,
166 static void ahc_build_transfer_msg(struct ahc_softc *ahc,
283 ahc_freeze_untagged_queues(struct ahc_softc *ahc) argument
296 ahc_release_untagged_queues(struct ahc_softc *ahc) argument
307 ahc_pause_bug_fix(struct ahc_softc *ahc) argument
318 ahc_is_paused(struct ahc_softc *ahc) argument
331 ahc_pause(struct ahc_softc *ahc) argument
356 ahc_unpause(struct ahc_softc *ahc) argument
387 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) argument
394 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument
403 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument
416 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) argument
428 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument
442 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, u_int remote_id, struct ahc_tmode_tstate **tstate) argument
458 ahc_inw(struct ahc_softc *ahc, u_int port) argument
465 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value) argument
472 ahc_inl(struct ahc_softc *ahc, u_int port) argument
481 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) argument
490 ahc_inq(struct ahc_softc *ahc, u_int port) argument
503 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value) argument
519 ahc_get_scb(struct ahc_softc *ahc) argument
537 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument
554 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) argument
566 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument
606 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument
646 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument
655 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument
666 ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) argument
673 ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) argument
693 ahc_check_cmdcmpltqueues(struct ahc_softc *ahc) argument
722 ahc_intr(struct ahc_softc *ahc) argument
807 ahc_restart(struct ahc_softc *ahc) argument
875 ahc_run_qoutfifo(struct ahc_softc *ahc) argument
922 ahc_run_untagged_queues(struct ahc_softc *ahc) argument
931 ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue) argument
947 ahc_handle_brkadrint(struct ahc_softc *ahc) argument
976 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) argument
1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) argument
1964 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1980 ahc_clear_critical_section(struct ahc_softc *ahc) argument
2073 ahc_clear_intstat(struct ahc_softc *ahc) argument
2098 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) argument
2145 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) argument
2174 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument
2229 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, u_int *ppr_options, u_int maxsync) argument
2305 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) argument
2346 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument
2378 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
2408 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_tmode_tstate *tstate, struct ahc_initiator_tinfo *tinfo, ahc_neg_type neg_type) argument
2451 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, const struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument
2578 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument
2634 ahc_set_tags(struct ahc_softc *ahc, struct scsi_cmnd *cmd, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
2650 ahc_update_pending_scbs(struct ahc_softc *ahc) argument
2728 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2793 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2800 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2817 ahc_assert_atn(struct ahc_softc *ahc) argument
2834 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2920 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3018 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument
3038 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
3056 ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument
3078 ahc_clear_msg_state(struct ahc_softc *ahc) argument
3096 ahc_handle_proto_violation(struct ahc_softc *ahc) argument
3193 ahc_handle_message_phase(struct ahc_softc *ahc) argument
3491 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full) argument
3538 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3960 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
4111 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
4216 ahc_reinitialize_dataptrs(struct ahc_softc *ahc) argument
4272 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument
4327 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
4356 struct ahc_softc *ahc; local
4406 ahc_softc_init(struct ahc_softc *ahc) argument
4426 ahc_set_unit(struct ahc_softc *ahc, int unit) argument
4432 ahc_set_name(struct ahc_softc *ahc, char *name) argument
4440 ahc_free(struct ahc_softc *ahc) argument
4515 struct ahc_softc *ahc; local
4540 ahc_reset(struct ahc_softc *ahc, int reinit) argument
4646 ahc_probe_scbs(struct ahc_softc *ahc) argument
4672 ahc_build_free_scb_list(struct ahc_softc *ahc) argument
4723 ahc_init_scbdata(struct ahc_softc *ahc) argument
4861 ahc_fini_scbdata(struct ahc_softc *ahc) argument
4915 ahc_alloc_scbs(struct ahc_softc *ahc) argument
4992 ahc_controller_info(struct ahc_softc *ahc, char *buf) argument
5033 ahc_chip_init(struct ahc_softc *ahc) argument
5220 ahc_init(struct ahc_softc *ahc) argument
5541 ahc_intr_enable(struct ahc_softc *ahc, int enable) argument
5565 ahc_pause_and_flushwork(struct ahc_softc *ahc) argument
5606 ahc_suspend(struct ahc_softc *ahc) argument
5627 ahc_resume(struct ahc_softc *ahc) argument
5642 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5663 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5681 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) argument
5700 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
5736 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
5754 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) argument
5776 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, struct scb *scb) argument
5792 ahc_qinfifo_count(struct ahc_softc *ahc) argument
5807 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument
6016 ahc_search_untagged_queues(struct ahc_softc *ahc, ahc_io_ctx_t ctx, int target, char channel, int lun, uint32_t status, ahc_search_action action) argument
6114 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, int stop_on_first, int remove, int save_state) argument
6181 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr) argument
6207 ahc_add_curscb_to_free_list(struct ahc_softc *ahc) argument
6226 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev) argument
6277 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
6409 ahc_reset_current_bus(struct ahc_softc *ahc) argument
6428 ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset) argument
6589 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) argument
6677 ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument
6728 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument
6764 ahc_dumpseq(struct ahc_softc* ahc) argument
6784 ahc_loadseq(struct ahc_softc *ahc) argument
6894 ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument
6930 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts) argument
7103 ahc_dump_card_state(struct ahc_softc *ahc) argument
7288 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, struct ahc_tmode_tstate **tstate, struct ahc_tmode_lstate **lstate, int notfound_failure) argument
7329 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) argument
7702 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask) argument
7740 ahc_run_tqinfifo(struct ahc_softc *ahc, int paused) argument
7795 ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) argument
[all...]
H A Daic7xxx_osm_pci.c128 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
131 if ((rc = ahc_suspend(ahc)))
146 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
160 ahc_pci_resume(ahc);
162 return (ahc_resume(ahc));
169 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
172 if (ahc->platform_data && ahc->platform_data->host)
173 scsi_remove_host(ahc->platform_data->host);
175 ahc_lock(ahc,
182 ahc_linux_pci_inherit_flags(struct ahc_softc *ahc) argument
207 struct ahc_softc *ahc; local
347 ahc_linux_pci_reserve_io_region(struct ahc_softc *ahc, resource_size_t *base) argument
361 ahc_linux_pci_reserve_mem_region(struct ahc_softc *ahc, resource_size_t *bus_addr, uint8_t __iomem **maddr) argument
387 ahc_pci_map_registers(struct ahc_softc *ahc) argument
460 ahc_pci_map_int(struct ahc_softc *ahc) argument
[all...]
H A Daic7xxx_osm.c263 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) argument
266 ahc->platform_data->host->host_no,
267 scb != NULL ? SCB_GET_CHANNEL(ahc, scb) : 'X',
268 scb != NULL ? SCB_GET_TARGET(ahc, scb) : -1,
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,
404 ahc_inb(struct ahc_softc * ahc, lon argument
418 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val) argument
429 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) argument
443 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) argument
464 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) argument
475 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, struct ahc_dma_seg *sg, dma_addr_t addr, bus_size_t len) argument
505 struct ahc_softc *ahc; local
528 struct ahc_softc *ahc; local
549 struct ahc_softc *ahc = local
563 struct ahc_softc *ahc = local
645 struct ahc_softc *ahc = local
677 struct ahc_softc *ahc; local
707 struct ahc_softc *ahc; local
777 struct ahc_softc *ahc; local
829 ahc_dma_tag_create(struct ahc_softc *ahc, bus_dma_tag_t parent, bus_size_t alignment, bus_size_t boundary, dma_addr_t lowaddr, dma_addr_t highaddr, bus_dma_filter_t *filter, void *filterarg, bus_size_t maxsize, int nsegments, bus_size_t maxsegsz, int flags, bus_dma_tag_t *ret_tag) argument
857 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat) argument
863 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
874 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat, void* vaddr, bus_dmamap_t map) argument
882 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, bus_size_t buflen, bus_dmamap_callback_t *cb, void *cb_arg, int flags) argument
899 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) argument
904 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) argument
1086 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) argument
1142 ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc) argument
1209 ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) argument
1228 ahc_platform_free(struct ahc_softc *ahc) argument
1262 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
1271 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
1354 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
1361 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1399 struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata); local
1423 ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev, struct scsi_cmnd *cmd) argument
1598 struct ahc_softc *ahc; local
1610 ahc_platform_flushwork(struct ahc_softc *ahc) argument
1616 ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, ac_code code) argument
1708 ahc_done(struct ahc_softc *ahc, struct scb *scb) argument
1828 ahc_linux_handle_scsi_status(struct ahc_softc *ahc, struct scsi_device *sdev, struct scb *scb) argument
1957 ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, struct scsi_cmnd *cmd) argument
2027 ahc_linux_freeze_simq(struct ahc_softc *ahc) argument
2044 ahc_linux_release_simq(struct ahc_softc *ahc) argument
2069 struct ahc_softc *ahc; local
2346 ahc_platform_dump_card_state(struct ahc_softc *ahc) argument
2353 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2367 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2411 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2439 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2472 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; local
[all...]
H A Daic7xxx_proc.c48 static void ahc_dump_target_state(struct ahc_softc *ahc,
54 static int ahc_proc_write_seeprom(struct ahc_softc *ahc,
181 ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info, argument
190 tinfo = ahc_fetch_transinfo(ahc, channel, our_id,
192 if ((ahc->features & AHC_TWIN) != 0)
197 starget = ahc->platform_data->starget[target_offset];
235 ahc_proc_write_seeprom(struct ahc_softc *ahc, char *buffer, int length) argument
245 ahc_lock(ahc, &s);
246 paused = ahc_is_paused(ahc);
248 ahc_pause(ahc);
338 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; local
[all...]
H A Daic7xxx_osm.h83 #define AIC_LIB_PREFIX ahc
199 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
214 #define ahc_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op)
367 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
368 void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
369 void ahc_outsb(struct ahc_softc * ahc, long port,
371 void ahc_insb(struct ahc_softc * ahc, long port,
390 ahc_lockinit(struct ahc_softc *ahc) argument
392 spin_lock_init(&ahc->platform_data->spin_lock);
396 ahc_lock(struct ahc_softc *ahc, unsigne argument
402 ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) argument
511 ahc_flush_device_writes(struct ahc_softc *ahc) argument
653 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) argument
659 ahc_notify_xfer_settings_change(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
666 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) argument
[all...]
H A Daic7xxx.h68 #define SCSIID_TARGET(ahc, scsiid) \
69 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
73 #define SCSIID_CHANNEL(ahc, scsiid) \
74 ((((ahc)->features & AHC_TWIN) != 0) \
77 #define SCB_IS_SCSIBUS_B(ahc, scb) \
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
81 #define SCB_GET_TARGET(ahc, scb) \
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \
84 SCSIID_CHANNEL(ahc, (sc
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/aic7xxx/
H A 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) argument
62 return (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_in
[all...]
H A Daic7770.c62 static int aic7770_chip_init(struct ahc_softc *ahc);
63 static int aha2840_load_seeprom(struct ahc_softc *ahc);
125 aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) argument
133 error = entry->setup(ahc);
138 error = aic7770_map_registers(ahc, io);
148 ahc_intr_enable(ahc, FALSE);
150 ahc->description = entry->name;
151 error = ahc_softc_init(ahc);
155 ahc->bus_chip_init = aic7770_chip_init;
157 error = ahc_reset(ahc, /*reini
262 aic7770_chip_init(struct ahc_softc *ahc) argument
275 aha2840_load_seeprom(struct ahc_softc *ahc) argument
361 ahc_aic7770_VL_setup(struct ahc_softc *ahc) argument
371 ahc_aic7770_EISA_setup(struct ahc_softc *ahc) argument
381 ahc_aic7770_setup(struct ahc_softc *ahc) argument
[all...]
H A Daic7770_osm.c48 aic7770_map_registers(struct ahc_softc *ahc, u_int port) argument
55 ahc->tag = BUS_SPACE_PIO;
56 ahc->bsh.ioport = port;
61 aic7770_map_int(struct ahc_softc *ahc, u_int irq) argument
67 if ((ahc->flags & AHC_EDGE_INTERRUPT) == 0)
70 error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc);
72 ahc->platform_data->irq = irq;
82 struct ahc_softc *ahc; local
92 ahc = ahc_alloc(&aic7xxx_driver_template, name);
93 if (ahc
112 struct ahc_softc *ahc = dev_get_drvdata(dev); local
[all...]
H A Daic7xxx_pci.c602 static int ahc_ext_scbram_present(struct ahc_softc *ahc);
603 static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
605 static void ahc_probe_ext_scbram(struct ahc_softc *ahc);
606 static void check_extport(struct ahc_softc *ahc, u_int *sxfrctl1);
607 static void ahc_parse_pci_eeprom(struct ahc_softc *ahc,
609 static void configure_termination(struct ahc_softc *ahc,
614 static void ahc_new_term_detect(struct ahc_softc *ahc,
620 static void aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
624 static void aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present,
627 static void write_brdctl(struct ahc_softc *ahc, uint8_
708 ahc_pci_config(struct ahc_softc *ahc, const struct ahc_pci_identity *entry) argument
964 ahc_ext_scbram_present(struct ahc_softc *ahc) argument
1000 ahc_scbram_config(struct ahc_softc *ahc, int enable, int pcheck, int fast, int large) argument
1058 ahc_probe_ext_scbram(struct ahc_softc *ahc) argument
1159 ahc_pci_test_register_access(struct ahc_softc *ahc) argument
1248 check_extport(struct ahc_softc *ahc, u_int *sxfrctl1) argument
1397 ahc_parse_pci_eeprom(struct ahc_softc *ahc, struct seeprom_config *sc) argument
1515 configure_termination(struct ahc_softc *ahc, struct seeprom_descriptor *sd, u_int adapter_control, u_int *sxfrctl1) argument
1741 ahc_new_term_detect(struct ahc_softc *ahc, int *enableSEC_low, int *enableSEC_high, int *enablePRI_low, int *enablePRI_high, int *eeprom_present) argument
1763 aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present, int *internal68_present, int *externalcable_present, int *eeprom_present) argument
1804 aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present, int *externalcable_present, int *eeprom_present) argument
1827 ahc_acquire_seeprom(struct ahc_softc *ahc, struct seeprom_descriptor *sd) argument
1862 write_brdctl(struct ahc_softc *ahc, uint8_t value) argument
1894 read_brdctl(struct ahc_softc *ahc) argument
1916 ahc_pci_intr(struct ahc_softc *ahc) argument
1982 ahc_pci_chip_init(struct ahc_softc *ahc) argument
2008 ahc_pci_resume(struct ahc_softc *ahc) argument
2041 ahc_aic785X_setup(struct ahc_softc *ahc) argument
2059 ahc_aic7860_setup(struct ahc_softc *ahc) argument
2077 ahc_apa1480_setup(struct ahc_softc *ahc) argument
2089 ahc_aic7870_setup(struct ahc_softc *ahc) argument
2101 ahc_aic7870h_setup(struct ahc_softc *ahc) argument
2111 ahc_aha394X_setup(struct ahc_softc *ahc) argument
2122 ahc_aha394Xh_setup(struct ahc_softc *ahc) argument
2132 ahc_aha398X_setup(struct ahc_softc *ahc) argument
2143 ahc_aha494X_setup(struct ahc_softc *ahc) argument
2154 ahc_aha494Xh_setup(struct ahc_softc *ahc) argument
2164 ahc_aic7880_setup(struct ahc_softc *ahc) argument
2185 ahc_aic7880h_setup(struct ahc_softc *ahc) argument
2196 ahc_aha2940Pro_setup(struct ahc_softc *ahc) argument
2204 ahc_aha394XU_setup(struct ahc_softc *ahc) argument
2215 ahc_aha394XUh_setup(struct ahc_softc *ahc) argument
2225 ahc_aha398XU_setup(struct ahc_softc *ahc) argument
2236 ahc_aic7890_setup(struct ahc_softc *ahc) argument
2254 ahc_aic7892_setup(struct ahc_softc *ahc) argument
2267 ahc_aic7895_setup(struct ahc_softc *ahc) argument
2301 ahc_aic7895h_setup(struct ahc_softc *ahc) argument
2311 ahc_aic7896_setup(struct ahc_softc *ahc) argument
2326 ahc_aic7899_setup(struct ahc_softc *ahc) argument
2341 ahc_aha29160C_setup(struct ahc_softc *ahc) argument
2353 ahc_raid_setup(struct ahc_softc *ahc) argument
2360 ahc_aha394XX_setup(struct ahc_softc *ahc) argument
2382 ahc_aha398XX_setup(struct ahc_softc *ahc) argument
2409 ahc_aha494XX_setup(struct ahc_softc *ahc) argument
[all...]
H A Daic7xxx_core.c141 static void ahc_force_renegotiation(struct ahc_softc *ahc,
144 ahc_alloc_tstate(struct ahc_softc *ahc,
147 static void ahc_free_tstate(struct ahc_softc *ahc,
151 ahc_devlimited_syncrate(struct ahc_softc *ahc,
156 static void ahc_update_pending_scbs(struct ahc_softc *ahc);
157 static void ahc_fetch_devinfo(struct ahc_softc *ahc,
159 static void ahc_scb_devinfo(struct ahc_softc *ahc,
162 static void ahc_assert_atn(struct ahc_softc *ahc);
163 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc,
166 static void ahc_build_transfer_msg(struct ahc_softc *ahc,
283 ahc_freeze_untagged_queues(struct ahc_softc *ahc) argument
296 ahc_release_untagged_queues(struct ahc_softc *ahc) argument
307 ahc_pause_bug_fix(struct ahc_softc *ahc) argument
318 ahc_is_paused(struct ahc_softc *ahc) argument
331 ahc_pause(struct ahc_softc *ahc) argument
356 ahc_unpause(struct ahc_softc *ahc) argument
387 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) argument
394 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument
403 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument
416 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) argument
428 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument
442 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, u_int remote_id, struct ahc_tmode_tstate **tstate) argument
458 ahc_inw(struct ahc_softc *ahc, u_int port) argument
465 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value) argument
472 ahc_inl(struct ahc_softc *ahc, u_int port) argument
481 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) argument
490 ahc_inq(struct ahc_softc *ahc, u_int port) argument
503 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value) argument
519 ahc_get_scb(struct ahc_softc *ahc) argument
537 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument
554 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) argument
566 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument
606 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument
646 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument
655 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument
666 ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) argument
673 ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) argument
693 ahc_check_cmdcmpltqueues(struct ahc_softc *ahc) argument
722 ahc_intr(struct ahc_softc *ahc) argument
807 ahc_restart(struct ahc_softc *ahc) argument
875 ahc_run_qoutfifo(struct ahc_softc *ahc) argument
922 ahc_run_untagged_queues(struct ahc_softc *ahc) argument
931 ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue) argument
947 ahc_handle_brkadrint(struct ahc_softc *ahc) argument
976 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) argument
1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) argument
1964 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1980 ahc_clear_critical_section(struct ahc_softc *ahc) argument
2073 ahc_clear_intstat(struct ahc_softc *ahc) argument
2098 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) argument
2145 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) argument
2174 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument
2229 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, u_int *ppr_options, u_int maxsync) argument
2305 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) argument
2346 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument
2378 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument
2408 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_tmode_tstate *tstate, struct ahc_initiator_tinfo *tinfo, ahc_neg_type neg_type) argument
2451 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, const struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument
2578 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument
2634 ahc_set_tags(struct ahc_softc *ahc, struct scsi_cmnd *cmd, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
2650 ahc_update_pending_scbs(struct ahc_softc *ahc) argument
2728 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2793 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
2800 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2817 ahc_assert_atn(struct ahc_softc *ahc) argument
2834 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2920 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3018 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument
3038 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument
3056 ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument
3078 ahc_clear_msg_state(struct ahc_softc *ahc) argument
3096 ahc_handle_proto_violation(struct ahc_softc *ahc) argument
3193 ahc_handle_message_phase(struct ahc_softc *ahc) argument
3491 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full) argument
3538 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
3960 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
4111 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
4216 ahc_reinitialize_dataptrs(struct ahc_softc *ahc) argument
4272 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument
4327 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
4356 struct ahc_softc *ahc; local
4406 ahc_softc_init(struct ahc_softc *ahc) argument
4426 ahc_set_unit(struct ahc_softc *ahc, int unit) argument
4432 ahc_set_name(struct ahc_softc *ahc, char *name) argument
4440 ahc_free(struct ahc_softc *ahc) argument
4515 struct ahc_softc *ahc; local
4540 ahc_reset(struct ahc_softc *ahc, int reinit) argument
4646 ahc_probe_scbs(struct ahc_softc *ahc) argument
4672 ahc_build_free_scb_list(struct ahc_softc *ahc) argument
4723 ahc_init_scbdata(struct ahc_softc *ahc) argument
4861 ahc_fini_scbdata(struct ahc_softc *ahc) argument
4915 ahc_alloc_scbs(struct ahc_softc *ahc) argument
4992 ahc_controller_info(struct ahc_softc *ahc, char *buf) argument
5033 ahc_chip_init(struct ahc_softc *ahc) argument
5220 ahc_init(struct ahc_softc *ahc) argument
5541 ahc_intr_enable(struct ahc_softc *ahc, int enable) argument
5565 ahc_pause_and_flushwork(struct ahc_softc *ahc) argument
5606 ahc_suspend(struct ahc_softc *ahc) argument
5627 ahc_resume(struct ahc_softc *ahc) argument
5642 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5663 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5681 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) argument
5700 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
5736 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
5754 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) argument
5776 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, struct scb *scb) argument
5792 ahc_qinfifo_count(struct ahc_softc *ahc) argument
5807 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument
6016 ahc_search_untagged_queues(struct ahc_softc *ahc, ahc_io_ctx_t ctx, int target, char channel, int lun, uint32_t status, ahc_search_action action) argument
6114 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, int stop_on_first, int remove, int save_state) argument
6181 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr) argument
6207 ahc_add_curscb_to_free_list(struct ahc_softc *ahc) argument
6226 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev) argument
6277 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
6409 ahc_reset_current_bus(struct ahc_softc *ahc) argument
6428 ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset) argument
6589 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) argument
6677 ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument
6728 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument
6764 ahc_dumpseq(struct ahc_softc* ahc) argument
6784 ahc_loadseq(struct ahc_softc *ahc) argument
6894 ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument
6930 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts) argument
7103 ahc_dump_card_state(struct ahc_softc *ahc) argument
7288 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, struct ahc_tmode_tstate **tstate, struct ahc_tmode_lstate **lstate, int notfound_failure) argument
7329 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) argument
7702 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask) argument
7740 ahc_run_tqinfifo(struct ahc_softc *ahc, int paused) argument
7795 ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) argument
[all...]
H A Daic7xxx_osm_pci.c128 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
131 if ((rc = ahc_suspend(ahc)))
146 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
160 ahc_pci_resume(ahc);
162 return (ahc_resume(ahc));
169 struct ahc_softc *ahc = pci_get_drvdata(pdev); local
172 if (ahc->platform_data && ahc->platform_data->host)
173 scsi_remove_host(ahc->platform_data->host);
175 ahc_lock(ahc,
182 ahc_linux_pci_inherit_flags(struct ahc_softc *ahc) argument
207 struct ahc_softc *ahc; local
347 ahc_linux_pci_reserve_io_region(struct ahc_softc *ahc, resource_size_t *base) argument
361 ahc_linux_pci_reserve_mem_region(struct ahc_softc *ahc, resource_size_t *bus_addr, uint8_t __iomem **maddr) argument
387 ahc_pci_map_registers(struct ahc_softc *ahc) argument
460 ahc_pci_map_int(struct ahc_softc *ahc) argument
[all...]
H A Daic7xxx_osm.c263 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) argument
266 ahc->platform_data->host->host_no,
267 scb != NULL ? SCB_GET_CHANNEL(ahc, scb) : 'X',
268 scb != NULL ? SCB_GET_TARGET(ahc, scb) : -1,
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,
404 ahc_inb(struct ahc_softc * ahc, lon argument
418 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val) argument
429 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) argument
443 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) argument
464 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) argument
475 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, struct ahc_dma_seg *sg, dma_addr_t addr, bus_size_t len) argument
505 struct ahc_softc *ahc; local
528 struct ahc_softc *ahc; local
549 struct ahc_softc *ahc = local
563 struct ahc_softc *ahc = local
645 struct ahc_softc *ahc = local
677 struct ahc_softc *ahc; local
707 struct ahc_softc *ahc; local
777 struct ahc_softc *ahc; local
829 ahc_dma_tag_create(struct ahc_softc *ahc, bus_dma_tag_t parent, bus_size_t alignment, bus_size_t boundary, dma_addr_t lowaddr, dma_addr_t highaddr, bus_dma_filter_t *filter, void *filterarg, bus_size_t maxsize, int nsegments, bus_size_t maxsegsz, int flags, bus_dma_tag_t *ret_tag) argument
857 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat) argument
863 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
874 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat, void* vaddr, bus_dmamap_t map) argument
882 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, bus_size_t buflen, bus_dmamap_callback_t *cb, void *cb_arg, int flags) argument
899 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) argument
904 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) argument
1086 ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) argument
1142 ahc_linux_initialize_scsi_bus(struct ahc_softc *ahc) argument
1209 ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) argument
1228 ahc_platform_free(struct ahc_softc *ahc) argument
1262 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
1271 ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument
1354 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
1361 ahc_linux_user_tagdepth(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
1399 struct ahc_softc *ahc = *((struct ahc_softc **)sdev->host->hostdata); local
1423 ahc_linux_run_command(struct ahc_softc *ahc, struct ahc_linux_device *dev, struct scsi_cmnd *cmd) argument
1598 struct ahc_softc *ahc; local
1610 ahc_platform_flushwork(struct ahc_softc *ahc) argument
1616 ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, ac_code code) argument
1708 ahc_done(struct ahc_softc *ahc, struct scb *scb) argument
1828 ahc_linux_handle_scsi_status(struct ahc_softc *ahc, struct scsi_device *sdev, struct scb *scb) argument
1957 ahc_linux_queue_cmd_complete(struct ahc_softc *ahc, struct scsi_cmnd *cmd) argument
2027 ahc_linux_freeze_simq(struct ahc_softc *ahc) argument
2044 ahc_linux_release_simq(struct ahc_softc *ahc) argument
2069 struct ahc_softc *ahc; local
2346 ahc_platform_dump_card_state(struct ahc_softc *ahc) argument
2353 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2367 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2411 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2439 struct ahc_softc *ahc = *((struct ahc_softc **)shost->hostdata); local
2472 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; local
[all...]
H A Daic7xxx_proc.c48 static void ahc_dump_target_state(struct ahc_softc *ahc,
54 static int ahc_proc_write_seeprom(struct ahc_softc *ahc,
181 ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info, argument
190 tinfo = ahc_fetch_transinfo(ahc, channel, our_id,
192 if ((ahc->features & AHC_TWIN) != 0)
197 starget = ahc->platform_data->starget[target_offset];
235 ahc_proc_write_seeprom(struct ahc_softc *ahc, char *buffer, int length) argument
245 ahc_lock(ahc, &s);
246 paused = ahc_is_paused(ahc);
248 ahc_pause(ahc);
338 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata; local
[all...]
H A Daic7xxx_osm.h83 #define AIC_LIB_PREFIX ahc
199 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
214 #define ahc_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op)
367 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
368 void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
369 void ahc_outsb(struct ahc_softc * ahc, long port,
371 void ahc_insb(struct ahc_softc * ahc, long port,
390 ahc_lockinit(struct ahc_softc *ahc) argument
392 spin_lock_init(&ahc->platform_data->spin_lock);
396 ahc_lock(struct ahc_softc *ahc, unsigne argument
402 ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) argument
511 ahc_flush_device_writes(struct ahc_softc *ahc) argument
653 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) argument
659 ahc_notify_xfer_settings_change(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument
666 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) argument
[all...]
H A Daic7xxx.h68 #define SCSIID_TARGET(ahc, scsiid) \
69 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
73 #define SCSIID_CHANNEL(ahc, scsiid) \
74 ((((ahc)->features & AHC_TWIN) != 0) \
77 #define SCB_IS_SCSIBUS_B(ahc, scb) \
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
81 #define SCB_GET_TARGET(ahc, scb) \
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \
84 SCSIID_CHANNEL(ahc, (sc
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/neon/src/
H A Dne_auth.c1595 const struct auth_class *ahc, const char *id,
1623 ahs->spec = ahc;
1594 auth_register(ne_session *sess, int isproxy, unsigned protomask, const struct auth_class *ahc, const char *id, ne_auth_creds creds, void *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/neon/src/
H A Dne_auth.c1595 const struct auth_class *ahc, const char *id,
1623 ahs->spec = ahc;
1594 auth_register(ne_session *sess, int isproxy, unsigned protomask, const struct auth_class *ahc, const char *id, ne_auth_creds creds, void *userdata) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/src/
H A Dne_auth.c1595 const struct auth_class *ahc, const char *id,
1623 ahs->spec = ahc;
1594 auth_register(ne_session *sess, int isproxy, unsigned protomask, const struct auth_class *ahc, const char *id, ne_auth_creds creds, void *userdata) argument

Completed in 264 milliseconds