Searched refs:p_link (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c372 struct qed_mcp_link_state *p_link; qed_mcp_handle_link_change() local
375 p_link = &p_hwfn->mcp_info->link_output; qed_mcp_handle_link_change()
376 memset(p_link, 0, sizeof(*p_link)); qed_mcp_handle_link_change()
393 p_link->link_up = !!(status & LINK_STATUS_LINK_UP); qed_mcp_handle_link_change()
395 p_link->full_duplex = true; qed_mcp_handle_link_change()
398 p_link->speed = 100000; qed_mcp_handle_link_change()
401 p_link->speed = 50000; qed_mcp_handle_link_change()
404 p_link->speed = 40000; qed_mcp_handle_link_change()
407 p_link->speed = 25000; qed_mcp_handle_link_change()
410 p_link->speed = 20000; qed_mcp_handle_link_change()
413 p_link->speed = 10000; qed_mcp_handle_link_change()
416 p_link->full_duplex = false; qed_mcp_handle_link_change()
419 p_link->speed = 1000; qed_mcp_handle_link_change()
422 p_link->speed = 0; qed_mcp_handle_link_change()
426 if (p_hwfn->mcp_info->func_info.bandwidth_max && p_link->speed) { qed_mcp_handle_link_change()
427 p_link->speed = p_link->speed * qed_mcp_handle_link_change()
431 p_link->speed); qed_mcp_handle_link_change()
434 p_link->speed); qed_mcp_handle_link_change()
437 p_link->an = !!(status & LINK_STATUS_AUTO_NEGOTIATE_ENABLED); qed_mcp_handle_link_change()
438 p_link->an_complete = !!(status & qed_mcp_handle_link_change()
440 p_link->parallel_detection = !!(status & qed_mcp_handle_link_change()
442 p_link->pfc_enabled = !!(status & LINK_STATUS_PFC_ENABLED); qed_mcp_handle_link_change()
444 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
447 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
450 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
453 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
456 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
459 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
462 p_link->partner_adv_speed |= qed_mcp_handle_link_change()
466 p_link->partner_tx_flow_ctrl_en = qed_mcp_handle_link_change()
468 p_link->partner_rx_flow_ctrl_en = qed_mcp_handle_link_change()
473 p_link->partner_adv_pause = QED_LINK_PARTNER_SYMMETRIC_PAUSE; qed_mcp_handle_link_change()
476 p_link->partner_adv_pause = QED_LINK_PARTNER_ASYMMETRIC_PAUSE; qed_mcp_handle_link_change()
479 p_link->partner_adv_pause = QED_LINK_PARTNER_BOTH_PAUSE; qed_mcp_handle_link_change()
482 p_link->partner_adv_pause = 0; qed_mcp_handle_link_change()
485 p_link->sfp_tx_fault = !!(status & LINK_STATUS_SFP_TX_FAULT); qed_mcp_handle_link_change()
/linux-4.4.14/arch/blackfin/kernel/
H A Dipipe.c106 head = &this_domain->p_link; __ipipe_handle_irq()
109 next_domain = list_entry(head, struct ipipe_domain, p_link); __ipipe_handle_irq()
126 next_domain = list_entry(pos, struct ipipe_domain, p_link); __ipipe_handle_irq()
137 pos = next_domain->p_link.next; __ipipe_handle_irq()

Completed in 68 milliseconds