Home
last modified time | relevance | path

Searched refs:current_link (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c535 struct qed_link_output current_link; in qede_get_link_ksettings() local
539 memset(&current_link, 0, sizeof(current_link)); in qede_get_link_ksettings()
540 edev->ops->common->get_link(edev->cdev, &current_link); in qede_get_link_ksettings()
542 linkmode_copy(link_modes->supported, current_link.supported_caps); in qede_get_link_ksettings()
543 linkmode_copy(link_modes->advertising, current_link.advertised_caps); in qede_get_link_ksettings()
544 linkmode_copy(link_modes->lp_advertising, current_link.lp_caps); in qede_get_link_ksettings()
546 if ((edev->state == QEDE_STATE_OPEN) && (current_link.link_up)) { in qede_get_link_ksettings()
547 base->speed = current_link.speed; in qede_get_link_ksettings()
548 base->duplex = current_link.duplex; in qede_get_link_ksettings()
556 base->port = current_link.port; in qede_get_link_ksettings()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_dma.c101 unsigned int current_link; member
163 &dma_private->link[dma_private->current_link]; in fsl_dma_update_pointers()
189 if (++dma_private->current_link >= NUM_DMA_LINKS) in fsl_dma_update_pointers()
190 dma_private->current_link = 0; in fsl_dma_update_pointers()