Home
last modified time | relevance | path

Searched refs:mc2 (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene-v2/
Dmac.c20 u32 icm0, icm2, ecm0, mc2; in xge_mac_set_speed() local
27 mc2 = xge_rd_csr(pdata, MAC_CONFIG_2); in xge_mac_set_speed()
33 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
40 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
47 SET_REG_BITS(&mc2, INTF_MODE, 2); in xge_mac_set_speed()
55 mc2 |= FULL_DUPLEX | CRC_EN | PAD_CRC; in xge_mac_set_speed()
58 xge_wr_csr(pdata, MAC_CONFIG_2, mc2); in xge_mac_set_speed()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c229 u32 mc2, value; in xgene_sgmac_set_speed() local
245 mc2 = xgene_enet_rd_mac(p, MAC_CONFIG_2_ADDR); in xgene_sgmac_set_speed()
250 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_sgmac_set_speed()
256 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_sgmac_set_speed()
263 ENET_INTERFACE_MODE2_SET(&mc2, 2); in xgene_sgmac_set_speed()
274 mc2 |= FULL_DUPLEX2 | PAD_CRC; in xgene_sgmac_set_speed()
275 xgene_enet_wr_mac(p, MAC_CONFIG_2_ADDR, mc2); in xgene_sgmac_set_speed()
Dxgene_enet_hw.c459 u32 icm0, icm2, mc2; in xgene_gmac_set_speed() local
464 mc2 = xgene_enet_rd_mac(pdata, MAC_CONFIG_2_ADDR); in xgene_gmac_set_speed()
470 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_gmac_set_speed()
477 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_gmac_set_speed()
485 ENET_INTERFACE_MODE2_SET(&mc2, 2); in xgene_gmac_set_speed()
500 mc2 |= FULL_DUPLEX2 | PAD_CRC | LENGTH_CHK; in xgene_gmac_set_speed()
501 xgene_enet_wr_mac(pdata, MAC_CONFIG_2_ADDR, mc2); in xgene_gmac_set_speed()
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_i2c.c178 u32 status = 0, mc2 = 0; in saa7146_i2c_writeout() local
218 mc2 = (saa7146_read(dev, MC2) & 0x1); in saa7146_i2c_writeout()
219 if( 0 != mc2 ) { in saa7146_i2c_writeout()
Dsaa7146_fops.c450 u32 mc2 = saa7146_read(dev, MC2); in vv_callback() local
451 if( 0 != (mc2 & MASK_15)) { in vv_callback()
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-nomadik-db8500.c851 DB8500_FUNC_GROUPS(mc2, "mc2_a_1", "mc2rstn_c_1");
926 FUNCTION(mc2),
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dste-dbx5x0-pinctrl.dtsi413 function = "mc2";
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dras.rst402 |->mc2