Home
last modified time | relevance | path

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

/drivers/scsi/smartpqi/
Dsmartpqi_init.c57 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info);
59 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info);
61 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info,
64 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info,
67 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info,
71 static int pqi_aio_submit_r1_write_io(struct pqi_ctrl_info *ctrl_info,
75 static int pqi_aio_submit_r56_write_io(struct pqi_ctrl_info *ctrl_info,
79 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info);
80 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info);
81 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info, unsigned int delay_secs);
[all …]
Dsmartpqi_sis.c89 static int sis_wait_for_ctrl_ready_with_timeout(struct pqi_ctrl_info *ctrl_info, in sis_wait_for_ctrl_ready_with_timeout() argument
98 status = readl(&ctrl_info->registers->sis_firmware_status); in sis_wait_for_ctrl_ready_with_timeout()
101 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
104 &ctrl_info->registers->sis_mailbox[7])); in sis_wait_for_ctrl_ready_with_timeout()
111 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
122 int sis_wait_for_ctrl_ready(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready() argument
124 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready()
128 int sis_wait_for_ctrl_ready_resume(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready_resume() argument
130 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready_resume()
134 bool sis_is_firmware_running(struct pqi_ctrl_info *ctrl_info) in sis_is_firmware_running() argument
[all …]
Dsmartpqi_sis.h15 int sis_wait_for_ctrl_ready(struct pqi_ctrl_info *ctrl_info);
16 int sis_wait_for_ctrl_ready_resume(struct pqi_ctrl_info *ctrl_info);
17 bool sis_is_firmware_running(struct pqi_ctrl_info *ctrl_info);
18 bool sis_is_kernel_up(struct pqi_ctrl_info *ctrl_info);
19 int sis_get_ctrl_properties(struct pqi_ctrl_info *ctrl_info);
20 int sis_get_pqi_capabilities(struct pqi_ctrl_info *ctrl_info);
21 int sis_init_base_struct_addr(struct pqi_ctrl_info *ctrl_info);
22 void sis_enable_msix(struct pqi_ctrl_info *ctrl_info);
23 void sis_enable_intx(struct pqi_ctrl_info *ctrl_info);
24 void sis_shutdown_ctrl(struct pqi_ctrl_info *ctrl_info);
[all …]
Dsmartpqi_sas_transport.c210 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy) in pqi_find_device_by_sas_rphy() argument
214 list_for_each_entry(device, &ctrl_info->scsi_device_list, in pqi_find_device_by_sas_rphy()
225 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info) in pqi_add_sas_host() argument
240 ctrl_info->sas_address, NULL); in pqi_add_sas_host()
256 ctrl_info->sas_host = pqi_sas_node; in pqi_add_sas_host()
270 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info) in pqi_delete_sas_host() argument
272 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.h741 struct pqi_ctrl_info *ctrl_info; /* backpointer */ member
1629 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info);
1630 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info);
1635 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy);
1637 int pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info,
/drivers/pci/hotplug/
Dpciehp_ctrl.c169 ctrl_info(ctrl, "Slot(%s): Powering off due to button press\n", in pciehp_handle_button_press()
173 ctrl_info(ctrl, "Slot(%s) Powering on due to button press\n", in pciehp_handle_button_press()
188 ctrl_info(ctrl, "Slot(%s): Button cancel\n", slot_name(ctrl)); in pciehp_handle_button_press()
199 ctrl_info(ctrl, "Slot(%s): Action canceled due to button press\n", in pciehp_handle_button_press()
242 ctrl_info(ctrl, "Slot(%s): Link Down\n", in pciehp_handle_presence_or_link_change()
245 ctrl_info(ctrl, "Slot(%s): Card not present\n", in pciehp_handle_presence_or_link_change()
264 ctrl_info(ctrl, "Slot(%s): Card not present\n", in pciehp_handle_presence_or_link_change()
279 ctrl_info(ctrl, "Slot(%s): Card present\n", in pciehp_handle_presence_or_link_change()
282 ctrl_info(ctrl, "Slot(%s): Link Up\n", in pciehp_handle_presence_or_link_change()
299 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()
720 ctrl_info(ctrl, "Slot(%s): Attention button pressed\n", in pciehp_ist()
1034ctrl_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()
967 ctrl_info(ctrl, "HPC vendor_id %x device_id %x ss_vid %x ss_did %x\n", in shpc_init()
1041 ctrl_info(ctrl, "Can't get msi for the hotplug controller\n"); in shpc_init()
1042 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)
209 ctrl->ctrl_info = HINIC_CMDQ_CTRL_SET(prod_idx, PI) | in cmdq_prepare_wqe_ctrl()
555 ctrl->ctrl_info = 0; in clear_wqe_complete_bit()
573 u32 ctrl_info; in cmdq_arm_ceq_handler() local
577 ctrl_info = be32_to_cpu(ctrl->ctrl_info); in cmdq_arm_ceq_handler()
580 if (!CMDQ_WQE_COMPLETED(ctrl_info)) in cmdq_arm_ceq_handler()
625 if (!CMDQ_WQE_COMPLETED(be32_to_cpu(ctrl->ctrl_info))) in cmdq_cmd_ceq_handler()
Dhinic_hw_wqe.h330 u32 ctrl_info; member
389 u32 ctrl_info; member
426 u32 ctrl_info; member
Dhinic_hw_qp.c485 ctrl->ctrl_info = HINIC_SQ_CTRL_SET(bufdesc_size, BUFDESC_SECT_LEN) | in sq_prepare_ctrl()
722 u32 ctrl_info; in hinic_sq_read_wqebb() local
733 ctrl_info = be32_to_cpu(ctrl->ctrl_info); in hinic_sq_read_wqebb()
734 buf_sect_len = HINIC_SQ_CTRL_GET(ctrl_info, BUFDESC_SECT_LEN); in hinic_sq_read_wqebb()
952 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.h59 u32 ctrl_info; member
Dhtc.c70 hdr->ctrl_info = FIELD_PREP(HTC_HDR_CONTROLBYTES1, ep->seq_no++); in ath11k_htc_prepare_tx_skb()
294 trailer_len = FIELD_GET(HTC_HDR_CONTROLBYTES0, hdr->ctrl_info); in ath11k_htc_rx_completion_handler()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c6022 struct megasas_ctrl_info *ctrl_info = NULL; in megasas_init_fw() local
6407 ctrl_info = instance->ctrl_info_buf; in megasas_init_fw()
6409 max_sectors_1 = (1 << ctrl_info->stripe_sz_ops.min) * in megasas_init_fw()
6410 le16_to_cpu(ctrl_info->max_strips_per_io); in megasas_init_fw()
6411 max_sectors_2 = le32_to_cpu(ctrl_info->max_request_size); in megasas_init_fw()
6415 instance->peerIsPresent = ctrl_info->cluster.peerIsPresent; in megasas_init_fw()
6416 instance->passive = ctrl_info->cluster.passive; in megasas_init_fw()
6417 memcpy(instance->clusterId, ctrl_info->clusterId, sizeof(instance->clusterId)); in megasas_init_fw()
6419 ctrl_info->adapterOperations2.supportUnevenSpans; in megasas_init_fw()
6428 if (ctrl_info->host_interface.SRIOV) { in megasas_init_fw()
[all …]