p_link           1502 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	struct qed_mcp_link_state *p_link;
p_link           1508 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output;
p_link           1525 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	params.link_speed = p_link->speed;
p_link           5198 drivers/net/ethernet/qlogic/qed/qed_dev.c 	struct qed_mcp_link_state *p_link;
p_link           5201 drivers/net/ethernet/qlogic/qed/qed_dev.c 	p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output;
p_link           5203 drivers/net/ethernet/qlogic/qed/qed_dev.c 	if (!p_link->min_pf_rate) {
p_link           5209 drivers/net/ethernet/qlogic/qed/qed_dev.c 	rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate);
p_link           5213 drivers/net/ethernet/qlogic/qed/qed_dev.c 						 p_link->min_pf_rate);
p_link           5314 drivers/net/ethernet/qlogic/qed/qed_dev.c 				     struct qed_mcp_link_state *p_link,
p_link           5321 drivers/net/ethernet/qlogic/qed/qed_dev.c 	if (!p_link->line_speed && (max_bw != 100))
p_link           5324 drivers/net/ethernet/qlogic/qed/qed_dev.c 	p_link->speed = (p_link->line_speed * max_bw) / 100;
p_link           5325 drivers/net/ethernet/qlogic/qed/qed_dev.c 	p_hwfn->qm_info.pf_rl = p_link->speed;
p_link           5339 drivers/net/ethernet/qlogic/qed/qed_dev.c 		   p_link->speed);
p_link           5357 drivers/net/ethernet/qlogic/qed/qed_dev.c 		struct qed_mcp_link_state *p_link;
p_link           5360 drivers/net/ethernet/qlogic/qed/qed_dev.c 		p_link = &p_lead->mcp_info->link_output;
p_link           5367 drivers/net/ethernet/qlogic/qed/qed_dev.c 						      p_link, max_bw);
p_link           5380 drivers/net/ethernet/qlogic/qed/qed_dev.c 				     struct qed_mcp_link_state *p_link,
p_link           5388 drivers/net/ethernet/qlogic/qed/qed_dev.c 	if (!p_link->line_speed)
p_link           5391 drivers/net/ethernet/qlogic/qed/qed_dev.c 	p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100;
p_link           5397 drivers/net/ethernet/qlogic/qed/qed_dev.c 		   p_link->min_pf_rate);
p_link           5415 drivers/net/ethernet/qlogic/qed/qed_dev.c 		struct qed_mcp_link_state *p_link;
p_link           5418 drivers/net/ethernet/qlogic/qed/qed_dev.c 		p_link = &p_lead->mcp_info->link_output;
p_link           5425 drivers/net/ethernet/qlogic/qed/qed_dev.c 						      p_link, min_bw);
p_link           5431 drivers/net/ethernet/qlogic/qed/qed_dev.c 		if (p_link->min_pf_rate) {
p_link           5432 drivers/net/ethernet/qlogic/qed/qed_dev.c 			u32 min_rate = p_link->min_pf_rate;
p_link           5447 drivers/net/ethernet/qlogic/qed/qed_dev.c 	struct qed_mcp_link_state *p_link;
p_link           5449 drivers/net/ethernet/qlogic/qed/qed_dev.c 	p_link = &p_hwfn->mcp_info->link_output;
p_link           5451 drivers/net/ethernet/qlogic/qed/qed_dev.c 	if (p_link->min_pf_rate)
p_link           5453 drivers/net/ethernet/qlogic/qed/qed_dev.c 					       p_link->min_pf_rate);
p_link           1248 drivers/net/ethernet/qlogic/qed/qed_mcp.c 				    struct qed_mcp_link_state *p_link)
p_link           1252 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->eee_adv_caps = 0;
p_link           1253 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->eee_lp_adv_caps = 0;
p_link           1258 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT);
p_link           1261 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->eee_adv_caps |= QED_EEE_1G_ADV;
p_link           1263 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->eee_adv_caps |= QED_EEE_10G_ADV;
p_link           1266 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->eee_lp_adv_caps |= QED_EEE_1G_ADV;
p_link           1268 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->eee_lp_adv_caps |= QED_EEE_10G_ADV;
p_link           1320 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	struct qed_mcp_link_state *p_link;
p_link           1327 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link = &p_hwfn->mcp_info->link_output;
p_link           1328 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	memset(p_link, 0, sizeof(*p_link));
p_link           1354 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			p_link->link_up = !!(shmem_info.status &
p_link           1358 drivers/net/ethernet/qlogic/qed/qed_mcp.c 				   "Virtual link_up = %d\n", p_link->link_up);
p_link           1360 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			p_link->link_up = !!(status & LINK_STATUS_LINK_UP);
p_link           1362 drivers/net/ethernet/qlogic/qed/qed_mcp.c 				   "Physical link_up = %d\n", p_link->link_up);
p_link           1365 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->link_up = false;
p_link           1368 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->full_duplex = true;
p_link           1371 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 100000;
p_link           1374 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 50000;
p_link           1377 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 40000;
p_link           1380 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 25000;
p_link           1383 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 20000;
p_link           1386 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 10000;
p_link           1389 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->full_duplex = false;
p_link           1392 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 1000;
p_link           1395 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->speed = 0;
p_link           1396 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->link_up = 0;
p_link           1399 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	if (p_link->link_up && p_link->speed)
p_link           1400 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->line_speed = p_link->speed;
p_link           1402 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->line_speed = 0;
p_link           1408 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	__qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw);
p_link           1411 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	__qed_configure_pf_min_bandwidth(p_hwfn, p_ptt, p_link, min_bw);
p_link           1413 drivers/net/ethernet/qlogic/qed/qed_mcp.c 					    p_link->min_pf_rate);
p_link           1415 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->an = !!(status & LINK_STATUS_AUTO_NEGOTIATE_ENABLED);
p_link           1416 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->an_complete = !!(status &
p_link           1418 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->parallel_detection = !!(status &
p_link           1420 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->pfc_enabled = !!(status & LINK_STATUS_PFC_ENABLED);
p_link           1422 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1425 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1428 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1431 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1434 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1437 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1440 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1443 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_adv_speed |=
p_link           1447 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_tx_flow_ctrl_en =
p_link           1449 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->partner_rx_flow_ctrl_en =
p_link           1454 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->partner_adv_pause = QED_LINK_PARTNER_SYMMETRIC_PAUSE;
p_link           1457 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->partner_adv_pause = QED_LINK_PARTNER_ASYMMETRIC_PAUSE;
p_link           1460 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->partner_adv_pause = QED_LINK_PARTNER_BOTH_PAUSE;
p_link           1463 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		p_link->partner_adv_pause = 0;
p_link           1466 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	p_link->sfp_tx_fault = !!(status & LINK_STATUS_SFP_TX_FAULT);
p_link           1469 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		qed_mcp_read_eee_config(p_hwfn, p_ptt, p_link);
p_link            994 drivers/net/ethernet/qlogic/qed/qed_mcp.h 				     struct qed_mcp_link_state *p_link,
p_link            998 drivers/net/ethernet/qlogic/qed/qed_mcp.h 				     struct qed_mcp_link_state *p_link,
p_link           3806 drivers/net/ethernet/qlogic/qed/qed_sriov.c 			     struct qed_mcp_link_state *p_link,
p_link           3821 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	if (p_link)
p_link           3822 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		__qed_vf_get_link_state(p_hwfn, p_link, p_bulletin);
p_link           4357 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	struct qed_mcp_link_state *p_link;
p_link           4370 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output;
p_link           4373 drivers/net/ethernet/qlogic/qed/qed_sriov.c 				 p_link->speed);
p_link           1545 drivers/net/ethernet/qlogic/qed/qed_vf.c 			     struct qed_mcp_link_state *p_link,
p_link           1548 drivers/net/ethernet/qlogic/qed/qed_vf.c 	memset(p_link, 0, sizeof(*p_link));
p_link           1550 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->link_up = p_bulletin->link_up;
p_link           1551 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->speed = p_bulletin->speed;
p_link           1552 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->full_duplex = p_bulletin->full_duplex;
p_link           1553 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->an = p_bulletin->autoneg;
p_link           1554 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->an_complete = p_bulletin->autoneg_complete;
p_link           1555 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->parallel_detection = p_bulletin->parallel_detection;
p_link           1556 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->pfc_enabled = p_bulletin->pfc_enabled;
p_link           1557 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->partner_adv_speed = p_bulletin->partner_adv_speed;
p_link           1558 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->partner_tx_flow_ctrl_en = p_bulletin->partner_tx_flow_ctrl_en;
p_link           1559 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->partner_rx_flow_ctrl_en = p_bulletin->partner_rx_flow_ctrl_en;
p_link           1560 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->partner_adv_pause = p_bulletin->partner_adv_pause;
p_link           1561 drivers/net/ethernet/qlogic/qed/qed_vf.c 	p_link->sfp_tx_fault = p_bulletin->sfp_tx_fault;
p_link           1038 drivers/net/ethernet/qlogic/qed/qed_vf.h 			     struct qed_mcp_link_state *p_link,
p_link           1223 drivers/net/ethernet/qlogic/qed/qed_vf.h 					   struct qed_mcp_link_state *p_link,