/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_inline.h | 49 static __inline char *ahd_name(struct ahd_softc *ahd); 52 ahd_name(struct ahd_softc *ahd) argument 54 return (ahd->name); 58 static __inline void ahd_known_modes(struct ahd_softc *ahd, 60 static __inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd, 63 static __inline void ahd_extract_mode_state(struct ahd_softc *ahd, 66 static __inline void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, 68 static __inline void ahd_update_modes(struct ahd_softc *ahd); 69 static __inline void ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, 72 static __inline ahd_mode_state ahd_save_modes(struct ahd_softc *ahd); 80 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument 89 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument 95 ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state, ahd_mode *src, ahd_mode *dst) argument 103 ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument 121 ahd_update_modes(struct ahd_softc *ahd) argument 137 ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, ahd_mode dstmode, const char *file, int line) argument 150 ahd_save_modes(struct ahd_softc *ahd) argument 160 ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state) argument 177 ahd_is_paused(struct ahd_softc *ahd) argument 190 ahd_pause(struct ahd_softc *ahd) argument 213 ahd_unpause(struct ahd_softc *ahd) argument 244 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument 268 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) argument 287 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) argument 324 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) argument 352 ahd_sg_size(struct ahd_softc *ahd) argument 360 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) argument 370 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) argument 382 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) argument 391 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) argument 403 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) argument 412 ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) argument 469 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, u_int remote_id, struct ahd_tmode_tstate **tstate) argument 491 ahd_inw(struct ahd_softc *ahd, u_int port) argument 503 ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) argument 514 ahd_inl(struct ahd_softc *ahd, u_int port) argument 523 ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) argument 532 ahd_inq(struct ahd_softc *ahd, u_int port) argument 545 ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) argument 558 ahd_get_scbptr(struct ahd_softc *ahd) argument 566 ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr) argument 575 ahd_get_hnscb_qoff(struct ahd_softc *ahd) argument 581 ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) argument 587 ahd_get_hescb_qoff(struct ahd_softc *ahd) argument 593 ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value) argument 599 ahd_get_snscb_qoff(struct ahd_softc *ahd) argument 610 ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value) argument 617 ahd_get_sescb_qoff(struct ahd_softc *ahd) argument 624 ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) argument 631 ahd_get_sdscb_qoff(struct ahd_softc *ahd) argument 638 ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value) argument 646 ahd_inb_scbram(struct ahd_softc *ahd, u_int offset) argument 657 ahd_inw_scbram(struct ahd_softc *ahd, u_int offset) argument 664 ahd_inl_scbram(struct ahd_softc *ahd, u_int offset) argument 671 ahd_inq_scbram(struct ahd_softc *ahd, u_int offset) argument 678 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag) argument 692 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) argument 731 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) argument 776 ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) argument 782 ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) argument 794 ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) argument 802 ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) argument 822 ahd_check_cmdcmpltqueues(struct ahd_softc *ahd) argument 852 ahd_intr(struct ahd_softc *ahd) argument [all...] |
H A D | aic79xx_pci.c | 250 static int ahd_check_extport(struct ahd_softc *ahd); 251 static void ahd_configure_termination(struct ahd_softc *ahd, 253 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat); 254 static void ahd_pci_intr(struct ahd_softc *ahd); 295 ahd_pci_config(struct ahd_softc *ahd, struct ahd_pci_identity *entry) argument 304 ahd->description = entry->name; 308 subvendor = ahd_pci_read_config(ahd->dev_softc, 311 ahd->flags |= AHD_HP_BOARD; 313 error = entry->setup(ahd); 317 devconfig = ahd_pci_read_config(ahd 397 ahd_pci_test_register_access(struct ahd_softc *ahd) argument 491 ahd_check_extport(struct ahd_softc *ahd) argument 624 ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control) argument 768 ahd_pci_intr(struct ahd_softc *ahd) argument 826 ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat) argument 896 ahd_aic7901_setup(struct ahd_softc *ahd) argument 905 ahd_aic7901A_setup(struct ahd_softc *ahd) argument 914 ahd_aic7902_setup(struct ahd_softc *ahd) argument 922 ahd_aic790X_setup(struct ahd_softc *ahd) argument [all...] |
H A D | aic79xx_osm_pci.c | 48 static int ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, 50 static int ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, 96 struct ahd_softc *ahd = pci_get_drvdata(pdev); local 99 if (ahd->platform_data && ahd->platform_data->host) 100 scsi_remove_host(ahd->platform_data->host); 102 ahd_lock(ahd, &s); 103 ahd_intr_enable(ahd, FALSE); 104 ahd_unlock(ahd, &s); 105 ahd_free(ahd); 109 ahd_linux_pci_inherit_flags(struct ahd_softc *ahd) argument 130 struct ahd_softc *ahd; local 211 ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, u_long *base, u_long *base2) argument 233 ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, u_long *bus_addr, uint8_t __iomem **maddr) argument 269 ahd_pci_map_registers(struct ahd_softc *ahd) argument 340 ahd_pci_map_int(struct ahd_softc *ahd) argument 353 ahd_power_state_change(struct ahd_softc *ahd, ahd_power_state new_state) argument [all...] |
H A D | aic79xx_core.c | 106 static void ahd_handle_transmission_error(struct ahd_softc *ahd); 107 static void ahd_handle_lqiphase_error(struct ahd_softc *ahd, 109 static int ahd_handle_pkt_busfree(struct ahd_softc *ahd, 111 static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd); 112 static void ahd_handle_proto_violation(struct ahd_softc *ahd); 113 static void ahd_force_renegotiation(struct ahd_softc *ahd, 117 ahd_alloc_tstate(struct ahd_softc *ahd, 120 static void ahd_free_tstate(struct ahd_softc *ahd, 123 static void ahd_devlimited_syncrate(struct ahd_softc *ahd, 128 static void ahd_update_neg_table(struct ahd_softc *ahd, 272 ahd_assert_atn(struct ahd_softc *ahd) argument 284 ahd_currently_packetized(struct ahd_softc *ahd) argument 307 ahd_set_active_fifo(struct ahd_softc *ahd) argument 324 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) argument 334 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) argument 344 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) argument 361 ahd_restart(struct ahd_softc *ahd) argument 405 ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) argument 429 ahd_flush_qoutfifo(struct ahd_softc *ahd) argument 637 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) argument 666 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) argument 900 ahd_run_qoutfifo(struct ahd_softc *ahd) argument 939 ahd_handle_hwerrint(struct ahd_softc *ahd) argument 1013 ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) argument 1625 ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) argument 1912 ahd_handle_transmission_error(struct ahd_softc *ahd) argument 2099 ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) argument 2141 ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) argument 2273 ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) argument 2551 ahd_handle_proto_violation(struct ahd_softc *ahd) argument 2650 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 2672 ahd_clear_critical_section(struct ahd_softc *ahd) argument 2795 ahd_clear_intstat(struct ahd_softc *ahd) argument 2833 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) argument 2875 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) argument 2901 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 2950 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, u_int *ppr_options, u_int maxsync) argument 2989 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument 3020 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 3050 ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_tmode_tstate *tstate, struct ahd_initiator_tinfo *tinfo, ahd_neg_type neg_type) argument 3093 ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument 3239 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument 3293 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument 3304 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument 3424 ahd_update_pending_scbs(struct ahd_softc *ahd) argument 3507 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3542 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3582 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 3605 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 3726 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3822 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument 3842 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument 3860 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument 3889 ahd_clear_msg_state(struct ahd_softc *ahd) argument 3917 ahd_handle_message_phase(struct ahd_softc *ahd) argument 4253 ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) argument 4302 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4720 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4891 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5037 ahd_reinitialize_dataptrs(struct ahd_softc *ahd) argument 5119 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument 5183 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 5206 ahd_sglist_size(struct ahd_softc *ahd) argument 5223 ahd_sglist_allocsize(struct ahd_softc *ahd) argument 5270 struct ahd_softc *ahd; local 5328 ahd_softc_init(struct ahd_softc *ahd) argument 5337 ahd_set_unit(struct ahd_softc *ahd, int unit) argument 5343 ahd_set_name(struct ahd_softc *ahd, char *name) argument 5351 ahd_free(struct ahd_softc *ahd) argument 5428 struct ahd_softc *ahd; local 5452 ahd_reset(struct ahd_softc *ahd, int reinit) argument 5555 ahd_probe_scbs(struct ahd_softc *ahd) argument 5588 ahd_initialize_hscbs(struct ahd_softc *ahd) argument 5604 ahd_init_scbdata(struct ahd_softc *ahd) argument 5705 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) argument 5743 ahd_fini_scbdata(struct ahd_softc *ahd) argument 5812 ahd_setup_iocell_workaround(struct ahd_softc *ahd) argument 5830 ahd_iocell_first_selection(struct ahd_softc *ahd) argument 5861 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) argument 5881 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) argument 5915 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) argument 5951 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) argument 6004 ahd_alloc_scbs(struct ahd_softc *ahd) argument 6204 ahd_controller_info(struct ahd_softc *ahd, char *buf) argument 6245 ahd_init(struct ahd_softc *ahd) argument 6474 ahd_chip_init(struct ahd_softc *ahd) argument 6816 ahd_default_config(struct ahd_softc *ahd) argument 6893 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) argument 7027 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) argument 7040 ahd_intr_enable(struct ahd_softc *ahd, int enable) argument 7057 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, u_int mincmds) argument 7075 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) argument 7094 ahd_pause_and_flushwork(struct ahd_softc *ahd) argument 7156 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) argument 7178 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) argument 7191 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) argument 7203 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 7239 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 7257 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) argument 7279 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, struct scb *scb) argument 7299 ahd_qinfifo_count(struct ahd_softc *ahd) argument 7317 ahd_reset_cmds_pending(struct ahd_softc *ahd) argument 7342 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) argument 7357 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action) argument 7587 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action, u_int *list_head, u_int *list_tail, u_int tid) argument 7654 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, u_int tid_cur, u_int tid_next) argument 7692 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, u_int prev, u_int next, u_int tid) argument 7725 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) argument 7742 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 7838 ahd_reset_current_bus(struct ahd_softc *ahd) argument 7868 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) argument 8042 struct ahd_softc *ahd = arg; local 8077 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) argument 8285 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) argument 8299 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) argument 8402 ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument 8453 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument 8489 ahd_dumpseq(struct ahd_softc* ahd) argument 8511 ahd_loadseq(struct ahd_softc *ahd) argument 8671 ahd_check_patch(struct ahd_softc *ahd, struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 8707 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) argument 8736 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) argument 8805 ahd_probe_stack_size(struct ahd_softc *ahd) argument 8888 ahd_dump_card_state(struct ahd_softc *ahd) argument 9158 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count, int bytestream) argument 9203 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count) argument 9252 ahd_wait_seeprom(struct ahd_softc *ahd) argument 9320 ahd_acquire_seeprom(struct ahd_softc *ahd) argument 9333 ahd_release_seeprom(struct ahd_softc *ahd) argument 9342 ahd_wait_flexport(struct ahd_softc *ahd) argument 9357 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) argument 9380 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) argument 9400 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, struct ahd_tmode_tstate **tstate, struct ahd_tmode_lstate **lstate, int notfound_failure) argument 9441 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument 9755 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) argument 9795 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) argument 9833 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) argument [all...] |
H A D | aic79xx_osm.c | 223 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) argument 226 ahd->platform_data->host->host_no, 227 scb != NULL ? SCB_GET_CHANNEL(ahd, scb) : 'X', 228 scb != NULL ? SCB_GET_TARGET(ahd, scb) : -1, 349 static void ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, 352 static void ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd); 353 static u_int ahd_linux_user_tagdepth(struct ahd_softc *ahd, 361 static void ahd_freeze_simq(struct ahd_softc *ahd); 362 static void ahd_release_simq(struct ahd_softc *ahd); 371 ahd_linux_unmap_scb(struct ahd_softc *ahd, struc argument 404 struct ahd_softc *ahd; local 428 struct ahd_softc *ahd; local 444 struct ahd_softc *ahd = local 458 struct ahd_softc *ahd = local 526 struct ahd_softc *ahd = local 555 struct ahd_softc *ahd; local 584 struct ahd_softc *ahd; local 635 struct ahd_softc *ahd; local 734 struct ahd_softc *ahd; local 783 ahd_dma_tag_create(struct ahd_softc *ahd, 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 811 ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat) argument 817 ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument 828 ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat, void* vaddr, bus_dmamap_t map) argument 836 ahd_dmamap_load(struct ahd_softc *ahd, 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 853 ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) argument 858 ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) argument 1071 ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) argument 1127 ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd) argument 1172 ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg) argument 1186 ahd_platform_free(struct ahd_softc *ahd) argument 1222 ahd_platform_init(struct ahd_softc *ahd) argument 1242 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 1251 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument 1338 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 1345 ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 1383 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); local 1406 ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev, struct scsi_cmnd *cmd) argument 1546 struct ahd_softc *ahd; local 1558 ahd_send_async(struct ahd_softc *ahd, char channel, u_int target, u_int lun, ac_code code) argument 1652 ahd_done(struct ahd_softc *ahd, struct scb *scb) argument 1759 ahd_linux_handle_scsi_status(struct ahd_softc *ahd, struct scsi_device *sdev, struct scb *scb) argument 1905 ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd) argument 2013 ahd_freeze_simq(struct ahd_softc *ahd) argument 2019 ahd_release_simq(struct ahd_softc *ahd) argument 2027 struct ahd_softc *ahd; local 2267 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2281 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2331 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2366 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2408 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2447 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2487 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2523 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2559 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2603 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2653 struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); local 2682 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; local [all...] |
H A D | aic79xx_proc.c | 47 static void ahd_dump_target_state(struct ahd_softc *ahd, 53 static int ahd_proc_write_seeprom(struct ahd_softc *ahd, 206 ahd_dump_target_state(struct ahd_softc *ahd, struct info_str *info, argument 214 tinfo = ahd_fetch_transinfo(ahd, channel, our_id, 219 starget = ahd->platform_data->starget[target_id]; 257 ahd_proc_write_seeprom(struct ahd_softc *ahd, char *buffer, int length) argument 267 ahd_lock(ahd, &s); 268 paused = ahd_is_paused(ahd); 270 ahd_pause(ahd); 272 saved_modes = ahd_save_modes(ahd); 326 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; local [all...] |
H A D | aic79xx_osm.h | 66 #define AIC_LIB_PREFIX ahd 186 int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/, 201 #define ahd_dmamap_sync(ahd, dma_tag, dmamap, offset, len, op) 224 struct ahd_softc *ahd; local 226 ahd = (struct ahd_softc *)arg; 398 static __inline uint8_t ahd_inb(struct ahd_softc * ahd, long port); 399 static __inline uint16_t ahd_inw_atomic(struct ahd_softc * ahd, long port); 400 static __inline void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val); 401 static __inline void ahd_outw_atomic(struct ahd_softc * ahd, 403 static __inline void ahd_outsb(struct ahd_softc * ahd, lon 409 ahd_inb(struct ahd_softc * ahd, long port) argument 423 ahd_inw_atomic(struct ahd_softc * ahd, long port) argument 437 ahd_outb(struct ahd_softc * ahd, long port, uint8_t val) argument 448 ahd_outw_atomic(struct ahd_softc * ahd, long port, uint16_t val) argument 459 ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count) argument 473 ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count) argument 500 ahd_lockinit(struct ahd_softc *ahd) argument 506 ahd_lock(struct ahd_softc *ahd, unsigned long *flags) argument 512 ahd_unlock(struct ahd_softc *ahd, unsigned long *flags) argument 667 ahd_flush_device_writes(struct ahd_softc *ahd) argument 808 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) argument 814 ahd_notify_xfer_settings_change(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 821 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) argument [all...] |
H A D | aic79xx.h | 71 #define SCSIID_TARGET(ahd, scsiid) \ 75 #define SCSIID_CHANNEL(ahd, scsiid) ('A') 76 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) 79 #define SCB_GET_TARGET(ahd, scb) \ 80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 81 #define SCB_GET_CHANNEL(ahd, scb) \ 82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 85 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ 86 SCB_GET_TARGET(ahd, scb) 87 #define SCB_GET_TARGET_MASK(ahd, sc [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/ |
H A D | md.c | 630 md_copy (gcry_md_hd_t ahd, gcry_md_hd_t *b_hd) argument 633 struct gcry_md_context *a = ahd->ctx; 639 if (ahd->bufpos) 640 md_write (ahd, NULL, 0); 642 n = (char *) ahd->ctx - (char *) ahd; 655 gcry_assert (ahd->bufsize == (n - sizeof (struct gcry_md_handle) + 1)); 656 bhd->bufsize = ahd->bufsize; 658 gcry_assert (! ahd->bufpos);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/src/ |
H A D | visibility.c | 795 gcry_md_copy (gcry_md_hd_t *bhd, gcry_md_hd_t ahd) argument 802 return _gcry_md_copy (bhd, ahd);
|
H A D | gcrypt.h | 1143 gcry_error_t gcry_md_copy (gcry_md_hd_t *bhd, gcry_md_hd_t ahd);
|