Searched refs:ugeth (Results 1 – 2 of 2) sorted by relevance
224 static struct sk_buff *get_new_skb(struct ucc_geth_private *ugeth, in get_new_skb() argument229 skb = netdev_alloc_skb(ugeth->ndev, in get_new_skb()230 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()244 dma_map_single(ugeth->dev, in get_new_skb()246 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()256 static int rx_bd_buffer_set(struct ucc_geth_private *ugeth, u8 rxQ) in rx_bd_buffer_set() argument263 bd = ugeth->p_rx_bd_ring[rxQ]; in rx_bd_buffer_set()268 skb = get_new_skb(ugeth, bd); in rx_bd_buffer_set()274 ugeth->rx_skbuff[rxQ][i] = skb; in rx_bd_buffer_set()284 static int fill_init_enet_entries(struct ucc_geth_private *ugeth, in fill_init_enet_entries() argument[all …]
106 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_ksettings() local107 struct phy_device *phydev = ugeth->phydev; in uec_get_ksettings()121 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_ksettings() local122 struct phy_device *phydev = ugeth->phydev; in uec_set_ksettings()134 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam() local136 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam()138 if (ugeth->ug_info->receiveFlowControl) in uec_get_pauseparam()140 if (ugeth->ug_info->transmitFlowControl) in uec_get_pauseparam()148 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam() local151 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam()[all …]