Home
last modified time | relevance | path

Searched refs:cmdcfg (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbgmac.c752 u32 cmdcfg = bgmac_read(bgmac, BGMAC_CMDCFG); in bgmac_cmdcfg_maskset() local
753 u32 new_val = (cmdcfg & mask) | set; in bgmac_cmdcfg_maskset()
764 if (new_val != cmdcfg || force) in bgmac_cmdcfg_maskset()
1048 u32 cmdcfg; in bgmac_enable() local
1056 cmdcfg = bgmac_read(bgmac, BGMAC_CMDCFG); in bgmac_enable()
1060 cmdcfg |= BGMAC_CMDCFG_TE | BGMAC_CMDCFG_RE; in bgmac_enable()
1061 bgmac_write(bgmac, BGMAC_CMDCFG, cmdcfg); in bgmac_enable()
/Linux-v5.4/drivers/scsi/cxlflash/
Dmain.c1097 u64 cmdcfg; in set_port_online() local
1099 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() local
1115 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()