Home
last modified time | relevance | path

Searched refs:ts_header (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_ts.c54 struct vidtv_mpeg_ts ts_header = {}; in vidtv_ts_null_write_into() local
56 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() local
92 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 …]
H A Dvidtv_pes.c277 struct vidtv_mpeg_ts ts_header = {}; in vidtv_pes_write_ts_h() local
280 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()
H A Dvidtv_psi.c160 struct vidtv_mpeg_ts ts_header = { in vidtv_psi_ts_psi_write_into() local
197 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()
/linux/drivers/net/phy/
H A Dmicrel.c4482 u32 ts_header; in lan8841_rxtstamp() local
4497 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()