Searched refs:cmdcfg (Results 1 – 2 of 2) sorted by relevance
752 u32 cmdcfg = bgmac_umac_read(bgmac, UMAC_CMD); in bgmac_umac_cmd_maskset() local753 u32 new_val = (cmdcfg & mask) | set; in bgmac_umac_cmd_maskset()764 if (new_val != cmdcfg || force) in bgmac_umac_cmd_maskset()1048 u32 cmdcfg; in bgmac_enable() local1056 cmdcfg = bgmac_umac_read(bgmac, UMAC_CMD); in bgmac_enable()1060 cmdcfg |= CMD_TX_EN | CMD_RX_EN; in bgmac_enable()1061 bgmac_umac_write(bgmac, UMAC_CMD, cmdcfg); in bgmac_enable()
1092 u64 cmdcfg; in set_port_online() local1094 cmdcfg = readq_be(&fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_online()1095 cmdcfg &= (~FC_MTIP_CMDCONFIG_OFFLINE); /* clear OFF_LINE */ in set_port_online()1096 cmdcfg |= (FC_MTIP_CMDCONFIG_ONLINE); /* set ON_LINE */ in set_port_online()1097 writeq_be(cmdcfg, &fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_online()1108 u64 cmdcfg; in set_port_offline() local1110 cmdcfg = readq_be(&fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_offline()1111 cmdcfg &= (~FC_MTIP_CMDCONFIG_ONLINE); /* clear ON_LINE */ in set_port_offline()1112 cmdcfg |= (FC_MTIP_CMDCONFIG_OFFLINE); /* set OFF_LINE */ in set_port_offline()1113 writeq_be(cmdcfg, &fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_offline()