Lines Matching defs:ocs_softc
98 struct ocs_softc { struct
99 device_t dev;
100 struct cdev *cdev;
102 ocs_pci_reg_t reg[PCI_MAX_BAR];
104 uint32_t instance_index;
105 const char *desc;
107 uint32_t irqid;
108 struct resource *irq;
109 void *tag;
111 ocs_intr_ctx_t intr_ctx;
112 uint32_t n_vec;
114 bus_dma_tag_t dmat; /** Parent DMA tag */
115 bus_dma_tag_t buf_dmat;/** IO buffer DMA tag */
116 char display_name[OCS_DISPLAY_NAME_LENGTH];
117 uint16_t pci_vendor;
118 uint16_t pci_device;
119 uint16_t pci_subsystem_vendor;
120 uint16_t pci_subsystem_device;
121 char businfo[16];
122 const char *driver_version;
123 const char *fw_version;
124 const char *model;
126 ocs_hw_t hw;
128 ocs_rlock_t lock; /**< device wide lock */
130 ocs_xport_e ocs_xport;
131 ocs_xport_t *xport; /**< pointer to transport object */
132 ocs_domain_t *domain;
133 ocs_list_t domain_list;
134 uint32_t domain_instance_count;
135 void (*domain_list_empty_cb)(ocs_t *ocs, void *arg);
136 void *domain_list_empty_cb_arg;
138 uint8_t enable_ini;
139 uint8_t enable_tgt;
140 uint8_t fc_type;
141 int ctrlmask;
142 uint8_t explicit_buffer_list;
143 uint8_t external_loopback;
144 uint8_t skip_hw_teardown;
145 int speed;
146 int topology;
147 int ethernet_license;
148 int num_scsi_ios;
149 uint8_t enable_hlm;
150 uint32_t hlm_group_size;
151 uint32_t max_isr_time_msec; /*>> Maximum ISR time */
152 uint32_t auto_xfer_rdy_size; /*>> Max sized write to use auto xfer rdy*/
153 uint8_t esoc;
154 int logmask;
155 char *hw_war_version;
156 uint32_t num_vports;
157 uint32_t target_io_timer_sec;
158 uint32_t hw_bounce;
159 uint8_t rq_threads;
160 uint8_t rq_selection_policy;
161 uint8_t rr_quanta;
162 char *filter_def;
163 uint32_t max_remote_nodes;
173 time_t tgt_rscn_delay_msec; /*>> minimum target RSCN delay */
183 time_t tgt_rscn_period_msec; /*>> minimum target RSCN period */
185 uint32_t enable_task_set_full;
186 uint32_t io_in_use;
187 uint32_t io_high_watermark; /**< used to send task set full */
188 struct mtx sim_lock;
189 uint32_t config_tgt:1, /**< Configured to support target mode */
190 config_ini:1; /**< Configured to support initiator mode */
192 uint32_t nodedb_mask; /**< Node debugging mask */
194 char modeldesc[64];
195 char serialnum[64];
196 char fwrev[64];
197 char sli_intf[9];
199 ocs_ramlog_t *ramlog;
200 ocs_textbuf_t ddump_saved;
202 ocs_mgmt_functions_t *mgmt_functions;
203 ocs_mgmt_functions_t *tgt_mgmt_functions;
204 ocs_mgmt_functions_t *ini_mgmt_functions;
206 ocs_err_injection_e err_injection;
207 uint32_t cmd_err_inject;
208 time_t delay_value_msec;
210 bool attached;
211 struct mtx dbg_lock;
213 struct cam_devq *devq;
214 ocs_fcport *fcports;
216 void* tgt_ocs;