Lines Matching refs:bl_cmd
246 static int iqs5xx_bl_cmd(struct i2c_client *client, u8 bl_cmd, u16 bl_addr) in iqs5xx_bl_cmd() argument
250 u8 mbuf[sizeof(bl_cmd) + sizeof(bl_addr)]; in iqs5xx_bl_cmd()
254 msg.len = sizeof(bl_cmd); in iqs5xx_bl_cmd()
257 *mbuf = bl_cmd; in iqs5xx_bl_cmd()
259 switch (bl_cmd) { in iqs5xx_bl_cmd()
266 put_unaligned_be16(bl_addr, mbuf + sizeof(bl_cmd)); in iqs5xx_bl_cmd()
276 switch (bl_cmd) { in iqs5xx_bl_cmd()
302 if (bl_cmd == IQS5XX_BL_CMD_VER && in iqs5xx_bl_cmd()
309 if (bl_cmd == IQS5XX_BL_CMD_CRC && *mbuf != IQS5XX_BL_CRC_PASS) { in iqs5xx_bl_cmd()
320 if (bl_cmd != IQS5XX_BL_CMD_VER) in iqs5xx_bl_cmd()
323 bl_cmd, ret); in iqs5xx_bl_cmd()