Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c102 writel(fdev->cc_reg, fdev->bar + NVME_REG_CC); in fun_update_cc_enable()
103 return fun_wait_ready(fdev, !!(fdev->cc_reg & NVME_CC_ENABLE)); in fun_update_cc_enable()
108 fdev->cc_reg &= ~(NVME_CC_SHN_MASK | NVME_CC_ENABLE); in fun_disable_ctrl()
115 fdev->cc_reg = (admin_cqesz_log2 << NVME_CC_IOCQES_SHIFT) | in fun_enable_ctrl()
715 fdev->cc_reg = readl(fdev->bar + NVME_REG_CC); in sanitize_dev()
720 rc = fun_wait_ready(fdev, fdev->cc_reg & NVME_CC_ENABLE); in sanitize_dev()
725 if (fdev->cc_reg & NVME_CC_ENABLE) in sanitize_dev()
H A Dfun_dev.h66 u32 cc_reg; /* CC register */ member