Home
last modified time | relevance | path

Searched refs:ctrl_info (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/smartpqi/
Dsmartpqi_init.c69 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info,
72 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info);
74 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info,
77 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info,
80 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info,
84 static int pqi_aio_submit_r1_write_io(struct pqi_ctrl_info *ctrl_info,
88 static int pqi_aio_submit_r56_write_io(struct pqi_ctrl_info *ctrl_info,
92 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info);
93 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info);
94 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info, unsigned int delay_secs);
[all …]
Dsmartpqi_sis.c91 static int sis_wait_for_ctrl_ready_with_timeout(struct pqi_ctrl_info *ctrl_info, in sis_wait_for_ctrl_ready_with_timeout() argument
100 status = readl(&ctrl_info->registers->sis_firmware_status); in sis_wait_for_ctrl_ready_with_timeout()
103 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
106 &ctrl_info->registers->sis_mailbox[7])); in sis_wait_for_ctrl_ready_with_timeout()
113 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
124 int sis_wait_for_ctrl_ready(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready() argument
126 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready()
130 int sis_wait_for_ctrl_ready_resume(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready_resume() argument
132 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready_resume()
136 bool sis_is_firmware_running(struct pqi_ctrl_info *ctrl_info) in sis_is_firmware_running() argument
[all …]
Dsmartpqi_sis.h16 int sis_wait_for_ctrl_ready(struct pqi_ctrl_info *ctrl_info);
17 int sis_wait_for_ctrl_ready_resume(struct pqi_ctrl_info *ctrl_info);
18 bool sis_is_firmware_running(struct pqi_ctrl_info *ctrl_info);
19 bool sis_is_kernel_up(struct pqi_ctrl_info *ctrl_info);
20 int sis_get_ctrl_properties(struct pqi_ctrl_info *ctrl_info);
21 int sis_get_pqi_capabilities(struct pqi_ctrl_info *ctrl_info);
22 int sis_init_base_struct_addr(struct pqi_ctrl_info *ctrl_info);
23 void sis_enable_msix(struct pqi_ctrl_info *ctrl_info);
24 void sis_enable_intx(struct pqi_ctrl_info *ctrl_info);
25 void sis_shutdown_ctrl(struct pqi_ctrl_info *ctrl_info,
[all …]
Dsmartpqi_sas_transport.c208 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy) in pqi_find_device_by_sas_rphy() argument
212 list_for_each_entry(device, &ctrl_info->scsi_device_list, in pqi_find_device_by_sas_rphy()
223 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info) in pqi_add_sas_host() argument
238 ctrl_info->sas_address, NULL); in pqi_add_sas_host()
254 ctrl_info->sas_host = pqi_sas_node; in pqi_add_sas_host()
268 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info) in pqi_delete_sas_host() argument
270 pqi_free_sas_node(ctrl_info->sas_host); in pqi_delete_sas_host()
328 struct pqi_ctrl_info *ctrl_info; in pqi_sas_get_enclosure_identifier() local
336 ctrl_info = shost_to_hba(shost); in pqi_sas_get_enclosure_identifier()
337 spin_lock_irqsave(&ctrl_info->scsi_device_list_lock, flags); in pqi_sas_get_enclosure_identifier()
[all …]
Dsmartpqi.h755 struct pqi_ctrl_info *ctrl_info; /* backpointer */ member
1093 struct pqi_ctrl_info *ctrl_info; member
1689 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info);
1690 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info);
1695 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy);
1697 int pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info,
/drivers/pci/hotplug/
Dpciehp_ctrl.c169 ctrl_info(ctrl, "Slot(%s): Button press: will power off in 5 sec\n", in pciehp_handle_button_press()
173 ctrl_info(ctrl, "Slot(%s): Button press: will power on in 5 sec\n", in pciehp_handle_button_press()
193 ctrl_info(ctrl, "Slot(%s): Button press: canceling request to power off\n", in pciehp_handle_button_press()
199 ctrl_info(ctrl, "Slot(%s): Button press: canceling request to power on\n", in pciehp_handle_button_press()
243 ctrl_info(ctrl, "Slot(%s): Link Down\n", in pciehp_handle_presence_or_link_change()
246 ctrl_info(ctrl, "Slot(%s): Card not present\n", in pciehp_handle_presence_or_link_change()
265 ctrl_info(ctrl, "Slot(%s): Card not present\n", in pciehp_handle_presence_or_link_change()
280 ctrl_info(ctrl, "Slot(%s): Card present\n", in pciehp_handle_presence_or_link_change()
283 ctrl_info(ctrl, "Slot(%s): Link Up\n", in pciehp_handle_presence_or_link_change()
300 ctrl_info(ctrl, "Slot(%s): Latch open\n", in __pciehp_enable_slot()
[all …]
Dshpchp_ctrl.c59 ctrl_info(ctrl, "Button pressed on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_attention_button()
87 ctrl_info(ctrl, "Latch open on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_switch_change()
97 ctrl_info(ctrl, "Latch close on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_switch_change()
124 ctrl_info(ctrl, "Card present on Slot(%s)\n", in shpchp_handle_presence_change()
131 ctrl_info(ctrl, "Card not present on Slot(%s)\n", in shpchp_handle_presence_change()
155 ctrl_info(ctrl, "Power fault cleared on Slot(%s)\n", in shpchp_handle_power_fault()
163 ctrl_info(ctrl, "Power fault on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_power_fault()
167 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot); in shpchp_handle_power_fault()
468 ctrl_info(ctrl, "PCI slot #%s - powering off due to button press\n", in handle_button_press_event()
472 ctrl_info(ctrl, "PCI slot #%s - powering on due to button press\n", in handle_button_press_event()
[all …]
Dpciehp_hpc.c93 ctrl_info(ctrl, "%s: no response from device\n", in pcie_poll_cmd()
146 ctrl_info(ctrl, "Timeout on hotplug command %#06x (issued %u msec ago)\n", in pcie_wait_cmd()
171 ctrl_info(ctrl, "%s: no response from device\n", __func__); in pcie_do_write_cmd()
297 ctrl_info(ctrl, "Slot(%s): No link\n", slot_name(ctrl)); in pciehp_check_link_status()
316 ctrl_info(ctrl, "Slot(%s): Cannot train link: status %#06x\n", in pciehp_check_link_status()
324 ctrl_info(ctrl, "Slot(%s): No device found\n", in pciehp_check_link_status()
574 ctrl_info(ctrl, "Slot(%s): Link Down/Up ignored (recovered by DPC)\n", in pciehp_ignore_dpc_link_change()
621 ctrl_info(ctrl, "%s: no response from device\n", __func__); in pciehp_isr()
1030ctrl_info(ctrl, "Slot #%d AttnBtn%c PwrCtrl%c MRL%c AttnInd%c PwrInd%c HotPlug%c Surprise%c Interl… in pcie_init()
Dshpchp_hpc.c282 ctrl_info(ctrl, "Command was interrupted by a signal\n"); in shpc_wait_cmd()
949 ctrl_info(ctrl, "HPC vendor_id %x device_id %x ss_vid %x ss_did %x\n", in shpc_init()
1023 ctrl_info(ctrl, "Can't get msi for the hotplug controller\n"); in shpc_init()
1024 ctrl_info(ctrl, "Use INTx for the hotplug controller\n"); in shpc_init()
Dpciehp.h39 #define ctrl_info(ctrl, format, arg...) \ macro
Dshpchp.h56 #define ctrl_info(ctrl, format, arg...) \ macro
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c56 #define CMDQ_WQE_COMPLETED(ctrl_info) \ argument
57 HINIC_CMDQ_CTRL_GET(ctrl_info, HW_BUSY_BIT)
204 ctrl->ctrl_info = HINIC_CMDQ_CTRL_SET(prod_idx, PI) | in cmdq_prepare_wqe_ctrl()
550 ctrl->ctrl_info = 0; in clear_wqe_complete_bit()
568 u32 ctrl_info; in cmdq_arm_ceq_handler() local
572 ctrl_info = be32_to_cpu(ctrl->ctrl_info); in cmdq_arm_ceq_handler()
575 if (!CMDQ_WQE_COMPLETED(ctrl_info)) in cmdq_arm_ceq_handler()
620 if (!CMDQ_WQE_COMPLETED(be32_to_cpu(ctrl->ctrl_info))) in cmdq_cmd_ceq_handler()
Dhinic_hw_wqe.h305 u32 ctrl_info; member
364 u32 ctrl_info; member
401 u32 ctrl_info; member
Dhinic_hw_qp.c484 ctrl->ctrl_info = HINIC_SQ_CTRL_SET(bufdesc_size, BUFDESC_SECT_LEN) | in sq_prepare_ctrl()
719 u32 ctrl_info; in hinic_sq_read_wqebb() local
730 ctrl_info = be32_to_cpu(ctrl->ctrl_info); in hinic_sq_read_wqebb()
731 buf_sect_len = HINIC_SQ_CTRL_GET(ctrl_info, BUFDESC_SECT_LEN); in hinic_sq_read_wqebb()
949 ctrl->ctrl_info = in hinic_rq_prepare_wqe()
/drivers/crypto/cavium/cpt/
Drequest_manager.h20 union ctrl_info { union
62 union ctrl_info ctrl; /* User control information */
Dcptvf_reqmanager.c411 union ctrl_info *ctrl = NULL; in process_request()
427 ctrl = (union ctrl_info *)&req->ctrl; in process_request()
/drivers/net/wireless/ath/ath11k/
Dhtc.h60 u32 ctrl_info; member
Dhtc.c70 hdr->ctrl_info = FIELD_PREP(HTC_HDR_CONTROLBYTES1, ep->seq_no++); in ath11k_htc_prepare_tx_skb()
334 trailer_len = FIELD_GET(HTC_HDR_CONTROLBYTES0, hdr->ctrl_info); in ath11k_htc_rx_completion_handler()
/drivers/net/wireless/ath/ath12k/
Dhtc.h60 __le32 ctrl_info; member
Dhtc.c70 hdr->ctrl_info = le32_encode_bits(ep->seq_no++, HTC_HDR_CONTROLBYTES1); in ath12k_htc_prepare_tx_skb()
293 trailer_len = le32_get_bits(hdr->ctrl_info, in ath12k_htc_rx_completion_handler()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c6017 struct megasas_ctrl_info *ctrl_info = NULL; in megasas_init_fw() local
6402 ctrl_info = instance->ctrl_info_buf; in megasas_init_fw()
6404 max_sectors_1 = (1 << ctrl_info->stripe_sz_ops.min) * in megasas_init_fw()
6405 le16_to_cpu(ctrl_info->max_strips_per_io); in megasas_init_fw()
6406 max_sectors_2 = le32_to_cpu(ctrl_info->max_request_size); in megasas_init_fw()
6410 instance->peerIsPresent = ctrl_info->cluster.peerIsPresent; in megasas_init_fw()
6411 instance->passive = ctrl_info->cluster.passive; in megasas_init_fw()
6412 memcpy(instance->clusterId, ctrl_info->clusterId, sizeof(instance->clusterId)); in megasas_init_fw()
6414 ctrl_info->adapterOperations2.supportUnevenSpans; in megasas_init_fw()
6423 if (ctrl_info->host_interface.SRIOV) { in megasas_init_fw()
[all …]