Lines Matching refs:MACB_BF
349 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
350 | MACB_BF(RW, MACB_MAN_C45_ADDR) in macb_mdio_read()
351 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
352 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_read()
353 | MACB_BF(DATA, regnum & 0xFFFF) in macb_mdio_read()
354 | MACB_BF(CODE, MACB_MAN_C45_CODE))); in macb_mdio_read()
360 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C45_SOF) in macb_mdio_read()
361 | MACB_BF(RW, MACB_MAN_C45_READ) in macb_mdio_read()
362 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
363 | MACB_BF(REGA, (regnum >> 16) & 0x1F) in macb_mdio_read()
364 | MACB_BF(CODE, MACB_MAN_C45_CODE))); in macb_mdio_read()
366 macb_writel(bp, MAN, (MACB_BF(SOF, MACB_MAN_C22_SOF) in macb_mdio_read()
367 | MACB_BF(RW, MACB_MAN_C22_READ) in macb_mdio_read()
368 | MACB_BF(PHYA, mii_id) in macb_mdio_read()
369 | MACB_BF(REGA, regnum) in macb_mdio_read()
370 | 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()
1052 addr |= MACB_BF(RX_WADDR, MACB_BFEXT(RX_WADDR, desc->addr)); in macb_get_addr()
2007 ctrl |= MACB_BF(TX_LSO, lso_ctrl); in macb_tx_map()
2008 ctrl |= MACB_BF(TX_TCP_SEQ_SRC, seq_ctrl); in macb_tx_map()
2016 ctrl |= MACB_BF(MSS_MFS, mss_mfs); in macb_tx_map()
2520 config = MACB_BF(CLK, MACB_CLK_DIV8); in macb_mdc_clk_div()
2522 config = MACB_BF(CLK, MACB_CLK_DIV16); in macb_mdc_clk_div()
2524 config = MACB_BF(CLK, MACB_CLK_DIV32); in macb_mdc_clk_div()
2526 config = MACB_BF(CLK, MACB_CLK_DIV64); in macb_mdc_clk_div()
2612 config |= MACB_BF(RBOF, NET_IP_ALIGN); /* Make eth data aligned */ in macb_init_hw()
4237 pktlen = MACB_BF(RX_FRMLEN, desc->ctrl); in at91ether_rx()
4383 macb_writel(bp, NCFGR, MACB_BF(CLK, MACB_CLK_DIV32) | MACB_BIT(BIG)); in at91ether_init()