Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c55 static void pqi_take_ctrl_offline(struct pqi_ctrl_info *ctrl_info);
57 static void pqi_retry_raid_bypass_requests(struct pqi_ctrl_info *ctrl_info);
58 static int pqi_scan_scsi_devices(struct pqi_ctrl_info *ctrl_info);
60 static void pqi_start_io(struct pqi_ctrl_info *ctrl_info,
63 static int pqi_submit_raid_request_synchronous(struct pqi_ctrl_info *ctrl_info,
66 static int pqi_aio_submit_io(struct pqi_ctrl_info *ctrl_info,
70 static void pqi_ofa_ctrl_quiesce(struct pqi_ctrl_info *ctrl_info);
71 static void pqi_ofa_ctrl_unquiesce(struct pqi_ctrl_info *ctrl_info);
72 static int pqi_ofa_ctrl_restart(struct pqi_ctrl_info *ctrl_info);
73 static void pqi_ofa_setup_host_buffer(struct pqi_ctrl_info *ctrl_info,
[all …]
Dsmartpqi_sis.c81 static int sis_wait_for_ctrl_ready_with_timeout(struct pqi_ctrl_info *ctrl_info, in sis_wait_for_ctrl_ready_with_timeout() argument
90 status = readl(&ctrl_info->registers->sis_firmware_status); in sis_wait_for_ctrl_ready_with_timeout()
93 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
96 &ctrl_info->registers->sis_mailbox[7])); in sis_wait_for_ctrl_ready_with_timeout()
103 dev_err(&ctrl_info->pci_dev->dev, in sis_wait_for_ctrl_ready_with_timeout()
114 int sis_wait_for_ctrl_ready(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready() argument
116 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready()
120 int sis_wait_for_ctrl_ready_resume(struct pqi_ctrl_info *ctrl_info) in sis_wait_for_ctrl_ready_resume() argument
122 return sis_wait_for_ctrl_ready_with_timeout(ctrl_info, in sis_wait_for_ctrl_ready_resume()
126 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.c200 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy) in pqi_find_device_by_sas_rphy() argument
204 list_for_each_entry(device, &ctrl_info->scsi_device_list, in pqi_find_device_by_sas_rphy()
215 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info) in pqi_add_sas_host() argument
230 ctrl_info->sas_address, NULL); in pqi_add_sas_host()
246 ctrl_info->sas_host = pqi_sas_node; in pqi_add_sas_host()
260 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info) in pqi_delete_sas_host() argument
262 pqi_free_sas_node(ctrl_info->sas_host); in pqi_delete_sas_host()
318 struct pqi_ctrl_info *ctrl_info; in pqi_sas_get_enclosure_identifier() local
326 ctrl_info = shost_to_hba(shost); in pqi_sas_get_enclosure_identifier()
327 spin_lock_irqsave(&ctrl_info->scsi_device_list_lock, flags); in pqi_sas_get_enclosure_identifier()
[all …]
Dsmartpqi.h672 struct pqi_ctrl_info *ctrl_info; /* backpointer */ member
1411 static inline void pqi_ctrl_busy(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_busy() argument
1413 atomic_inc(&ctrl_info->num_busy_threads); in pqi_ctrl_busy()
1416 static inline void pqi_ctrl_unbusy(struct pqi_ctrl_info *ctrl_info) in pqi_ctrl_unbusy() argument
1418 atomic_dec(&ctrl_info->num_busy_threads); in pqi_ctrl_unbusy()
1431 int pqi_add_sas_host(struct Scsi_Host *shost, struct pqi_ctrl_info *ctrl_info);
1432 void pqi_delete_sas_host(struct pqi_ctrl_info *ctrl_info);
1437 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy);
1439 int pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info,
/kernel/linux/linux-5.10/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()
1014ctrl_info(ctrl, "Slot #%d AttnBtn%c PwrCtrl%c MRL%c AttnInd%c PwrInd%c HotPlug%c Surprise%c Interl… in pcie_init()
Dshpchp_hpc.c287 ctrl_info(ctrl, "Command was interrupted by a signal\n"); in shpc_wait_cmd()
972 ctrl_info(ctrl, "HPC vendor_id %x device_id %x ss_vid %x ss_did %x\n", in shpc_init()
1046 ctrl_info(ctrl, "Can't get msi for the hotplug controller\n"); in shpc_init()
1047 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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.c486 ctrl->ctrl_info = HINIC_SQ_CTRL_SET(bufdesc_size, BUFDESC_SECT_LEN) | in sq_prepare_ctrl()
723 u32 ctrl_info; in hinic_sq_read_wqebb() local
734 ctrl_info = be32_to_cpu(ctrl->ctrl_info); in hinic_sq_read_wqebb()
735 buf_sect_len = HINIC_SQ_CTRL_GET(ctrl_info, BUFDESC_SECT_LEN); in hinic_sq_read_wqebb()
953 ctrl->ctrl_info = in hinic_rq_prepare_wqe()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Drequest_manager.h20 union ctrl_info { union
62 union ctrl_info ctrl; /* User control information */
Dcptvf_reqmanager.c415 union ctrl_info *ctrl = NULL; in process_request()
431 ctrl = (union ctrl_info *)&req->ctrl; in process_request()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhtc.h59 u32 ctrl_info; member
Dhtc.c68 hdr->ctrl_info = FIELD_PREP(HTC_HDR_CONTROLBYTES1, ep->seq_no++); in ath11k_htc_prepare_tx_skb()
280 trailer_len = FIELD_GET(HTC_HDR_CONTROLBYTES0, hdr->ctrl_info); in ath11k_htc_rx_completion_handler()
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_sas_base.c5964 struct megasas_ctrl_info *ctrl_info = NULL; in megasas_init_fw() local
6349 ctrl_info = instance->ctrl_info_buf; in megasas_init_fw()
6351 max_sectors_1 = (1 << ctrl_info->stripe_sz_ops.min) * in megasas_init_fw()
6352 le16_to_cpu(ctrl_info->max_strips_per_io); in megasas_init_fw()
6353 max_sectors_2 = le32_to_cpu(ctrl_info->max_request_size); in megasas_init_fw()
6357 instance->peerIsPresent = ctrl_info->cluster.peerIsPresent; in megasas_init_fw()
6358 instance->passive = ctrl_info->cluster.passive; in megasas_init_fw()
6359 memcpy(instance->clusterId, ctrl_info->clusterId, sizeof(instance->clusterId)); in megasas_init_fw()
6361 ctrl_info->adapterOperations2.supportUnevenSpans; in megasas_init_fw()
6370 if (ctrl_info->host_interface.SRIOV) { in megasas_init_fw()
[all …]