Home
last modified time | relevance | path

Searched refs:TS_PACKET_LEN (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_ts.c75 TS_PACKET_LEN - nbytes); in vidtv_ts_null_write_into()
78 if (nbytes != TS_PACKET_LEN) in vidtv_ts_null_write_into()
80 TS_PACKET_LEN, in vidtv_ts_null_write_into()
127 TS_PACKET_LEN - nbytes); in vidtv_ts_pcr_write_into()
130 if (nbytes != TS_PACKET_LEN) in vidtv_ts_pcr_write_into()
132 TS_PACKET_LEN, in vidtv_ts_pcr_write_into()
H A Dvidtv_mux.c373 if (nbytes != npkts * TS_PACKET_LEN) in vidtv_mux_pad_with_nulls()
375 nbytes, npkts * TS_PACKET_LEN); in vidtv_mux_pad_with_nulls()
413 npkts = nbytes / TS_PACKET_LEN; in vidtv_mux_tick()
416 if (nbytes % TS_PACKET_LEN) in vidtv_mux_tick()
H A Dvidtv_ts.h16 #define TS_PACKET_LEN 188 macro
H A Dvidtv_pes.c305 u32 unaligned_bytes = (args->dest_offset % TS_PACKET_LEN); in vidtv_pes_write_into()
342 TS_PACKET_LEN - unaligned_bytes); in vidtv_pes_write_into()
H A Dvidtv_psi.c167 u32 nbytes_past_boundary = (args->dest_offset % TS_PACKET_LEN); in vidtv_psi_ts_psi_write_into()
188 TS_PACKET_LEN - nbytes_past_boundary); in vidtv_psi_ts_psi_write_into()
192 nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN; in vidtv_psi_ts_psi_write_into()
220 nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN; in vidtv_psi_ts_psi_write_into()
221 payload_write_len = min(TS_PACKET_LEN - nbytes_past_boundary, remaining_len); in vidtv_psi_ts_psi_write_into()
238 nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN; in vidtv_psi_ts_psi_write_into()
245 TS_PACKET_LEN - nbytes_past_boundary); in vidtv_psi_ts_psi_write_into()
H A Dvidtv_bridge.c123 u32 mux_buf_sz = mux_buf_sz_pkts * TS_PACKET_LEN; in vidtv_bridge_mux_buf_sz_for_mux_rate()
129 mux_buf_sz = roundup(nbytes_expected, TS_PACKET_LEN); in vidtv_bridge_mux_buf_sz_for_mux_rate()