Lines Matching full:bitfield
102 ret = be16_to_cpu(h->bitfield) & mask; in vidtv_psi_get_sec_len()
113 ret = be16_to_cpu(p->bitfield) & mask; in vidtv_psi_get_pat_program_pid()
124 ret = be16_to_cpu(s->bitfield) & mask; in vidtv_psi_pmt_stream_get_elem_pid()
128 static void vidtv_psi_set_desc_loop_len(__be16 *bitfield, u16 new_len, in vidtv_psi_set_desc_loop_len() argument
136 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len()
137 *bitfield = new; in vidtv_psi_set_desc_loop_len()
148 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len()
156 h->bitfield = new; in vidtv_psi_set_sec_len()
169 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into()
852 vidtv_psi_set_desc_loop_len(&s->bitfield, desc_loop_len, 12); in vidtv_psi_sdt_table_update_sec_len()
878 program->bitfield = cpu_to_be16((RESERVED << 13) | program_map_pid); in vidtv_psi_pat_program_init()
949 pat->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pat_table_init()
1049 stream->bitfield = cpu_to_be16((RESERVED1 << 13) | es_pid); in vidtv_psi_pmt_stream_init()
1138 pmt->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ZERO << 14) | (ONES << 12)); in vidtv_psi_pmt_table_init()
1149 pmt->bitfield = cpu_to_be16((RESERVED1 << 13) | pcr_pid); in vidtv_psi_pmt_table_init()
1177 .from = &args->pmt->bitfield, in vidtv_psi_pmt_write_into()
1178 .len = sizeof_field(struct vidtv_psi_table_pmt, bitfield) + in vidtv_psi_pmt_write_into()
1278 sdt->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ONE << 14) | (ONES << 12)); in vidtv_psi_sdt_table_init()
1428 service->bitfield = cpu_to_be16(RUNNING << 13); in vidtv_psi_sdt_service_init()
1556 vidtv_psi_set_desc_loop_len(&nit->bitfield, desc_loop_len, 12); in vidtv_psi_nit_table_update_sec_len()
1571 vidtv_psi_set_desc_loop_len(&t->bitfield, desc_loop_len, 12); in vidtv_psi_nit_table_update_sec_len()
1607 nit->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ONE << 14) | (ONES << 12)); in vidtv_psi_nit_table_init()
1618 nit->bitfield = cpu_to_be16(0xf); in vidtv_psi_nit_table_init()
1628 transport->bitfield = cpu_to_be16(0xf); in vidtv_psi_nit_table_init()
1661 .from = &args->nit->bitfield, in vidtv_psi_nit_write_into()
1662 .len = sizeof_field(struct vidtv_psi_table_nit, bitfield), in vidtv_psi_nit_write_into()
1691 /* write the bitfield */ in vidtv_psi_nit_write_into()
1711 /* write the second bitfield */ in vidtv_psi_nit_write_into()
1720 sizeof_field(struct vidtv_psi_table_transport, bitfield); in vidtv_psi_nit_write_into()
1794 vidtv_psi_set_desc_loop_len(&e->bitfield, desc_loop_len, 12); in vidtv_psi_eit_table_update_sec_len()
1838 eit->header.bitfield = cpu_to_be16((SYNTAX << 15) | (ONE << 14) | (ONES << 12)); in vidtv_psi_eit_table_init()
1996 e->bitfield = cpu_to_be16(RUNNING << 13); in vidtv_psi_eit_event_init()