Lines Matching refs:fec_priv
197 struct fec_priv *fec = (struct fec_priv *)dev->priv;
229 struct fec_priv *fec = (struct fec_priv *)dev->priv;
253 static int fec_rx_task_enable(struct fec_priv *fec)
259 static int fec_rx_task_disable(struct fec_priv *fec)
264 static int fec_tx_task_enable(struct fec_priv *fec)
270 static int fec_tx_task_disable(struct fec_priv *fec)
284 static void fec_rbd_init(struct fec_priv *fec, int count, int dsize)
324 static void fec_tbd_init(struct fec_priv *fec)
364 struct fec_priv *fec = dev_get_priv(dev);
369 struct fec_priv *fec = (struct fec_priv *)dev->priv;
386 static void fec_reg_setup(struct fec_priv *fec)
421 struct fec_priv *fec = dev_get_priv(dev);
423 struct fec_priv *fec = (struct fec_priv *)edev->priv;
532 struct fec_priv *fec = dev_get_priv(dev);
534 struct fec_priv *fec = (struct fec_priv *)dev->priv;
604 struct fec_priv *fec = dev_get_priv(dev);
606 struct fec_priv *fec = (struct fec_priv *)dev->priv;
658 struct fec_priv *fec = dev_get_priv(dev);
660 struct fec_priv *fec = (struct fec_priv *)dev->priv;
799 struct fec_priv *fec = dev_get_priv(dev);
801 struct fec_priv *fec = (struct fec_priv *)dev->priv;
939 static int fec_alloc_descs(struct fec_priv *fec)
1001 static void fec_free_descs(struct fec_priv *fec)
1050 struct fec_priv *fec;
1064 fec = (struct fec_priv *)malloc(sizeof(struct fec_priv));
1066 puts("fec_mxc: not enough malloc memory for fec_priv\n");
1193 struct fec_priv *fec = (struct fec_priv *)dev->priv;
1203 struct fec_priv *priv = dev_get_priv(dev);
1227 static int fec_phy_init(struct fec_priv *priv, struct udevice *dev)
1251 struct fec_priv *priv = dev_get_priv(dev);
1305 struct fec_priv *priv = dev_get_priv(dev);
1318 struct fec_priv *priv = dev_get_priv(dev);
1359 .priv_auto_alloc_size = sizeof(struct fec_priv),