Searched refs:ugeth (Results 1 – 2 of 2) sorted by relevance
209 static struct sk_buff *get_new_skb(struct ucc_geth_private *ugeth, in get_new_skb() argument214 skb = netdev_alloc_skb(ugeth->ndev, in get_new_skb()215 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()229 dma_map_single(ugeth->dev, in get_new_skb()231 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()241 static int rx_bd_buffer_set(struct ucc_geth_private *ugeth, u8 rxQ) in rx_bd_buffer_set() argument248 bd = ugeth->p_rx_bd_ring[rxQ]; in rx_bd_buffer_set()253 skb = get_new_skb(ugeth, bd); in rx_bd_buffer_set()259 ugeth->rx_skbuff[rxQ][i] = skb; in rx_bd_buffer_set()269 static int fill_init_enet_entries(struct ucc_geth_private *ugeth, in fill_init_enet_entries() argument[all …]
110 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_settings() local111 struct phy_device *phydev = ugeth->phydev; in uec_get_settings()112 struct ucc_geth_info *ug_info = ugeth->ug_info; in uec_get_settings()126 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_settings() local127 struct phy_device *phydev = ugeth->phydev; in uec_set_settings()139 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam() local141 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam()143 if (ugeth->ug_info->receiveFlowControl) in uec_get_pauseparam()145 if (ugeth->ug_info->transmitFlowControl) in uec_get_pauseparam()153 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam() local[all …]