Lines Matching refs:fec_info
35 struct fec_info_s fec_info[] = { variable
545 for (i = 0; i < ARRAY_SIZE(fec_info); i++) { in mcffec_initialize()
555 sprintf(dev->name, "FEC%d", fec_info[i].index); in mcffec_initialize()
557 dev->priv = &fec_info[i]; in mcffec_initialize()
565 fec_info[i].rxbd = (cbd_t *)((u32)fec_info[i].rxbd + tmp); in mcffec_initialize()
566 tmp = (u32)fec_info[i].rxbd; in mcffec_initialize()
567 fec_info[i].txbd = in mcffec_initialize()
568 (cbd_t *)((u32)fec_info[i].txbd + tmp + in mcffec_initialize()
570 tmp = (u32)fec_info[i].txbd; in mcffec_initialize()
571 fec_info[i].txbuf = in mcffec_initialize()
572 (char *)((u32)fec_info[i].txbuf + tmp + in mcffec_initialize()
574 tmp = (u32)fec_info[i].txbuf; in mcffec_initialize()
576 fec_info[i].rxbd = in mcffec_initialize()
579 fec_info[i].txbd = in mcffec_initialize()
582 fec_info[i].txbuf = in mcffec_initialize()
588 (int)fec_info[i].rxbd, (int)fec_info[i].txbd); in mcffec_initialize()
591 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcffec_initialize()
609 fec_info[i - 1].next = &fec_info[i]; in mcffec_initialize()
611 fec_info[i - 1].next = &fec_info[0]; in mcffec_initialize()