• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:ips_ha_t

252 static int ips_hainit(ips_ha_t *);
253 static int ips_map_status(ips_ha_t *, ips_scb_t *, ips_stat_t *);
254 static int ips_send_wait(ips_ha_t *, ips_scb_t *, int, int);
255 static int ips_send_cmd(ips_ha_t *, ips_scb_t *);
256 static int ips_online(ips_ha_t *, ips_scb_t *);
257 static int ips_inquiry(ips_ha_t *, ips_scb_t *);
258 static int ips_rdcap(ips_ha_t *, ips_scb_t *);
259 static int ips_msense(ips_ha_t *, ips_scb_t *);
260 static int ips_reqsen(ips_ha_t *, ips_scb_t *);
261 static int ips_deallocatescbs(ips_ha_t *, int);
262 static int ips_allocatescbs(ips_ha_t *);
263 static int ips_reset_copperhead(ips_ha_t *);
264 static int ips_reset_copperhead_memio(ips_ha_t *);
265 static int ips_reset_morpheus(ips_ha_t *);
266 static int ips_issue_copperhead(ips_ha_t *, ips_scb_t *);
267 static int ips_issue_copperhead_memio(ips_ha_t *, ips_scb_t *);
268 static int ips_issue_i2o(ips_ha_t *, ips_scb_t *);
269 static int ips_issue_i2o_memio(ips_ha_t *, ips_scb_t *);
270 static int ips_isintr_copperhead(ips_ha_t *);
271 static int ips_isintr_copperhead_memio(ips_ha_t *);
272 static int ips_isintr_morpheus(ips_ha_t *);
273 static int ips_wait(ips_ha_t *, int, int);
274 static int ips_write_driver_status(ips_ha_t *, int);
275 static int ips_read_adapter_status(ips_ha_t *, int);
276 static int ips_read_subsystem_parameters(ips_ha_t *, int);
277 static int ips_read_config(ips_ha_t *, int);
278 static int ips_clear_adapter(ips_ha_t *, int);
279 static int ips_readwrite_page5(ips_ha_t *, int, int);
280 static int ips_init_copperhead(ips_ha_t *);
281 static int ips_init_copperhead_memio(ips_ha_t *);
282 static int ips_init_morpheus(ips_ha_t *);
283 static int ips_isinit_copperhead(ips_ha_t *);
284 static int ips_isinit_copperhead_memio(ips_ha_t *);
285 static int ips_isinit_morpheus(ips_ha_t *);
286 static int ips_erase_bios(ips_ha_t *);
287 static int ips_program_bios(ips_ha_t *, char *, uint32_t, uint32_t);
288 static int ips_verify_bios(ips_ha_t *, char *, uint32_t, uint32_t);
289 static int ips_erase_bios_memio(ips_ha_t *);
290 static int ips_program_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
291 static int ips_verify_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
292 static int ips_flash_copperhead(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
293 static int ips_flash_bios(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
294 static int ips_flash_firmware(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
295 static void ips_free_flash_copperhead(ips_ha_t * ha);
296 static void ips_get_bios_version(ips_ha_t *, int);
297 static void ips_identify_controller(ips_ha_t *);
298 static void ips_chkstatus(ips_ha_t *, IPS_STATUS *);
299 static void ips_enable_int_copperhead(ips_ha_t *);
300 static void ips_enable_int_copperhead_memio(ips_ha_t *);
301 static void ips_enable_int_morpheus(ips_ha_t *);
302 static int ips_intr_copperhead(ips_ha_t *);
303 static int ips_intr_morpheus(ips_ha_t *);
304 static void ips_next(ips_ha_t *, int);
305 static void ipsintr_blocking(ips_ha_t *, struct ips_scb *);
306 static void ipsintr_done(ips_ha_t *, struct ips_scb *);
307 static void ips_done(ips_ha_t *, ips_scb_t *);
308 static void ips_free(ips_ha_t *);
309 static void ips_init_scb(ips_ha_t *, ips_scb_t *);
310 static void ips_freescb(ips_ha_t *, ips_scb_t *);
311 static void ips_setup_funclist(ips_ha_t *);
312 static void ips_statinit(ips_ha_t *);
313 static void ips_statinit_memio(ips_ha_t *);
314 static void ips_fix_ffdc_time(ips_ha_t *, ips_scb_t *, time_t);
315 static void ips_ffdc_reset(ips_ha_t *, int);
316 static void ips_ffdc_time(ips_ha_t *);
317 static uint32_t ips_statupd_copperhead(ips_ha_t *);
318 static uint32_t ips_statupd_copperhead_memio(ips_ha_t *);
319 static uint32_t ips_statupd_morpheus(ips_ha_t *);
320 static ips_scb_t *ips_getscb(ips_ha_t *);
335 static int ips_make_passthru(ips_ha_t *, struct scsi_cmnd *, ips_scb_t *, int);
336 static int ips_usrcmd(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
337 static void ips_cleanup_passthru(ips_ha_t *, ips_scb_t *);
344 static int ips_host_info(ips_ha_t *, char *, off_t, int);
347 static int ips_abort_init(ips_ha_t * ha, int index);
353 static int ips_poll_for_flush_complete(ips_ha_t * ha);
354 static void ips_flush_and_reset(ips_ha_t *ha);
361 static ips_ha_t *ips_ha[IPS_MAX_ADAPTERS]; /* Array of HA structures */
612 ips_setup_funclist(ips_ha_t * ha)
679 ips_ha_t *ha;
756 ips_ha_t *ha;
764 ha = (ips_ha_t *) ips_ha[i];
814 ips_ha_t *ha;
826 ha = (ips_ha_t *) SC->device->host->hostdata;
874 ips_ha_t *ha;
890 ha = (ips_ha_t *) SC->device->host->hostdata;
1082 ips_ha_t *ha;
1087 ha = (ips_ha_t *) SC->device->host->hostdata;
1184 ips_ha_t *ha = (ips_ha_t *) disk->device->host->hostdata;
1190 ips_ha_t *ha = (ips_ha_t *) sdev->host->hostdata;
1261 ips_ha_t *ha;
1305 ips_ha_t *ha;
1334 ips_ha_t *ha;
1341 ha = (ips_ha_t *) dev_id;
1379 ips_intr_copperhead(ips_ha_t * ha)
1443 ips_intr_morpheus(ips_ha_t * ha)
1515 ips_ha_t *ha;
1554 ips_ha_t *ha = NULL;
1562 ha = (ips_ha_t *) ips_sh[i]->hostdata;
1647 ips_alloc_passthru_buffer(ips_ha_t * ha, int length)
1680 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr)
1778 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1850 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1914 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr,
1952 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
2005 ips_free_flash_copperhead(ips_ha_t * ha)
2025 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
2113 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb)
2153 ips_host_info(ips_ha_t * ha, char *ptr, off_t offset, int len)
2342 ips_identify_controller(ips_ha_t * ha)
2427 ips_get_bios_version(ips_ha_t * ha, int intr)
2590 ips_hainit(ips_ha_t * ha)
2726 ips_next(ips_ha_t * ha, int intr)
3308 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb)
3330 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb)
3362 ips_done(ips_ha_t * ha, ips_scb_t * scb)
3486 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp)
3625 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr)
3733 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb)
4120 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus)
4278 ips_online(ips_ha_t * ha, ips_scb_t * scb)
4313 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb)
4348 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb)
4378 ips_msense(ips_ha_t * ha, ips_scb_t * scb)
4469 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb)
4498 ips_free(ips_ha_t * ha)
4568 ips_deallocatescbs(ips_ha_t * ha, int cmds)
4592 ips_allocatescbs(ips_ha_t * ha)
4657 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb)
4702 ips_getscb(ips_ha_t * ha)
4734 ips_freescb(ips_ha_t * ha, ips_scb_t * scb)
4762 ips_isinit_copperhead(ips_ha_t * ha)
4788 ips_isinit_copperhead_memio(ips_ha_t * ha)
4814 ips_isinit_morpheus(ips_ha_t * ha)
4846 ips_flush_and_reset(ips_ha_t *ha)
4905 ips_poll_for_flush_complete(ips_ha_t * ha)
4932 ips_enable_int_copperhead(ips_ha_t * ha)
4949 ips_enable_int_copperhead_memio(ips_ha_t * ha)
4966 ips_enable_int_morpheus(ips_ha_t * ha)
4988 ips_init_copperhead(ips_ha_t * ha)
5082 ips_init_copperhead_memio(ips_ha_t * ha)
5177 ips_init_morpheus(ips_ha_t * ha)
5294 ips_reset_copperhead(ips_ha_t * ha)
5339 ips_reset_copperhead_memio(ips_ha_t * ha)
5384 ips_reset_morpheus(ips_ha_t * ha)
5428 ips_statinit(ips_ha_t * ha)
5459 ips_statinit_memio(ips_ha_t * ha)
5489 ips_statupd_copperhead(ips_ha_t * ha)
5517 ips_statupd_copperhead_memio(ips_ha_t * ha)
5544 ips_statupd_morpheus(ips_ha_t * ha)
5565 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb)
5619 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb)
5672 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb)
5704 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb)
5736 ips_isintr_copperhead(ips_ha_t * ha)
5769 ips_isintr_copperhead_memio(ips_ha_t * ha)
5802 ips_isintr_morpheus(ips_ha_t * ha)
5826 ips_wait(ips_ha_t * ha, int time, int intr)
5884 ips_write_driver_status(ips_ha_t * ha, int intr)
5949 ips_read_adapter_status(ips_ha_t * ha, int intr)
5992 ips_read_subsystem_parameters(ips_ha_t * ha, int intr)
6036 ips_read_config(ips_ha_t * ha, int intr)
6094 ips_readwrite_page5(ips_ha_t * ha, int write, int intr)
6144 ips_clear_adapter(ips_ha_t * ha, int intr)
6207 ips_ffdc_reset(ips_ha_t * ha, int intr)
6241 ips_ffdc_time(ips_ha_t * ha)
6276 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time_t current_time)
6344 ips_erase_bios(ips_ha_t * ha)
6456 ips_erase_bios_memio(ips_ha_t * ha)
6568 ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6659 ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6750 ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6799 ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6848 ips_abort_init(ips_ha_t * ha, int index)
6867 ips_ha_t *ha_sav = ips_ha[highindex];
6987 ips_ha_t *ha, *oldha = ips_ha[index];
6988 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t));
6995 memcpy(ha, oldha, sizeof (ips_ha_t));
7045 ips_ha_t *ha;
7147 ips_ha_t *ha;
7240 ha = kmalloc(sizeof (ips_ha_t), GFP_KERNEL);
7247 memset(ha, 0, sizeof (ips_ha_t));
7399 ips_ha_t *ha;