Lines Matching refs:tss
455 for (i = 0; i < ARRAY_SIZE(inst->tss); i++) { in put_ts_metadata()
456 if (!inst->tss[i].used) { in put_ts_metadata()
469 inst->tss[slot].used = true; in put_ts_metadata()
470 inst->tss[slot].flags = vbuf->flags; in put_ts_metadata()
471 inst->tss[slot].tc = vbuf->timecode; in put_ts_metadata()
472 inst->tss[slot].ts_us = ts_us; in put_ts_metadata()
473 inst->tss[slot].ts_ns = vb->timestamp; in put_ts_metadata()
482 for (i = 0; i < ARRAY_SIZE(inst->tss); ++i) { in venus_helper_get_ts_metadata()
483 if (!inst->tss[i].used) in venus_helper_get_ts_metadata()
486 if (inst->tss[i].ts_us != timestamp_us) in venus_helper_get_ts_metadata()
489 inst->tss[i].used = false; in venus_helper_get_ts_metadata()
490 vbuf->flags |= inst->tss[i].flags; in venus_helper_get_ts_metadata()
491 vbuf->timecode = inst->tss[i].tc; in venus_helper_get_ts_metadata()
492 vb->timestamp = inst->tss[i].ts_ns; in venus_helper_get_ts_metadata()