Searched refs:mcp_info (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed_mcp.c | 57 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \ 61 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset)) 78 if (!p_hwfn->mcp_info || !p_hwfn->mcp_info->public_base) in qed_mcp_is_init() 85 u32 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mcp_cmd_port_init() 89 p_hwfn->mcp_info->port_addr = SECTION_ADDR(mfw_mb_offsize, in qed_mcp_cmd_port_init() 93 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in qed_mcp_cmd_port_init() 98 u32 length = MFW_DRV_MSG_MAX_DWORDS(p_hwfn->mcp_info->mfw_mb_length); in qed_mcp_read_mb() 101 if (!p_hwfn->mcp_info->public_base) in qed_mcp_read_mb() 106 p_hwfn->mcp_info->mfw_mb_addr + in qed_mcp_read_mb() 110 ((u32 *)p_hwfn->mcp_info->mfw_mb_cur)[i] = in qed_mcp_read_mb() [all …]
|
| D | qed_dev.c | 2394 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_resc_setup() 2395 p_hwfn->mcp_info->mfw_mb_cur, in qed_resc_setup() 2396 p_hwfn->mcp_info->mfw_mb_length); in qed_resc_setup() 2614 if (p_hwfn->mcp_info) { in qed_hw_init_common() 2615 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common() 2617 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common() 2836 if (p_hwfn->mcp_info) { in qed_hw_init_pf() 2839 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 2961 memcpy(p_hwfn->mcp_info->mfw_mb_shadow, in qed_reset_mb_shadow() 2962 p_hwfn->mcp_info->mfw_mb_cur, p_hwfn->mcp_info->mfw_mb_length); in qed_reset_mb_shadow() [all …]
|
| D | qed_dcbx.c | 773 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_local_lldp_mib() 791 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_remote_lldp_mib() 809 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_operational_mib() 826 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_remote_mib() 842 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_local_mib() 1250 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_config_params()
|
| D | qed_fcoe.c | 759 info->wwpn = hwfn->mcp_info->func_info.wwn_port; in qed_fill_fcoe_dev_info() 760 info->wwnn = hwfn->mcp_info->func_info.wwn_node; in qed_fill_fcoe_dev_info()
|
| D | qed.h | 632 struct qed_mcp_info *mcp_info; member
|
| D | qed_l2.c | 1790 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats() 1866 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats() 1881 if (b_get_port_stats && p_hwfn->mcp_info) in __qed_get_vport_stats()
|
| D | qed_rdma.c | 548 port->port_state = p_hwfn->mcp_info->link_output.link_up ? in qed_rdma_init_port() 824 p_link_output = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_rdma_query_port()
|
| D | qed_mng_tlv.c | 1249 addr = SECTION_OFFSIZE_ADDR(p_hwfn->mcp_info->public_base, in qed_mfw_process_tlv_req()
|
| D | qed_cxt.c | 1508 p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_qm_init_pf() 2075 if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { in qed_rdma_set_pf_params()
|
| D | qed_sriov.c | 4370 p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_iov_configure_tx_rate()
|