Searched refs:cc2_config (Results 1 – 1 of 1) sorted by relevance
397 u32 cc1_config, cc2_config, default_ctrl; in __detect_host_device() local404 cc2_config = readl(reg_base + USB_TYPEC_CTRL_CC2_0); in __detect_host_device()407 cc2_config &= ~EN_CC_DET; in __detect_host_device()409 writel(cc2_config, reg_base + USB_TYPEC_CTRL_CC2_0); in __detect_host_device()416 cc2_config &= CC_CODE_MASK; in __detect_host_device()417 cc2_config |= rp_or_rd_en; in __detect_host_device()418 writel(cc2_config, reg_base + USB_TYPEC_CTRL_CC2_0); in __detect_host_device()430 cc2_config |= EN_CC_DET; in __detect_host_device()432 writel(cc2_config, reg_base + USB_TYPEC_CTRL_CC2_0); in __detect_host_device()