Lines Matching refs:cdi
46 uint8_t cdi; member
637 uint8_t cdi = UC8176_CDI_VBD1 | UC8176_CDI_DDX0 | in uc8176_set_cdi() local
638 (p ? (p->cdi & UC8176_CDI_CDI_MASK) : 0); in uc8176_set_cdi()
646 cdi |= UC8176_CDI_VBD1 | UC8176_CDI_VBD0; in uc8176_set_cdi()
649 LOG_DBG("CDI: %#hhx", cdi); in uc8176_set_cdi()
650 return uc81xx_write_cmd_uint8(dev, UC81XX_CMD_CDI, cdi); in uc8176_set_cdi()
686 uint8_t cdi[UC8179_CDI_REG_LENGTH] = { in uc8179_set_cdi() local
688 p ? p->cdi : 0, in uc8179_set_cdi()
695 cdi[UC8179_CDI_BDZ_DDX_IDX] |= border ? 0 : UC8179_CDI_BDZ; in uc8179_set_cdi()
697 LOG_HEXDUMP_DBG(cdi, sizeof(cdi), "CDI"); in uc8179_set_cdi()
698 return uc81xx_write_cmd(dev, UC81XX_CMD_CDI, cdi, sizeof(cdi)); in uc8179_set_cdi()
744 .cdi = DT_PROP_OR(n, cdi, 0), \
745 .override_cdi = DT_NODE_HAS_PROP(n, cdi), \