Lines Matching defs:h
268 static int check_for_unit_attention(struct ctlr_info *h, in check_for_unit_attention()
307 static int check_for_busy(struct ctlr_info *h, struct CommandList *c) in check_for_busy()
322 struct ctlr_info *h; in host_store_hp_ssd_smart_path_status() local
346 struct ctlr_info *h; in host_store_raid_offload_debug() local
370 struct ctlr_info *h; in host_store_rescan() local
380 struct ctlr_info *h; in host_show_firmware_revision() local
396 struct ctlr_info *h = shost_to_hba(shost); in host_show_commands_outstanding() local
405 struct ctlr_info *h; in host_show_transport_mode() local
417 struct ctlr_info *h; in host_show_hp_ssd_smart_path_status() local
499 struct ctlr_info *h; in host_show_resettable() local
528 struct ctlr_info *h; in raid_level_show() local
560 struct ctlr_info *h; in lunid_show() local
584 struct ctlr_info *h; in unique_id_show() local
612 struct ctlr_info *h; in host_show_hp_ssd_smart_path_enabled() local
694 static inline u32 next_command(struct ctlr_info *h, u8 q) in next_command()
750 static void set_performant_mode(struct ctlr_info *h, struct CommandList *c) in set_performant_mode()
760 static void set_ioaccel1_performant_mode(struct ctlr_info *h, in set_ioaccel1_performant_mode()
778 static void set_ioaccel2_performant_mode(struct ctlr_info *h, in set_ioaccel2_performant_mode()
807 static void dial_down_lockup_detection_during_fw_flash(struct ctlr_info *h, in dial_down_lockup_detection_during_fw_flash()
816 static void dial_up_lockup_detection_on_fw_flash_complete(struct ctlr_info *h, in dial_up_lockup_detection_on_fw_flash_complete()
824 static void enqueue_cmd_and_start_io(struct ctlr_info *h, in enqueue_cmd_and_start_io()
849 static inline int is_scsi_rev_5(struct ctlr_info *h) in is_scsi_rev_5()
858 static int hpsa_find_target_lun(struct ctlr_info *h, in hpsa_find_target_lun()
885 static int hpsa_scsi_add_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_add_entry()
964 static void hpsa_scsi_update_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_update_entry()
998 static void hpsa_scsi_replace_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_replace_entry()
1026 static void hpsa_scsi_remove_entry(struct ctlr_info *h, int hostno, int entry, in hpsa_scsi_remove_entry()
1057 static void fixup_botched_add(struct ctlr_info *h, in fixup_botched_add()
1159 static void hpsa_monitor_offline_device(struct ctlr_info *h, in hpsa_monitor_offline_device()
1189 static void hpsa_show_volume_status(struct ctlr_info *h, in hpsa_show_volume_status()
1267 static void hpsa_figure_phys_disk_ptrs(struct ctlr_info *h, in hpsa_figure_phys_disk_ptrs()
1328 static void hpsa_update_log_drive_phys_drive_ptrs(struct ctlr_info *h, in hpsa_update_log_drive_phys_drive_ptrs()
1342 static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, in adjust_hpsa_scsi_table()
1501 static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h, in lookup_hpsa_scsi_dev()
1520 struct ctlr_info *h; in hpsa_slave_alloc() local
1541 static void hpsa_free_sg_chain_blocks(struct ctlr_info *h) in hpsa_free_sg_chain_blocks()
1555 static int hpsa_allocate_sg_chain_blocks(struct ctlr_info *h) in hpsa_allocate_sg_chain_blocks()
1583 static int hpsa_map_sg_chain_block(struct ctlr_info *h, in hpsa_map_sg_chain_block()
1607 static void hpsa_unmap_sg_chain_block(struct ctlr_info *h, in hpsa_unmap_sg_chain_block()
1625 static int handle_ioaccel_mode2_error(struct ctlr_info *h, in handle_ioaccel_mode2_error()
1720 static void process_ioaccel2_completion(struct ctlr_info *h, in process_ioaccel2_completion()
1762 struct ctlr_info *h; in complete_scsi_command() local
2001 static inline void hpsa_scsi_do_simple_cmd_core(struct ctlr_info *h, in hpsa_scsi_do_simple_cmd_core()
2011 static u32 lockup_detected(struct ctlr_info *h) in lockup_detected()
2023 static void hpsa_scsi_do_simple_cmd_core_if_no_lockup(struct ctlr_info *h, in hpsa_scsi_do_simple_cmd_core_if_no_lockup()
2034 static void hpsa_scsi_do_simple_cmd_with_retry(struct ctlr_info *h, in hpsa_scsi_do_simple_cmd_with_retry()
2054 static void hpsa_print_cmd(struct ctlr_info *h, char *txt, in hpsa_print_cmd()
2070 static void hpsa_scsi_interpret_error(struct ctlr_info *h, in hpsa_scsi_interpret_error()
2135 static int hpsa_scsi_do_inquiry(struct ctlr_info *h, unsigned char *scsi3addr, in hpsa_scsi_do_inquiry()
2166 static int hpsa_bmic_ctrl_mode_sense(struct ctlr_info *h, in hpsa_bmic_ctrl_mode_sense()
2196 static int hpsa_send_reset(struct ctlr_info *h, unsigned char *scsi3addr, in hpsa_send_reset()
2226 static void hpsa_get_raid_level(struct ctlr_info *h, in hpsa_get_raid_level()
2247 static void hpsa_debug_map_buff(struct ctlr_info *h, int rc, in hpsa_debug_map_buff()
2316 static void hpsa_debug_map_buff(__attribute__((unused)) struct ctlr_info *h, in hpsa_debug_map_buff()
2323 static int hpsa_get_raid_map(struct ctlr_info *h, in hpsa_get_raid_map()
2361 static int hpsa_bmic_id_physical_device(struct ctlr_info *h, in hpsa_bmic_id_physical_device()
2389 static int hpsa_vpd_page_supported(struct ctlr_info *h, in hpsa_vpd_page_supported()
2432 static void hpsa_get_ioaccel_status(struct ctlr_info *h, in hpsa_get_ioaccel_status()
2470 static int hpsa_get_device_id(struct ctlr_info *h, unsigned char *scsi3addr, in hpsa_get_device_id()
2488 static int hpsa_scsi_do_report_luns(struct ctlr_info *h, int logical, in hpsa_scsi_do_report_luns()
2533 static inline int hpsa_scsi_do_report_phys_luns(struct ctlr_info *h, in hpsa_scsi_do_report_phys_luns()
2540 static inline int hpsa_scsi_do_report_log_luns(struct ctlr_info *h, in hpsa_scsi_do_report_log_luns()
2555 static int hpsa_get_volume_status(struct ctlr_info *h, in hpsa_get_volume_status()
2599 static int hpsa_volume_offline(struct ctlr_info *h, in hpsa_volume_offline()
2659 static int hpsa_update_device_info(struct ctlr_info *h, in hpsa_update_device_info()
2743 static int is_ext_target(struct ctlr_info *h, struct hpsa_scsi_dev_t *device) in is_ext_target()
2761 static void figure_bus_target_lun(struct ctlr_info *h, in figure_bus_target_lun()
2799 static int add_ext_target_dev(struct ctlr_info *h, in add_ext_target_dev()
2850 static int hpsa_get_pdisk_of_ioaccel2(struct ctlr_info *h, in hpsa_get_pdisk_of_ioaccel2()
2941 static int hpsa_gather_lun_info(struct ctlr_info *h, in hpsa_gather_lun_info()
2978 static u8 *figure_lunaddrbytes(struct ctlr_info *h, int raid_ctlr_position, in figure_lunaddrbytes()
3005 static int hpsa_hba_mode_enabled(struct ctlr_info *h) in hpsa_hba_mode_enabled()
3029 static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h, in hpsa_get_ioaccel_drive_info()
3055 static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno) in hpsa_update_scsi_devices()
3258 static int hpsa_scatter_gather(struct ctlr_info *h, in hpsa_scatter_gather()
3360 static int hpsa_scsi_ioaccel1_queue_command(struct ctlr_info *h, in hpsa_scsi_ioaccel1_queue_command()
3451 static int hpsa_scsi_ioaccel_direct_map(struct ctlr_info *h, in hpsa_scsi_ioaccel_direct_map()
3466 static void set_encrypt_ioaccel2(struct ctlr_info *h, in set_encrypt_ioaccel2()
3520 static int hpsa_scsi_ioaccel2_queue_command(struct ctlr_info *h, in hpsa_scsi_ioaccel2_queue_command()
3620 static int hpsa_scsi_ioaccel_queue_command(struct ctlr_info *h, in hpsa_scsi_ioaccel_queue_command()
3669 static int hpsa_scsi_ioaccel_raid_map(struct ctlr_info *h, in hpsa_scsi_ioaccel_raid_map()
3996 static int hpsa_ciss_submit(struct ctlr_info *h, in hpsa_ciss_submit()
4089 struct ctlr_info *h; in hpsa_scsi_queue_command() local
4155 static void hpsa_scan_complete(struct ctlr_info *h) in hpsa_scan_complete()
4167 struct ctlr_info *h = shost_to_hba(sh); in hpsa_scan_start() local
4221 struct ctlr_info *h = shost_to_hba(sh); in hpsa_scan_finished() local
4231 static void hpsa_unregister_scsi(struct ctlr_info *h) in hpsa_unregister_scsi()
4239 static int hpsa_register_scsi(struct ctlr_info *h) in hpsa_register_scsi()
4282 static int wait_for_device_to_become_ready(struct ctlr_info *h, in wait_for_device_to_become_ready()
4346 struct ctlr_info *h; in hpsa_eh_device_reset_handler() local
4389 static void hpsa_get_tag(struct ctlr_info *h, in hpsa_get_tag()
4414 static int hpsa_send_abort(struct ctlr_info *h, unsigned char *scsi3addr, in hpsa_send_abort()
4466 static int hpsa_send_reset_as_abort_ioaccel2(struct ctlr_info *h, in hpsa_send_reset_as_abort_ioaccel2()
4542 static int hpsa_send_abort_both_ways(struct ctlr_info *h, in hpsa_send_abort_both_ways()
4565 struct ctlr_info *h; in hpsa_eh_abort_handler() local
4665 static struct CommandList *cmd_alloc(struct ctlr_info *h) in cmd_alloc()
4726 static void cmd_free(struct ctlr_info *h, struct CommandList *c) in cmd_free()
4844 static int hpsa_getpciinfo_ioctl(struct ctlr_info *h, void __user *argp) in hpsa_getpciinfo_ioctl()
4859 static int hpsa_getdrivver_ioctl(struct ctlr_info *h, void __user *argp) in hpsa_getdrivver_ioctl()
4882 static int hpsa_passthru_ioctl(struct ctlr_info *h, void __user *argp) in hpsa_passthru_ioctl()
4978 static int hpsa_big_passthru_ioctl(struct ctlr_info *h, void __user *argp) in hpsa_big_passthru_ioctl()
5120 static void check_ioctl_unit_attention(struct ctlr_info *h, in check_ioctl_unit_attention()
5133 struct ctlr_info *h; in hpsa_ioctl() local
5166 static int hpsa_send_host_reset(struct ctlr_info *h, unsigned char *scsi3addr, in hpsa_send_host_reset()
5187 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, in fill_cmd()
5370 static inline unsigned long get_next_completion(struct ctlr_info *h, u8 q) in get_next_completion()
5375 static inline bool interrupt_pending(struct ctlr_info *h) in interrupt_pending()
5380 static inline long interrupt_not_for_us(struct ctlr_info *h) in interrupt_not_for_us()
5386 static inline int bad_tag(struct ctlr_info *h, u32 tag_index, in bad_tag()
5407 static inline u32 hpsa_tag_discard_error_bits(struct ctlr_info *h, u32 tag) in hpsa_tag_discard_error_bits()
5417 static inline void process_indexed_cmd(struct ctlr_info *h, in process_indexed_cmd()
5435 static int ignore_bogus_interrupt(struct ctlr_info *h) in ignore_bogus_interrupt()
5461 struct ctlr_info *h = queue_to_hba(queue); in hpsa_intx_discard_completions() local
5481 struct ctlr_info *h = queue_to_hba(queue); in hpsa_msix_discard_completions() local
5497 struct ctlr_info *h = queue_to_hba((u8 *) queue); in do_hpsa_intr_intx() local
5516 struct ctlr_info *h = queue_to_hba(queue); in do_hpsa_intr_msi() local
5937 static void hpsa_interrupt_mode(struct ctlr_info *h) in hpsa_interrupt_mode()
6067 static int hpsa_find_cfgtables(struct ctlr_info *h) in hpsa_find_cfgtables()
6098 static void hpsa_get_max_perf_mode_cmds(struct ctlr_info *h) in hpsa_get_max_perf_mode_cmds()
6119 static int hpsa_supports_chained_sg_blocks(struct ctlr_info *h) in hpsa_supports_chained_sg_blocks()
6128 static void hpsa_find_board_params(struct ctlr_info *h) in hpsa_find_board_params()
6158 static inline bool hpsa_CISS_signature_present(struct ctlr_info *h) in hpsa_CISS_signature_present()
6167 static inline void hpsa_set_driver_support_bits(struct ctlr_info *h) in hpsa_set_driver_support_bits()
6183 static inline void hpsa_p600_dma_prefetch_quirk(struct ctlr_info *h) in hpsa_p600_dma_prefetch_quirk()
6194 static int hpsa_wait_for_clear_event_notify_ack(struct ctlr_info *h) in hpsa_wait_for_clear_event_notify_ack()
6214 static int hpsa_wait_for_mode_change_ack(struct ctlr_info *h) in hpsa_wait_for_mode_change_ack()
6239 static int hpsa_enter_simple_mode(struct ctlr_info *h) in hpsa_enter_simple_mode()
6265 static int hpsa_pci_init(struct ctlr_info *h) in hpsa_pci_init()
6333 static void hpsa_hba_inquiry(struct ctlr_info *h) in hpsa_hba_inquiry()
6411 static int hpsa_allocate_cmd_pool(struct ctlr_info *h) in hpsa_allocate_cmd_pool()
6434 static void hpsa_free_cmd_pool(struct ctlr_info *h) in hpsa_free_cmd_pool()
6456 static void hpsa_irq_affinity_hints(struct ctlr_info *h) in hpsa_irq_affinity_hints()
6468 static void hpsa_free_irqs(struct ctlr_info *h) in hpsa_free_irqs()
6489 static int hpsa_request_irqs(struct ctlr_info *h, in hpsa_request_irqs()
6544 static int hpsa_kdump_soft_reset(struct ctlr_info *h) in hpsa_kdump_soft_reset()
6568 static void hpsa_free_irqs_and_disable_msix(struct ctlr_info *h) in hpsa_free_irqs_and_disable_msix()
6582 static void hpsa_free_reply_queues(struct ctlr_info *h) in hpsa_free_reply_queues()
6596 static void hpsa_undo_allocations_after_kdump_soft_reset(struct ctlr_info *h) in hpsa_undo_allocations_after_kdump_soft_reset()
6616 static void fail_all_outstanding_cmds(struct ctlr_info *h) in fail_all_outstanding_cmds()
6633 static void set_lockup_detected_for_all_cpus(struct ctlr_info *h, u32 value) in set_lockup_detected_for_all_cpus()
6645 static void controller_lockup_detected(struct ctlr_info *h) in controller_lockup_detected()
6667 static void detect_controller_lockup(struct ctlr_info *h) in detect_controller_lockup()
6702 static void hpsa_ack_ctlr_events(struct ctlr_info *h) in hpsa_ack_ctlr_events()
6753 static int hpsa_ctlr_needs_rescan(struct ctlr_info *h) in hpsa_ctlr_needs_rescan()
6765 static int hpsa_offline_devices_ready(struct ctlr_info *h) in hpsa_offline_devices_ready()
6791 struct ctlr_info *h = container_of(to_delayed_work(work), in hpsa_rescan_ctlr_worker() local
6814 struct ctlr_info *h = container_of(to_delayed_work(work), in hpsa_monitor_ctlr_worker() local
6828 static struct workqueue_struct *hpsa_create_controller_wq(struct ctlr_info *h, in hpsa_create_controller_wq()
6843 struct ctlr_info *h; in hpsa_init_one() local
7039 static void hpsa_flush_cache(struct ctlr_info *h) in hpsa_flush_cache()
7072 struct ctlr_info *h; in hpsa_shutdown() local
7084 static void hpsa_free_device_info(struct ctlr_info *h) in hpsa_free_device_info()
7094 struct ctlr_info *h; in hpsa_remove_one() local
7192 static int hpsa_enter_performant_mode(struct ctlr_info *h, u32 trans_support) in hpsa_enter_performant_mode()
7373 static int hpsa_alloc_ioaccel_cmd_and_bft(struct ctlr_info *h) in hpsa_alloc_ioaccel_cmd_and_bft()
7412 static int ioaccel2_alloc_cmds_and_bft(struct ctlr_info *h) in ioaccel2_alloc_cmds_and_bft()
7449 static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) in hpsa_put_ctlr_into_performant_mode()
7513 static void hpsa_drain_accel_commands(struct ctlr_info *h) in hpsa_drain_accel_commands()