Searched refs:ts_header (Results 1 – 4 of 4) sorted by relevance
54 struct vidtv_mpeg_ts ts_header = {}; in vidtv_ts_null_write_into() local56 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_ts_null_write_into()57 ts_header.bitfield = cpu_to_be16(TS_NULL_PACKET_PID); in vidtv_ts_null_write_into()58 ts_header.payload = 1; in vidtv_ts_null_write_into()59 ts_header.continuity_counter = *args.continuity_counter; in vidtv_ts_null_write_into()65 &ts_header, in vidtv_ts_null_write_into()66 sizeof(ts_header)); in vidtv_ts_null_write_into()89 struct vidtv_mpeg_ts ts_header = {}; in vidtv_ts_pcr_write_into() local92 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_ts_pcr_write_into()93 ts_header.bitfield = cpu_to_be16(args.pid); in vidtv_ts_pcr_write_into()[all …]
277 struct vidtv_mpeg_ts ts_header = {}; in vidtv_pes_write_ts_h() local280 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_pes_write_ts_h()281 ts_header.bitfield = cpu_to_be16((payload_start << 14) | args.pid); in vidtv_pes_write_ts_h()282 ts_header.scrambling = 0; in vidtv_pes_write_ts_h()283 ts_header.adaptation_field = (args.n_stuffing_bytes) > 0; in vidtv_pes_write_ts_h()284 ts_header.payload = (args.n_stuffing_bytes) < PES_TS_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_ts_h()286 ts_header.continuity_counter = *args.continuity_counter; in vidtv_pes_write_ts_h()294 &ts_header, in vidtv_pes_write_ts_h()295 sizeof(ts_header)); in vidtv_pes_write_ts_h()
160 struct vidtv_mpeg_ts ts_header = { in vidtv_psi_ts_psi_write_into() local197 ts_header.continuity_counter = *args->continuity_counter; in vidtv_psi_ts_psi_write_into()202 &ts_header, in vidtv_psi_ts_psi_write_into()203 sizeof(ts_header)); in vidtv_psi_ts_psi_write_into()
4482 u32 ts_header; in lan8841_rxtstamp() local4497 ts_header = __be32_to_cpu(header->reserved2); in lan8841_rxtstamp()4503 if ((ts.tv_sec & GENMASK(1, 0)) == 0 && (ts_header >> 30) == 3) in lan8841_rxtstamp()4505 else if ((ts.tv_sec & GENMASK(1, 0)) == 3 && (ts_header >> 30) == 0) in lan8841_rxtstamp()4509 ktime_set((ts.tv_sec & ~(GENMASK(1, 0))) | ts_header >> 30, in lan8841_rxtstamp()4510 ts_header & GENMASK(29, 0)); in lan8841_rxtstamp()