Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbgmac.c752 u32 cmdcfg = bgmac_umac_read(bgmac, UMAC_CMD); in bgmac_umac_cmd_maskset() local
753 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() local
1056 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()
/Linux-v6.6/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()