Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dmain.c1092 u64 cmdcfg; in set_port_online() local
1094 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() local
1110 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()