Lines Matching refs:GEM_BFINS

517 	config = GEM_BFINS(SERDES_RATE, MACB_SERDES_RATE_10G, config);  in macb_usx_pcs_link_up()
518 config = GEM_BFINS(USX_CTRL_SPEED, HS_SPEED_10000M, config); in macb_usx_pcs_link_up()
719 gem_writel(bp, HS_MAC_CONFIG, GEM_BFINS(HS_MAC_SPEED, HS_SPEED_10000M, in macb_mac_link_up()
2659 dmacfg = GEM_BFINS(FBLDO, bp->dma_burst_length, dmacfg); in macb_configure_dma()
3353 t2_scr = GEM_BFINS(ETHTEN, enable, t2_scr); in gem_enable_flow_filters()
3359 t2_scr = GEM_BFINS(CMPAEN, 1, t2_scr); in gem_enable_flow_filters()
3361 t2_scr = GEM_BFINS(CMPAEN, 0, t2_scr); in gem_enable_flow_filters()
3364 t2_scr = GEM_BFINS(CMPBEN, 1, t2_scr); in gem_enable_flow_filters()
3366 t2_scr = GEM_BFINS(CMPBEN, 0, t2_scr); in gem_enable_flow_filters()
3369 t2_scr = GEM_BFINS(CMPCEN, 1, t2_scr); in gem_enable_flow_filters()
3371 t2_scr = GEM_BFINS(CMPCEN, 0, t2_scr); in gem_enable_flow_filters()
3398 w1 = GEM_BFINS(T2DISMSK, 1, w1); /* 32-bit compare */ in gem_prog_cmp_regs()
3399 w1 = GEM_BFINS(T2CMPOFST, GEM_T2COMPOFST_ETYPE, w1); in gem_prog_cmp_regs()
3400 w1 = GEM_BFINS(T2OFST, ETYPE_SRCIP_OFFSET, w1); in gem_prog_cmp_regs()
3412 w1 = GEM_BFINS(T2DISMSK, 1, w1); /* 32-bit compare */ in gem_prog_cmp_regs()
3413 w1 = GEM_BFINS(T2CMPOFST, GEM_T2COMPOFST_ETYPE, w1); in gem_prog_cmp_regs()
3414 w1 = GEM_BFINS(T2OFST, ETYPE_DSTIP_OFFSET, w1); in gem_prog_cmp_regs()
3425 w1 = GEM_BFINS(T2CMPOFST, GEM_T2COMPOFST_IPHDR, w1); in gem_prog_cmp_regs()
3427 w0 = GEM_BFINS(T2MASK, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
3428 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3429 w1 = GEM_BFINS(T2DISMSK, 1, w1); /* 32-bit compare */ in gem_prog_cmp_regs()
3430 w1 = GEM_BFINS(T2OFST, IPHDR_SRCPORT_OFFSET, w1); in gem_prog_cmp_regs()
3433 w1 = GEM_BFINS(T2DISMSK, 0, w1); /* 16-bit compare */ in gem_prog_cmp_regs()
3434 w0 = GEM_BFINS(T2MASK, 0xFFFF, w0); in gem_prog_cmp_regs()
3436 w0 = GEM_BFINS(T2CMP, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
3437 w1 = GEM_BFINS(T2OFST, IPHDR_SRCPORT_OFFSET, w1); in gem_prog_cmp_regs()
3439 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3440 w1 = GEM_BFINS(T2OFST, IPHDR_DSTPORT_OFFSET, w1); in gem_prog_cmp_regs()
3449 t2_scr = GEM_BFINS(QUEUE, (fs->ring_cookie) & 0xFF, t2_scr); in gem_prog_cmp_regs()
3450 t2_scr = GEM_BFINS(ETHT2IDX, SCRT2_ETHT, t2_scr); in gem_prog_cmp_regs()
3452 t2_scr = GEM_BFINS(CMPA, GEM_IP4SRC_CMP(index), t2_scr); in gem_prog_cmp_regs()
3454 t2_scr = GEM_BFINS(CMPB, GEM_IP4DST_CMP(index), t2_scr); in gem_prog_cmp_regs()
3456 t2_scr = GEM_BFINS(CMPC, GEM_PORT_CMP(index), t2_scr); in gem_prog_cmp_regs()
4072 reg = GEM_BFINS(ETHTCMP, (uint16_t)ETH_P_IP, reg); in macb_init()