• 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/qla2xxx/

Lines Matching defs:int

27 static int apidev_major;
39 int ql2xlogintimeout = 20;
40 module_param(ql2xlogintimeout, int, S_IRUGO|S_IRUSR);
44 int qlport_down_retry;
45 module_param(qlport_down_retry, int, S_IRUGO|S_IRUSR);
50 int ql2xplogiabsentdevice;
51 module_param(ql2xplogiabsentdevice, int, S_IRUGO|S_IWUSR);
57 int ql2xloginretrycount = 0;
58 module_param(ql2xloginretrycount, int, S_IRUGO|S_IRUSR);
62 int ql2xallocfwdump = 1;
63 module_param(ql2xallocfwdump, int, S_IRUGO|S_IRUSR);
69 int ql2xextended_error_logging;
70 module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR);
75 int ql2xshiftctondsd = 6;
76 module_param(ql2xshiftctondsd, int, S_IRUGO|S_IRUSR);
83 int ql2xfdmienable=1;
84 module_param(ql2xfdmienable, int, S_IRUGO|S_IRUSR);
90 static int ql2xmaxqdepth = MAX_Q_DEPTH;
91 module_param(ql2xmaxqdepth, int, S_IRUGO|S_IWUSR);
96 int ql2xenabledif = 1;
97 module_param(ql2xenabledif, int, S_IRUGO|S_IWUSR);
102 int ql2xenablehba_err_chk;
103 module_param(ql2xenablehba_err_chk, int, S_IRUGO|S_IWUSR);
108 int ql2xiidmaenable=1;
109 module_param(ql2xiidmaenable, int, S_IRUGO|S_IRUSR);
114 int ql2xmaxqueues = 1;
115 module_param(ql2xmaxqueues, int, S_IRUGO|S_IRUSR);
121 int ql2xmultique_tag;
122 module_param(ql2xmultique_tag, int, S_IRUGO|S_IRUSR);
128 int ql2xfwloadbin;
129 module_param(ql2xfwloadbin, int, S_IRUGO|S_IRUSR);
137 int ql2xetsenable;
138 module_param(ql2xetsenable, int, S_IRUGO|S_IRUSR);
143 int ql2xdbwr = 1;
144 module_param(ql2xdbwr, int, S_IRUGO|S_IRUSR);
150 int ql2xdontresethba;
151 module_param(ql2xdontresethba, int, S_IRUGO|S_IRUSR);
157 int ql2xtargetreset = 1;
158 module_param(ql2xtargetreset, int, S_IRUGO|S_IRUSR);
163 int ql2xgffidenable;
164 module_param(ql2xgffidenable, int, S_IRUGO|S_IRUSR);
169 int ql2xasynctmfenable;
170 module_param(ql2xasynctmfenable, int, S_IRUGO|S_IRUSR);
177 static int qla2xxx_slave_configure(struct scsi_device * device);
178 static int qla2xxx_slave_alloc(struct scsi_device *);
179 static int qla2xxx_scan_finished(struct Scsi_Host *, unsigned long time);
182 static int qla2xxx_queuecommand(struct scsi_cmnd *cmd,
184 static int qla2xxx_eh_abort(struct scsi_cmnd *);
185 static int qla2xxx_eh_device_reset(struct scsi_cmnd *);
186 static int qla2xxx_eh_target_reset(struct scsi_cmnd *);
187 static int qla2xxx_eh_bus_reset(struct scsi_cmnd *);
188 static int qla2xxx_eh_host_reset(struct scsi_cmnd *);
190 static int qla2x00_change_queue_depth(struct scsi_device *, int, int);
191 static int qla2x00_change_queue_type(struct scsi_device *, int);
257 static int qla2x00_do_dpc(void *data);
261 static int qla2x00_mem_alloc(struct qla_hw_data *, uint16_t, uint16_t,
267 static int qla2x00_alloc_queues(struct qla_hw_data *ha)
321 int cnt;
338 static int qla25xx_setup_mode(struct scsi_qla_host *vha)
341 int ques, req, ret;
420 int pcie_reg;
536 static int
545 int rval;
626 static int
634 int ret = QLA_SUCCESS;
667 int
670 int return_status;
709 static int
712 int return_status;
735 int
738 int return_status;
779 static inline int
782 int return_status = QLA_SUCCESS;
827 static int
832 int ret, i;
833 unsigned int id, lun;
836 int wait = 0;
840 int got_ref = 0;
911 int
912 qla2x00_eh_wait_for_pending_commands(scsi_qla_host_t *vha, unsigned int t,
913 unsigned int l, enum nexus_wait_type type)
915 int cnt, match, status;
966 static int
968 struct scsi_cmnd *cmd, int (*do_reset)(struct fc_port *, unsigned int, int))
972 int err;
1009 static int
1019 static int
1044 static int
1049 int ret = FAILED;
1050 unsigned int id, lun;
1104 static int
1110 int ret = FAILED;
1111 unsigned int id, lun;
1180 int
1183 int ret;
1230 qla2x00_abort_all_cmds(scsi_qla_host_t *vha, int res)
1232 int que, cnt;
1278 static int
1291 static int
1315 static void qla2x00_handle_queue_full(struct scsi_device *sdev, int qdepth)
1328 static void qla2x00_adjust_sdev_qdepth_up(struct scsi_device *sdev, int qdepth)
1353 static int
1354 qla2x00_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason)
1373 static int
1374 qla2x00_change_queue_type(struct scsi_device *sdev, int tag_type)
1798 static int
1803 int cpus;
1912 static int
1928 static int __devinit
1931 int ret = -ENODEV;
1938 int bars, max_id, mem_only = 0;
2498 int defer)
2528 int do_login, int defer)
2580 qla2x00_mark_all_devices_lost(scsi_qla_host_t *vha, int defer)
2612 static int
3006 static int
3019 int
3034 int
3048 int qla2x00_post_async_##name##_work( \
3073 int
3167 int status;
3245 static int
3248 int rval;
3546 int start_dpc = 0;
3547 int index;
3549 int t;
3759 int idx;
3797 int risc_paused = 0;
3838 int rc, retries = 10;
3889 int ret;
3950 static int __init
3953 int ret = 0;