• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic7xxx/

Lines Matching refs:ahc_softc

141 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,
168 static void ahc_construct_sdtr(struct ahc_softc *ahc,
171 static void ahc_construct_wdtr(struct ahc_softc *ahc,
174 static void ahc_construct_ppr(struct ahc_softc *ahc,
178 static void ahc_clear_msg_state(struct ahc_softc *ahc);
179 static void ahc_handle_proto_violation(struct ahc_softc *ahc);
180 static void ahc_handle_message_phase(struct ahc_softc *ahc);
186 static int ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type,
188 static int ahc_parse_msg(struct ahc_softc *ahc,
190 static int ahc_handle_msg_reject(struct ahc_softc *ahc,
192 static void ahc_handle_ign_wide_residue(struct ahc_softc *ahc,
194 static void ahc_reinitialize_dataptrs(struct ahc_softc *ahc);
195 static void ahc_handle_devreset(struct ahc_softc *ahc,
200 static void ahc_setup_target_msgin(struct ahc_softc *ahc,
206 static void ahc_build_free_scb_list(struct ahc_softc *ahc);
207 static int ahc_init_scbdata(struct ahc_softc *ahc);
208 static void ahc_fini_scbdata(struct ahc_softc *ahc);
209 static void ahc_qinfifo_requeue(struct ahc_softc *ahc,
212 static int ahc_qinfifo_count(struct ahc_softc *ahc);
213 static u_int ahc_rem_scb_from_disc_list(struct ahc_softc *ahc,
215 static void ahc_add_curscb_to_free_list(struct ahc_softc *ahc);
216 static u_int ahc_rem_wscb(struct ahc_softc *ahc,
218 static void ahc_reset_current_bus(struct ahc_softc *ahc);
220 static void ahc_dumpseq(struct ahc_softc *ahc);
222 static int ahc_loadseq(struct ahc_softc *ahc);
223 static int ahc_check_patch(struct ahc_softc *ahc,
226 static void ahc_download_instr(struct ahc_softc *ahc,
229 static void ahc_queue_lstate_event(struct ahc_softc *ahc,
234 static void ahc_update_scsiid(struct ahc_softc *ahc,
236 static int ahc_handle_target_cmd(struct ahc_softc *ahc,
240 static u_int ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl);
241 static void ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl);
242 static void ahc_busy_tcl(struct ahc_softc *ahc,
246 static void ahc_run_untagged_queues(struct ahc_softc *ahc);
247 static void ahc_run_untagged_queue(struct ahc_softc *ahc,
251 static void ahc_alloc_scbs(struct ahc_softc *ahc);
255 static void ahc_clear_intstat(struct ahc_softc *ahc);
256 static void ahc_run_qoutfifo(struct ahc_softc *ahc);
258 static void ahc_run_tqinfifo(struct ahc_softc *ahc, int paused);
260 static void ahc_handle_brkadrint(struct ahc_softc *ahc);
261 static void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
262 static void ahc_handle_scsiint(struct ahc_softc *ahc,
264 static void ahc_clear_critical_section(struct ahc_softc *ahc);
267 static void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
268 static int ahc_abort_scbs(struct ahc_softc *ahc, int target,
271 static void ahc_calc_residual(struct ahc_softc *ahc,
275 static inline void ahc_freeze_untagged_queues(struct ahc_softc *ahc);
276 static inline void ahc_release_untagged_queues(struct ahc_softc *ahc);
283 ahc_freeze_untagged_queues(struct ahc_softc *ahc)
296 ahc_release_untagged_queues(struct ahc_softc *ahc)
307 ahc_pause_bug_fix(struct ahc_softc *ahc)
318 ahc_is_paused(struct ahc_softc *ahc)
331 ahc_pause(struct ahc_softc *ahc)
356 ahc_unpause(struct ahc_softc *ahc)
387 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index)
394 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op)
403 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op)
416 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index)
428 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb)
442 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id,
458 ahc_inw(struct ahc_softc *ahc, u_int port)
465 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value)
472 ahc_inl(struct ahc_softc *ahc, u_int port)
481 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value)
490 ahc_inq(struct ahc_softc *ahc, u_int port)
503 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value)
519 ahc_get_scb(struct ahc_softc *ahc)
537 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb)
554 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag)
566 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb)
606 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb)
646 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb)
655 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb)
666 ahc_sync_qoutfifo(struct ahc_softc *ahc, int op)
673 ahc_sync_tqinfifo(struct ahc_softc *ahc, int op)
693 ahc_check_cmdcmpltqueues(struct ahc_softc *ahc)
722 ahc_intr(struct ahc_softc *ahc)
807 ahc_restart(struct ahc_softc *ahc)
875 ahc_run_qoutfifo(struct ahc_softc *ahc)
922 ahc_run_untagged_queues(struct ahc_softc *ahc)
931 ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue)
947 ahc_handle_brkadrint(struct ahc_softc *ahc)
976 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat)
1964 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
1980 ahc_clear_critical_section(struct ahc_softc *ahc)
2073 ahc_clear_intstat(struct ahc_softc *ahc)
2098 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel)
2145 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force)
2174 ahc_devlimited_syncrate(struct ahc_softc *ahc,
2229 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
2305 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync)
2346 ahc_validate_offset(struct ahc_softc *ahc,
2378 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo,
2408 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
2451 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
2578 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
2634 ahc_set_tags(struct ahc_softc *ahc, struct scsi_cmnd *cmd,
2650 ahc_update_pending_scbs(struct ahc_softc *ahc)
2728 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
2793 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
2800 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
2817 ahc_assert_atn(struct ahc_softc *ahc)
2834 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
2920 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
3018 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
3038 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
3056 ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
3078 ahc_clear_msg_state(struct ahc_softc *ahc)
3096 ahc_handle_proto_violation(struct ahc_softc *ahc)
3193 ahc_handle_message_phase(struct ahc_softc *ahc)
3491 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full)
3538 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
3960 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
4111 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
4216 ahc_reinitialize_dataptrs(struct ahc_softc *ahc)
4272 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
4327 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo,
4353 struct ahc_softc *
4356 struct ahc_softc *ahc;
4406 ahc_softc_init(struct ahc_softc *ahc)
4426 ahc_set_unit(struct ahc_softc *ahc, int unit)
4432 ahc_set_name(struct ahc_softc *ahc, char *name)
4440 ahc_free(struct ahc_softc *ahc)
4515 struct ahc_softc *ahc;
4518 ahc = (struct ahc_softc *)arg;
4540 ahc_reset(struct ahc_softc *ahc, int reinit)
4646 ahc_probe_scbs(struct ahc_softc *ahc) {
4672 ahc_build_free_scb_list(struct ahc_softc *ahc)
4723 ahc_init_scbdata(struct ahc_softc *ahc)
4861 ahc_fini_scbdata(struct ahc_softc *ahc)
4915 ahc_alloc_scbs(struct ahc_softc *ahc)
4972 next_scb->ahc_softc = ahc;
4992 ahc_controller_info(struct ahc_softc *ahc, char *buf)
5033 ahc_chip_init(struct ahc_softc *ahc)
5220 ahc_init(struct ahc_softc *ahc)
5541 ahc_intr_enable(struct ahc_softc *ahc, int enable)
5565 ahc_pause_and_flushwork(struct ahc_softc *ahc)
5606 ahc_suspend(struct ahc_softc *ahc)
5627 ahc_resume(struct ahc_softc *ahc)
5642 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl)
5663 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl)
5681 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid)
5700 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target,
5736 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb)
5754 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb)
5776 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb,
5792 ahc_qinfifo_count(struct ahc_softc *ahc)
5807 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel,
6016 ahc_search_untagged_queues(struct ahc_softc *ahc, ahc_io_ctx_t ctx,
6114 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel,
6181 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr)
6207 ahc_add_curscb_to_free_list(struct ahc_softc *ahc)
6226 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev)
6277 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel,
6409 ahc_reset_current_bus(struct ahc_softc *ahc)
6428 ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
6589 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb)
6677 ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate,
6728 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate)
6764 ahc_dumpseq(struct ahc_softc* ahc)
6784 ahc_loadseq(struct ahc_softc *ahc)
6894 ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch,
6930 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts)
7103 ahc_dump_card_state(struct ahc_softc *ahc)
7288 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb,
7329 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb)
7702 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask)
7740 ahc_run_tqinfifo(struct ahc_softc *ahc, int paused)
7795 ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd)