// SPDX-License-Identifier: GPL-2.0 /* * The Virtual DVB test driver serves as a reference DVB driver and helps * validate the existing APIs in the media subsystem. It can also aid * developers working on userspace applications. * * Copyright (C) 2020 Daniel W. S. Almeida */ #define pr_fmt(fmt) … #include <linux/math64.h> #include <linux/printk.h> #include <linux/ratelimit.h> #include <linux/types.h> #include "vidtv_common.h" #include "vidtv_ts.h" static u32 vidtv_ts_write_pcr_bits(u8 *to, u32 to_offset, u64 pcr) { … } void vidtv_ts_inc_cc(u8 *continuity_counter) { … } u32 vidtv_ts_null_write_into(struct null_packet_write_args args) { … } u32 vidtv_ts_pcr_write_into(struct pcr_write_args args) { … }