Lines Matching refs:nbytes
172 u32 nbytes = 0; in vidtv_psi_ts_psi_write_into() local
184 nbytes += vidtv_memset(args->dest_buf, in vidtv_psi_ts_psi_write_into()
185 args->dest_offset + nbytes, 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()
199 nbytes += vidtv_memcpy(args->dest_buf, in vidtv_psi_ts_psi_write_into()
200 args->dest_offset + nbytes, in vidtv_psi_ts_psi_write_into()
213 nbytes += vidtv_memset(args->dest_buf, in vidtv_psi_ts_psi_write_into()
214 args->dest_offset + nbytes, 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()
223 nbytes += vidtv_memcpy(args->dest_buf, in vidtv_psi_ts_psi_write_into()
224 args->dest_offset + nbytes, 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()
241 nbytes += vidtv_memset(args->dest_buf, in vidtv_psi_ts_psi_write_into()
242 args->dest_offset + nbytes, in vidtv_psi_ts_psi_write_into()
247 return nbytes; in vidtv_psi_ts_psi_write_into()
644 u32 nbytes = 0; in vidtv_psi_desc_write_into() local
646 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
648 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
652 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
657 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
659 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
663 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
665 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
669 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
671 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
675 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
679 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
683 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
689 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
694 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
701 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
706 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
708 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
713 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
715 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
719 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
721 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
725 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
727 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
731 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
737 psi_args.dest_offset = args->dest_offset + nbytes; in vidtv_psi_desc_write_into()
741 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_desc_write_into()
745 return nbytes; in vidtv_psi_desc_write_into()
981 u32 nbytes = 0; in vidtv_psi_pat_write_into() local
987 nbytes += vidtv_psi_table_header_write_into(&h_args); in vidtv_psi_pat_write_into()
999 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_pat_write_into()
1002 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_pat_write_into()
1007 c_args.dest_offset = args->offset + nbytes; in vidtv_psi_pat_write_into()
1012 nbytes += table_section_crc32_write_into(&c_args); in vidtv_psi_pat_write_into()
1014 return nbytes; in vidtv_psi_pat_write_into()
1160 u32 nbytes = 0; in vidtv_psi_pmt_write_into() local
1196 nbytes += vidtv_psi_table_header_write_into(&h_args); in vidtv_psi_pmt_write_into()
1199 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_pmt_write_into()
1201 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_pmt_write_into()
1205 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_pmt_write_into()
1209 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_pmt_write_into()
1218 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_pmt_write_into()
1221 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_pmt_write_into()
1227 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_pmt_write_into()
1232 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_pmt_write_into()
1240 c_args.dest_offset = args->offset + nbytes; in vidtv_psi_pmt_write_into()
1245 nbytes += table_section_crc32_write_into(&c_args); in vidtv_psi_pmt_write_into()
1247 return nbytes; in vidtv_psi_pmt_write_into()
1332 u32 nbytes = 0; in vidtv_psi_sdt_write_into() local
1342 nbytes += vidtv_psi_table_header_write_into(&h_args); in vidtv_psi_sdt_write_into()
1345 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_sdt_write_into()
1350 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_sdt_write_into()
1360 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_sdt_write_into()
1363 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_sdt_write_into()
1369 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_sdt_write_into()
1374 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_sdt_write_into()
1382 c_args.dest_offset = args->offset + nbytes; in vidtv_psi_sdt_write_into()
1387 nbytes += table_section_crc32_write_into(&c_args); in vidtv_psi_sdt_write_into()
1389 return nbytes; in vidtv_psi_sdt_write_into()
1675 u32 nbytes = 0; in vidtv_psi_nit_write_into() local
1682 nbytes += vidtv_psi_table_header_write_into(&h_args); in vidtv_psi_nit_write_into()
1686 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1690 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_nit_write_into()
1694 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1699 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_nit_write_into()
1707 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1709 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_nit_write_into()
1717 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1719 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_nit_write_into()
1725 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1730 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_nit_write_into()
1738 c_args.dest_offset = args->offset + nbytes; in vidtv_psi_nit_write_into()
1743 nbytes += table_section_crc32_write_into(&c_args); in vidtv_psi_nit_write_into()
1745 return nbytes; in vidtv_psi_nit_write_into()
1886 u32 nbytes = 0; in vidtv_psi_eit_write_into() local
1893 nbytes += vidtv_psi_table_header_write_into(&h_args); in vidtv_psi_eit_write_into()
1896 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_eit_write_into()
1900 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_eit_write_into()
1909 psi_args.dest_offset = args->offset + nbytes; in vidtv_psi_eit_write_into()
1911 nbytes += vidtv_psi_ts_psi_write_into(&psi_args); in vidtv_psi_eit_write_into()
1917 d_args.dest_offset = args->offset + nbytes; in vidtv_psi_eit_write_into()
1922 nbytes += vidtv_psi_desc_write_into(&d_args); in vidtv_psi_eit_write_into()
1930 c_args.dest_offset = args->offset + nbytes; in vidtv_psi_eit_write_into()
1935 nbytes += table_section_crc32_write_into(&c_args); in vidtv_psi_eit_write_into()
1937 return nbytes; in vidtv_psi_eit_write_into()