Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c513 struct qed_link_output current_link; in qede_get_link_ksettings() local
517 memset(&current_link, 0, sizeof(current_link)); in qede_get_link_ksettings()
518 edev->ops->common->get_link(edev->cdev, &current_link); in qede_get_link_ksettings()
520 linkmode_copy(link_modes->supported, current_link.supported_caps); in qede_get_link_ksettings()
521 linkmode_copy(link_modes->advertising, current_link.advertised_caps); in qede_get_link_ksettings()
522 linkmode_copy(link_modes->lp_advertising, current_link.lp_caps); in qede_get_link_ksettings()
524 if ((edev->state == QEDE_STATE_OPEN) && (current_link.link_up)) { in qede_get_link_ksettings()
525 base->speed = current_link.speed; in qede_get_link_ksettings()
526 base->duplex = current_link.duplex; in qede_get_link_ksettings()
534 base->port = current_link.port; in qede_get_link_ksettings()
[all …]
/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()