Lines Matching refs:pqi_ctrl_info
67 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info,
70 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info);
72 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info,
75 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info,
78 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info,
82 static int pqi_aio_submit_r1_write_io(struct pqi_ctrl_info *ctrl_info,
86 static int pqi_aio_submit_r56_write_io(struct pqi_ctrl_info *ctrl_info,
90 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info);
91 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info);
92 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info, unsigned int delay_secs);
93 static void pqi_ofa_setup_host_buffer(struct pqi_ctrl_info *ctrl_info);
94 static void pqi_ofa_free_host_buffer(struct pqi_ctrl_info *ctrl_info);
95 static int pqi_ofa_host_memory_update(struct pqi_ctrl_info *ctrl_info);
96 static int pqi_device_wait_for_pending_io(struct pqi_ctrl_info *ctrl_info,
98 static void pqi_fail_all_outstanding_requests(struct pqi_ctrl_info *ctrl_info);
244 static inline bool pqi_ctrl_offline(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_offline()
249 static inline void pqi_check_ctrl_health(struct pqi_ctrl_info *ctrl_info) in pqi_check_ctrl_health()
264 static inline enum pqi_ctrl_mode pqi_get_ctrl_mode(struct pqi_ctrl_info *ctrl_info) in pqi_get_ctrl_mode()
269 static inline void pqi_save_ctrl_mode(struct pqi_ctrl_info *ctrl_info, in pqi_save_ctrl_mode()
284 static inline bool pqi_is_fw_triage_supported(struct pqi_ctrl_info *ctrl_info) in pqi_is_fw_triage_supported()
289 static inline void pqi_save_fw_triage_setting(struct pqi_ctrl_info *ctrl_info, bool is_supported) in pqi_save_fw_triage_setting()
303 static inline void pqi_ctrl_block_scan(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_block_scan()
309 static inline void pqi_ctrl_unblock_scan(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_unblock_scan()
315 static inline bool pqi_ctrl_scan_blocked(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_scan_blocked()
320 static inline void pqi_ctrl_block_device_reset(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_block_device_reset()
325 static inline void pqi_ctrl_unblock_device_reset(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_unblock_device_reset()
330 static inline void pqi_scsi_block_requests(struct pqi_ctrl_info *ctrl_info) in pqi_scsi_block_requests()
350 static inline void pqi_scsi_unblock_requests(struct pqi_ctrl_info *ctrl_info) in pqi_scsi_unblock_requests()
355 static inline void pqi_ctrl_busy(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_busy()
360 static inline void pqi_ctrl_unbusy(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_unbusy()
365 static inline bool pqi_ctrl_blocked(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_blocked()
370 static inline void pqi_ctrl_block_requests(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_block_requests()
375 static inline void pqi_ctrl_unblock_requests(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_unblock_requests()
381 static void pqi_wait_if_ctrl_blocked(struct pqi_ctrl_info *ctrl_info) in pqi_wait_if_ctrl_blocked()
394 static inline void pqi_ctrl_wait_until_quiesced(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_wait_until_quiesced()
427 static inline void pqi_ctrl_ofa_start(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_ofa_start()
432 static inline void pqi_ctrl_ofa_done(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_ofa_done()
437 static inline void pqi_wait_until_ofa_finished(struct pqi_ctrl_info *ctrl_info) in pqi_wait_until_ofa_finished()
443 static inline bool pqi_ofa_in_progress(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_in_progress()
474 static inline void pqi_schedule_rescan_worker_with_delay(struct pqi_ctrl_info *ctrl_info, in pqi_schedule_rescan_worker_with_delay()
483 static inline void pqi_schedule_rescan_worker(struct pqi_ctrl_info *ctrl_info) in pqi_schedule_rescan_worker()
490 static inline void pqi_schedule_rescan_worker_delayed(struct pqi_ctrl_info *ctrl_info) in pqi_schedule_rescan_worker_delayed()
495 static inline void pqi_cancel_rescan_worker(struct pqi_ctrl_info *ctrl_info) in pqi_cancel_rescan_worker()
500 static inline u32 pqi_read_heartbeat_counter(struct pqi_ctrl_info *ctrl_info) in pqi_read_heartbeat_counter()
508 static inline u8 pqi_read_soft_reset_status(struct pqi_ctrl_info *ctrl_info) in pqi_read_soft_reset_status()
513 static inline void pqi_clear_soft_reset_status(struct pqi_ctrl_info *ctrl_info) in pqi_clear_soft_reset_status()
559 static int pqi_build_raid_path_request(struct pqi_ctrl_info *ctrl_info, in pqi_build_raid_path_request()
681 static inline struct pqi_io_request *pqi_alloc_io_request(struct pqi_ctrl_info *ctrl_info, struct s… in pqi_alloc_io_request()
721 static int pqi_send_scsi_raid_request(struct pqi_ctrl_info *ctrl_info, u8 cmd, in pqi_send_scsi_raid_request()
743 static inline int pqi_send_ctrl_raid_request(struct pqi_ctrl_info *ctrl_info, in pqi_send_ctrl_raid_request()
750 static inline int pqi_send_ctrl_raid_with_error(struct pqi_ctrl_info *ctrl_info, in pqi_send_ctrl_raid_with_error()
758 static inline int pqi_identify_controller(struct pqi_ctrl_info *ctrl_info, in pqi_identify_controller()
765 static inline int pqi_sense_subsystem_info(struct pqi_ctrl_info *ctrl_info, in pqi_sense_subsystem_info()
773 static inline int pqi_scsi_inquiry(struct pqi_ctrl_info *ctrl_info, in pqi_scsi_inquiry()
780 static int pqi_identify_physical_device(struct pqi_ctrl_info *ctrl_info, in pqi_identify_physical_device()
837 static int pqi_get_advanced_raid_bypass_config(struct pqi_ctrl_info *ctrl_info) in pqi_get_advanced_raid_bypass_config()
903 static int pqi_flush_cache(struct pqi_ctrl_info *ctrl_info, in pqi_flush_cache()
923 int pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info, in pqi_csmi_smp_passthru()
933 static int pqi_set_diag_rescan(struct pqi_ctrl_info *ctrl_info) in pqi_set_diag_rescan()
958 static inline int pqi_write_host_wellness(struct pqi_ctrl_info *ctrl_info, in pqi_write_host_wellness()
979 struct pqi_ctrl_info *ctrl_info) in pqi_write_driver_version_to_host_wellness()
1028 struct pqi_ctrl_info *ctrl_info) in pqi_write_current_time_to_host_wellness()
1082 struct pqi_ctrl_info *ctrl_info; in pqi_update_time_worker()
1084 ctrl_info = container_of(to_delayed_work(work), struct pqi_ctrl_info, in pqi_update_time_worker()
1096 static inline void pqi_schedule_update_time_worker(struct pqi_ctrl_info *ctrl_info) in pqi_schedule_update_time_worker()
1101 static inline void pqi_cancel_update_time_worker(struct pqi_ctrl_info *ctrl_info) in pqi_cancel_update_time_worker()
1106 static inline int pqi_report_luns(struct pqi_ctrl_info *ctrl_info, u8 cmd, void *buffer, in pqi_report_luns()
1112 static int pqi_report_phys_logical_luns(struct pqi_ctrl_info *ctrl_info, u8 cmd, void **buffer) in pqi_report_phys_logical_luns()
1173 static inline int pqi_report_phys_luns(struct pqi_ctrl_info *ctrl_info, void **buffer) in pqi_report_phys_luns()
1235 static inline int pqi_report_logical_luns(struct pqi_ctrl_info *ctrl_info, void **buffer) in pqi_report_logical_luns()
1240 static int pqi_get_device_lists(struct pqi_ctrl_info *ctrl_info, in pqi_get_device_lists()
1350 static void pqi_get_raid_level(struct pqi_ctrl_info *ctrl_info, in pqi_get_raid_level()
1374 static int pqi_validate_raid_map(struct pqi_ctrl_info *ctrl_info, in pqi_validate_raid_map()
1422 static int pqi_get_raid_map(struct pqi_ctrl_info *ctrl_info, in pqi_get_raid_map()
1478 static void pqi_set_max_transfer_encrypted(struct pqi_ctrl_info *ctrl_info, in pqi_set_max_transfer_encrypted()
1511 static void pqi_get_raid_bypass_status(struct pqi_ctrl_info *ctrl_info, in pqi_get_raid_bypass_status()
1551 static void pqi_get_volume_status(struct pqi_ctrl_info *ctrl_info, in pqi_get_volume_status()
1592 static int pqi_get_physical_device_info(struct pqi_ctrl_info *ctrl_info, in pqi_get_physical_device_info()
1642 static int pqi_get_logical_device_info(struct pqi_ctrl_info *ctrl_info, in pqi_get_logical_device_info()
1692 static bool pqi_keep_device_offline(struct pqi_ctrl_info *ctrl_info, in pqi_keep_device_offline()
1761 static int pqi_get_device_info_phys_logical(struct pqi_ctrl_info *ctrl_info, in pqi_get_device_info_phys_logical()
1778 static int pqi_get_device_info(struct pqi_ctrl_info *ctrl_info, in pqi_get_device_info()
1792 static void pqi_show_volume_status(struct pqi_ctrl_info *ctrl_info, in pqi_show_volume_status()
1897 struct pqi_ctrl_info *ctrl_info; in pqi_rescan_worker()
1899 ctrl_info = container_of(to_delayed_work(work), struct pqi_ctrl_info, in pqi_rescan_worker()
1905 static int pqi_add_device(struct pqi_ctrl_info *ctrl_info, in pqi_add_device()
1921 static inline void pqi_remove_device(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device) in pqi_remove_device()
1947 static struct pqi_scsi_dev *pqi_find_scsi_dev(struct pqi_ctrl_info *ctrl_info, in pqi_find_scsi_dev()
1976 static enum pqi_find_result pqi_scsi_find_entry(struct pqi_ctrl_info *ctrl_info, in pqi_scsi_find_entry()
2006 static void pqi_dev_info(struct pqi_ctrl_info *ctrl_info, in pqi_dev_info()
2086 static void pqi_scsi_update_device(struct pqi_ctrl_info *ctrl_info, in pqi_scsi_update_device()
2154 static inline void pqi_fixup_botched_add(struct pqi_ctrl_info *ctrl_info, in pqi_fixup_botched_add()
2175 static void pqi_update_device_list(struct pqi_ctrl_info *ctrl_info, in pqi_update_device_list()
2364 static int pqi_update_scsi_devices(struct pqi_ctrl_info *ctrl_info) in pqi_update_scsi_devices()
2568 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info) in pqi_scan_scsi_devices()
2596 struct pqi_ctrl_info *ctrl_info; in pqi_scan_start()
2608 struct pqi_ctrl_info *ctrl_info; in pqi_scan_finished()
2639 static bool pqi_aio_raid_level_supported(struct pqi_ctrl_info *ctrl_info, in pqi_aio_raid_level_supported()
2723 static int pci_get_aio_common_raid_map_values(struct pqi_ctrl_info *ctrl_info, in pci_get_aio_common_raid_map_values()
2957 static int pqi_raid_bypass_submit_scsi_cmd(struct pqi_ctrl_info *ctrl_info, in pqi_raid_bypass_submit_scsi_cmd()
3068 static int pqi_wait_for_pqi_mode_ready(struct pqi_ctrl_info *ctrl_info) in pqi_wait_for_pqi_mode_ready()
3129 struct pqi_ctrl_info *ctrl_info; in pqi_take_device_offline()
3215 struct pqi_ctrl_info *ctrl_info = shost_to_hba(scmd->device->host); in pqi_process_raid_io_error()
3355 static int pqi_interpret_task_management_response(struct pqi_ctrl_info *ctrl_info, in pqi_interpret_task_management_response()
3383 static inline void pqi_invalid_response(struct pqi_ctrl_info *ctrl_info, in pqi_invalid_response()
3389 static int pqi_process_io_intr(struct pqi_ctrl_info *ctrl_info, struct pqi_queue_group *queue_group) in pqi_process_io_intr()
3501 static void pqi_send_event_ack(struct pqi_ctrl_info *ctrl_info, in pqi_send_event_ack()
3547 static void pqi_acknowledge_event(struct pqi_ctrl_info *ctrl_info, in pqi_acknowledge_event()
3568 struct pqi_ctrl_info *ctrl_info) in pqi_poll_for_soft_reset_status()
3596 static void pqi_process_soft_reset(struct pqi_ctrl_info *ctrl_info) in pqi_process_soft_reset()
3653 struct pqi_ctrl_info *ctrl_info; in pqi_ofa_memory_alloc_worker()
3655 ctrl_info = container_of(work, struct pqi_ctrl_info, ofa_memory_alloc_work); in pqi_ofa_memory_alloc_worker()
3664 struct pqi_ctrl_info *ctrl_info; in pqi_ofa_quiesce_worker()
3667 ctrl_info = container_of(work, struct pqi_ctrl_info, ofa_quiesce_work); in pqi_ofa_quiesce_worker()
3676 static bool pqi_ofa_process_event(struct pqi_ctrl_info *ctrl_info, in pqi_ofa_process_event()
3712 static void pqi_disable_raid_bypass(struct pqi_ctrl_info *ctrl_info) in pqi_disable_raid_bypass()
3730 struct pqi_ctrl_info *ctrl_info; in pqi_event_worker()
3734 ctrl_info = container_of(work, struct pqi_ctrl_info, event_work); in pqi_event_worker()
3778 struct pqi_ctrl_info *ctrl_info = from_timer(ctrl_info, t, heartbeat_timer); in pqi_heartbeat_timer_handler()
3804 static void pqi_start_heartbeat_timer(struct pqi_ctrl_info *ctrl_info) in pqi_start_heartbeat_timer()
3819 static inline void pqi_stop_heartbeat_timer(struct pqi_ctrl_info *ctrl_info) in pqi_stop_heartbeat_timer()
3824 static void pqi_ofa_capture_event_payload(struct pqi_ctrl_info *ctrl_info, in pqi_ofa_capture_event_payload()
3839 static int pqi_process_event_intr(struct pqi_ctrl_info *ctrl_info) in pqi_process_event_intr()
3896 static inline void pqi_configure_legacy_intx(struct pqi_ctrl_info *ctrl_info, bool enable_intx) in pqi_configure_legacy_intx()
3914 static void pqi_change_irq_mode(struct pqi_ctrl_info *ctrl_info, in pqi_change_irq_mode()
3963 static inline bool pqi_is_valid_irq(struct pqi_ctrl_info *ctrl_info) in pqi_is_valid_irq()
3990 struct pqi_ctrl_info *ctrl_info; in pqi_irq_handler()
4023 static int pqi_request_irqs(struct pqi_ctrl_info *ctrl_info) in pqi_request_irqs()
4046 static void pqi_free_irqs(struct pqi_ctrl_info *ctrl_info) in pqi_free_irqs()
4057 static int pqi_enable_msix_interrupts(struct pqi_ctrl_info *ctrl_info) in pqi_enable_msix_interrupts()
4080 static void pqi_disable_msix_interrupts(struct pqi_ctrl_info *ctrl_info) in pqi_disable_msix_interrupts()
4088 static int pqi_alloc_operational_queues(struct pqi_ctrl_info *ctrl_info) in pqi_alloc_operational_queues()
4231 static void pqi_init_operational_queues(struct pqi_ctrl_info *ctrl_info) in pqi_init_operational_queues()
4272 static int pqi_alloc_admin_queues(struct pqi_ctrl_info *ctrl_info) in pqi_alloc_admin_queues()
4326 static int pqi_create_admin_queues(struct pqi_ctrl_info *ctrl_info) in pqi_create_admin_queues()
4379 static void pqi_submit_admin_request(struct pqi_ctrl_info *ctrl_info, in pqi_submit_admin_request()
4406 static int pqi_poll_for_admin_response(struct pqi_ctrl_info *ctrl_info, in pqi_poll_for_admin_response()
4443 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info, in pqi_start_io()
4525 static int pqi_wait_for_completion_io(struct pqi_ctrl_info *ctrl_info, in pqi_wait_for_completion_io()
4583 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info, in pqi_submit_raid_request_synchronous()
4671 struct pqi_ctrl_info *ctrl_info, in pqi_submit_admin_request_synchronous()
4687 static int pqi_report_device_capability(struct pqi_ctrl_info *ctrl_info) in pqi_report_device_capability()
4762 static int pqi_validate_device_capability(struct pqi_ctrl_info *ctrl_info) in pqi_validate_device_capability()
4806 static int pqi_create_event_queue(struct pqi_ctrl_info *ctrl_info) in pqi_create_event_queue()
4851 static int pqi_create_queue_group(struct pqi_ctrl_info *ctrl_info, in pqi_create_queue_group()
4992 static int pqi_create_queues(struct pqi_ctrl_info *ctrl_info) in pqi_create_queues()
5020 static int pqi_configure_events(struct pqi_ctrl_info *ctrl_info, in pqi_configure_events()
5097 static inline int pqi_enable_events(struct pqi_ctrl_info *ctrl_info) in pqi_enable_events()
5102 static void pqi_free_all_io_requests(struct pqi_ctrl_info *ctrl_info) in pqi_free_all_io_requests()
5130 static inline int pqi_alloc_error_buffer(struct pqi_ctrl_info *ctrl_info) in pqi_alloc_error_buffer()
5142 static int pqi_alloc_io_resources(struct pqi_ctrl_info *ctrl_info) in pqi_alloc_io_resources()
5202 static void pqi_calculate_io_resources(struct pqi_ctrl_info *ctrl_info) in pqi_calculate_io_resources()
5237 static void pqi_calculate_queue_resources(struct pqi_ctrl_info *ctrl_info) in pqi_calculate_queue_resources()
5348 static int pqi_build_raid_sg_list(struct pqi_ctrl_info *ctrl_info, in pqi_build_raid_sg_list()
5384 static int pqi_build_aio_r1_sg_list(struct pqi_ctrl_info *ctrl_info, in pqi_build_aio_r1_sg_list()
5422 static int pqi_build_aio_r56_sg_list(struct pqi_ctrl_info *ctrl_info, in pqi_build_aio_r56_sg_list()
5458 static int pqi_build_aio_sg_list(struct pqi_ctrl_info *ctrl_info, in pqi_build_aio_sg_list()
5508 struct pqi_ctrl_info *ctrl_info, struct pqi_io_request *io_request, in pqi_raid_submit_scsi_cmd_with_io_request()
5586 static inline int pqi_raid_submit_scsi_cmd(struct pqi_ctrl_info *ctrl_info, in pqi_raid_submit_scsi_cmd()
5604 struct pqi_ctrl_info *ctrl_info; in pqi_raid_bypass_retry_needed()
5642 static inline bool pqi_is_io_high_priority(struct pqi_ctrl_info *ctrl_info, in pqi_is_io_high_priority()
5673 static inline int pqi_aio_submit_scsi_cmd(struct pqi_ctrl_info *ctrl_info, in pqi_aio_submit_scsi_cmd()
5686 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info, in pqi_aio_submit_io()
5763 static int pqi_aio_submit_r1_write_io(struct pqi_ctrl_info *ctrl_info, in pqi_aio_submit_r1_write_io()
5824 static int pqi_aio_submit_r56_write_io(struct pqi_ctrl_info *ctrl_info, in pqi_aio_submit_r56_write_io()
5891 static inline u16 pqi_get_hw_queue(struct pqi_ctrl_info *ctrl_info, in pqi_get_hw_queue()
5931 static bool pqi_is_parity_write_stream(struct pqi_ctrl_info *ctrl_info, in pqi_is_parity_write_stream()
6009 struct pqi_ctrl_info *ctrl_info; in pqi_scsi_queue_command()
6074 static unsigned int pqi_queued_io_count(struct pqi_ctrl_info *ctrl_info) in pqi_queued_io_count()
6098 static unsigned int pqi_nonempty_inbound_queue_count(struct pqi_ctrl_info *ctrl_info) in pqi_nonempty_inbound_queue_count()
6124 static int pqi_wait_until_inbound_queues_empty(struct pqi_ctrl_info *ctrl_info) in pqi_wait_until_inbound_queues_empty()
6162 static void pqi_fail_io_queued_for_device(struct pqi_ctrl_info *ctrl_info, in pqi_fail_io_queued_for_device()
6208 static int pqi_device_wait_for_pending_io(struct pqi_ctrl_info *ctrl_info, in pqi_device_wait_for_pending_io()
6256 static int pqi_wait_for_lun_reset_completion(struct pqi_ctrl_info *ctrl_info, in pqi_wait_for_lun_reset_completion()
6290 static int pqi_lun_reset(struct pqi_ctrl_info *ctrl_info, struct scsi_cmnd *scmd) in pqi_lun_reset()
6335 static int pqi_lun_reset_with_retries(struct pqi_ctrl_info *ctrl_info, struct scsi_cmnd *scmd) in pqi_lun_reset_with_retries()
6361 static int pqi_device_reset(struct pqi_ctrl_info *ctrl_info, struct scsi_cmnd *scmd) in pqi_device_reset()
6384 struct pqi_ctrl_info *ctrl_info; in pqi_eh_device_reset_handler()
6419 struct pqi_ctrl_info *ctrl_info; in pqi_slave_alloc()
6469 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_map_queues()
6498 struct pqi_ctrl_info *ctrl_info; in pqi_slave_destroy()
6531 static int pqi_getpciinfo_ioctl(struct pqi_ctrl_info *ctrl_info, void __user *arg) in pqi_getpciinfo_ioctl()
6641 static int pqi_passthru_ioctl(struct pqi_ctrl_info *ctrl_info, void __user *arg) in pqi_passthru_ioctl()
6788 struct pqi_ctrl_info *ctrl_info; in pqi_ioctl()
6819 struct pqi_ctrl_info *ctrl_info; in pqi_firmware_version_show()
6837 struct pqi_ctrl_info *ctrl_info; in pqi_serial_number_show()
6849 struct pqi_ctrl_info *ctrl_info; in pqi_model_show()
6861 struct pqi_ctrl_info *ctrl_info; in pqi_vendor_show()
6923 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_stream_detection_show()
6933 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_stream_detection_store()
6951 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_r5_writes_show()
6960 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_r5_writes_store()
6978 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_r6_writes_show()
6987 struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost); in pqi_host_enable_r6_writes_store()
7036 struct pqi_ctrl_info *ctrl_info; in pqi_unique_id_show()
7075 struct pqi_ctrl_info *ctrl_info; in pqi_lunid_show()
7107 struct pqi_ctrl_info *ctrl_info; in pqi_path_info_show()
7193 struct pqi_ctrl_info *ctrl_info; in pqi_sas_address_show()
7223 struct pqi_ctrl_info *ctrl_info; in pqi_ssd_smart_path_enabled_show()
7254 struct pqi_ctrl_info *ctrl_info; in pqi_raid_level_show()
7287 struct pqi_ctrl_info *ctrl_info; in pqi_raid_bypass_cnt_show()
7317 struct pqi_ctrl_info *ctrl_info; in pqi_sas_ncq_prio_enable_show()
7348 struct pqi_ctrl_info *ctrl_info; in pqi_sas_ncq_prio_enable_store()
7425 static int pqi_register_scsi(struct pqi_ctrl_info *ctrl_info) in pqi_register_scsi()
7478 static void pqi_unregister_scsi(struct pqi_ctrl_info *ctrl_info) in pqi_unregister_scsi()
7492 static int pqi_wait_for_pqi_reset_completion(struct pqi_ctrl_info *ctrl_info) in pqi_wait_for_pqi_reset_completion()
7522 static int pqi_reset(struct pqi_ctrl_info *ctrl_info) in pqi_reset()
7550 static int pqi_get_ctrl_serial_number(struct pqi_ctrl_info *ctrl_info) in pqi_get_ctrl_serial_number()
7573 static int pqi_get_ctrl_product_details(struct pqi_ctrl_info *ctrl_info) in pqi_get_ctrl_product_details()
7623 struct pqi_ctrl_info *ctrl_info;
7676 static int pqi_config_table_update(struct pqi_ctrl_info *ctrl_info, in pqi_config_table_update()
7696 static int pqi_enable_firmware_features(struct pqi_ctrl_info *ctrl_info, in pqi_enable_firmware_features()
7733 void (*feature_status)(struct pqi_ctrl_info *ctrl_info,
7737 static void pqi_firmware_feature_status(struct pqi_ctrl_info *ctrl_info, in pqi_firmware_feature_status()
7756 static void pqi_ctrl_update_feature_flags(struct pqi_ctrl_info *ctrl_info, in pqi_ctrl_update_feature_flags()
7795 static inline void pqi_firmware_feature_update(struct pqi_ctrl_info *ctrl_info, in pqi_firmware_feature_update()
7901 struct pqi_ctrl_info *ctrl_info; in pqi_process_firmware_features()
7984 static void pqi_ctrl_reset_config(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_reset_config()
7999 static int pqi_process_config_table(struct pqi_ctrl_info *ctrl_info) in pqi_process_config_table()
8082 static int pqi_revert_to_sis_mode(struct pqi_ctrl_info *ctrl_info) in pqi_revert_to_sis_mode()
8106 static int pqi_force_sis_mode(struct pqi_ctrl_info *ctrl_info) in pqi_force_sis_mode()
8137 static int pqi_ctrl_init(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_init()
8364 static void pqi_reinit_queues(struct pqi_ctrl_info *ctrl_info) in pqi_reinit_queues()
8390 static int pqi_ctrl_init_resume(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_init_resume()
8531 static int pqi_pci_init(struct pqi_ctrl_info *ctrl_info) in pqi_pci_init()
8600 static void pqi_cleanup_pci_init(struct pqi_ctrl_info *ctrl_info) in pqi_cleanup_pci_init()
8609 static struct pqi_ctrl_info *pqi_alloc_ctrl_info(int numa_node) in pqi_alloc_ctrl_info()
8611 struct pqi_ctrl_info *ctrl_info; in pqi_alloc_ctrl_info()
8613 ctrl_info = kzalloc_node(sizeof(struct pqi_ctrl_info), in pqi_alloc_ctrl_info()
8658 static inline void pqi_free_ctrl_info(struct pqi_ctrl_info *ctrl_info) in pqi_free_ctrl_info()
8663 static void pqi_free_interrupts(struct pqi_ctrl_info *ctrl_info) in pqi_free_interrupts()
8669 static void pqi_free_ctrl_resources(struct pqi_ctrl_info *ctrl_info) in pqi_free_ctrl_resources()
8693 static void pqi_remove_ctrl(struct pqi_ctrl_info *ctrl_info) in pqi_remove_ctrl()
8710 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_ctrl_quiesce()
8720 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_ctrl_unquiesce()
8729 static int pqi_ofa_alloc_mem(struct pqi_ctrl_info *ctrl_info, u32 total_size, u32 chunk_size) in pqi_ofa_alloc_mem()
8779 static int pqi_ofa_alloc_host_buffer(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_alloc_host_buffer()
8802 static void pqi_ofa_setup_host_buffer(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_setup_host_buffer()
8828 static void pqi_ofa_free_host_buffer(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_free_host_buffer()
8863 static int pqi_ofa_host_memory_update(struct pqi_ctrl_info *ctrl_info) in pqi_ofa_host_memory_update()
8893 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info, unsigned int delay_secs) in pqi_ofa_ctrl_restart()
8905 static void pqi_fail_all_outstanding_requests(struct pqi_ctrl_info *ctrl_info) in pqi_fail_all_outstanding_requests()
8937 static void pqi_take_ctrl_offline_deferred(struct pqi_ctrl_info *ctrl_info) in pqi_take_ctrl_offline_deferred()
8951 struct pqi_ctrl_info *ctrl_info; in pqi_ctrl_offline_worker()
8953 ctrl_info = container_of(work, struct pqi_ctrl_info, ctrl_offline_work); in pqi_ctrl_offline_worker()
8957 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info, in pqi_take_ctrl_offline()
8991 struct pqi_ctrl_info *ctrl_info; in pqi_pci_probe()
9042 struct pqi_ctrl_info *ctrl_info; in pqi_pci_remove()
9066 static void pqi_crash_if_pending_command(struct pqi_ctrl_info *ctrl_info) in pqi_crash_if_pending_command()
9085 struct pqi_ctrl_info *ctrl_info; in pqi_shutdown()
9179 struct pqi_ctrl_info *ctrl_info; in pqi_suspend_or_freeze()
9218 struct pqi_ctrl_info *ctrl_info; in pqi_resume_or_restore()
9246 struct pqi_ctrl_info *ctrl_info; in pqi_thaw()
9269 struct pqi_ctrl_info *ctrl_info; in pqi_poweroff()