Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_init.c67 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info,
70 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info);
72 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info,
75 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info,
78 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info,
82 static int pqi_aio_submit_r1_write_io(struct pqi_ctrl_info *ctrl_info,
86 static int pqi_aio_submit_r56_write_io(struct pqi_ctrl_info *ctrl_info,
90 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info);
91 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info);
92 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info, unsigned int delay_secs);
[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.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.h755 struct pqi_ctrl_info *ctrl_info; /* backpointer */ member
1679 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info);
1680 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info);
1685 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy);
1687 int pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info,
/linux-6.1.9/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()
271 ctrl_info(ctrl, "Slot(%s): Card present\n", in pciehp_handle_presence_or_link_change()
274 ctrl_info(ctrl, "Slot(%s): Link Up\n", in pciehp_handle_presence_or_link_change()
291 ctrl_info(ctrl, "Slot(%s): Latch open\n", in __pciehp_enable_slot()
300 ctrl_info(ctrl, "Slot(%s): Already enabled\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()
580 ctrl_info(ctrl, "Slot(%s): Link Down/Up ignored (recovered by DPC)\n", in pciehp_ignore_dpc_link_change()
627 ctrl_info(ctrl, "%s: no response from device\n", __func__); in pciehp_isr()
726 ctrl_info(ctrl, "Slot(%s): Attention button pressed\n", in pciehp_ist()
1040ctrl_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
/linux-6.1.9/net/atm/
Dmpoa_caches.c43 if (entry->ctrl_info.in_dst_ip == dst_ip) { in in_cache_get()
64 if ((entry->ctrl_info.in_dst_ip & mask) == (dst_ip & mask)) { in in_cache_get_with_mask()
119 entry->ctrl_info.in_dst_ip = dst_ip; in in_cache_add_entry()
124 entry->ctrl_info.holding_time = HOLDING_TIME_DEFAULT; in in_cache_add_entry()
145 msg.content.in_info = entry->ctrl_info; in cache_hit()
147 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
165 mpc->dev->name, &entry->ctrl_info.in_dst_ip); in cache_hit()
169 msg.content.in_info = entry->ctrl_info; in cache_hit()
170 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
198 &entry->ctrl_info.in_dst_ip); in in_cache_remove_entry()
[all …]
Dmpoa_proc.c152 sprintf(ip_string, "%pI4", &in_entry->ctrl_info.in_dst_ip); in mpc_show()
156 in_entry->ctrl_info.holding_time - in mpc_show()
169 unsigned char *p = eg_entry->ctrl_info.in_MPC_data_ATM_addr; in mpc_show()
175 (unsigned long)ntohl(eg_entry->ctrl_info.cache_id), in mpc_show()
177 (eg_entry->ctrl_info.holding_time - seconds_delta), in mpc_show()
Dmpc.c542 if (entry->ctrl_info.tag != 0) { in send_via_shortcut()
544 mpc->dev->name, entry->ctrl_info.tag); in send_via_shortcut()
545 tagged_llc_snap_hdr.tag = entry->ctrl_info.tag; in send_via_shortcut()
638 mpc->dev->name, &in_entry->ctrl_info.in_dst_ip); in atm_mpoa_vcc_attach()
670 mpc->dev->name, &in_entry->ctrl_info.in_dst_ip); in mpc_vcc_close()
761 new_skb = skb_realloc_headroom(skb, eg->ctrl_info.DH_length); in mpc_push()
768 skb_push(new_skb, eg->ctrl_info.DH_length); /* add MAC header */ in mpc_push()
769 skb_copy_to_linear_data(new_skb, eg->ctrl_info.DLL_header, in mpc_push()
770 eg->ctrl_info.DH_length); in mpc_push()
1090 msg->content.in_info = entry->ctrl_info; in MPOA_trigger_rcvd()
[all …]
Dmpoa_caches.h30 struct in_ctrl_info ctrl_info; member
63 struct eg_ctrl_info ctrl_info; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
328 trailer_len = FIELD_GET(HTC_HDR_CONTROLBYTES0, hdr->ctrl_info); in ath11k_htc_rx_completion_handler()
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_base.c6021 struct megasas_ctrl_info *ctrl_info = NULL; in megasas_init_fw() local
6406 ctrl_info = instance->ctrl_info_buf; in megasas_init_fw()
6408 max_sectors_1 = (1 << ctrl_info->stripe_sz_ops.min) * in megasas_init_fw()
6409 le16_to_cpu(ctrl_info->max_strips_per_io); in megasas_init_fw()
6410 max_sectors_2 = le32_to_cpu(ctrl_info->max_request_size); in megasas_init_fw()
6414 instance->peerIsPresent = ctrl_info->cluster.peerIsPresent; in megasas_init_fw()
6415 instance->passive = ctrl_info->cluster.passive; in megasas_init_fw()
6416 memcpy(instance->clusterId, ctrl_info->clusterId, sizeof(instance->clusterId)); in megasas_init_fw()
6418 ctrl_info->adapterOperations2.supportUnevenSpans; in megasas_init_fw()
6427 if (ctrl_info->host_interface.SRIOV) { in megasas_init_fw()
[all …]