TS_PACKET_LEN
u32 mux_buf_sz = mux_buf_sz_pkts * TS_PACKET_LEN;
mux_buf_sz = roundup(nbytes_expected, TS_PACKET_LEN);
if (nbytes != npkts * TS_PACKET_LEN)
nbytes, npkts * TS_PACKET_LEN);
npkts = nbytes / TS_PACKET_LEN;
if (nbytes % TS_PACKET_LEN)
u32 unaligned_bytes = (args->dest_offset % TS_PACKET_LEN);
TS_PACKET_LEN - unaligned_bytes);
u32 nbytes_past_boundary = (args->dest_offset % TS_PACKET_LEN);
TS_PACKET_LEN - nbytes_past_boundary);
nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN;
nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN;
payload_write_len = min(TS_PACKET_LEN - nbytes_past_boundary, remaining_len);
nbytes_past_boundary = (args->dest_offset + nbytes) % TS_PACKET_LEN;
TS_PACKET_LEN - nbytes_past_boundary);
TS_PACKET_LEN - nbytes);
if (nbytes != TS_PACKET_LEN)
TS_PACKET_LEN,
TS_PACKET_LEN - nbytes);
if (nbytes != TS_PACKET_LEN)
TS_PACKET_LEN,