Lines Matching defs:stat_com
719 zr->stat_com[i] = cpu_to_le32(1); /* mark as unavailable to zr36057 */
798 reg = virt_to_bus(zr->stat_com);
1114 /* fill 1 stat_com entry */
1117 if (!(zr->stat_com[i] & cpu_to_le32(1)))
1119 zr->stat_com[i] =
1122 /* fill 2 stat_com entries */
1125 if (!(zr->stat_com[i] & cpu_to_le32(1)))
1127 zr->stat_com[i] =
1129 zr->stat_com[i + 1] =
1147 u32 stat_com;
1167 stat_com = le32_to_cpu(zr->stat_com[i]);
1169 if ((stat_com & 1) == 0) {
1177 buffer->bs.length = (stat_com & 0x7fffff) >> 1;
1179 /* update sequence number with the help of the counter in stat_com */
1181 seq = ((stat_com >> 24) + zr->jpg_err_seq) & 0xff;
1292 printk(KERN_INFO "stat_com frames:");
1295 if (le32_to_cpu(zr->stat_com[j]) == zr->jpg_buffers.buffer[i].jpg.frag_tab_bus)
1301 /* Find an entry in stat_com and rotate contents */
1308 zr->stat_com[i] |= cpu_to_le32(1);
1310 zr->stat_com[i + 1] |= cpu_to_le32(1);
1315 /* Find an entry in stat_com again after refill */
1326 /* Here we are copying the stat_com array, which
1330 memcpy(bus_addr, zr->stat_com, sizeof(bus_addr));
1333 zr->stat_com[j] = bus_addr[(i + j) & BUZ_MASK_STAT_COM];
1486 if (le32_to_cpu(zr->stat_com[i]) & 1)
1491 "%s: stat_com=%s queue_state=%ld/%ld/%ld/%ld\n",
1508 printk(KERN_INFO "%s: seq=%ld stat_com:",
1512 le32_to_cpu(zr->stat_com[i]));