ctlr_info 238 drivers/scsi/hpsa.c static int hpsa_add_sas_host(struct ctlr_info *h); ctlr_info 239 drivers/scsi/hpsa.c static void hpsa_delete_sas_host(struct ctlr_info *h); ctlr_info 244 drivers/scsi/hpsa.c *hpsa_find_device_by_sas_rphy(struct ctlr_info *h, ctlr_info 263 drivers/scsi/hpsa.c static void cmd_free(struct ctlr_info *h, struct CommandList *c); ctlr_info 264 drivers/scsi/hpsa.c static struct CommandList *cmd_alloc(struct ctlr_info *h); ctlr_info 265 drivers/scsi/hpsa.c static void cmd_tagged_free(struct ctlr_info *h, struct CommandList *c); ctlr_info 266 drivers/scsi/hpsa.c static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h, ctlr_info 268 drivers/scsi/hpsa.c static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, ctlr_info 271 drivers/scsi/hpsa.c static void hpsa_free_cmd_pool(struct ctlr_info *h); ctlr_info 286 drivers/scsi/hpsa.c static void hpsa_update_scsi_devices(struct ctlr_info *h); ctlr_info 287 drivers/scsi/hpsa.c static int check_for_unit_attention(struct ctlr_info *h, ctlr_info 289 drivers/scsi/hpsa.c static void check_ioctl_unit_attention(struct ctlr_info *h, ctlr_info 294 drivers/scsi/hpsa.c static void hpsa_free_performant_mode(struct ctlr_info *h); ctlr_info 295 drivers/scsi/hpsa.c static int hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h); ctlr_info 296 drivers/scsi/hpsa.c static inline u32 next_command(struct ctlr_info *h, u8 q); ctlr_info 304 drivers/scsi/hpsa.c static int wait_for_device_to_become_ready(struct ctlr_info *h, ctlr_info 310 drivers/scsi/hpsa.c static int hpsa_wait_for_mode_change_ack(struct ctlr_info *h); ctlr_info 313 drivers/scsi/hpsa.c static void hpsa_drain_accel_commands(struct ctlr_info *h); ctlr_info 314 drivers/scsi/hpsa.c static void hpsa_flush_cache(struct ctlr_info *h); ctlr_info 315 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel_queue_command(struct ctlr_info *h, ctlr_info 319 drivers/scsi/hpsa.c static u32 lockup_detected(struct ctlr_info *h); ctlr_info 320 drivers/scsi/hpsa.c static int detect_controller_lockup(struct ctlr_info *h); ctlr_info 321 drivers/scsi/hpsa.c static void hpsa_disable_rld_caching(struct ctlr_info *h); ctlr_info 322 drivers/scsi/hpsa.c static inline int hpsa_scsi_do_report_phys_luns(struct ctlr_info *h, ctlr_info 324 drivers/scsi/hpsa.c static bool hpsa_vpd_page_supported(struct ctlr_info *h, ctlr_info 326 drivers/scsi/hpsa.c static int hpsa_luns_changed(struct ctlr_info *h); ctlr_info 327 drivers/scsi/hpsa.c static bool hpsa_cmd_dev_match(struct ctlr_info *h, struct CommandList *c, ctlr_info 331 drivers/scsi/hpsa.c static inline struct ctlr_info *sdev_to_hba(struct scsi_device *sdev) ctlr_info 334 drivers/scsi/hpsa.c return (struct ctlr_info *) *priv; ctlr_info 337 drivers/scsi/hpsa.c static inline struct ctlr_info *shost_to_hba(struct Scsi_Host *sh) ctlr_info 340 drivers/scsi/hpsa.c return (struct ctlr_info *) *priv; ctlr_info 370 drivers/scsi/hpsa.c static int check_for_unit_attention(struct ctlr_info *h, ctlr_info 423 drivers/scsi/hpsa.c static int check_for_busy(struct ctlr_info *h, struct CommandList *c) ctlr_info 433 drivers/scsi/hpsa.c static u32 lockup_detected(struct ctlr_info *h); ctlr_info 438 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 452 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 476 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 500 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 510 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 526 drivers/scsi/hpsa.c struct ctlr_info *h = shost_to_hba(shost); ctlr_info 535 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 547 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 631 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 666 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 698 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 720 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 748 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 771 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 799 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 884 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 894 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 979 drivers/scsi/hpsa.c static inline u32 next_command(struct ctlr_info *h, u8 q) ctlr_info 1037 drivers/scsi/hpsa.c static void set_performant_mode(struct ctlr_info *h, struct CommandList *c, ctlr_info 1048 drivers/scsi/hpsa.c static void set_ioaccel1_performant_mode(struct ctlr_info *h, ctlr_info 1069 drivers/scsi/hpsa.c static void set_ioaccel2_tmf_performant_mode(struct ctlr_info *h, ctlr_info 1088 drivers/scsi/hpsa.c static void set_ioaccel2_performant_mode(struct ctlr_info *h, ctlr_info 1121 drivers/scsi/hpsa.c static void dial_down_lockup_detection_during_fw_flash(struct ctlr_info *h, ctlr_info 1130 drivers/scsi/hpsa.c static void dial_up_lockup_detection_on_fw_flash_complete(struct ctlr_info *h, ctlr_info 1138 drivers/scsi/hpsa.c static void __enqueue_cmd_and_start_io(struct ctlr_info *h, ctlr_info 1166 drivers/scsi/hpsa.c static void enqueue_cmd_and_start_io(struct ctlr_info *h, struct CommandList *c) ctlr_info 1176 drivers/scsi/hpsa.c static inline int is_scsi_rev_5(struct ctlr_info *h) ctlr_info 1185 drivers/scsi/hpsa.c static int hpsa_find_target_lun(struct ctlr_info *h, ctlr_info 1211 drivers/scsi/hpsa.c static void hpsa_show_dev_msg(const char *level, struct ctlr_info *h, ctlr_info 1267 drivers/scsi/hpsa.c static int hpsa_scsi_add_entry(struct ctlr_info *h, ctlr_info 1345 drivers/scsi/hpsa.c static void hpsa_scsi_update_entry(struct ctlr_info *h, ctlr_info 1398 drivers/scsi/hpsa.c static void hpsa_scsi_replace_entry(struct ctlr_info *h, ctlr_info 1425 drivers/scsi/hpsa.c static void hpsa_scsi_remove_entry(struct ctlr_info *h, int entry, ctlr_info 1454 drivers/scsi/hpsa.c static void fixup_botched_add(struct ctlr_info *h, ctlr_info 1571 drivers/scsi/hpsa.c static void hpsa_monitor_offline_device(struct ctlr_info *h, ctlr_info 1600 drivers/scsi/hpsa.c static void hpsa_show_volume_status(struct ctlr_info *h, ctlr_info 1684 drivers/scsi/hpsa.c static void hpsa_figure_phys_disk_ptrs(struct ctlr_info *h, ctlr_info 1760 drivers/scsi/hpsa.c static void hpsa_update_log_drive_phys_drive_ptrs(struct ctlr_info *h, ctlr_info 1798 drivers/scsi/hpsa.c static int hpsa_add_device(struct ctlr_info *h, struct hpsa_scsi_dev_t *device) ctlr_info 1814 drivers/scsi/hpsa.c static int hpsa_find_outstanding_commands_for_dev(struct ctlr_info *h, ctlr_info 1841 drivers/scsi/hpsa.c static void hpsa_wait_for_outstanding_commands_for_dev(struct ctlr_info *h, ctlr_info 1869 drivers/scsi/hpsa.c static void hpsa_remove_device(struct ctlr_info *h, ctlr_info 1904 drivers/scsi/hpsa.c static void adjust_hpsa_scsi_table(struct ctlr_info *h, ctlr_info 2080 drivers/scsi/hpsa.c static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h, ctlr_info 2098 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 2165 drivers/scsi/hpsa.c static void hpsa_free_ioaccel2_sg_chain_blocks(struct ctlr_info *h) ctlr_info 2179 drivers/scsi/hpsa.c static int hpsa_allocate_ioaccel2_sg_chain_blocks(struct ctlr_info *h) ctlr_info 2206 drivers/scsi/hpsa.c static void hpsa_free_sg_chain_blocks(struct ctlr_info *h) ctlr_info 2220 drivers/scsi/hpsa.c static int hpsa_alloc_sg_chain_blocks(struct ctlr_info *h) ctlr_info 2247 drivers/scsi/hpsa.c static int hpsa_map_ioaccel2_sg_chain_block(struct ctlr_info *h, ctlr_info 2267 drivers/scsi/hpsa.c static void hpsa_unmap_ioaccel2_sg_chain_block(struct ctlr_info *h, ctlr_info 2280 drivers/scsi/hpsa.c static int hpsa_map_sg_chain_block(struct ctlr_info *h, ctlr_info 2304 drivers/scsi/hpsa.c static void hpsa_unmap_sg_chain_block(struct ctlr_info *h, ctlr_info 2322 drivers/scsi/hpsa.c static int handle_ioaccel_mode2_error(struct ctlr_info *h, ctlr_info 2438 drivers/scsi/hpsa.c static void hpsa_cmd_resolve_events(struct ctlr_info *h, ctlr_info 2458 drivers/scsi/hpsa.c static void hpsa_cmd_resolve_and_free(struct ctlr_info *h, ctlr_info 2465 drivers/scsi/hpsa.c static void hpsa_cmd_free_and_done(struct ctlr_info *h, ctlr_info 2473 drivers/scsi/hpsa.c static void hpsa_retry_cmd(struct ctlr_info *h, struct CommandList *c) ctlr_info 2479 drivers/scsi/hpsa.c static void process_ioaccel2_completion(struct ctlr_info *h, ctlr_info 2521 drivers/scsi/hpsa.c static int hpsa_evaluate_tmf_status(struct ctlr_info *h, ctlr_info 2551 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 2829 drivers/scsi/hpsa.c static int hpsa_scsi_do_simple_cmd_core(struct ctlr_info *h, ctlr_info 2849 drivers/scsi/hpsa.c static int hpsa_scsi_do_simple_cmd(struct ctlr_info *h, struct CommandList *c, ctlr_info 2859 drivers/scsi/hpsa.c static u32 lockup_detected(struct ctlr_info *h) ctlr_info 2872 drivers/scsi/hpsa.c static int hpsa_scsi_do_simple_cmd_with_retry(struct ctlr_info *h, ctlr_info 2900 drivers/scsi/hpsa.c static void hpsa_print_cmd(struct ctlr_info *h, char *txt, ctlr_info 2910 drivers/scsi/hpsa.c static void hpsa_scsi_interpret_error(struct ctlr_info *h, ctlr_info 2985 drivers/scsi/hpsa.c static int hpsa_do_receive_diagnostic(struct ctlr_info *h, u8 *scsi3addr, ctlr_info 3012 drivers/scsi/hpsa.c static u64 hpsa_get_enclosure_logical_identifier(struct ctlr_info *h, ctlr_info 3036 drivers/scsi/hpsa.c static int hpsa_scsi_do_inquiry(struct ctlr_info *h, unsigned char *scsi3addr, ctlr_info 3065 drivers/scsi/hpsa.c static int hpsa_send_reset(struct ctlr_info *h, struct hpsa_scsi_dev_t *dev, ctlr_info 3094 drivers/scsi/hpsa.c static bool hpsa_cmd_dev_match(struct ctlr_info *h, struct CommandList *c, ctlr_info 3153 drivers/scsi/hpsa.c static int hpsa_do_reset(struct ctlr_info *h, struct hpsa_scsi_dev_t *dev, ctlr_info 3186 drivers/scsi/hpsa.c static void hpsa_get_raid_level(struct ctlr_info *h, ctlr_info 3215 drivers/scsi/hpsa.c static void hpsa_debug_map_buff(struct ctlr_info *h, int rc, ctlr_info 3284 drivers/scsi/hpsa.c static void hpsa_debug_map_buff(__attribute__((unused)) struct ctlr_info *h, ctlr_info 3291 drivers/scsi/hpsa.c static int hpsa_get_raid_map(struct ctlr_info *h, ctlr_info 3332 drivers/scsi/hpsa.c static int hpsa_bmic_sense_subsystem_information(struct ctlr_info *h, ctlr_info 3364 drivers/scsi/hpsa.c static int hpsa_bmic_id_controller(struct ctlr_info *h, ctlr_info 3392 drivers/scsi/hpsa.c static int hpsa_bmic_id_physical_device(struct ctlr_info *h, ctlr_info 3428 drivers/scsi/hpsa.c static void hpsa_get_enclosure_info(struct ctlr_info *h, ctlr_info 3513 drivers/scsi/hpsa.c static u64 hpsa_get_sas_address_from_report_physical(struct ctlr_info *h, ctlr_info 3543 drivers/scsi/hpsa.c static void hpsa_get_sas_address(struct ctlr_info *h, unsigned char *scsi3addr, ctlr_info 3570 drivers/scsi/hpsa.c static void hpsa_ext_ctrl_present(struct ctlr_info *h, ctlr_info 3595 drivers/scsi/hpsa.c static bool hpsa_vpd_page_supported(struct ctlr_info *h, ctlr_info 3645 drivers/scsi/hpsa.c static void hpsa_get_ioaccel_status(struct ctlr_info *h, ctlr_info 3685 drivers/scsi/hpsa.c static int hpsa_get_device_id(struct ctlr_info *h, unsigned char *scsi3addr, ctlr_info 3712 drivers/scsi/hpsa.c static int hpsa_scsi_do_report_luns(struct ctlr_info *h, int logical, ctlr_info 3760 drivers/scsi/hpsa.c static inline int hpsa_scsi_do_report_phys_luns(struct ctlr_info *h, ctlr_info 3791 drivers/scsi/hpsa.c static inline int hpsa_scsi_do_report_log_luns(struct ctlr_info *h, ctlr_info 3806 drivers/scsi/hpsa.c static int hpsa_get_volume_status(struct ctlr_info *h, ctlr_info 3850 drivers/scsi/hpsa.c static unsigned char hpsa_volume_offline(struct ctlr_info *h, ctlr_info 3913 drivers/scsi/hpsa.c static int hpsa_update_device_info(struct ctlr_info *h, ctlr_info 4032 drivers/scsi/hpsa.c static void figure_bus_target_lun(struct ctlr_info *h, ctlr_info 4063 drivers/scsi/hpsa.c static int figure_external_status(struct ctlr_info *h, int raid_ctlr_position, ctlr_info 4090 drivers/scsi/hpsa.c static int hpsa_gather_lun_info(struct ctlr_info *h, ctlr_info 4127 drivers/scsi/hpsa.c static u8 *figure_lunaddrbytes(struct ctlr_info *h, int raid_ctlr_position, ctlr_info 4155 drivers/scsi/hpsa.c static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h, ctlr_info 4210 drivers/scsi/hpsa.c static int hpsa_set_local_logical_count(struct ctlr_info *h, ctlr_info 4234 drivers/scsi/hpsa.c static bool hpsa_is_disk_spare(struct ctlr_info *h, u8 *lunaddrbytes) ctlr_info 4261 drivers/scsi/hpsa.c static bool hpsa_skip_device(struct ctlr_info *h, u8 *lunaddrbytes, ctlr_info 4299 drivers/scsi/hpsa.c static void hpsa_update_scsi_devices(struct ctlr_info *h) ctlr_info 4544 drivers/scsi/hpsa.c static int hpsa_scatter_gather(struct ctlr_info *h, ctlr_info 4615 drivers/scsi/hpsa.c static inline void warn_zero_length_transfer(struct ctlr_info *h, ctlr_info 4701 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel1_queue_command(struct ctlr_info *h, ctlr_info 4798 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel_direct_map(struct ctlr_info *h, ctlr_info 4819 drivers/scsi/hpsa.c static void set_encrypt_ioaccel2(struct ctlr_info *h, ctlr_info 4875 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel2_queue_command(struct ctlr_info *h, ctlr_info 5014 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel_queue_command(struct ctlr_info *h, ctlr_info 5072 drivers/scsi/hpsa.c static int hpsa_scsi_ioaccel_raid_map(struct ctlr_info *h, ctlr_info 5415 drivers/scsi/hpsa.c static int hpsa_ciss_submit(struct ctlr_info *h, ctlr_info 5487 drivers/scsi/hpsa.c static void hpsa_cmd_init(struct ctlr_info *h, int index, ctlr_info 5508 drivers/scsi/hpsa.c static void hpsa_preinitialize_commands(struct ctlr_info *h) ctlr_info 5520 drivers/scsi/hpsa.c static inline void hpsa_cmd_partial_init(struct ctlr_info *h, int index, ctlr_info 5532 drivers/scsi/hpsa.c static int hpsa_ioaccel_submit(struct ctlr_info *h, ctlr_info 5588 drivers/scsi/hpsa.c struct ctlr_info *h = c->h; ctlr_info 5627 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 5687 drivers/scsi/hpsa.c static void hpsa_scan_complete(struct ctlr_info *h) ctlr_info 5699 drivers/scsi/hpsa.c struct ctlr_info *h = shost_to_hba(sh); ctlr_info 5778 drivers/scsi/hpsa.c struct ctlr_info *h = shost_to_hba(sh); ctlr_info 5788 drivers/scsi/hpsa.c static int hpsa_scsi_host_alloc(struct ctlr_info *h) ctlr_info 5817 drivers/scsi/hpsa.c static int hpsa_scsi_add_host(struct ctlr_info *h) ctlr_info 5851 drivers/scsi/hpsa.c static int hpsa_send_test_unit_ready(struct ctlr_info *h, ctlr_info 5887 drivers/scsi/hpsa.c static int hpsa_wait_for_test_unit_ready(struct ctlr_info *h, ctlr_info 5920 drivers/scsi/hpsa.c static int wait_for_device_to_become_ready(struct ctlr_info *h, ctlr_info 5967 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 6072 drivers/scsi/hpsa.c static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h, ctlr_info 6110 drivers/scsi/hpsa.c static void cmd_tagged_free(struct ctlr_info *h, struct CommandList *c) ctlr_info 6128 drivers/scsi/hpsa.c static struct CommandList *cmd_alloc(struct ctlr_info *h) ctlr_info 6183 drivers/scsi/hpsa.c static void cmd_free(struct ctlr_info *h, struct CommandList *c) ctlr_info 6302 drivers/scsi/hpsa.c static int hpsa_getpciinfo_ioctl(struct ctlr_info *h, void __user *argp) ctlr_info 6317 drivers/scsi/hpsa.c static int hpsa_getdrivver_ioctl(struct ctlr_info *h, void __user *argp) ctlr_info 6340 drivers/scsi/hpsa.c static int hpsa_passthru_ioctl(struct ctlr_info *h, void __user *argp) ctlr_info 6439 drivers/scsi/hpsa.c static int hpsa_big_passthru_ioctl(struct ctlr_info *h, void __user *argp) ctlr_info 6580 drivers/scsi/hpsa.c static void check_ioctl_unit_attention(struct ctlr_info *h, ctlr_info 6594 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 6627 drivers/scsi/hpsa.c static void hpsa_send_host_reset(struct ctlr_info *h, u8 reset_type) ctlr_info 6646 drivers/scsi/hpsa.c static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, ctlr_info 6885 drivers/scsi/hpsa.c static inline unsigned long get_next_completion(struct ctlr_info *h, u8 q) ctlr_info 6890 drivers/scsi/hpsa.c static inline bool interrupt_pending(struct ctlr_info *h) ctlr_info 6895 drivers/scsi/hpsa.c static inline long interrupt_not_for_us(struct ctlr_info *h) ctlr_info 6901 drivers/scsi/hpsa.c static inline int bad_tag(struct ctlr_info *h, u32 tag_index, ctlr_info 6922 drivers/scsi/hpsa.c static inline void process_indexed_cmd(struct ctlr_info *h, ctlr_info 6940 drivers/scsi/hpsa.c static int ignore_bogus_interrupt(struct ctlr_info *h) ctlr_info 6959 drivers/scsi/hpsa.c static struct ctlr_info *queue_to_hba(u8 *queue) ctlr_info 6961 drivers/scsi/hpsa.c return container_of((queue - *queue), struct ctlr_info, q[0]); ctlr_info 6966 drivers/scsi/hpsa.c struct ctlr_info *h = queue_to_hba(queue); ctlr_info 6986 drivers/scsi/hpsa.c struct ctlr_info *h = queue_to_hba(queue); ctlr_info 7002 drivers/scsi/hpsa.c struct ctlr_info *h = queue_to_hba((u8 *) queue); ctlr_info 7021 drivers/scsi/hpsa.c struct ctlr_info *h = queue_to_hba(queue); ctlr_info 7432 drivers/scsi/hpsa.c static void hpsa_disable_interrupt_mode(struct ctlr_info *h) ctlr_info 7438 drivers/scsi/hpsa.c static void hpsa_setup_reply_map(struct ctlr_info *h) ctlr_info 7461 drivers/scsi/hpsa.c static int hpsa_interrupt_mode(struct ctlr_info *h) ctlr_info 7580 drivers/scsi/hpsa.c static void hpsa_free_cfgtables(struct ctlr_info *h) ctlr_info 7595 drivers/scsi/hpsa.c static int hpsa_find_cfgtables(struct ctlr_info *h) ctlr_info 7629 drivers/scsi/hpsa.c static void hpsa_get_max_perf_mode_cmds(struct ctlr_info *h) ctlr_info 7653 drivers/scsi/hpsa.c static int hpsa_supports_chained_sg_blocks(struct ctlr_info *h) ctlr_info 7662 drivers/scsi/hpsa.c static void hpsa_find_board_params(struct ctlr_info *h) ctlr_info 7694 drivers/scsi/hpsa.c static inline bool hpsa_CISS_signature_present(struct ctlr_info *h) ctlr_info 7703 drivers/scsi/hpsa.c static inline void hpsa_set_driver_support_bits(struct ctlr_info *h) ctlr_info 7719 drivers/scsi/hpsa.c static inline void hpsa_p600_dma_prefetch_quirk(struct ctlr_info *h) ctlr_info 7730 drivers/scsi/hpsa.c static int hpsa_wait_for_clear_event_notify_ack(struct ctlr_info *h) ctlr_info 7750 drivers/scsi/hpsa.c static int hpsa_wait_for_mode_change_ack(struct ctlr_info *h) ctlr_info 7777 drivers/scsi/hpsa.c static int hpsa_enter_simple_mode(struct ctlr_info *h) ctlr_info 7804 drivers/scsi/hpsa.c static void hpsa_free_pci_init(struct ctlr_info *h) ctlr_info 7819 drivers/scsi/hpsa.c static int hpsa_pci_init(struct ctlr_info *h) ctlr_info 7902 drivers/scsi/hpsa.c static void hpsa_hba_inquiry(struct ctlr_info *h) ctlr_info 7980 drivers/scsi/hpsa.c static void hpsa_free_cmd_pool(struct ctlr_info *h) ctlr_info 8002 drivers/scsi/hpsa.c static int hpsa_alloc_cmd_pool(struct ctlr_info *h) ctlr_info 8027 drivers/scsi/hpsa.c static void hpsa_free_irqs(struct ctlr_info *h) ctlr_info 8052 drivers/scsi/hpsa.c static int hpsa_request_irqs(struct ctlr_info *h, ctlr_info 8118 drivers/scsi/hpsa.c static int hpsa_kdump_soft_reset(struct ctlr_info *h) ctlr_info 8141 drivers/scsi/hpsa.c static void hpsa_free_reply_queues(struct ctlr_info *h) ctlr_info 8158 drivers/scsi/hpsa.c static void hpsa_undo_allocations_after_kdump_soft_reset(struct ctlr_info *h) ctlr_info 8186 drivers/scsi/hpsa.c static void fail_all_outstanding_cmds(struct ctlr_info *h) ctlr_info 8208 drivers/scsi/hpsa.c static void set_lockup_detected_for_all_cpus(struct ctlr_info *h, u32 value) ctlr_info 8220 drivers/scsi/hpsa.c static void controller_lockup_detected(struct ctlr_info *h) ctlr_info 8247 drivers/scsi/hpsa.c static int detect_controller_lockup(struct ctlr_info *h) ctlr_info 8292 drivers/scsi/hpsa.c static void hpsa_set_ioaccel_status(struct ctlr_info *h) ctlr_info 8352 drivers/scsi/hpsa.c static void hpsa_ack_ctlr_events(struct ctlr_info *h) ctlr_info 8397 drivers/scsi/hpsa.c static int hpsa_ctlr_needs_rescan(struct ctlr_info *h) ctlr_info 8414 drivers/scsi/hpsa.c static int hpsa_offline_devices_ready(struct ctlr_info *h) ctlr_info 8437 drivers/scsi/hpsa.c static int hpsa_luns_changed(struct ctlr_info *h) ctlr_info 8470 drivers/scsi/hpsa.c static void hpsa_perform_rescan(struct ctlr_info *h) ctlr_info 8499 drivers/scsi/hpsa.c struct ctlr_info *h = container_of(to_delayed_work(work), ctlr_info 8500 drivers/scsi/hpsa.c struct ctlr_info, event_monitor_work); ctlr_info 8525 drivers/scsi/hpsa.c struct ctlr_info *h = container_of(to_delayed_work(work), ctlr_info 8526 drivers/scsi/hpsa.c struct ctlr_info, rescan_ctlr_work); ctlr_info 8554 drivers/scsi/hpsa.c struct ctlr_info *h = container_of(to_delayed_work(work), ctlr_info 8555 drivers/scsi/hpsa.c struct ctlr_info, monitor_ctlr_work); ctlr_info 8568 drivers/scsi/hpsa.c static struct workqueue_struct *hpsa_create_controller_wq(struct ctlr_info *h, ctlr_info 8580 drivers/scsi/hpsa.c static void hpda_free_ctlr_info(struct ctlr_info *h) ctlr_info 8586 drivers/scsi/hpsa.c static struct ctlr_info *hpda_alloc_ctlr_info(void) ctlr_info 8588 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 8605 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 8874 drivers/scsi/hpsa.c static void hpsa_flush_cache(struct ctlr_info *h) ctlr_info 8907 drivers/scsi/hpsa.c static void hpsa_disable_rld_caching(struct ctlr_info *h) ctlr_info 8968 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 8987 drivers/scsi/hpsa.c static void hpsa_free_device_info(struct ctlr_info *h) ctlr_info 8999 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 9117 drivers/scsi/hpsa.c static int hpsa_enter_performant_mode(struct ctlr_info *h, u32 trans_support) ctlr_info 9295 drivers/scsi/hpsa.c static void hpsa_free_ioaccel1_cmd_and_bft(struct ctlr_info *h) ctlr_info 9310 drivers/scsi/hpsa.c static int hpsa_alloc_ioaccel1_cmd_and_bft(struct ctlr_info *h) ctlr_info 9346 drivers/scsi/hpsa.c static void hpsa_free_ioaccel2_cmd_and_bft(struct ctlr_info *h) ctlr_info 9363 drivers/scsi/hpsa.c static int hpsa_alloc_ioaccel2_cmd_and_bft(struct ctlr_info *h) ctlr_info 9405 drivers/scsi/hpsa.c static void hpsa_free_performant_mode(struct ctlr_info *h) ctlr_info 9417 drivers/scsi/hpsa.c static int hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) ctlr_info 9493 drivers/scsi/hpsa.c static void hpsa_drain_accel_commands(struct ctlr_info *h) ctlr_info 9678 drivers/scsi/hpsa.c *hpsa_find_device_by_sas_rphy(struct ctlr_info *h, ctlr_info 9695 drivers/scsi/hpsa.c static int hpsa_add_sas_host(struct ctlr_info *h) ctlr_info 9739 drivers/scsi/hpsa.c static void hpsa_delete_sas_host(struct ctlr_info *h) ctlr_info 9795 drivers/scsi/hpsa.c struct ctlr_info *h; ctlr_info 27 drivers/scsi/hpsa.h struct ctlr_info; ctlr_info 30 drivers/scsi/hpsa.h void (*submit_command)(struct ctlr_info *h, ctlr_info 32 drivers/scsi/hpsa.h void (*set_intr_mask)(struct ctlr_info *h, unsigned long val); ctlr_info 33 drivers/scsi/hpsa.h bool (*intr_pending)(struct ctlr_info *h); ctlr_info 34 drivers/scsi/hpsa.h unsigned long (*command_completed)(struct ctlr_info *h, u8 q); ctlr_info 419 drivers/scsi/hpsa.h static void SA5_submit_command(struct ctlr_info *h, ctlr_info 426 drivers/scsi/hpsa.h static void SA5_submit_command_no_read(struct ctlr_info *h, ctlr_info 432 drivers/scsi/hpsa.h static void SA5_submit_command_ioaccel2(struct ctlr_info *h, ctlr_info 443 drivers/scsi/hpsa.h static void SA5_intr_mask(struct ctlr_info *h, unsigned long val) ctlr_info 460 drivers/scsi/hpsa.h static void SA5B_intr_mask(struct ctlr_info *h, unsigned long val) ctlr_info 474 drivers/scsi/hpsa.h static void SA5_performant_intr_mask(struct ctlr_info *h, unsigned long val) ctlr_info 488 drivers/scsi/hpsa.h static unsigned long SA5_performant_completed(struct ctlr_info *h, u8 q) ctlr_info 525 drivers/scsi/hpsa.h static unsigned long SA5_completed(struct ctlr_info *h, ctlr_info 547 drivers/scsi/hpsa.h static bool SA5_intr_pending(struct ctlr_info *h) ctlr_info 554 drivers/scsi/hpsa.h static bool SA5_performant_intr_pending(struct ctlr_info *h) ctlr_info 568 drivers/scsi/hpsa.h static bool SA5_ioaccel_mode1_intr_pending(struct ctlr_info *h) ctlr_info 579 drivers/scsi/hpsa.h static bool SA5B_intr_pending(struct ctlr_info *h) ctlr_info 589 drivers/scsi/hpsa.h static unsigned long SA5_ioaccel_mode1_completed(struct ctlr_info *h, u8 q) ctlr_info 412 drivers/scsi/hpsa_cmd.h struct ctlr_info; /* defined in hpsa.h */ ctlr_info 432 drivers/scsi/hpsa_cmd.h struct ctlr_info *h; ctlr_info 168 drivers/scsi/myrs.c ldev_present = cs->ctlr_info->ldev_present; ctlr_info 169 drivers/scsi/myrs.c ldev_critical = cs->ctlr_info->ldev_critical; ctlr_info 170 drivers/scsi/myrs.c ldev_offline = cs->ctlr_info->ldev_offline; ctlr_info 172 drivers/scsi/myrs.c ctlr_info_addr = dma_map_single(&cs->pdev->dev, cs->ctlr_info, ctlr_info 180 drivers/scsi/myrs.c mbox->ctlr_info.id = MYRS_DCMD_TAG; ctlr_info 181 drivers/scsi/myrs.c mbox->ctlr_info.opcode = MYRS_CMD_OP_IOCTL; ctlr_info 182 drivers/scsi/myrs.c mbox->ctlr_info.control.dma_ctrl_to_host = true; ctlr_info 183 drivers/scsi/myrs.c mbox->ctlr_info.control.no_autosense = true; ctlr_info 184 drivers/scsi/myrs.c mbox->ctlr_info.dma_size = sizeof(struct myrs_ctlr_info); ctlr_info 185 drivers/scsi/myrs.c mbox->ctlr_info.ctlr_num = 0; ctlr_info 186 drivers/scsi/myrs.c mbox->ctlr_info.ioctl_opcode = MYRS_IOCTL_GET_CTLR_INFO; ctlr_info 187 drivers/scsi/myrs.c sgl = &mbox->ctlr_info.dma_addr; ctlr_info 189 drivers/scsi/myrs.c sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; ctlr_info 197 drivers/scsi/myrs.c if (cs->ctlr_info->bg_init_active + ctlr_info 198 drivers/scsi/myrs.c cs->ctlr_info->ldev_init_active + ctlr_info 199 drivers/scsi/myrs.c cs->ctlr_info->pdev_init_active + ctlr_info 200 drivers/scsi/myrs.c cs->ctlr_info->cc_active + ctlr_info 201 drivers/scsi/myrs.c cs->ctlr_info->rbld_active + ctlr_info 202 drivers/scsi/myrs.c cs->ctlr_info->exp_active != 0) ctlr_info 204 drivers/scsi/myrs.c if (cs->ctlr_info->ldev_present != ldev_present || ctlr_info 205 drivers/scsi/myrs.c cs->ctlr_info->ldev_critical != ldev_critical || ctlr_info 206 drivers/scsi/myrs.c cs->ctlr_info->ldev_offline != ldev_offline) ctlr_info 209 drivers/scsi/myrs.c cs->ctlr_info->ldev_critical, ctlr_info 210 drivers/scsi/myrs.c cs->ctlr_info->ldev_offline, ctlr_info 211 drivers/scsi/myrs.c cs->ctlr_info->ldev_present); ctlr_info 471 drivers/scsi/myrs.c sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; ctlr_info 542 drivers/scsi/myrs.c cs->ctlr_info = kzalloc(sizeof(struct myrs_ctlr_info), ctlr_info 544 drivers/scsi/myrs.c if (!cs->ctlr_info) ctlr_info 585 drivers/scsi/myrs.c struct myrs_ctlr_info *info = cs->ctlr_info; ctlr_info 859 drivers/scsi/myrs.c sdev->channel < cs->ctlr_info->physchan_present) { ctlr_info 947 drivers/scsi/myrs.c if (sdev->channel >= cs->ctlr_info->physchan_present) { ctlr_info 993 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) { ctlr_info 1035 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) { ctlr_info 1066 drivers/scsi/myrs.c if (sdev->channel >= cs->ctlr_info->physchan_present) { ctlr_info 1091 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) ctlr_info 1123 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) ctlr_info 1196 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) ctlr_info 1224 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) ctlr_info 1306 drivers/scsi/myrs.c memcpy(serial, cs->ctlr_info->serial_number, 16); ctlr_info 1343 drivers/scsi/myrs.c struct myrs_ctlr_info *info = cs->ctlr_info; ctlr_info 1403 drivers/scsi/myrs.c return snprintf(buf, 4, "%d\n", cs->ctlr_info->ctlr_type); ctlr_info 1413 drivers/scsi/myrs.c return snprintf(buf, 8, "%d MB\n", cs->ctlr_info->cache_size_mb); ctlr_info 1424 drivers/scsi/myrs.c cs->ctlr_info->fw_major_version, ctlr_info 1425 drivers/scsi/myrs.c cs->ctlr_info->fw_minor_version, ctlr_info 1426 drivers/scsi/myrs.c cs->ctlr_info->fw_turn_number); ctlr_info 1611 drivers/scsi/myrs.c if (scmd->device->channel >= cs->ctlr_info->physchan_present) { ctlr_info 1640 drivers/scsi/myrs.c if (scmd->device->channel >= cs->ctlr_info->physchan_present) { ctlr_info 1686 drivers/scsi/myrs.c if (scmd->device->channel >= cs->ctlr_info->physchan_present) { ctlr_info 1786 drivers/scsi/myrs.c sdev->channel - cs->ctlr_info->physchan_present; ctlr_info 1801 drivers/scsi/myrs.c if (sdev->channel >= cs->ctlr_info->physchan_present) { ctlr_info 1897 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present) { ctlr_info 1971 drivers/scsi/myrs.c return (sdev->channel >= cs->ctlr_info->physchan_present) ? 1 : 0; ctlr_info 1987 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present || !ldev_info) ctlr_info 2011 drivers/scsi/myrs.c if (sdev->channel < cs->ctlr_info->physchan_present || !ldev_info) ctlr_info 2112 drivers/scsi/myrs.c struct myrs_ctlr_info *info = cs->ctlr_info; ctlr_info 2249 drivers/scsi/myrs.c kfree(cs->ctlr_info); ctlr_info 742 drivers/scsi/myrs.h } ctlr_info; ctlr_info 945 drivers/scsi/myrs.h struct myrs_ctlr_info *ctlr_info;