Lines Matching refs:MACB_BF
351 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
352 | MACB_BF(RW, MACB_MAN_C45_ADDR) in macb_mdio_read()
353 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
354 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_read()
355 | MACB_BF(DATA, regnum & 0xFFFF) in macb_mdio_read()
356 | MACB_BF(CODE, MACB_MAN_C45_CODE))); in macb_mdio_read()
362 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
363 | MACB_BF(RW, MACB_MAN_C45_READ) in macb_mdio_read()
364 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
365 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_read()
366 | MACB_BF(CODE, MACB_MAN_C45_CODE))); in macb_mdio_read()
368 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C22_SOF) in macb_mdio_read()
369 | MACB_BF(RW, MACB_MAN_C22_READ) in macb_mdio_read()
370 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
371 | MACB_BF(REGA, regnum) in macb_mdio_read()
372 | MACB_BF(CODE, MACB_MAN_C22_CODE))); in macb_mdio_read()
403 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_write()
404 | MACB_BF(RW, MACB_MAN_C45_ADDR) in macb_mdio_write()
405 | MACB_BF(PHYA, mii_id) in macb_mdio_write()
406 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_write()
407 | MACB_BF(DATA, regnum & 0xFFFF) in macb_mdio_write()
408 | MACB_BF(CODE, MACB_MAN_C45_CODE))); in macb_mdio_write()
414 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_write()
415 | MACB_BF(RW, MACB_MAN_C45_WRITE) in macb_mdio_write()
416 | MACB_BF(PHYA, mii_id) in macb_mdio_write()
417 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_write()
418 | MACB_BF(CODE, MACB_MAN_C45_CODE) in macb_mdio_write()
419 | MACB_BF(DATA, value))); in macb_mdio_write()
421 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C22_SOF) in macb_mdio_write()
422 | MACB_BF(RW, MACB_MAN_C22_WRITE) in macb_mdio_write()
423 | MACB_BF(PHYA, mii_id) in macb_mdio_write()
424 | MACB_BF(REGA, regnum) in macb_mdio_write()
425 | MACB_BF(CODE, MACB_MAN_C22_CODE) in macb_mdio_write()
426 | MACB_BF(DATA, value))); in macb_mdio_write()
1012 addr |= MACB_BF(RX_WADDR, MACB_BFEXT(RX_WADDR, desc->addr)); in macb_get_addr()
2096 ctrl |= MACB_BF(TX_LSO, lso_ctrl); in macb_tx_map()
2097 ctrl |= MACB_BF(TX_TCP_SEQ_SRC, seq_ctrl); in macb_tx_map()
2106 ctrl |= MACB_BF(MSS_MFS, mss_mfs); in macb_tx_map()
2604 config = MACB_BF(CLK, MACB_CLK_DIV8); in macb_mdc_clk_div()
2606 config = MACB_BF(CLK, MACB_CLK_DIV16); in macb_mdc_clk_div()
2608 config = MACB_BF(CLK, MACB_CLK_DIV32); in macb_mdc_clk_div()
2610 config = MACB_BF(CLK, MACB_CLK_DIV64); in macb_mdc_clk_div()
2696 config |= MACB_BF(RBOF, NET_IP_ALIGN); /* Make eth data aligned */ in macb_init_hw()
4341 pktlen = MACB_BF(RX_FRMLEN, desc->ctrl); in at91ether_rx()
4487 macb_writel(bp, NCFGR, MACB_BF(CLK, MACB_CLK_DIV32) | MACB_BIT(BIG)); in at91ether_init()