Lines Matching full:ack
118 u32 ack; in mtk_hdmi_ddc_read_msg() local
126 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, DDCM_ACK_OFFSET); in mtk_hdmi_ddc_read_msg()
127 dev_dbg(dev, "ack = 0x%x\n", ack); in mtk_hdmi_ddc_read_msg()
128 if (ack != 0x01) { in mtk_hdmi_ddc_read_msg()
129 dev_err(dev, "i2c ack err!\n"); in mtk_hdmi_ddc_read_msg()
153 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, in mtk_hdmi_ddc_read_msg()
156 while (((ack & (1 << temp_count)) != 0) && (temp_count < 8)) in mtk_hdmi_ddc_read_msg()
160 dev_err(dev, "Address NACK! ACK(0x%x)\n", ack); in mtk_hdmi_ddc_read_msg()
191 u32 ack; in mtk_hdmi_ddc_write_msg() local
200 ack = sif_read_mask(ddc, DDC_DDCMCTL1, DDCM_ACK_MASK, DDCM_ACK_OFFSET); in mtk_hdmi_ddc_write_msg()
201 dev_dbg(dev, "ack = %d\n", ack); in mtk_hdmi_ddc_write_msg()
203 if (ack != 0x03) { in mtk_hdmi_ddc_write_msg()
204 dev_err(dev, "i2c ack err!\n"); in mtk_hdmi_ddc_write_msg()