/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_base.c | 96 _base_get_ioc_facts(struct MPT2SAS_ADAPTER *ioc, int sleep_flag); 99 _base_diag_reset(struct MPT2SAS_ADAPTER *ioc, int sleep_flag); 102 * _scsih_set_fwfault_debug - global setting of ioc->fwfault_debug. 109 struct MPT2SAS_ADAPTER *ioc; local 115 list_for_each_entry(ioc, &mpt2sas_ioc_list, list) 116 ioc->fwfault_debug = mpt2sas_fwfault_debug; 124 * mpt2sas_remove_dead_ioc_func - kthread context to remove dead ioc 125 * @arg: input argument, used to derive ioc 132 struct MPT2SAS_ADAPTER *ioc = (struct MPT2SAS_ADAPTER *)arg; local 135 if ((ioc 156 struct MPT2SAS_ADAPTER *ioc = local 246 mpt2sas_base_start_watchdog(struct MPT2SAS_ADAPTER *ioc) argument 280 mpt2sas_base_stop_watchdog(struct MPT2SAS_ADAPTER *ioc) argument 320 mpt2sas_halt_firmware(struct MPT2SAS_ADAPTER *ioc) argument 351 _base_sas_ioc_info(struct MPT2SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, MPI2RequestHeader_t *request_hdr) argument 567 _base_display_event_data(struct MPT2SAS_ADAPTER *ioc, Mpi2EventNotificationReply_t *mpi_reply) argument 717 _base_display_reply_info(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 752 mpt2sas_base_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 784 _base_async_event(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 835 _base_get_cb_idx(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 863 _base_mask_interrupts(struct MPT2SAS_ADAPTER *ioc) argument 883 _base_unmask_interrupts(struct MPT2SAS_ADAPTER *ioc) argument 920 struct MPT2SAS_ADAPTER *ioc = reply_q->ioc; local 1032 _base_is_controller_msix_enabled(struct MPT2SAS_ADAPTER *ioc) argument 1050 mpt2sas_base_flush_reply_queues(struct MPT2SAS_ADAPTER *ioc) argument 1127 mpt2sas_base_build_zero_len_sge(struct MPT2SAS_ADAPTER *ioc, void *paddr) argument 1185 _base_config_dma_addressing(struct MPT2SAS_ADAPTER *ioc, struct pci_dev *pdev) argument 1226 _base_change_consistent_dma_mask(struct MPT2SAS_ADAPTER *ioc, struct pci_dev *pdev) argument 1243 _base_check_enable_msix(struct MPT2SAS_ADAPTER *ioc) argument 1290 _base_free_irq(struct MPT2SAS_ADAPTER *ioc) argument 1314 _base_request_irq(struct MPT2SAS_ADAPTER *ioc, u8 index, u32 vector) argument 1359 _base_assign_reply_queues(struct MPT2SAS_ADAPTER *ioc) argument 1398 _base_disable_msix(struct MPT2SAS_ADAPTER *ioc) argument 1412 _base_enable_msix(struct MPT2SAS_ADAPTER *ioc) argument 1495 mpt2sas_base_map_resources(struct MPT2SAS_ADAPTER *ioc) argument 1611 mpt2sas_base_get_msg_frame(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1624 mpt2sas_base_get_sense_buffer(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1637 mpt2sas_base_get_sense_buffer_dma(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1651 mpt2sas_base_get_reply_virt_addr(struct MPT2SAS_ADAPTER *ioc, u32 phys_addr) argument 1666 mpt2sas_base_get_smid(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx) argument 1698 mpt2sas_base_get_smid_scsiio(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx, struct scsi_cmnd *scmd) argument 1731 mpt2sas_base_get_smid_hpr(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx) argument 1761 mpt2sas_base_free_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1844 _base_get_msix_index(struct MPT2SAS_ADAPTER *ioc) argument 1858 mpt2sas_base_put_smid_scsi_io(struct MPT2SAS_ADAPTER *ioc, u16 smid, u16 handle) argument 1882 mpt2sas_base_put_smid_hi_priority(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1905 mpt2sas_base_put_smid_default(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1928 mpt2sas_base_put_smid_target_assist(struct MPT2SAS_ADAPTER *ioc, u16 smid, u16 io_index) argument 1951 _base_display_dell_branding(struct MPT2SAS_ADAPTER *ioc) argument 2009 _base_display_intel_branding(struct MPT2SAS_ADAPTER *ioc) argument 2077 _base_display_hp_branding(struct MPT2SAS_ADAPTER *ioc) argument 2125 _base_display_ioc_capabilities(struct MPT2SAS_ADAPTER *ioc) argument 2242 mpt2sas_base_update_missing_delay(struct MPT2SAS_ADAPTER *ioc, u16 device_missing_delay, u8 io_missing_delay) argument 2327 _base_static_config_pages(struct MPT2SAS_ADAPTER *ioc) argument 2369 _base_release_memory_pools(struct MPT2SAS_ADAPTER *ioc) argument 2471 _base_allocate_memory_pools(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 2881 mpt2sas_base_get_iocstate(struct MPT2SAS_ADAPTER *ioc, int cooked) argument 2899 _base_wait_on_iocstate(struct MPT2SAS_ADAPTER *ioc, u32 ioc_state, int timeout, int sleep_flag) argument 2935 _base_wait_for_doorbell_int(struct MPT2SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 2975 _base_wait_for_doorbell_ack(struct MPT2SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3024 _base_wait_for_doorbell_not_used(struct MPT2SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3062 _base_send_ioc_reset(struct MPT2SAS_ADAPTER *ioc, u8 reset_type, int timeout, int sleep_flag) argument 3113 _base_handshake_req_reply_wait(struct MPT2SAS_ADAPTER *ioc, int request_bytes, u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag) argument 3232 mpt2sas_base_sas_iounit_control(struct MPT2SAS_ADAPTER *ioc, Mpi2SasIoUnitControlReply_t *mpi_reply, Mpi2SasIoUnitControlRequest_t *mpi_request) argument 3338 mpt2sas_base_scsi_enclosure_processor(struct MPT2SAS_ADAPTER *ioc, Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request) argument 3431 _base_get_port_facts(struct MPT2SAS_ADAPTER *ioc, int port, int sleep_flag) argument 3475 _base_wait_for_iocstate(struct MPT2SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3532 _base_get_ioc_facts(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 3614 _base_send_ioc_init(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 3733 mpt2sas_port_enable_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3782 _base_send_port_enable(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 3850 mpt2sas_port_enable(struct MPT2SAS_ADAPTER *ioc) argument 3890 _base_determine_wait_on_discovery(struct MPT2SAS_ADAPTER *ioc) argument 3937 _base_unmask_events(struct MPT2SAS_ADAPTER *ioc, u16 event) argument 3964 _base_event_notification(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 4025 mpt2sas_base_validate_event_type(struct MPT2SAS_ADAPTER *ioc, u32 *event_type) argument 4061 _base_diag_reset(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 4187 _base_make_ioc_ready(struct MPT2SAS_ADAPTER *ioc, int sleep_flag, enum reset_type type) argument 4242 _base_make_ioc_operational(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 4402 mpt2sas_base_free_resources(struct MPT2SAS_ADAPTER *ioc) argument 4438 mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc) argument 4643 mpt2sas_base_detach(struct MPT2SAS_ADAPTER *ioc) argument 4682 _base_reset_handler(struct MPT2SAS_ADAPTER *ioc, int reset_phase) argument 4741 _wait_for_commands_to_complete(struct MPT2SAS_ADAPTER *ioc, int sleep_flag) argument 4778 mpt2sas_base_hard_reset_handler(struct MPT2SAS_ADAPTER *ioc, int sleep_flag, enum reset_type type) argument [all...] |
H A D | mpt2sas_ctl.c | 67 static int _ctl_send_release(struct MPT2SAS_ADAPTER *ioc, u8 buffer_type, 86 * @ioc: per adapter object 88 * Context: Calling function should acquire ioc->sas_device_lock 94 _ctl_sas_device_find_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 99 list_for_each_entry(sas_device, &ioc->sas_device_list, list) { 112 * @ioc: per adapter object 122 _ctl_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, argument 128 if (!(ioc->logging_level & MPT_DEBUG_IOCTL)) 131 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); 138 snprintf(ioc 274 mpt2sas_ctl_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 325 _ctl_check_event_type(struct MPT2SAS_ADAPTER *ioc, u16 event) argument 348 mpt2sas_ctl_add_to_event_log(struct MPT2SAS_ADAPTER *ioc, Mpi2EventNotificationReply_t *mpi_reply) argument 403 mpt2sas_ctl_event_callback(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 428 struct MPT2SAS_ADAPTER *ioc; local 451 mpt2sas_ctl_reset_handler(struct MPT2SAS_ADAPTER *ioc, int reset_phase) argument 520 struct MPT2SAS_ADAPTER *ioc; local 541 _ctl_set_task_mid(struct MPT2SAS_ADAPTER *ioc, struct mpt2_ioctl_command *karg, Mpi2SCSITaskManagementRequest_t *tm_request) argument 616 _ctl_do_mpt_command(struct MPT2SAS_ADAPTER *ioc, struct mpt2_ioctl_command karg, void __user *mf) argument 1019 _ctl_getiocinfo(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1067 _ctl_eventquery(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1098 _ctl_eventenable(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1136 _ctl_eventreport(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1180 _ctl_do_reset(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1210 _ctl_btdh_search_sas_device(struct MPT2SAS_ADAPTER *ioc, struct mpt2_ioctl_btdh_mapping *btdh) argument 1246 _ctl_btdh_search_raid_device(struct MPT2SAS_ADAPTER *ioc, struct mpt2_ioctl_btdh_mapping *btdh) argument 1282 _ctl_btdh_mapping(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1316 _ctl_diag_capability(struct MPT2SAS_ADAPTER *ioc, u8 buffer_type) argument 1347 _ctl_diag_register_2(struct MPT2SAS_ADAPTER *ioc, struct mpt2_diag_register *diag_register) argument 1521 mpt2sas_enable_diag_buffer(struct MPT2SAS_ADAPTER *ioc, u8 bits_to_register) argument 1567 _ctl_diag_register(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1591 _ctl_diag_unregister(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1660 _ctl_diag_query(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1741 _ctl_send_release(struct MPT2SAS_ADAPTER *ioc, u8 buffer_type, u8 *issue_reset) argument 1844 _ctl_diag_release(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 1925 _ctl_diag_read_buffer(struct MPT2SAS_ADAPTER *ioc, void __user *arg) argument 2108 _ctl_compat_mpt_command(struct MPT2SAS_ADAPTER *ioc, unsigned cmd, void __user *arg) argument 2155 struct MPT2SAS_ADAPTER *ioc; local 2310 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2332 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2356 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2375 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2394 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2414 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2434 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2452 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2471 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2493 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2515 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2536 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2557 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2577 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2586 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2614 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2623 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2652 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2674 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2700 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2776 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2822 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2854 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2882 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2900 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 3057 struct MPT2SAS_ADAPTER *ioc; local [all...] |
H A D | mpt2sas_scsih.c | 70 static void _scsih_expander_node_remove(struct MPT2SAS_ADAPTER *ioc, 74 static u8 _scsih_check_for_pending_tm(struct MPT2SAS_ADAPTER *ioc, u16 smid); 156 * @work: work object (ioc->fault_reset_work_q) 158 * @ioc: per adapter object 166 * This object stored on ioc->fw_event_list. 172 struct MPT2SAS_ADAPTER *ioc; member in struct:fw_event_work 200 * @ioc_status: ioc status 281 * _scsih_set_debug_level - global setting of ioc->logging_level. 289 struct MPT2SAS_ADAPTER *ioc; local 295 list_for_each_entry(ioc, 400 _scsih_get_sas_address(struct MPT2SAS_ADAPTER *ioc, u16 handle, u64 *sas_address) argument 450 _scsih_determine_boot_device(struct MPT2SAS_ADAPTER *ioc, void *device, u8 is_raid) argument 538 mpt2sas_scsih_sas_device_find_by_sas_address(struct MPT2SAS_ADAPTER *ioc, u64 sas_address) argument 564 _scsih_sas_device_find_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 588 _scsih_sas_device_remove(struct MPT2SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 612 _scsih_sas_device_add(struct MPT2SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 651 _scsih_sas_device_init_add(struct MPT2SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 677 _scsih_raid_device_find_by_id(struct MPT2SAS_ADAPTER *ioc, int id, int channel) argument 703 _scsih_raid_device_find_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 729 _scsih_raid_device_find_by_wwid(struct MPT2SAS_ADAPTER *ioc, u64 wwid) argument 753 _scsih_raid_device_add(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 774 _scsih_raid_device_remove(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 795 mpt2sas_scsih_expander_find_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 820 mpt2sas_scsih_expander_find_by_sas_address(struct MPT2SAS_ADAPTER *ioc, u64 sas_address) argument 847 _scsih_expander_node_add(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 884 _scsih_scsi_lookup_get(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 898 _scsih_scsi_lookup_get_clear(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 922 _scsih_scsi_lookup_find_by_scmd(struct MPT2SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) argument 953 _scsih_scsi_lookup_find_by_target(struct MPT2SAS_ADAPTER *ioc, int id, int channel) argument 987 _scsih_scsi_lookup_find_by_lun(struct MPT2SAS_ADAPTER *ioc, int id, unsigned int lun, int channel) argument 1018 _scsih_get_chain_buffer_tracker(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 1052 _scsih_build_scatter_gather(struct MPT2SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, u16 smid) argument 1194 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 1290 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 1354 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 1404 struct MPT2SAS_ADAPTER *ioc; local 1467 struct MPT2SAS_ADAPTER *ioc; local 1501 _scsih_display_sata_capabilities(struct MPT2SAS_ADAPTER *ioc, u16 handle, struct scsi_device *sdev) argument 1548 struct MPT2SAS_ADAPTER *ioc = shost_priv(sdev->host); local 1563 struct MPT2SAS_ADAPTER *ioc = shost_priv(sdev->host); local 1615 struct MPT2SAS_ADAPTER *ioc = shost_priv(sdev->host); local 1701 _scsih_get_volume_capabilities(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 1763 _scsih_disable_ddio(struct MPT2SAS_ADAPTER *ioc) argument 1795 _scsih_get_num_volumes(struct MPT2SAS_ADAPTER *ioc) argument 1823 _scsih_init_warpdrive_properties(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 1983 _scsih_enable_tlr(struct MPT2SAS_ADAPTER *ioc, struct scsi_device *sdev) argument 2010 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 2237 _scsih_response_code(struct MPT2SAS_ADAPTER *ioc, u8 response_code) argument 2288 _scsih_tm_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 2316 mpt2sas_scsih_set_tm_flag(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 2344 mpt2sas_scsih_clear_tm_flag(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 2385 mpt2sas_scsih_issue_tm(struct MPT2SAS_ADAPTER *ioc, u16 handle, uint channel, uint id, uint lun, u8 type, u16 smid_task, ulong timeout, enum mutex_type m_type) argument 2542 _scsih_tm_display_info(struct MPT2SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) argument 2598 struct MPT2SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2657 struct MPT2SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2718 struct MPT2SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2778 struct MPT2SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2806 _scsih_fw_event_add(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 2832 _scsih_fw_event_free(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 2851 _scsih_error_recovery_delete_devices(struct MPT2SAS_ADAPTER *ioc) argument 2874 mpt2sas_port_enable_complete(struct MPT2SAS_ADAPTER *ioc) argument 2896 _scsih_fw_event_cleanup_queue(struct MPT2SAS_ADAPTER *ioc) argument 2919 _scsih_ublock_io_all_device(struct MPT2SAS_ADAPTER *ioc) argument 2945 _scsih_ublock_io_device(struct MPT2SAS_ADAPTER *ioc, u64 sas_address) argument 2976 _scsih_block_io_all_device(struct MPT2SAS_ADAPTER *ioc) argument 3004 _scsih_block_io_device(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 3035 _scsih_block_io_to_children_attached_to_ex(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 3086 _scsih_block_io_to_children_attached_directly(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 3122 _scsih_tm_tr_send(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 3216 _scsih_sas_control_complete(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3246 _scsih_tm_tr_volume_send(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 3296 _scsih_tm_volume_tr_complete(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3351 _scsih_tm_tr_complete(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3430 _scsih_check_for_pending_tm(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 3471 _scsih_check_topo_delete_events(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 3549 _scsih_set_volume_delete_flag(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 3606 _scsih_check_ir_config_unhide_events(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataIrConfigChangeList_t *event_data) argument 3688 _scsih_check_volume_delete_events(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataIrVolume_t *event_data) argument 3712 _scsih_flush_running_cmds(struct MPT2SAS_ADAPTER *ioc) argument 3828 _scsih_scsi_direct_io_get(struct MPT2SAS_ADAPTER *ioc, u16 smid) argument 3842 _scsih_scsi_direct_io_set(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 direct_io) argument 3859 _scsih_setup_direct_io(struct MPT2SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, struct _raid_device *raid_device, Mpi2SCSIIORequest_t *mpi_request, u16 smid) argument 3919 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 4083 _scsih_scsi_ioc_info(struct MPT2SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, Mpi2SCSIIOReply_t *mpi_reply, u16 smid) argument 4282 _scsih_turn_on_pfa_led(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 4326 _scsih_turn_off_pfa_led(struct MPT2SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 4365 _scsih_send_event_to_turn_on_pfa_led(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 4387 _scsih_smart_predicted_fault(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 4457 _scsih_io_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 4671 _scsih_sas_host_refresh(struct MPT2SAS_ADAPTER *ioc) argument 4726 _scsih_sas_host_add(struct MPT2SAS_ADAPTER *ioc) argument 4873 _scsih_expander_add(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 5034 _scsih_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 5062 mpt2sas_expander_remove(struct MPT2SAS_ADAPTER *ioc, u64 sas_address) argument 5090 _scsih_check_access_status(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, u16 handle, u8 access_status) argument 5145 _scsih_check_device(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 5224 _scsih_add_device(struct MPT2SAS_ADAPTER *ioc, u16 handle, u8 phy_num, u8 is_pd) argument 5332 _scsih_remove_device(struct MPT2SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 5379 _scsih_device_remove_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 5404 mpt2sas_device_remove_by_sas_address(struct MPT2SAS_ADAPTER *ioc, u64 sas_address) argument 5430 _scsih_sas_topology_change_event_debug(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 5510 _scsih_sas_topology_change_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5640 _scsih_sas_device_status_change_event_debug(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataSasDeviceStatusChange_t *event_data) argument 5710 _scsih_sas_device_status_change_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5773 _scsih_sas_enclosure_dev_status_change_event_debug(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataSasEnclDevStatusChange_t *event_data) argument 5808 _scsih_sas_enclosure_dev_status_change_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5828 _scsih_sas_broadcast_primitive_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5989 _scsih_sas_discovery_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6045 _scsih_sas_volume_add(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 6103 _scsih_sas_volume_delete(struct MPT2SAS_ADAPTER *ioc, u16 handle) argument 6138 _scsih_sas_pd_expose(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 6178 _scsih_sas_pd_hide(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 6225 _scsih_sas_pd_delete(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 6242 _scsih_sas_pd_add(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 6295 _scsih_sas_ir_config_change_event_debug(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataIrConfigChangeList_t *event_data) argument 6376 _scsih_sas_ir_config_change_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6443 _scsih_sas_ir_volume_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6528 _scsih_sas_ir_physical_disk_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6617 _scsih_sas_ir_operation_status_event_debug(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataIrOperationStatus_t *event_data) argument 6660 _scsih_sas_ir_operation_status_event(struct MPT2SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6698 _scsih_prep_device_scan(struct MPT2SAS_ADAPTER *ioc) argument 6723 _scsih_mark_responding_sas_device(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, u16 slot, u16 handle) argument 6776 _scsih_search_responding_sas_devices(struct MPT2SAS_ADAPTER *ioc) argument 6825 _scsih_mark_responding_raid_device(struct MPT2SAS_ADAPTER *ioc, u64 wwid, u16 handle) argument 6882 _scsih_search_responding_raid_devices(struct MPT2SAS_ADAPTER *ioc) argument 6955 _scsih_mark_responding_expander(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, u16 handle) argument 6992 _scsih_search_responding_expanders(struct MPT2SAS_ADAPTER *ioc) argument 7033 _scsih_remove_unresponding_sas_devices(struct MPT2SAS_ADAPTER *ioc) argument 7094 _scsih_refresh_expander_links(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_expander, u16 handle) argument 7122 _scsih_scan_for_devices_after_reset(struct MPT2SAS_ADAPTER *ioc) argument 7377 mpt2sas_scsih_reset_handler(struct MPT2SAS_ADAPTER *ioc, int reset_phase) argument 7433 struct MPT2SAS_ADAPTER *ioc = fw_event->ioc; local 7510 mpt2sas_scsih_event_callback(struct MPT2SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 7684 _scsih_expander_node_remove(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 7728 _scsih_ir_shutdown(struct MPT2SAS_ADAPTER *ioc) argument 7799 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 7828 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 7899 _scsih_probe_boot_devices(struct MPT2SAS_ADAPTER *ioc) argument 7969 _scsih_probe_raid(struct MPT2SAS_ADAPTER *ioc) argument 7992 _scsih_probe_sas(struct MPT2SAS_ADAPTER *ioc) argument 8032 _scsih_probe_devices(struct MPT2SAS_ADAPTER *ioc) argument 8069 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8097 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8148 struct MPT2SAS_ADAPTER *ioc; local 8305 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8332 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8369 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8406 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8444 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local 8461 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local [all...] |
H A D | mpt2sas_transport.c | 64 * @ioc: per adapter object 66 * Context: Calling function should acquire ioc->sas_node_lock. 72 _transport_sas_node_find_by_sas_address(struct MPT2SAS_ADAPTER *ioc, argument 75 if (ioc->sas_hba.sas_address == sas_address) 76 return &ioc->sas_hba; 78 return mpt2sas_scsih_expander_find_by_sas_address(ioc, 126 * @ioc: per adapter object 135 _transport_set_identify(struct MPT2SAS_ADAPTER *ioc, u16 handle, argument 143 if (ioc->shost_recovery || ioc 228 mpt2sas_transport_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 288 _transport_expander_report_manufacture(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, struct sas_expander_device *edev) argument 477 _transport_delete_port(struct MPT2SAS_ADAPTER *ioc, struct _sas_port *mpt2sas_port) argument 506 _transport_delete_phy(struct MPT2SAS_ADAPTER *ioc, struct _sas_port *mpt2sas_port, struct _sas_phy *mpt2sas_phy) argument 530 _transport_add_phy(struct MPT2SAS_ADAPTER *ioc, struct _sas_port *mpt2sas_port, struct _sas_phy *mpt2sas_phy) argument 555 _transport_add_phy_to_an_existing_port(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy, u64 sas_address) argument 589 _transport_del_phy_from_an_existing_port(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy) argument 623 _transport_sanity_check(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node, u64 sas_address) argument 649 mpt2sas_transport_port_add(struct MPT2SAS_ADAPTER *ioc, u16 handle, u64 sas_address) argument 785 mpt2sas_transport_port_remove(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, u64 sas_address_parent) argument 849 mpt2sas_transport_add_host_phy(struct MPT2SAS_ADAPTER *ioc, struct _sas_phy *mpt2sas_phy, Mpi2SasPhyPage0_t phy_pg0, struct device *parent_dev) argument 916 mpt2sas_transport_add_expander_phy(struct MPT2SAS_ADAPTER *ioc, struct _sas_phy *mpt2sas_phy, Mpi2ExpanderPage1_t expander_pg1, struct device *parent_dev) argument 984 mpt2sas_transport_update_links(struct MPT2SAS_ADAPTER *ioc, u64 sas_address, u16 handle, u8 phy_number, u8 link_rate) argument 1081 _transport_get_expander_phy_error_log(struct MPT2SAS_ADAPTER *ioc, struct sas_phy *phy) argument 1272 struct MPT2SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1322 struct MPT2SAS_ADAPTER *ioc = rphy_to_ioc(rphy); local 1350 struct MPT2SAS_ADAPTER *ioc = rphy_to_ioc(rphy); local 1404 _transport_expander_phy_control(struct MPT2SAS_ADAPTER *ioc, struct sas_phy *phy, u8 phy_operation) argument 1594 struct MPT2SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1646 struct MPT2SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1782 struct MPT2SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1901 struct MPT2SAS_ADAPTER *ioc = shost_priv(shost); local [all...] |
H A D | mpt2sas_config.c | 89 * @ioc: per adapter object 99 _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, argument 105 if (!(ioc->logging_level & MPT_DEBUG_CONFIG)) 108 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); 114 desc = "ioc"; 162 "smid(%d)\n", ioc->name, calling_function_name, desc, 172 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), 179 * @ioc: per adapter object 187 _config_alloc_config_dma_memory(struct MPT2SAS_ADAPTER *ioc, argument 192 if (mem->sz > ioc 218 _config_free_config_dma_memory(struct MPT2SAS_ADAPTER *ioc, struct config_request *mem) argument 240 mpt2sas_config_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 285 _config_request(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigRequest_t *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, void *config_page, u16 config_page_sz) argument 443 mpt2sas_config_get_manufacturing_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page) argument 479 mpt2sas_config_get_manufacturing_pg10(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage10_t *config_page) argument 515 mpt2sas_config_get_bios_pg2(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page) argument 551 mpt2sas_config_get_bios_pg3(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage3_t *config_page) argument 587 mpt2sas_config_get_iounit_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page) argument 623 mpt2sas_config_get_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) argument 659 mpt2sas_config_set_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) argument 696 mpt2sas_config_get_iounit_pg3(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz) argument 731 mpt2sas_config_get_ioc_pg8(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page) argument 769 mpt2sas_config_get_sas_device_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u32 handle) argument 809 mpt2sas_config_get_sas_device_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page, u32 form, u32 handle) argument 846 mpt2sas_config_get_number_hba_phys(struct MPT2SAS_ADAPTER *ioc, u8 *num_phys) argument 896 mpt2sas_config_get_sas_iounit_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, u16 sz) argument 936 mpt2sas_config_get_sas_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz) argument 976 mpt2sas_config_set_sas_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz) argument 1017 mpt2sas_config_get_expander_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle) argument 1057 mpt2sas_config_get_expander_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number, u16 handle) argument 1100 mpt2sas_config_get_enclosure_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle) argument 1139 mpt2sas_config_get_phy_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number) argument 1179 mpt2sas_config_get_phy_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number) argument 1220 mpt2sas_config_get_raid_volume_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u32 handle) argument 1258 mpt2sas_config_get_number_pds(struct MPT2SAS_ADAPTER *ioc, u16 handle, u8 *num_pds) argument 1310 mpt2sas_config_get_raid_volume_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 form, u32 handle, u16 sz) argument 1349 mpt2sas_config_get_phys_disk_pg0(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form, u32 form_specific) argument 1387 mpt2sas_config_get_volume_handle(struct MPT2SAS_ADAPTER *ioc, u16 pd_handle, u16 *volume_handle) argument 1476 mpt2sas_config_get_volume_wwid(struct MPT2SAS_ADAPTER *ioc, u16 volume_handle, u64 *wwid) argument [all...] |
/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 95 _base_get_ioc_facts(struct MPT3SAS_ADAPTER *ioc, int sleep_flag); 98 * _scsih_set_fwfault_debug - global setting of ioc->fwfault_debug. 105 struct MPT3SAS_ADAPTER *ioc; local 111 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) 112 ioc->fwfault_debug = mpt3sas_fwfault_debug; 119 * mpt3sas_remove_dead_ioc_func - kthread context to remove dead ioc 120 * @arg: input argument, used to derive ioc 127 struct MPT3SAS_ADAPTER *ioc = (struct MPT3SAS_ADAPTER *)arg; local 130 if ((ioc == NULL)) 133 pdev = ioc 150 struct MPT3SAS_ADAPTER *ioc = local 226 mpt3sas_base_start_watchdog(struct MPT3SAS_ADAPTER *ioc) argument 261 mpt3sas_base_stop_watchdog(struct MPT3SAS_ADAPTER *ioc) argument 301 mpt3sas_halt_firmware(struct MPT3SAS_ADAPTER *ioc) argument 336 _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, MPI2RequestHeader_t *request_hdr) argument 552 _base_display_event_data(struct MPT3SAS_ADAPTER *ioc, Mpi2EventNotificationReply_t *mpi_reply) argument 695 _base_display_reply_info(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 738 mpt3sas_base_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 771 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 822 _base_get_cb_idx(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 850 _base_mask_interrupts(struct MPT3SAS_ADAPTER *ioc) argument 870 _base_unmask_interrupts(struct MPT3SAS_ADAPTER *ioc) argument 907 struct MPT3SAS_ADAPTER *ioc = reply_q->ioc; local 1020 _base_is_controller_msix_enabled(struct MPT3SAS_ADAPTER *ioc) argument 1038 mpt3sas_base_flush_reply_queues(struct MPT3SAS_ADAPTER *ioc) argument 1116 _base_build_zero_len_sge(struct MPT3SAS_ADAPTER *ioc, void *paddr) argument 1172 _base_get_chain_buffer_tracker(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 1206 _base_build_sg(struct MPT3SAS_ADAPTER *ioc, void *psge, dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, size_t data_in_sz) argument 1288 _base_build_zero_len_sge_ieee(struct MPT3SAS_ADAPTER *ioc, void *paddr) argument 1309 _base_build_sg_scmd_ieee(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, u16 smid) argument 1434 _base_build_sg_ieee(struct MPT3SAS_ADAPTER *ioc, void *psge, dma_addr_t data_out_dma, size_t data_out_sz, dma_addr_t data_in_dma, size_t data_in_sz) argument 1484 _base_config_dma_addressing(struct MPT3SAS_ADAPTER *ioc, struct pci_dev *pdev) argument 1525 _base_change_consistent_dma_mask(struct MPT3SAS_ADAPTER *ioc, struct pci_dev *pdev) argument 1543 _base_check_enable_msix(struct MPT3SAS_ADAPTER *ioc) argument 1574 _base_free_irq(struct MPT3SAS_ADAPTER *ioc) argument 1598 _base_request_irq(struct MPT3SAS_ADAPTER *ioc, u8 index, u32 vector) argument 1643 _base_assign_reply_queues(struct MPT3SAS_ADAPTER *ioc) argument 1682 _base_disable_msix(struct MPT3SAS_ADAPTER *ioc) argument 1696 _base_enable_msix(struct MPT3SAS_ADAPTER *ioc) argument 1780 mpt3sas_base_map_resources(struct MPT3SAS_ADAPTER *ioc) argument 1893 mpt3sas_base_get_msg_frame(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 1906 mpt3sas_base_get_sense_buffer(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 1919 mpt3sas_base_get_sense_buffer_dma(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 1933 mpt3sas_base_get_reply_virt_addr(struct MPT3SAS_ADAPTER *ioc, u32 phys_addr) argument 1948 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx) argument 1980 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx, struct scsi_cmnd *scmd) argument 2013 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx) argument 2042 mpt3sas_base_free_smid(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 2122 _base_get_msix_index(struct MPT3SAS_ADAPTER *ioc) argument 2136 mpt3sas_base_put_smid_scsi_io(struct MPT3SAS_ADAPTER *ioc, u16 smid, u16 handle) argument 2160 mpt3sas_base_put_smid_fast_path(struct MPT3SAS_ADAPTER *ioc, u16 smid, u16 handle) argument 2184 mpt3sas_base_put_smid_hi_priority(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 2207 mpt3sas_base_put_smid_default(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 2228 _base_display_intel_branding(struct MPT3SAS_ADAPTER *ioc) argument 2277 _base_display_ioc_capabilities(struct MPT3SAS_ADAPTER *ioc) argument 2390 mpt3sas_base_update_missing_delay(struct MPT3SAS_ADAPTER *ioc, u16 device_missing_delay, u8 io_missing_delay) argument 2474 _base_static_config_pages(struct MPT3SAS_ADAPTER *ioc) argument 2530 _base_release_memory_pools(struct MPT3SAS_ADAPTER *ioc) argument 2635 _base_allocate_memory_pools(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 3054 mpt3sas_base_get_iocstate(struct MPT3SAS_ADAPTER *ioc, int cooked) argument 3072 _base_wait_on_iocstate(struct MPT3SAS_ADAPTER *ioc, u32 ioc_state, int timeout, int sleep_flag) argument 3108 _base_wait_for_doorbell_int(struct MPT3SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3149 _base_wait_for_doorbell_ack(struct MPT3SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3199 _base_wait_for_doorbell_not_used(struct MPT3SAS_ADAPTER *ioc, int timeout, int sleep_flag) argument 3238 _base_send_ioc_reset(struct MPT3SAS_ADAPTER *ioc, u8 reset_type, int timeout, int sleep_flag) argument 3290 _base_handshake_req_reply_wait(struct MPT3SAS_ADAPTER *ioc, int request_bytes, u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag) argument 3415 mpt3sas_base_sas_iounit_control(struct MPT3SAS_ADAPTER *ioc, Mpi2SasIoUnitControlReply_t *mpi_reply, Mpi2SasIoUnitControlRequest_t *mpi_request) argument 3520 mpt3sas_base_scsi_enclosure_processor(struct MPT3SAS_ADAPTER *ioc, Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request) argument 3614 _base_get_port_facts(struct MPT3SAS_ADAPTER *ioc, int port, int sleep_flag) argument 3657 _base_get_ioc_facts(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 3733 _base_send_ioc_init(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 3852 mpt3sas_port_enable_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3898 _base_send_port_enable(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 3967 mpt3sas_port_enable(struct MPT3SAS_ADAPTER *ioc) argument 4007 _base_determine_wait_on_discovery(struct MPT3SAS_ADAPTER *ioc) argument 4053 _base_unmask_events(struct MPT3SAS_ADAPTER *ioc, u16 event) argument 4080 _base_event_notification(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 4141 mpt3sas_base_validate_event_type(struct MPT3SAS_ADAPTER *ioc, u32 *event_type) argument 4177 _base_diag_reset(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 4305 _base_make_ioc_ready(struct MPT3SAS_ADAPTER *ioc, int sleep_flag, enum reset_type type) argument 4379 _base_make_ioc_operational(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 4531 mpt3sas_base_free_resources(struct MPT3SAS_ADAPTER *ioc) argument 4567 mpt3sas_base_attach(struct MPT3SAS_ADAPTER *ioc) argument 4767 mpt3sas_base_detach(struct MPT3SAS_ADAPTER *ioc) argument 4803 _base_reset_handler(struct MPT3SAS_ADAPTER *ioc, int reset_phase) argument 4861 _wait_for_commands_to_complete(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) argument 4898 mpt3sas_base_hard_reset_handler(struct MPT3SAS_ADAPTER *ioc, int sleep_flag, enum reset_type type) argument [all...] |
H A D | mpt3sas_trigger_diag.c | 63 * @ioc: per adapter object 67 _mpt3sas_raise_sigio(struct MPT3SAS_ADAPTER *ioc, argument 74 dTriggerDiagPrintk(ioc, pr_info(MPT3SAS_FMT "%s: enter\n", 75 ioc->name, __func__)); 87 dTriggerDiagPrintk(ioc, pr_info(MPT3SAS_FMT 89 ioc->name, __func__)); 90 mpt3sas_ctl_add_to_event_log(ioc, mpi_reply); 95 spin_lock_irqsave(&ioc->diag_trigger_lock, flags); 96 dTriggerDiagPrintk(ioc, pr_info(MPT3SAS_FMT 98 ioc 112 mpt3sas_process_trigger_data(struct MPT3SAS_ADAPTER *ioc, struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) argument 142 mpt3sas_trigger_master(struct MPT3SAS_ADAPTER *ioc, u32 trigger_bitmask) argument 216 mpt3sas_trigger_event(struct MPT3SAS_ADAPTER *ioc, u16 event, u16 log_entry_qualifier) argument 296 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, u8 ascq) argument 371 mpt3sas_trigger_mpi(struct MPT3SAS_ADAPTER *ioc, u16 ioc_status, u32 loginfo) argument [all...] |
H A D | mpt3sas_ctl.c | 83 * @ioc: per adapter object 85 * Context: Calling function should acquire ioc->sas_device_lock 91 _ctl_sas_device_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 96 list_for_each_entry(sas_device, &ioc->sas_device_list, list) { 109 * @ioc: per adapter object 119 _ctl_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, argument 125 if (!(ioc->logging_level & MPT_DEBUG_IOCTL)) 128 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); 135 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, 139 desc = ioc 272 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 323 _ctl_check_event_type(struct MPT3SAS_ADAPTER *ioc, u16 event) argument 346 mpt3sas_ctl_add_to_event_log(struct MPT3SAS_ADAPTER *ioc, Mpi2EventNotificationReply_t *mpi_reply) argument 402 mpt3sas_ctl_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 422 struct MPT3SAS_ADAPTER *ioc; local 445 mpt3sas_ctl_reset_handler(struct MPT3SAS_ADAPTER *ioc, int reset_phase) argument 514 struct MPT3SAS_ADAPTER *ioc; local 535 _ctl_set_task_mid(struct MPT3SAS_ADAPTER *ioc, struct mpt3_ioctl_command *karg, Mpi2SCSITaskManagementRequest_t *tm_request) argument 611 _ctl_do_mpt_command(struct MPT3SAS_ADAPTER *ioc, struct mpt3_ioctl_command karg, void __user *mf) argument 1011 _ctl_getiocinfo(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1056 _ctl_eventquery(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1087 _ctl_eventenable(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1125 _ctl_eventreport(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1169 _ctl_do_reset(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1200 _ctl_btdh_search_sas_device(struct MPT3SAS_ADAPTER *ioc, struct mpt3_ioctl_btdh_mapping *btdh) argument 1236 _ctl_btdh_search_raid_device(struct MPT3SAS_ADAPTER *ioc, struct mpt3_ioctl_btdh_mapping *btdh) argument 1272 _ctl_btdh_mapping(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1306 _ctl_diag_capability(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type) argument 1338 _ctl_diag_register_2(struct MPT3SAS_ADAPTER *ioc, struct mpt3_diag_register *diag_register) argument 1527 mpt3sas_enable_diag_buffer(struct MPT3SAS_ADAPTER *ioc, u8 bits_to_register) argument 1575 _ctl_diag_register(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1599 _ctl_diag_unregister(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1673 _ctl_diag_query(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1758 mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type, u8 *issue_reset) argument 1867 _ctl_diag_release(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 1953 _ctl_diag_read_buffer(struct MPT3SAS_ADAPTER *ioc, void __user *arg) argument 2143 _ctl_compat_mpt_command(struct MPT3SAS_ADAPTER *ioc, unsigned cmd, void __user *arg) argument 2190 struct MPT3SAS_ADAPTER *ioc; local 2346 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2368 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2392 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2411 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2429 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2449 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2469 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2487 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2505 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2526 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2547 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2567 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2588 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2608 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2617 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2644 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2653 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2681 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2702 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2737 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2786 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2820 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2849 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2867 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2934 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2958 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 2988 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3012 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3042 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3065 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3095 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3118 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3258 struct MPT3SAS_ADAPTER *ioc; local [all...] |
H A D | mpt3sas_transport.c | 64 * @ioc: per adapter object 66 * Context: Calling function should acquire ioc->sas_node_lock. 72 _transport_sas_node_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, argument 75 if (ioc->sas_hba.sas_address == sas_address) 76 return &ioc->sas_hba; 78 return mpt3sas_scsih_expander_find_by_sas_address(ioc, 130 * @ioc: per adapter object 139 _transport_set_identify(struct MPT3SAS_ADAPTER *ioc, u16 handle, argument 147 if (ioc->shost_recovery || ioc 232 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 292 _transport_expander_report_manufacture(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct sas_expander_device *edev) argument 469 _transport_delete_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_port *mpt3sas_port) argument 498 _transport_delete_phy(struct MPT3SAS_ADAPTER *ioc, struct _sas_port *mpt3sas_port, struct _sas_phy *mpt3sas_phy) argument 522 _transport_add_phy(struct MPT3SAS_ADAPTER *ioc, struct _sas_port *mpt3sas_port, struct _sas_phy *mpt3sas_phy) argument 547 _transport_add_phy_to_an_existing_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, u64 sas_address) argument 582 _transport_del_phy_from_an_existing_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy) argument 617 _transport_sanity_check(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, u64 sas_address) argument 643 mpt3sas_transport_port_add(struct MPT3SAS_ADAPTER *ioc, u16 handle, u64 sas_address) argument 778 mpt3sas_transport_port_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u64 sas_address_parent) argument 843 mpt3sas_transport_add_host_phy(struct MPT3SAS_ADAPTER *ioc, struct _sas_phy *mpt3sas_phy, Mpi2SasPhyPage0_t phy_pg0, struct device *parent_dev) argument 911 mpt3sas_transport_add_expander_phy(struct MPT3SAS_ADAPTER *ioc, struct _sas_phy *mpt3sas_phy, Mpi2ExpanderPage1_t expander_pg1, struct device *parent_dev) argument 981 mpt3sas_transport_update_links(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u16 handle, u8 phy_number, u8 link_rate) argument 1077 _transport_get_expander_phy_error_log(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy) argument 1254 struct MPT3SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1305 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy); local 1333 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy); local 1387 _transport_expander_phy_control(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy, u8 phy_operation) argument 1576 struct MPT3SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1628 struct MPT3SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1766 struct MPT3SAS_ADAPTER *ioc = phy_to_ioc(phy); local 1884 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local [all...] |
H A D | mpt3sas_scsih.c | 66 static void _scsih_expander_node_remove(struct MPT3SAS_ADAPTER *ioc, 70 static void _scsih_remove_device(struct MPT3SAS_ADAPTER *ioc, 72 static int _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, 75 static u8 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid); 169 * @work: work object (ioc->fault_reset_work_q) 171 * @ioc: per adapter object 179 * This object stored on ioc->fw_event_list. 187 struct MPT3SAS_ADAPTER *ioc; member in struct:fw_event_work 215 * @ioc_status: ioc status 270 * _scsih_set_debug_level - global setting of ioc 278 struct MPT3SAS_ADAPTER *ioc; local 389 _scsih_get_sas_address(struct MPT3SAS_ADAPTER *ioc, u16 handle, u64 *sas_address) argument 442 _scsih_determine_boot_device(struct MPT3SAS_ADAPTER *ioc, void *device, u8 is_raid) argument 530 mpt3sas_scsih_sas_device_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) argument 556 _scsih_sas_device_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 580 _scsih_sas_device_remove(struct MPT3SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 602 _scsih_device_remove_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 627 mpt3sas_device_remove_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) argument 655 _scsih_sas_device_add(struct MPT3SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 696 _scsih_sas_device_init_add(struct MPT3SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 723 _scsih_raid_device_find_by_id(struct MPT3SAS_ADAPTER *ioc, int id, int channel) argument 749 _scsih_raid_device_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 775 _scsih_raid_device_find_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) argument 799 _scsih_raid_device_add(struct MPT3SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 820 _scsih_raid_device_remove(struct MPT3SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 841 mpt3sas_scsih_expander_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 866 mpt3sas_scsih_expander_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) argument 893 _scsih_expander_node_add(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 930 _scsih_scsi_lookup_get(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 944 _scsih_scsi_lookup_get_clear(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 968 _scsih_scsi_lookup_find_by_scmd(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) argument 999 _scsih_scsi_lookup_find_by_target(struct MPT3SAS_ADAPTER *ioc, int id, int channel) argument 1033 _scsih_scsi_lookup_find_by_lun(struct MPT3SAS_ADAPTER *ioc, int id, unsigned int lun, int channel) argument 1062 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 1159 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 1223 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 1273 struct MPT3SAS_ADAPTER *ioc; local 1336 struct MPT3SAS_ADAPTER *ioc; local 1370 _scsih_display_sata_capabilities(struct MPT3SAS_ADAPTER *ioc, u16 handle, struct scsi_device *sdev) argument 1436 struct MPT3SAS_ADAPTER *ioc = shost_priv(sdev->host); local 1485 struct MPT3SAS_ADAPTER *ioc = shost_priv(sdev->host); local 1572 _scsih_get_volume_capabilities(struct MPT3SAS_ADAPTER *ioc, struct _raid_device *raid_device) argument 1642 _scsih_enable_tlr(struct MPT3SAS_ADAPTER *ioc, struct scsi_device *sdev) argument 1670 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 1897 _scsih_response_code(struct MPT3SAS_ADAPTER *ioc, u8 response_code) argument 1948 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 1976 mpt3sas_scsih_set_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 2004 mpt3sas_scsih_clear_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 2044 mpt3sas_scsih_issue_tm(struct MPT3SAS_ADAPTER *ioc, u16 handle, uint channel, uint id, uint lun, u8 type, u16 smid_task, ulong timeout, enum mutex_type m_type) argument 2201 _scsih_tm_display_info(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) argument 2255 struct MPT3SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2314 struct MPT3SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2373 struct MPT3SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2434 struct MPT3SAS_ADAPTER *ioc = shost_priv(scmd->device->host); local 2462 _scsih_fw_event_add(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 2488 _scsih_fw_event_free(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 2508 mpt3sas_send_trigger_data_event(struct MPT3SAS_ADAPTER *ioc, struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) argument 2532 _scsih_error_recovery_delete_devices(struct MPT3SAS_ADAPTER *ioc) argument 2553 mpt3sas_port_enable_complete(struct MPT3SAS_ADAPTER *ioc) argument 2575 _scsih_fw_event_cleanup_queue(struct MPT3SAS_ADAPTER *ioc) argument 2598 _scsih_ublock_io_all_device(struct MPT3SAS_ADAPTER *ioc) argument 2627 _scsih_ublock_io_device(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) argument 2654 _scsih_block_io_all_device(struct MPT3SAS_ADAPTER *ioc) argument 2680 _scsih_block_io_device(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 2710 _scsih_block_io_to_children_attached_to_ex(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 2761 _scsih_block_io_to_children_attached_directly(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 2795 _scsih_tm_tr_send(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 2894 _scsih_tm_tr_complete(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 2982 _scsih_sas_control_complete(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3013 _scsih_tm_tr_volume_send(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 3065 _scsih_tm_volume_tr_complete(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 3119 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid) argument 3160 _scsih_check_topo_delete_events(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 3237 _scsih_set_volume_delete_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 3294 _scsih_check_ir_config_unhide_events(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataIrConfigChangeList_t *event_data) argument 3376 _scsih_check_volume_delete_events(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataIrVolume_t *event_data) argument 3400 _scsih_flush_running_cmds(struct MPT3SAS_ADAPTER *ioc) argument 3434 _scsih_setup_eedp(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, Mpi2SCSIIORequest_t *mpi_request) argument 3530 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 3695 _scsih_scsi_ioc_info(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, Mpi2SCSIIOReply_t *mpi_reply, u16 smid) argument 3896 _scsih_turn_on_pfa_led(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 3938 _scsih_turn_off_pfa_led(struct MPT3SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 3976 _scsih_send_event_to_turn_on_pfa_led(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 3998 _scsih_smart_predicted_fault(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 4068 _scsih_io_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 4272 _scsih_sas_host_refresh(struct MPT3SAS_ADAPTER *ioc) argument 4327 _scsih_sas_host_add(struct MPT3SAS_ADAPTER *ioc) argument 4473 _scsih_expander_add(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 4628 mpt3sas_expander_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) argument 4660 _scsih_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 4696 _scsih_check_access_status(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u16 handle, u8 access_status) argument 4761 _scsih_check_device(struct MPT3SAS_ADAPTER *ioc, u64 parent_sas_address, u16 handle, u8 phy_number, u8 link_rate) argument 4848 _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phy_num, u8 is_pd) argument 4952 _scsih_remove_device(struct MPT3SAS_ADAPTER *ioc, struct _sas_device *sas_device) argument 5001 _scsih_sas_topology_change_event_debug(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataSasTopologyChangeList_t *event_data) argument 5081 _scsih_sas_topology_change_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5214 _scsih_sas_device_status_change_event_debug(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataSasDeviceStatusChange_t *event_data) argument 5284 _scsih_sas_device_status_change_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5348 _scsih_sas_enclosure_dev_status_change_event_debug(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataSasEnclDevStatusChange_t *event_data) argument 5383 _scsih_sas_enclosure_dev_status_change_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5403 _scsih_sas_broadcast_primitive_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5565 _scsih_sas_discovery_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 5603 _scsih_ir_fastpath(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phys_disk_num) argument 5714 _scsih_sas_volume_add(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 5772 _scsih_sas_volume_delete(struct MPT3SAS_ADAPTER *ioc, u16 handle) argument 5807 _scsih_sas_pd_expose(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 5847 _scsih_sas_pd_hide(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 5895 _scsih_sas_pd_delete(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 5912 _scsih_sas_pd_add(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) argument 5968 _scsih_sas_ir_config_change_event_debug(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataIrConfigChangeList_t *event_data) argument 6049 _scsih_sas_ir_config_change_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6118 _scsih_sas_ir_volume_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6201 _scsih_sas_ir_physical_disk_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6286 _scsih_sas_ir_operation_status_event_debug(struct MPT3SAS_ADAPTER *ioc, Mpi2EventDataIrOperationStatus_t *event_data) argument 6329 _scsih_sas_ir_operation_status_event(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 6366 _scsih_prep_device_scan(struct MPT3SAS_ADAPTER *ioc) argument 6391 _scsih_mark_responding_sas_device(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u16 slot, u16 handle) argument 6444 _scsih_search_responding_sas_devices(struct MPT3SAS_ADAPTER *ioc) argument 6491 _scsih_mark_responding_raid_device(struct MPT3SAS_ADAPTER *ioc, u64 wwid, u16 handle) argument 6541 _scsih_search_responding_raid_devices(struct MPT3SAS_ADAPTER *ioc) argument 6612 _scsih_mark_responding_expander(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u16 handle) argument 6649 _scsih_search_responding_expanders(struct MPT3SAS_ADAPTER *ioc) argument 6690 _scsih_remove_unresponding_sas_devices(struct MPT3SAS_ADAPTER *ioc) argument 6754 _scsih_refresh_expander_links(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_expander, u16 handle) argument 6782 _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) argument 7037 mpt3sas_scsih_reset_handler(struct MPT3SAS_ADAPTER *ioc, int reset_phase) argument 7085 _mpt3sas_fw_work(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event) argument 7184 mpt3sas_scsih_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) argument 7315 _scsih_expander_node_remove(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_expander) argument 7360 _scsih_ir_shutdown(struct MPT3SAS_ADAPTER *ioc) argument 7432 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7504 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7532 _scsih_probe_boot_devices(struct MPT3SAS_ADAPTER *ioc) argument 7600 _scsih_probe_raid(struct MPT3SAS_ADAPTER *ioc) argument 7623 _scsih_probe_sas(struct MPT3SAS_ADAPTER *ioc) argument 7667 _scsih_probe_devices(struct MPT3SAS_ADAPTER *ioc) argument 7703 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7730 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7782 struct MPT3SAS_ADAPTER *ioc; local 7919 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7946 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 7983 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 8020 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 8057 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local 8074 struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); local [all...] |
H A D | mpt3sas_config.c | 88 * @ioc: per adapter object 98 _config_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, argument 104 if (!(ioc->logging_level & MPT_DEBUG_CONFIG)) 107 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); 113 desc = "ioc"; 162 ioc->name, calling_function_name, desc, 172 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), 179 * @ioc: per adapter object 187 _config_alloc_config_dma_memory(struct MPT3SAS_ADAPTER *ioc, argument 192 if (mem->sz > ioc 218 _config_free_config_dma_memory(struct MPT3SAS_ADAPTER *ioc, struct config_request *mem) argument 240 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) argument 285 _config_request(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigRequest_t *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, void *config_page, u16 config_page_sz) argument 514 mpt3sas_config_get_manufacturing_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page) argument 551 mpt3sas_config_get_manufacturing_pg7(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, u16 sz) argument 588 mpt3sas_config_get_manufacturing_pg10(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, struct Mpi2ManufacturingPage10_t *config_page) argument 625 mpt3sas_config_get_manufacturing_pg11(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, struct Mpi2ManufacturingPage11_t *config_page) argument 662 mpt3sas_config_set_manufacturing_pg11(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, struct Mpi2ManufacturingPage11_t *config_page) argument 703 mpt3sas_config_get_bios_pg2(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page) argument 739 mpt3sas_config_get_bios_pg3(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage3_t *config_page) argument 775 mpt3sas_config_get_iounit_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page) argument 811 mpt3sas_config_get_iounit_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) argument 847 mpt3sas_config_set_iounit_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) argument 883 mpt3sas_config_get_ioc_pg8(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page) argument 921 mpt3sas_config_get_sas_device_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u32 handle) argument 962 mpt3sas_config_get_sas_device_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page, u32 form, u32 handle) argument 1000 mpt3sas_config_get_number_hba_phys(struct MPT3SAS_ADAPTER *ioc, u8 *num_phys) argument 1050 mpt3sas_config_get_sas_iounit_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, u16 sz) argument 1091 mpt3sas_config_get_sas_iounit_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz) argument 1132 mpt3sas_config_set_sas_iounit_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz) argument 1174 mpt3sas_config_get_expander_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle) argument 1214 mpt3sas_config_get_expander_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number, u16 handle) argument 1257 mpt3sas_config_get_enclosure_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle) argument 1296 mpt3sas_config_get_phy_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number) argument 1336 mpt3sas_config_get_phy_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number) argument 1377 mpt3sas_config_get_raid_volume_pg1(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u32 handle) argument 1415 mpt3sas_config_get_number_pds(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 *num_pds) argument 1467 mpt3sas_config_get_raid_volume_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 form, u32 handle, u16 sz) argument 1506 mpt3sas_config_get_phys_disk_pg0(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigReply_t *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form, u32 form_specific) argument 1545 mpt3sas_config_get_volume_handle(struct MPT3SAS_ADAPTER *ioc, u16 pd_handle, u16 *volume_handle) argument 1635 mpt3sas_config_get_volume_wwid(struct MPT3SAS_ADAPTER *ioc, u16 volume_handle, u64 *wwid) argument [all...] |
/drivers/scsi/bfa/ |
H A D | bfa_ioc_cb.c | 30 static bfa_boolean_t bfa_ioc_cb_firmware_lock(struct bfa_ioc_s *ioc); 31 static void bfa_ioc_cb_firmware_unlock(struct bfa_ioc_s *ioc); 32 static void bfa_ioc_cb_reg_init(struct bfa_ioc_s *ioc); 33 static void bfa_ioc_cb_map_port(struct bfa_ioc_s *ioc); 34 static void bfa_ioc_cb_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix); 35 static void bfa_ioc_cb_notify_fail(struct bfa_ioc_s *ioc); 36 static void bfa_ioc_cb_ownership_reset(struct bfa_ioc_s *ioc); 37 static bfa_boolean_t bfa_ioc_cb_sync_start(struct bfa_ioc_s *ioc); 38 static void bfa_ioc_cb_sync_join(struct bfa_ioc_s *ioc); 39 static void bfa_ioc_cb_sync_leave(struct bfa_ioc_s *ioc); 55 bfa_ioc_set_cb_hwif(struct bfa_ioc_s *ioc) argument 82 bfa_ioc_cb_firmware_lock(struct bfa_ioc_s *ioc) argument 111 bfa_ioc_cb_firmware_unlock(struct bfa_ioc_s *ioc) argument 119 bfa_ioc_cb_notify_fail(struct bfa_ioc_s *ioc) argument 143 bfa_ioc_cb_reg_init(struct bfa_ioc_s *ioc) argument 201 bfa_ioc_cb_map_port(struct bfa_ioc_s *ioc) argument 215 bfa_ioc_cb_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix) argument 223 bfa_ioc_cb_sync_start(struct bfa_ioc_s *ioc) argument 246 bfa_ioc_cb_ownership_reset(struct bfa_ioc_s *ioc) argument 262 bfa_ioc_cb_sync_join(struct bfa_ioc_s *ioc) argument 271 bfa_ioc_cb_sync_leave(struct bfa_ioc_s *ioc) argument 280 bfa_ioc_cb_set_cur_ioc_fwstate(struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate) argument 290 bfa_ioc_cb_get_cur_ioc_fwstate(struct bfa_ioc_s *ioc) argument 297 bfa_ioc_cb_set_alt_ioc_fwstate(struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate) argument 307 bfa_ioc_cb_get_alt_ioc_fwstate(struct bfa_ioc_s *ioc) argument 314 bfa_ioc_cb_sync_ack(struct bfa_ioc_s *ioc) argument 320 bfa_ioc_cb_sync_complete(struct bfa_ioc_s *ioc) argument [all...] |
H A D | bfa_ioc_ct.c | 37 static bfa_boolean_t bfa_ioc_ct_firmware_lock(struct bfa_ioc_s *ioc); 38 static void bfa_ioc_ct_firmware_unlock(struct bfa_ioc_s *ioc); 39 static void bfa_ioc_ct_notify_fail(struct bfa_ioc_s *ioc); 40 static void bfa_ioc_ct_ownership_reset(struct bfa_ioc_s *ioc); 41 static bfa_boolean_t bfa_ioc_ct_sync_start(struct bfa_ioc_s *ioc); 42 static void bfa_ioc_ct_sync_join(struct bfa_ioc_s *ioc); 43 static void bfa_ioc_ct_sync_leave(struct bfa_ioc_s *ioc); 44 static void bfa_ioc_ct_sync_ack(struct bfa_ioc_s *ioc); 45 static bfa_boolean_t bfa_ioc_ct_sync_complete(struct bfa_ioc_s *ioc); 47 struct bfa_ioc_s *ioc, enu 60 bfa_ioc_ct_firmware_lock(struct bfa_ioc_s *ioc) argument 112 bfa_ioc_ct_firmware_unlock(struct bfa_ioc_s *ioc) argument 135 bfa_ioc_ct_notify_fail(struct bfa_ioc_s *ioc) argument 190 bfa_ioc_ct_reg_init(struct bfa_ioc_s *ioc) argument 249 bfa_ioc_ct2_reg_init(struct bfa_ioc_s *ioc) argument 312 bfa_ioc_ct_map_port(struct bfa_ioc_s *ioc) argument 329 bfa_ioc_ct2_map_port(struct bfa_ioc_s *ioc) argument 345 bfa_ioc_ct_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix) argument 375 bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc_s *ioc) argument 392 bfa_ioc_ct_ownership_reset(struct bfa_ioc_s *ioc) argument 411 bfa_ioc_ct_sync_start(struct bfa_ioc_s *ioc) argument 438 bfa_ioc_ct_sync_join(struct bfa_ioc_s *ioc) argument 447 bfa_ioc_ct_sync_leave(struct bfa_ioc_s *ioc) argument 457 bfa_ioc_ct_sync_ack(struct bfa_ioc_s *ioc) argument 466 bfa_ioc_ct_sync_complete(struct bfa_ioc_s *ioc) argument 510 bfa_ioc_set_ctx_hwif(struct bfa_ioc_s *ioc, struct bfa_ioc_hwif_s *hwif) argument 531 bfa_ioc_set_ct_hwif(struct bfa_ioc_s *ioc) argument 546 bfa_ioc_set_ct2_hwif(struct bfa_ioc_s *ioc) argument 569 bfa_ioc_ct2_poweron(struct bfa_ioc_s *ioc) argument 974 bfa_ioc_ct_set_cur_ioc_fwstate(struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate) argument 981 bfa_ioc_ct_get_cur_ioc_fwstate(struct bfa_ioc_s *ioc) argument 987 bfa_ioc_ct_set_alt_ioc_fwstate(struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate) argument 994 bfa_ioc_ct_get_alt_ioc_fwstate(struct bfa_ioc_s *ioc) argument [all...] |
H A D | bfa_ioc.c | 97 static void bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc); 98 static void bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force); 99 static void bfa_ioc_timeout(void *ioc); 100 static void bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc); 101 static void bfa_ioc_send_enable(struct bfa_ioc_s *ioc); 102 static void bfa_ioc_send_disable(struct bfa_ioc_s *ioc); 103 static void bfa_ioc_send_getattr(struct bfa_ioc_s *ioc); 104 static void bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc); 105 static void bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc); 106 static void bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc); 264 bfa_ioc_sm_uninit_entry(struct bfa_ioc_s *ioc) argument 272 bfa_ioc_sm_uninit(struct bfa_ioc_s *ioc, enum ioc_event event) argument 289 bfa_ioc_sm_reset_entry(struct bfa_ioc_s *ioc) argument 298 bfa_ioc_sm_reset(struct bfa_ioc_s *ioc, enum ioc_event event) argument 322 bfa_ioc_sm_enabling_entry(struct bfa_ioc_s *ioc) argument 332 bfa_ioc_sm_enabling(struct bfa_ioc_s *ioc, enum ioc_event event) argument 374 bfa_ioc_sm_getattr_entry(struct bfa_ioc_s *ioc) argument 384 bfa_ioc_sm_getattr(struct bfa_ioc_s *ioc, enum ioc_event event) argument 419 bfa_ioc_sm_op_entry(struct bfa_ioc_s *ioc) argument 431 bfa_ioc_sm_op(struct bfa_ioc_s *ioc, enum ioc_event event) argument 467 bfa_ioc_sm_disabling_entry(struct bfa_ioc_s *ioc) argument 479 bfa_ioc_sm_disabling(struct bfa_ioc_s *ioc, enum ioc_event event) argument 511 bfa_ioc_sm_disabled_entry(struct bfa_ioc_s *ioc) argument 517 bfa_ioc_sm_disabled(struct bfa_ioc_s *ioc, enum ioc_event event) argument 542 bfa_ioc_sm_fail_retry_entry(struct bfa_ioc_s *ioc) argument 551 bfa_ioc_sm_fail_retry(struct bfa_ioc_s *ioc, enum ioc_event event) argument 595 bfa_ioc_sm_fail_entry(struct bfa_ioc_s *ioc) argument 604 bfa_ioc_sm_fail(struct bfa_ioc_s *ioc, enum ioc_event event) argument 635 bfa_ioc_sm_hwfail_entry(struct bfa_ioc_s *ioc) argument 641 bfa_ioc_sm_hwfail(struct bfa_ioc_s *ioc, enum ioc_event event) argument 687 struct bfa_ioc_s *ioc = iocpf->ioc; local 774 struct bfa_ioc_s *ioc = iocpf->ioc; local 838 struct bfa_ioc_s *ioc = iocpf->ioc; local 878 struct bfa_ioc_s *ioc = iocpf->ioc; local 922 struct bfa_ioc_s *ioc = iocpf->ioc; local 967 struct bfa_ioc_s *ioc = iocpf->ioc; local 1011 struct bfa_ioc_s *ioc = iocpf->ioc; local 1046 struct bfa_ioc_s *ioc = iocpf->ioc; local 1087 struct bfa_ioc_s *ioc = iocpf->ioc; local 1124 struct bfa_ioc_s *ioc = iocpf->ioc; local 1156 struct bfa_ioc_s *ioc = iocpf->ioc; local 1205 struct bfa_ioc_s *ioc = iocpf->ioc; local 1243 struct bfa_ioc_s *ioc = iocpf->ioc; local 1296 struct bfa_ioc_s *ioc = iocpf->ioc; local 1318 bfa_ioc_event_notify(struct bfa_ioc_s *ioc, enum bfa_ioc_event_e event) argument 1330 bfa_ioc_disable_comp(struct bfa_ioc_s *ioc) argument 1358 bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc) argument 1384 bfa_ioc_lmem_init(struct bfa_ioc_s *ioc) argument 1421 bfa_ioc_lpu_start(struct bfa_ioc_s *ioc) argument 1435 bfa_ioc_lpu_stop(struct bfa_ioc_s *ioc) argument 1452 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) argument 1475 bfa_ioc_fwver_cmp(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *smem_fwhdr) argument 1515 bfa_ioc_fwver_valid(struct bfa_ioc_s *ioc, u32 boot_env) argument 1641 bfa_ioc_flash_img_get_chnk(struct bfa_ioc_s *ioc, u32 off, u32 *fwimg) argument 1650 bfa_ioc_flash_fwver_cmp(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *base_fwhdr) argument 1673 bfa_ioc_fwsig_invalidate(struct bfa_ioc_s *ioc) argument 1696 bfa_ioc_msgflush(struct bfa_ioc_s *ioc) argument 1706 bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force) argument 1773 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; local 1780 bfa_ioc_mbox_send(struct bfa_ioc_s *ioc, void *ioc_msg, int len) argument 1808 bfa_ioc_send_enable(struct bfa_ioc_s *ioc) argument 1822 bfa_ioc_send_disable(struct bfa_ioc_s *ioc) argument 1832 bfa_ioc_send_getattr(struct bfa_ioc_s *ioc) argument 1845 struct bfa_ioc_s *ioc = cbarg; local 1861 bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc) argument 1871 bfa_ioc_download_fw(struct bfa_ioc_s *ioc, u32 boot_type, u32 boot_env) argument 1973 bfa_ioc_getattr_reply(struct bfa_ioc_s *ioc) argument 1990 bfa_ioc_mbox_attach(struct bfa_ioc_s *ioc) argument 2006 bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc) argument 2036 bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc) argument 2054 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) argument 2113 bfa_ioc_smem_clr(struct bfa_ioc_s *ioc, u32 soff, u32 sz) argument 2162 bfa_ioc_fail_notify(struct bfa_ioc_s *ioc) argument 2181 bfa_ioc_pf_fwmismatch(struct bfa_ioc_s *ioc) argument 2195 bfa_ioc_pll_init(struct bfa_ioc_s *ioc) argument 2226 bfa_ioc_boot(struct bfa_ioc_s *ioc, u32 boot_type, u32 boot_env) argument 2284 bfa_ioc_is_operational(struct bfa_ioc_s *ioc) argument 2290 bfa_ioc_is_initialized(struct bfa_ioc_s *ioc) argument 2300 bfa_ioc_msgget(struct bfa_ioc_s *ioc, void *mbmsg) argument 2330 bfa_ioc_isr(struct bfa_ioc_s *ioc, struct bfi_mbmsg_s *m) argument 2371 bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa, struct bfa_ioc_cbfn_s *cbfn, struct bfa_timer_mod_s *timer_mod) argument 2393 bfa_ioc_detach(struct bfa_ioc_s *ioc) argument 2405 bfa_ioc_pci_init(struct bfa_ioc_s *ioc, struct bfa_pcidev_s *pcidev, enum bfi_pcifn_class clscode) argument 2493 bfa_ioc_mem_claim(struct bfa_ioc_s *ioc, u8 *dm_kva, u64 dm_pa) argument 2504 bfa_ioc_enable(struct bfa_ioc_s *ioc) argument 2513 bfa_ioc_disable(struct bfa_ioc_s *ioc) argument 2520 bfa_ioc_suspend(struct bfa_ioc_s *ioc) argument 2531 bfa_ioc_debug_memclaim(struct bfa_ioc_s *ioc, void *dbg_fwsave) argument 2544 bfa_ioc_mbox_register(struct bfa_ioc_s *ioc, bfa_ioc_mbox_mcfunc_t *mcfuncs) argument 2557 bfa_ioc_mbox_regisr(struct bfa_ioc_s *ioc, enum bfi_mclass mc, bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) argument 2574 bfa_ioc_mbox_queue(struct bfa_ioc_s *ioc, struct bfa_mbox_cmd_s *cmd) argument 2606 bfa_ioc_mbox_isr(struct bfa_ioc_s *ioc) argument 2637 bfa_ioc_error_isr(struct bfa_ioc_s *ioc) argument 2648 bfa_ioc_is_disabled(struct bfa_ioc_s *ioc) argument 2658 bfa_ioc_fw_mismatch(struct bfa_ioc_s *ioc) argument 2670 bfa_ioc_adapter_is_disabled(struct bfa_ioc_s *ioc) argument 2694 bfa_ioc_reset_fwstate(struct bfa_ioc_s *ioc) argument 2702 bfa_ioc_get_adapter_attr(struct bfa_ioc_s *ioc, struct bfa_adapter_attr_s *ad_attr) argument 2751 bfa_ioc_get_type(struct bfa_ioc_s *ioc) argument 2763 bfa_ioc_get_adapter_serial_num(struct bfa_ioc_s *ioc, char *serial_num) argument 2772 bfa_ioc_get_adapter_fw_ver(struct bfa_ioc_s *ioc, char *fw_ver) argument 2779 bfa_ioc_get_pci_chip_rev(struct bfa_ioc_s *ioc, char *chip_rev) argument 2794 bfa_ioc_get_adapter_optrom_ver(struct bfa_ioc_s *ioc, char *optrom_ver) argument 2802 bfa_ioc_get_adapter_manufacturer(struct bfa_ioc_s *ioc, char *manufacturer) argument 2809 bfa_ioc_get_adapter_model(struct bfa_ioc_s *ioc, char *model) argument 2829 bfa_ioc_get_state(struct bfa_ioc_s *ioc) argument 2869 bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr) argument 2890 bfa_ioc_get_mac(struct bfa_ioc_s *ioc) argument 2902 bfa_ioc_get_mfg_mac(struct bfa_ioc_s *ioc) argument 2920 bfa_ioc_aen_post(struct bfa_ioc_s *ioc, enum bfa_ioc_aen_event event) argument 2957 bfa_ioc_debug_fwsave(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) argument 2978 bfa_ioc_debug_fwtrc(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) argument 2996 bfa_ioc_send_fwsync(struct bfa_ioc_s *ioc) argument 3008 bfa_ioc_fwsync(struct bfa_ioc_s *ioc) argument 3033 bfa_ioc_debug_fwcore(struct bfa_ioc_s *ioc, void *buf, u32 *offset, int *buflen) argument 3080 bfa_ioc_fw_stats_get(struct bfa_ioc_s *ioc, void *stats) argument 3101 bfa_ioc_fw_stats_clear(struct bfa_ioc_s *ioc) argument 3125 bfa_ioc_debug_save_ftrc(struct bfa_ioc_s *ioc) argument 3142 bfa_ioc_recover(struct bfa_ioc_s *ioc) argument 3155 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; local 3164 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; local 3170 bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc) argument 3192 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; local 3385 bfa_ablk_attach(struct bfa_ablk_s *ablk, struct bfa_ioc_s *ioc) argument 4031 bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod) argument 4202 bfa_flash_aen_audit_post(struct bfa_ioc_s *ioc, enum bfa_audit_aen_event event, int inst, int type) argument 4490 bfa_flash_attach(struct bfa_flash_s *flash, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod, bfa_boolean_t mincfg) argument 4772 struct bfa_ioc_s *ioc = diag->ioc; local 5277 bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, bfa_cb_diag_beacon_t cbfn_beacon, struct bfa_trc_mod_s *trcmod) argument 5474 bfa_phy_attach(struct bfa_phy_s *phy, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod, bfa_boolean_t mincfg) argument 5518 bfa_phy_busy(struct bfa_ioc_s *ioc) argument 6323 bfa_fru_attach(struct bfa_fru_s *fru, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod, bfa_boolean_t mincfg) argument [all...] |
/drivers/message/fusion/ |
H A D | mptbase.c | 164 static int mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, 166 static int mpt_handshake_req_reply_wait(MPT_ADAPTER *ioc, int reqBytes, 169 static int mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag); 170 static void mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev); 171 static void mpt_adapter_disable(MPT_ADAPTER *ioc); 172 static void mpt_adapter_dispose(MPT_ADAPTER *ioc); 174 static void MptDisplayIocCapabilities(MPT_ADAPTER *ioc); 175 static int MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag); 176 static int GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason); 177 static int GetPortFacts(MPT_ADAPTER *ioc, in 252 MPT_ADAPTER *ioc; local 286 mpt_is_discovery_complete(MPT_ADAPTER *ioc) argument 339 MPT_ADAPTER *ioc = (MPT_ADAPTER *)arg; local 363 MPT_ADAPTER *ioc = local 447 mpt_turbo_reply(MPT_ADAPTER *ioc, u32 pa) argument 508 mpt_reply(MPT_ADAPTER *ioc, u32 pa) argument 597 MPT_ADAPTER *ioc = bus_id; local 632 mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument 835 MPT_ADAPTER *ioc; local 863 MPT_ADAPTER *ioc; local 892 mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc) argument 961 mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) argument 997 mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) argument 1028 mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) argument 1186 mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sleepFlag) argument 1281 mpt_host_page_access_control(MPT_ADAPTER *ioc, u8 access_control_value, int sleepFlag) argument 1314 mpt_host_page_alloc(MPT_ADAPTER *ioc, pIOCInit_t ioc_init) argument 1385 MPT_ADAPTER *ioc; local 1644 mpt_mapresources(MPT_ADAPTER *ioc) argument 1776 MPT_ADAPTER *ioc; local 2058 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 2124 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 2163 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 2233 mpt_signal_reset(u8 index, MPT_ADAPTER *ioc, int reset_phase) argument 2270 mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) argument 2622 mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev) argument 2673 mpt_adapter_disable(MPT_ADAPTER *ioc) argument 2797 mpt_adapter_dispose(MPT_ADAPTER *ioc) argument 2849 MptDisplayIocCapabilities(MPT_ADAPTER *ioc) argument 2902 MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag) argument 3037 mpt_GetIocState(MPT_ADAPTER *ioc, int cooked) argument 3061 GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason) argument 3236 GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag) argument 3319 SendIocInit(MPT_ADAPTER *ioc, int sleepFlag) argument 3443 SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag) argument 3492 mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size) argument 3529 mpt_free_fw_memory(MPT_ADAPTER *ioc) argument 3559 mpt_do_upload(MPT_ADAPTER *ioc, int sleepFlag) argument 3660 mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) argument 3881 KickStart(MPT_ADAPTER *ioc, int force, int sleepFlag) argument 3948 mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) argument 4250 SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) argument 4306 initChainBuffers(MPT_ADAPTER *ioc) argument 4417 PrimeIocFifos(MPT_ADAPTER *ioc) argument 4654 mpt_handshake_req_reply_wait(MPT_ADAPTER *ioc, int reqBytes, u32 *req, int replyBytes, u16 *u16reply, int maxwait, int sleepFlag) argument 4760 WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag) argument 4810 WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag) argument 4860 WaitForDoorbellReply(MPT_ADAPTER *ioc, int howlong, int sleepFlag) argument 4944 GetLanConfigPages(MPT_ADAPTER *ioc) argument 5060 mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode) argument 5147 mptbase_raid_process_event_data(MPT_ADAPTER *ioc, MpiEventDataRaid_t * pRaidEventData) argument 5288 GetIoUnitPage2(MPT_ADAPTER *ioc) argument 5356 mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum) argument 5568 mpt_readScsiDevicePageHeaders(MPT_ADAPTER *ioc, int portnum) argument 5614 mpt_inactive_raid_list_free(MPT_ADAPTER *ioc) argument 5638 mpt_inactive_raid_volumes(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 5726 mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, RaidPhysDiskPage0_t *phys_disk) argument 5794 mpt_raid_phys_disk_get_num_paths(MPT_ADAPTER *ioc, u8 phys_disk_num) argument 5862 mpt_raid_phys_disk_pg1(MPT_ADAPTER *ioc, u8 phys_disk_num, RaidPhysDiskPage1_t *phys_disk) argument 5950 mpt_findImVolumes(MPT_ADAPTER *ioc) argument 6021 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc) argument 6080 mpt_read_ioc_pg_4(MPT_ADAPTER *ioc) argument 6133 mpt_read_ioc_pg_1(MPT_ADAPTER *ioc) argument 6220 mpt_get_manufacturing_pg_0(MPT_ADAPTER *ioc) argument 6270 SendEventNotification(MPT_ADAPTER *ioc, u8 EvSwitch, int sleepFlag) argument 6298 SendEventAck(MPT_ADAPTER *ioc, EventNotificationReply_t *evnp) argument 6338 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) argument 6554 mpt_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 6635 MPT_ADAPTER *ioc = m->private; local 6718 MPT_ADAPTER *ioc = m->private; local 6813 mpt_get_fw_exp_ver(char *buf, MPT_ADAPTER *ioc) argument 6840 mpt_print_ioc_summary(MPT_ADAPTER *ioc, char *buffer, int *size, int len, int showlan) argument 6875 seq_mpt_print_ioc_summary(MPT_ADAPTER *ioc, struct seq_file *m, int showlan) argument 6916 mpt_set_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc) argument 6946 mpt_clear_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc) argument 6969 mpt_halt_firmware(MPT_ADAPTER *ioc) argument 7002 mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) argument 7142 mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag) argument 7175 mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag) argument 7272 mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply) argument 7728 ProcessEventNotification(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply, int *evHandlers) argument 7838 mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info) argument 7882 mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info) argument 8094 mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info, u8 cb_idx) argument 8176 mpt_iocstatus_info_config(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) argument 8254 mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) argument [all...] |
H A D | mptscsih.c | 84 struct scsi_cmnd *mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i); 85 static struct scsi_cmnd * mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i); 86 static void mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd); 87 static int SCPNT_TO_LOOKUP_IDX(MPT_ADAPTER *ioc, struct scsi_cmnd *scmd); 88 int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 90 int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 92 static int mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt, 94 static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx); 100 int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); 101 int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_ 134 mptscsih_getFreeChainBuffer(MPT_ADAPTER *ioc, int *retIndex) argument 179 mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt, SCSIIORequest_t *pReq, int req_idx) argument 392 mptscsih_issue_sep_command(MPT_ADAPTER *ioc, VirtTarget *vtarget, U32 SlotStatus) argument 436 mptscsih_info_scsiio(MPT_ADAPTER *ioc, struct scsi_cmnd *sc, SCSIIOReply_t * pScsiReply) argument 588 mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) argument 1032 MPT_ADAPTER *ioc = hd->ioc; local 1083 MPT_ADAPTER *ioc = hd->ioc; local 1148 MPT_ADAPTER *ioc; local 1174 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 1230 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 1247 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 1288 MPT_ADAPTER *ioc = hd->ioc; local 1325 MPT_ADAPTER *ioc; local 1454 mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx) argument 1525 MPT_ADAPTER *ioc = hd->ioc; local 1664 mptscsih_get_tm_timeout(MPT_ADAPTER *ioc) argument 1695 MPT_ADAPTER *ioc; local 1815 MPT_ADAPTER *ioc; local 1875 MPT_ADAPTER *ioc; local 1924 MPT_ADAPTER *ioc; local 1957 mptscsih_taskmgmt_reply(MPT_ADAPTER *ioc, u8 type, SCSITaskMgmtReply_t *pScsiTmReply) argument 2009 mptscsih_taskmgmt_response_code(MPT_ADAPTER *ioc, u8 response_code) argument 2059 mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) argument 2129 mptscsih_is_phys_disk(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 2207 mptscsih_raid_id_to_num(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 2326 MPT_ADAPTER *ioc = hd->ioc; local 2373 MPT_ADAPTER *ioc = hd->ioc; local 2428 MPT_ADAPTER *ioc = hd->ioc; local 2484 mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i) argument 2506 mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i) argument 2528 mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd) argument 2543 SCPNT_TO_LOOKUP_IDX(MPT_ADAPTER *ioc, struct scsi_cmnd *sc) argument 2563 mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 2598 mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) argument 2640 mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument 2690 mptscsih_get_completion_code(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument 2802 MPT_ADAPTER *ioc = hd->ioc; local 3064 MPT_ADAPTER *ioc = hd->ioc; local 3080 MPT_ADAPTER *ioc = hd->ioc; local 3096 MPT_ADAPTER *ioc = hd->ioc; local 3109 MPT_ADAPTER *ioc = hd->ioc; local 3123 MPT_ADAPTER *ioc = hd->ioc; local 3137 MPT_ADAPTER *ioc = hd->ioc; local 3150 MPT_ADAPTER *ioc = hd->ioc; local 3162 MPT_ADAPTER *ioc = hd->ioc; local 3175 MPT_ADAPTER *ioc = hd->ioc; local 3188 MPT_ADAPTER *ioc = hd->ioc; local 3201 MPT_ADAPTER *ioc = hd->ioc; local 3214 MPT_ADAPTER *ioc = hd->ioc; local 3224 MPT_ADAPTER *ioc = hd->ioc; local [all...] |
H A D | mptsas.c | 112 static inline void mptsas_set_rphy(MPT_ADAPTER *ioc, 115 (MPT_ADAPTER *ioc, u64 sas_address); 116 static int mptsas_sas_device_pg0(MPT_ADAPTER *ioc, 118 static int mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc, 120 static int mptsas_add_end_device(MPT_ADAPTER *ioc, 122 static void mptsas_del_end_device(MPT_ADAPTER *ioc, 126 (MPT_ADAPTER *ioc, u64 sas_address); 127 static void mptsas_expander_delete(MPT_ADAPTER *ioc, 130 static void mptsas_not_responding_devices(MPT_ADAPTER *ioc); 131 static void mptsas_scan_sas_topology(MPT_ADAPTER *ioc); 137 mptsas_print_phy_data(MPT_ADAPTER *ioc, MPI_SAS_IO_UNIT0_PHY_DATA *phy_data) argument 161 mptsas_print_phy_pg0(MPT_ADAPTER *ioc, SasPhyPage0_t *pg0) argument 187 mptsas_print_phy_pg1(MPT_ADAPTER *ioc, SasPhyPage1_t *pg1) argument 204 mptsas_print_device_pg0(MPT_ADAPTER *ioc, SasDevicePage0_t *pg0) argument 238 mptsas_print_expander_pg1(MPT_ADAPTER *ioc, SasExpanderPage1_t *pg1) argument 261 mptsas_fw_event_off(MPT_ADAPTER *ioc) argument 274 mptsas_fw_event_on(MPT_ADAPTER *ioc) argument 285 mptsas_add_fw_event(MPT_ADAPTER *ioc, struct fw_event_work *fw_event, unsigned long delay) argument 303 mptsas_requeue_fw_event(MPT_ADAPTER *ioc, struct fw_event_work *fw_event, unsigned long delay) argument 319 mptsas_free_fw_event(MPT_ADAPTER *ioc, struct fw_event_work *fw_event) argument 334 mptsas_cleanup_fw_event_q(MPT_ADAPTER *ioc) argument 382 mptsas_find_portinfo_by_handle(MPT_ADAPTER *ioc, u16 handle) argument 406 mptsas_find_portinfo_by_sas_address(MPT_ADAPTER *ioc, u64 sas_address) argument 451 mptsas_port_delete(MPT_ADAPTER *ioc, struct mptsas_portinfo_details * port_details) argument 488 mptsas_set_rphy(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy) argument 514 mptsas_set_port(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_port *port) argument 554 mptsas_add_device_component(MPT_ADAPTER *ioc, u8 channel, u8 id, u64 sas_address, u32 device_info, u16 slot, u64 enclosure_logical_id) argument 619 mptsas_add_device_component_by_fw(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 651 mptsas_add_device_component_starget_ir(MPT_ADAPTER *ioc, struct scsi_target *starget) argument 755 mptsas_add_device_component_starget(MPT_ADAPTER *ioc, struct scsi_target *starget) argument 790 mptsas_del_device_component_by_os(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 810 mptsas_del_device_components(MPT_ADAPTER *ioc) argument 831 mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument 966 mptsas_find_vtarget(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 989 mptsas_queue_device_delete(MPT_ADAPTER *ioc, MpiEventDataSasDeviceStatusChange_t *sas_event_data) argument 1010 mptsas_queue_rescan(MPT_ADAPTER *ioc) argument 1040 mptsas_target_reset(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 1110 mptsas_target_reset_queue(MPT_ADAPTER *ioc, EVENT_DATA_SAS_DEVICE_STATUS_CHANGE *sas_event_data) argument 1159 MPT_ADAPTER *ioc = (MPT_ADAPTER *)(iocp); local 1194 mptsas_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) argument 1288 mptsas_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 1344 mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc, struct mptsas_enclosure *enclosure, u32 form, u32 form_specific) argument 1417 mptsas_add_end_device(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info) argument 1493 mptsas_del_end_device(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info) argument 1577 mptsas_refreshing_device_handles(MPT_ADAPTER *ioc, struct mptsas_devinfo *sas_device) argument 1622 MPT_ADAPTER *ioc = fw_event->ioc; local 1690 MPT_ADAPTER *ioc = hd->ioc; local 1725 MPT_ADAPTER *ioc = hd->ioc; local 1801 MPT_ADAPTER *ioc = hd->ioc; local 1852 MPT_ADAPTER *ioc = hd->ioc; local 1900 MPT_ADAPTER *ioc; local 1931 MPT_ADAPTER *ioc; local 2001 MPT_ADAPTER *ioc = phy_to_ioc(phy); local 2061 mptsas_mgmt_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) argument 2081 MPT_ADAPTER *ioc = phy_to_ioc(phy); local 2158 MPT_ADAPTER *ioc = rphy_to_ioc(rphy); local 2192 MPT_ADAPTER *ioc = rphy_to_ioc(rphy); local 2215 MPT_ADAPTER *ioc = ((MPT_SCSI_HOST *) shost->hostdata)->ioc; local 2361 mptsas_sas_io_unit_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument 2439 mptsas_sas_io_unit_pg1(MPT_ADAPTER *ioc) argument 2496 mptsas_sas_phy_pg0(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, u32 form, u32 form_specific) argument 2560 mptsas_sas_device_pg0(MPT_ADAPTER *ioc, struct mptsas_devinfo *device_info, u32 form, u32 form_specific) argument 2641 mptsas_sas_expander_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info, u32 form, u32 form_specific) argument 2724 mptsas_sas_expander_pg1(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, u32 form, u32 form_specific) argument 2834 mptsas_exp_repmanufacture_info(MPT_ADAPTER *ioc, u64 sas_address, struct sas_expander_device *edev) argument 3039 MPT_ADAPTER *ioc; local 3284 mptsas_probe_hba_phys(MPT_ADAPTER *ioc) argument 3359 mptsas_expander_refresh(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument 3417 mptsas_expander_event_add(MPT_ADAPTER *ioc, MpiEventDataSasExpanderStatusChange_t *expander_data) argument 3462 mptsas_delete_expander_siblings(MPT_ADAPTER *ioc, struct mptsas_portinfo *parent, struct mptsas_portinfo *expander) argument 3512 mptsas_expander_delete(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info, u8 force) argument 3608 MPT_ADAPTER *ioc; local 3650 mptsas_expander_add(MPT_ADAPTER *ioc, u16 handle) argument 3684 MPT_ADAPTER *ioc; local 3775 mptsas_not_responding_devices(MPT_ADAPTER *ioc) argument 3901 mptsas_probe_expanders(MPT_ADAPTER *ioc) argument 3950 mptsas_probe_devices(MPT_ADAPTER *ioc) argument 3993 mptsas_scan_sas_topology(MPT_ADAPTER *ioc) argument 4027 MPT_ADAPTER *ioc; local 4113 mptsas_find_phyinfo_by_sas_address(MPT_ADAPTER *ioc, u64 sas_address) argument 4145 mptsas_find_phyinfo_by_phys_disk_num(MPT_ADAPTER *ioc, u8 phys_disk_num, u8 channel, u8 id) argument 4227 mptsas_adding_inactive_raid_components(MPT_ADAPTER *ioc, u8 channel, u8 id) argument 4306 mptsas_hotplug_work(MPT_ADAPTER *ioc, struct fw_event_work *fw_event, struct mptsas_hotplug_event *hot_plug_info) argument 4572 MPT_ADAPTER *ioc; local 4638 MPT_ADAPTER *ioc; local 4765 mptsas_issue_tm(MPT_ADAPTER *ioc, u8 type, u8 channel, u8 id, u64 lun, int task_context, ulong timeout, u8 *issue_reset) argument 4841 MPT_ADAPTER *ioc = fw_event->ioc; local 4939 MPT_ADAPTER *ioc; local 4978 mptsas_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *reply) argument 5106 mptsas_volume_delete(MPT_ADAPTER *ioc, u8 id) argument 5134 MPT_ADAPTER *ioc; local 5321 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 5329 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local [all...] |
H A D | mptctl.c | 127 static int mptctl_do_fw_download(int ioc, char __user *ufwbuf, size_t fwlen); 129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc); 131 struct buflist *buflist, MPT_ADAPTER *ioc); 136 static int mptctl_ioc_reset(MPT_ADAPTER *ioc, int reset_phase); 141 static int mptctl_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); 170 * @ioc: Pointer to MPT adapter 179 mptctl_syscall_down(MPT_ADAPTER *ioc, int nonblock) argument 184 if (!mutex_trylock(&ioc->ioctl_cmds.mutex)) 187 if (mutex_lock_interruptible(&ioc->ioctl_cmds.mutex)) 201 mptctl_reply(MPT_ADAPTER *ioc, MPT_FRAME_HD argument 286 mptctl_taskmgmt_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) argument 316 mptctl_do_taskmgmt(MPT_ADAPTER *ioc, u8 tm_type, u8 bus_id, u8 target_id) argument 463 mptctl_timeout_expired(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) argument 524 mptctl_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 553 mptctl_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) argument 602 MPT_ADAPTER *ioc; local 787 mptctl_do_fw_download(int ioc, char __user *ufwbuf, size_t fwlen) argument 1025 kbuf_alloc_2_sgl(int bytes, u32 sgdir, int sge_offset, int *frags, struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) argument 1171 kfree_sgl(MptSge_t *sgl, dma_addr_t sgl_dma, struct buflist *buflist, MPT_ADAPTER *ioc) argument 1241 MPT_ADAPTER *ioc; local 1388 MPT_ADAPTER *ioc; local 1513 MPT_ADAPTER *ioc; local 1574 MPT_ADAPTER *ioc; local 1613 MPT_ADAPTER *ioc; local 1661 MPT_ADAPTER *ioc; local 1715 MPT_ADAPTER *ioc; local 1783 MPT_ADAPTER *ioc; local 1822 MPT_ADAPTER *ioc; local 2411 MPT_ADAPTER *ioc; local 2665 MPT_ADAPTER *ioc; local 2961 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local [all...] |
H A D | mptfc.c | 197 MPT_ADAPTER *ioc; local 201 ioc = hd->ioc; 204 || (loops > 0 && ioc->active == 0)) { 206 dfcprintk (ioc, printk(MYIOC_s_DEBUG_FMT 209 ioc->name, ioc->sh->host_no, 211 ready, ioc->active, caller)); 219 || ioc->active == 0) { 220 dfcprintk (ioc, print 291 mptfc_GetFcDevPage0(MPT_ADAPTER *ioc, int ioc_port, void(*func)(MPT_ADAPTER *ioc,int channel, FCDevicePage0_t *arg)) argument 430 mptfc_register_dev(MPT_ADAPTER *ioc, int channel, FCDevicePage0_t *pg0) argument 576 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, VirtTarget *vtarget) argument 612 MPT_ADAPTER *ioc; local 690 mptfc_display_port_link_speed(MPT_ADAPTER *ioc, int portnum, FCPortPage0_t *pp0dest) argument 739 mptfc_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum) argument 835 mptfc_WriteFcPortPage1(MPT_ADAPTER *ioc, int portnum) argument 878 mptfc_GetFcPortPage1(MPT_ADAPTER *ioc, int portnum) argument 953 mptfc_SetFcPortPage1_defaults(MPT_ADAPTER *ioc) argument 982 mptfc_init_host_attr(MPT_ADAPTER *ioc,int portnum) argument 1078 MPT_ADAPTER *ioc = local 1090 MPT_ADAPTER *ioc = local 1124 MPT_ADAPTER *ioc = local 1181 MPT_ADAPTER *ioc; local 1369 mptfc_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) argument 1411 mptfc_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 1498 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local [all...] |
H A D | mptspi.c | 111 MPT_ADAPTER *ioc = hd->ioc; local 112 SpiCfgData *pspi_data = &ioc->spi_data; 143 ddvprintk(ioc, 145 "byte56=%02x on id=%d!\n", ioc->name, 237 ddvprintk(ioc, printk(MYIOC_s_DEBUG_FMT 238 "Disabling QAS due to noQas=%02x on id=%d!\n", ioc->name, noQas, id)); 256 MPT_ADAPTER *ioc = hd->ioc; local 268 if ((mf = mpt_get_msg_frame(ioc 384 MPT_ADAPTER *ioc = hd->ioc; local 407 MPT_ADAPTER *ioc; local 523 struct _MPT_ADAPTER *ioc = hd->ioc; local 625 MPT_ADAPTER *ioc = hd->ioc; local 692 MPT_ADAPTER *ioc = hd->ioc; local 727 MPT_ADAPTER *ioc = hd->ioc; local 786 MPT_ADAPTER *ioc = hd->ioc; local 860 struct _MPT_ADAPTER *ioc = hd->ioc; local 1121 MPT_ADAPTER *ioc = hd->ioc; local 1160 MPT_ADAPTER *ioc = hd->ioc; local 1176 mptspi_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) argument 1271 MPT_ADAPTER *ioc = hd->ioc; local 1310 mptspi_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) argument 1337 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); local 1362 MPT_ADAPTER *ioc; local [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 71 static void bfa_ioc_hw_sem_init(struct bfa_ioc *ioc); 72 static void bfa_ioc_hw_sem_get(struct bfa_ioc *ioc); 73 static void bfa_ioc_hw_sem_get_cancel(struct bfa_ioc *ioc); 74 static void bfa_ioc_hwinit(struct bfa_ioc *ioc, bool force); 75 static void bfa_ioc_poll_fwinit(struct bfa_ioc *ioc); 76 static void bfa_ioc_send_enable(struct bfa_ioc *ioc); 77 static void bfa_ioc_send_disable(struct bfa_ioc *ioc); 78 static void bfa_ioc_send_getattr(struct bfa_ioc *ioc); 79 static void bfa_ioc_hb_monitor(struct bfa_ioc *ioc); 80 static void bfa_ioc_hb_stop(struct bfa_ioc *ioc); 228 bfa_ioc_sm_uninit_entry(struct bfa_ioc *ioc) argument 234 bfa_ioc_sm_uninit(struct bfa_ioc *ioc, enum ioc_event event) argument 248 bfa_ioc_sm_reset_entry(struct bfa_ioc *ioc) argument 255 bfa_ioc_sm_reset(struct bfa_ioc *ioc, enum ioc_event event) argument 276 bfa_ioc_sm_enabling_entry(struct bfa_ioc *ioc) argument 285 bfa_ioc_sm_enabling(struct bfa_ioc *ioc, enum ioc_event event) argument 325 bfa_ioc_sm_getattr_entry(struct bfa_ioc *ioc) argument 334 bfa_ioc_sm_getattr(struct bfa_ioc *ioc, enum ioc_event event) argument 367 bfa_ioc_sm_op_entry(struct bfa_ioc *ioc) argument 375 bfa_ioc_sm_op(struct bfa_ioc *ioc, enum ioc_event event) argument 408 bfa_ioc_sm_disabling_entry(struct bfa_ioc *ioc) argument 415 bfa_ioc_sm_disabling(struct bfa_ioc *ioc, enum ioc_event event) argument 443 bfa_ioc_sm_disabled_entry(struct bfa_ioc *ioc) argument 449 bfa_ioc_sm_disabled(struct bfa_ioc *ioc, enum ioc_event event) argument 471 bfa_ioc_sm_fail_retry_entry(struct bfa_ioc *ioc) argument 477 bfa_ioc_sm_fail_retry(struct bfa_ioc *ioc, enum ioc_event event) argument 518 bfa_ioc_sm_fail_entry(struct bfa_ioc *ioc) argument 524 bfa_ioc_sm_fail(struct bfa_ioc *ioc, enum ioc_event event) argument 550 bfa_ioc_sm_hwfail_entry(struct bfa_ioc *ioc) argument 556 bfa_ioc_sm_hwfail(struct bfa_ioc *ioc, enum ioc_event event) argument 616 struct bfa_ioc *ioc = iocpf->ioc; local 674 struct bfa_ioc *ioc = iocpf->ioc; local 708 struct bfa_ioc *ioc = iocpf->ioc; local 750 struct bfa_ioc *ioc = iocpf->ioc; local 793 struct bfa_ioc *ioc = iocpf->ioc; local 864 struct bfa_ioc *ioc = iocpf->ioc; local 901 struct bfa_ioc *ioc = iocpf->ioc; local 934 struct bfa_ioc *ioc = iocpf->ioc; local 962 struct bfa_ioc *ioc = iocpf->ioc; local 1006 struct bfa_ioc *ioc = iocpf->ioc; local 1042 struct bfa_ioc *ioc = iocpf->ioc; local 1104 bfa_ioc_event_notify(struct bfa_ioc *ioc, enum bfa_ioc_event event) argument 1116 bfa_ioc_disable_comp(struct bfa_ioc *ioc) argument 1152 bfa_ioc_fwver_clear(struct bfa_ioc *ioc) argument 1169 bfa_ioc_hw_sem_init(struct bfa_ioc *ioc) argument 1209 bfa_ioc_hw_sem_get(struct bfa_ioc *ioc) argument 1232 bfa_nw_ioc_hw_sem_release(struct bfa_ioc *ioc) argument 1238 bfa_ioc_hw_sem_get_cancel(struct bfa_ioc *ioc) argument 1245 bfa_ioc_lmem_init(struct bfa_ioc *ioc) argument 1281 bfa_ioc_lpu_start(struct bfa_ioc *ioc) argument 1295 bfa_ioc_lpu_stop(struct bfa_ioc *ioc) argument 1310 bfa_nw_ioc_fwver_get(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) argument 1767 bfa_nw_ioc_flash_img_get_chnk(struct bfa_ioc *ioc, u32 off, u32 *fwimg) argument 1776 bfa_ioc_flash_fwver_cmp(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *base_fwhdr) argument 1798 bfa_nw_ioc_fwver_cmp(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) argument 1832 bfa_ioc_fwver_valid(struct bfa_ioc *ioc, u32 boot_env) argument 1845 bfa_ioc_msgflush(struct bfa_ioc *ioc) argument 1855 bfa_ioc_hwinit(struct bfa_ioc *ioc, bool force) argument 1916 struct bfa_ioc *ioc = (struct bfa_ioc *) ioc_arg; local 1922 bfa_ioc_mbox_send(struct bfa_ioc *ioc, void *ioc_msg, int len) argument 1947 bfa_ioc_send_enable(struct bfa_ioc *ioc) argument 1961 bfa_ioc_send_disable(struct bfa_ioc *ioc) argument 1971 bfa_ioc_send_getattr(struct bfa_ioc *ioc) argument 1984 struct bfa_ioc *ioc = cbarg; local 2001 bfa_ioc_hb_monitor(struct bfa_ioc *ioc) argument 2009 bfa_ioc_hb_stop(struct bfa_ioc *ioc) argument 2016 bfa_ioc_download_fw(struct bfa_ioc *ioc, u32 boot_type, u32 boot_env) argument 2109 bfa_ioc_reset(struct bfa_ioc *ioc, bool force) argument 2116 bfa_ioc_enable_reply(struct bfa_ioc *ioc, enum bfa_mode port_mode, u8 cap_bm) argument 2128 bfa_ioc_getattr_reply(struct bfa_ioc *ioc) argument 2141 bfa_ioc_mbox_attach(struct bfa_ioc *ioc) argument 2155 bfa_ioc_mbox_poll(struct bfa_ioc *ioc) argument 2195 bfa_ioc_mbox_flush(struct bfa_ioc *ioc) argument 2213 bfa_nw_ioc_smem_read(struct bfa_ioc *ioc, void *tbuf, u32 soff, u32 sz) argument 2259 bfa_nw_ioc_debug_fwtrc(struct bfa_ioc *ioc, void *trcdata, int *trclen) argument 2275 bfa_nw_ioc_debug_save_ftrc(struct bfa_ioc *ioc) argument 2290 bfa_nw_ioc_debug_fwsave(struct bfa_ioc *ioc, void *trcdata, int *trclen) argument 2307 bfa_ioc_fail_notify(struct bfa_ioc *ioc) argument 2319 bfa_ioc_pf_enabled(struct bfa_ioc *ioc) argument 2325 bfa_ioc_pf_disabled(struct bfa_ioc *ioc) argument 2331 bfa_ioc_pf_failed(struct bfa_ioc *ioc) argument 2337 bfa_ioc_pf_hwfailed(struct bfa_ioc *ioc) argument 2343 bfa_ioc_pf_fwmismatch(struct bfa_ioc *ioc) argument 2353 bfa_ioc_pll_init(struct bfa_ioc *ioc) argument 2379 bfa_ioc_boot(struct bfa_ioc *ioc, enum bfi_fwboot_type boot_type, u32 boot_env) argument 2429 bfa_ioc_msgget(struct bfa_ioc *ioc, void *mbmsg) argument 2459 bfa_ioc_isr(struct bfa_ioc *ioc, struct bfi_mbmsg *m) argument 2498 bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa, struct bfa_ioc_cbfn *cbfn) argument 2516 bfa_nw_ioc_detach(struct bfa_ioc *ioc) argument 2530 bfa_nw_ioc_pci_init(struct bfa_ioc *ioc, struct bfa_pcidev *pcidev, enum bfi_pcifn_class clscode) argument 2600 bfa_nw_ioc_mem_claim(struct bfa_ioc *ioc, u8 *dm_kva, u64 dm_pa) argument 2618 bfa_nw_ioc_enable(struct bfa_ioc *ioc) argument 2627 bfa_nw_ioc_disable(struct bfa_ioc *ioc) argument 2635 bfa_nw_ioc_debug_memclaim(struct bfa_ioc *ioc, void *dbg_fwsave) argument 2642 bfa_ioc_smem_pgnum(struct bfa_ioc *ioc, u32 fmaddr) argument 2649 bfa_nw_ioc_mbox_regisr(struct bfa_ioc *ioc, enum bfi_mclass mc, bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) argument 2667 bfa_nw_ioc_mbox_queue(struct bfa_ioc *ioc, struct bfa_mbox_cmd *cmd, bfa_mbox_cmd_cbfn_t cbfn, void *cbarg) argument 2703 bfa_nw_ioc_mbox_isr(struct bfa_ioc *ioc) argument 2734 bfa_nw_ioc_error_isr(struct bfa_ioc *ioc) argument 2743 bfa_nw_ioc_is_disabled(struct bfa_ioc *ioc) argument 2751 bfa_nw_ioc_is_operational(struct bfa_ioc *ioc) argument 2760 bfa_nw_ioc_notify_register(struct bfa_ioc *ioc, struct bfa_ioc_notify *notify) argument 2768 bfa_ioc_get_adapter_attr(struct bfa_ioc *ioc, struct bfa_adapter_attr *ad_attr) argument 2809 bfa_ioc_get_type(struct bfa_ioc *ioc) argument 2821 bfa_ioc_get_adapter_serial_num(struct bfa_ioc *ioc, char *serial_num) argument 2829 bfa_ioc_get_adapter_fw_ver(struct bfa_ioc *ioc, char *fw_ver) argument 2835 bfa_ioc_get_pci_chip_rev(struct bfa_ioc *ioc, char *chip_rev) argument 2850 bfa_ioc_get_adapter_optrom_ver(struct bfa_ioc *ioc, char *optrom_ver) argument 2857 bfa_ioc_get_adapter_manufacturer(struct bfa_ioc *ioc, char *manufacturer) argument 2863 bfa_ioc_get_adapter_model(struct bfa_ioc *ioc, char *model) argument 2877 bfa_ioc_get_state(struct bfa_ioc *ioc) argument 2916 bfa_nw_ioc_get_attr(struct bfa_ioc *ioc, struct bfa_ioc_attr *ioc_attr) argument 2939 bfa_ioc_get_pwwn(struct bfa_ioc *ioc) argument 2945 bfa_nw_ioc_get_mac(struct bfa_ioc *ioc) argument 2952 bfa_ioc_recover(struct bfa_ioc *ioc) argument 2963 bfa_iocpf_enable(struct bfa_ioc *ioc) argument 2969 bfa_iocpf_disable(struct bfa_ioc *ioc) argument 2975 bfa_iocpf_fail(struct bfa_ioc *ioc) argument 2981 bfa_iocpf_initfail(struct bfa_ioc *ioc) argument 2987 bfa_iocpf_getattrfail(struct bfa_ioc *ioc) argument 2993 bfa_iocpf_stop(struct bfa_ioc *ioc) argument 3001 struct bfa_ioc *ioc = (struct bfa_ioc *) ioc_arg; local 3015 struct bfa_ioc *ioc = (struct bfa_ioc *) ioc_arg; local 3021 bfa_ioc_poll_fwinit(struct bfa_ioc *ioc) argument 3239 bfa_nw_flash_attach(struct bfa_flash *flash, struct bfa_ioc *ioc, void *dev) argument [all...] |
H A D | bfa_ioc_ct.c | 37 static bool bfa_ioc_ct_firmware_lock(struct bfa_ioc *ioc); 38 static void bfa_ioc_ct_firmware_unlock(struct bfa_ioc *ioc); 39 static void bfa_ioc_ct_reg_init(struct bfa_ioc *ioc); 40 static void bfa_ioc_ct2_reg_init(struct bfa_ioc *ioc); 41 static void bfa_ioc_ct_map_port(struct bfa_ioc *ioc); 42 static void bfa_ioc_ct2_map_port(struct bfa_ioc *ioc); 43 static void bfa_ioc_ct_isr_mode_set(struct bfa_ioc *ioc, bool msix); 44 static void bfa_ioc_ct_notify_fail(struct bfa_ioc *ioc); 45 static void bfa_ioc_ct_ownership_reset(struct bfa_ioc *ioc); 46 static bool bfa_ioc_ct_sync_start(struct bfa_ioc *ioc); 106 bfa_nw_ioc_set_ct_hwif(struct bfa_ioc *ioc) argument 112 bfa_nw_ioc_set_ct2_hwif(struct bfa_ioc *ioc) argument 119 bfa_ioc_ct_firmware_lock(struct bfa_ioc *ioc) argument 171 bfa_ioc_ct_firmware_unlock(struct bfa_ioc *ioc) argument 197 bfa_ioc_ct_notify_fail(struct bfa_ioc *ioc) argument 257 bfa_ioc_ct_reg_init(struct bfa_ioc *ioc) argument 316 bfa_ioc_ct2_reg_init(struct bfa_ioc *ioc) argument 377 bfa_ioc_ct_map_port(struct bfa_ioc *ioc) argument 392 bfa_ioc_ct2_map_port(struct bfa_ioc *ioc) argument 403 bfa_ioc_ct_isr_mode_set(struct bfa_ioc *ioc, bool msix) argument 431 bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc *ioc) argument 453 bfa_nw_ioc_ct2_poweron(struct bfa_ioc *ioc) argument 474 bfa_ioc_ct_ownership_reset(struct bfa_ioc *ioc) argument 491 bfa_ioc_ct_sync_start(struct bfa_ioc *ioc) argument 515 bfa_ioc_ct_sync_join(struct bfa_ioc *ioc) argument 524 bfa_ioc_ct_sync_leave(struct bfa_ioc *ioc) argument 534 bfa_ioc_ct_sync_ack(struct bfa_ioc *ioc) argument 542 bfa_ioc_ct_sync_complete(struct bfa_ioc *ioc) argument 583 bfa_ioc_ct_set_cur_ioc_fwstate(struct bfa_ioc *ioc, enum bfi_ioc_state fwstate) argument 590 bfa_ioc_ct_get_cur_ioc_fwstate(struct bfa_ioc *ioc) argument 596 bfa_ioc_ct_set_alt_ioc_fwstate(struct bfa_ioc *ioc, enum bfi_ioc_state fwstate) argument 603 bfa_ioc_ct_get_alt_ioc_fwstate(struct bfa_ioc *ioc) argument [all...] |
H A D | bfa_ioc.h | 159 struct bfa_ioc *ioc; member in struct:bfa_iocpf 204 bool (*ioc_firmware_lock) (struct bfa_ioc *ioc); 205 void (*ioc_firmware_unlock) (struct bfa_ioc *ioc); 206 void (*ioc_reg_init) (struct bfa_ioc *ioc); 207 void (*ioc_map_port) (struct bfa_ioc *ioc); 208 void (*ioc_isr_mode_set) (struct bfa_ioc *ioc, 210 void (*ioc_notify_fail) (struct bfa_ioc *ioc); 211 void (*ioc_ownership_reset) (struct bfa_ioc *ioc); 212 bool (*ioc_sync_start) (struct bfa_ioc *ioc); 213 void (*ioc_sync_join) (struct bfa_ioc *ioc); 336 struct bfa_ioc *ioc; /* back pointer to ioc */ member in struct:bfa_flash [all...] |
/drivers/parisc/ |
H A D | ccio-dma.c | 225 struct ioc { struct 253 struct ioc *next; /* Linked list of discovered iocs */ 255 unsigned int hw_path; /* the hardware path this ioc is associatd with */ 260 static struct ioc *ioc_list; 295 #define CCIO_SEARCH_LOOP(ioc, res_idx, mask, size) \ 299 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \ 304 ioc->res_hint = res_idx + (size >> 3); \ 310 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \ 311 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \ 312 CCIO_SEARCH_LOOP(ioc, res_id 340 ccio_alloc_range(struct ioc *ioc, struct device *dev, size_t size) argument 432 ccio_free_range(struct ioc *ioc, dma_addr_t iova, unsigned long pages_mapped) argument 631 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) argument 664 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) argument 737 struct ioc *ioc; local 804 struct ioc *ioc; local 904 struct ioc *ioc; local 981 struct ioc *ioc; local 1025 struct ioc *ioc = ioc_list; local 1105 struct ioc *ioc = ioc_list; local 1149 struct ioc *ioc; local 1188 struct ioc *ioc = ccio_get_iommu(dev); local 1253 ccio_ioc_init(struct ioc *ioc) argument 1406 ccio_init_resources(struct ioc *ioc) argument 1473 struct ioc *ioc = ccio_get_iommu(dev); local 1510 struct ioc *ioc = ccio_get_iommu(dev); local 1543 struct ioc *ioc, **ioc_p = &ioc_list; local [all...] |
H A D | sba_iommu.c | 191 * @ioc: IO MMU structure which owns the pdir we are interested in. 198 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) argument 201 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); 202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); 224 * @ioc: IO MMU structure which owns the pdir we are interested in. 230 sba_check_pdir(struct ioc *ioc, char *msg) argument 232 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc 274 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) argument 319 ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, unsigned int bitshiftcnt) argument 336 sba_search_bitmap(struct ioc *ioc, struct device *dev, unsigned long bits_wanted) argument 435 sba_alloc_range(struct ioc *ioc, struct device *dev, size_t size) argument 489 sba_free_range(struct ioc *ioc, dma_addr_t iova, size_t size) argument 610 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) argument 677 struct ioc *ioc; local 717 struct ioc *ioc; local 796 struct ioc *ioc; local 938 struct ioc *ioc; local 1022 struct ioc *ioc; local 1212 struct ioc *ioc; member in struct:ibase_data_struct 1230 setup_ibase_imask(struct parisc_device *sba, struct ioc *ioc, int ioc_num) argument 1255 sba_ioc_init_pluto(struct parisc_device *sba, struct ioc *ioc, int ioc_num) argument 1376 sba_ioc_init(struct parisc_device *sba, struct ioc *ioc, int ioc_num) argument 1772 struct ioc *ioc = &sba_dev->ioc[0]; /* FIXME: Multi-IOC support! */ local 1859 struct ioc *ioc = &sba_dev->ioc[0]; /* FIXME: Multi-IOC support! */ local [all...] |