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()
1097 u64 cmdcfg; in set_port_online() local1099 cmdcfg = readq_be(&fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_online()1100 cmdcfg &= (~FC_MTIP_CMDCONFIG_OFFLINE); /* clear OFF_LINE */ in set_port_online()1101 cmdcfg |= (FC_MTIP_CMDCONFIG_ONLINE); /* set ON_LINE */ in set_port_online()1102 writeq_be(cmdcfg, &fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_online()1113 u64 cmdcfg; in set_port_offline() local1115 cmdcfg = readq_be(&fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_offline()1116 cmdcfg &= (~FC_MTIP_CMDCONFIG_ONLINE); /* clear ON_LINE */ in set_port_offline()1117 cmdcfg |= (FC_MTIP_CMDCONFIG_OFFLINE); /* set OFF_LINE */ in set_port_offline()1118 writeq_be(cmdcfg, &fc_regs[FC_MTIP_CMDCONFIG / 8]); in set_port_offline()