Lines Matching refs:stat_com
764 zr->stat_com[i] = cpu_to_le32(1); /* mark as unavailable to zr36057 */
843 reg = virt_to_bus(zr->stat_com);
1166 /* fill 1 stat_com entry */
1169 if (!(zr->stat_com[i] & cpu_to_le32(1)))
1171 zr->stat_com[i] =
1174 /* fill 2 stat_com entries */
1177 if (!(zr->stat_com[i] & cpu_to_le32(1)))
1179 zr->stat_com[i] =
1181 zr->stat_com[i + 1] =
1199 u32 stat_com;
1219 stat_com = le32_to_cpu(zr->stat_com[i]);
1221 if ((stat_com & 1) == 0) {
1229 buffer->bs.length = (stat_com & 0x7fffff) >> 1;
1231 /* update sequence number with the help of the counter in stat_com */
1233 seq = ((stat_com >> 24) + zr->jpg_err_seq) & 0xff;
1308 printk("stat_com frames:");
1315 if (le32_to_cpu(zr->stat_com[j]) ==
1327 /* Find an entry in stat_com and rotate contents */
1339 zr->stat_com[i] |= cpu_to_le32(1);
1341 zr->stat_com[i + 1] |= cpu_to_le32(1);
1346 /* Find an entry in stat_com again after refill */
1360 /* Here we are copying the stat_com array, which
1364 memcpy(bus_addr, zr->stat_com,
1367 zr->stat_com[j] =
1573 if (le32_to_cpu(zr->stat_com[i]) & 1)
1578 "%s: stat_com=%s queue_state=%ld/%ld/%ld/%ld\n",
1597 printk("%s: seq=%ld stat_com:",
1601 le32_to_cpu(zr->stat_com[i]));