Lines Matching refs:curr
37 struct vidtv_encoder *curr = e; in vidtv_channel_encoder_destroy() local
39 while (curr) { in vidtv_channel_encoder_destroy()
41 tmp = curr; in vidtv_channel_encoder_destroy()
42 curr = curr->next; in vidtv_channel_encoder_destroy()
163 struct vidtv_psi_table_eit_event *curr = NULL; in vidtv_channel_eit_event_cat_into_new() local
173 curr = cur_chnl->events; in vidtv_channel_eit_event_cat_into_new()
175 if (!curr) in vidtv_channel_eit_event_cat_into_new()
180 while (curr) { in vidtv_channel_eit_event_cat_into_new()
181 event_id = be16_to_cpu(curr->event_id); in vidtv_channel_eit_event_cat_into_new()
188 desc = vidtv_psi_desc_clone(curr->descriptor); in vidtv_channel_eit_event_cat_into_new()
194 curr = curr->next; in vidtv_channel_eit_event_cat_into_new()
209 struct vidtv_psi_table_sdt_service *curr = NULL; in vidtv_channel_sdt_serv_cat_into_new() local
220 curr = cur_chnl->service; in vidtv_channel_sdt_serv_cat_into_new()
222 if (!curr) in vidtv_channel_sdt_serv_cat_into_new()
227 while (curr) { in vidtv_channel_sdt_serv_cat_into_new()
228 service_id = be16_to_cpu(curr->service_id); in vidtv_channel_sdt_serv_cat_into_new()
231 curr->EIT_schedule, in vidtv_channel_sdt_serv_cat_into_new()
232 curr->EIT_present_following); in vidtv_channel_sdt_serv_cat_into_new()
236 desc = vidtv_psi_desc_clone(curr->descriptor); in vidtv_channel_sdt_serv_cat_into_new()
244 curr = curr->next; in vidtv_channel_sdt_serv_cat_into_new()
264 struct vidtv_psi_table_pat_program *curr = NULL; in vidtv_channel_pat_prog_cat_into_new() local
274 curr = cur_chnl->program; in vidtv_channel_pat_prog_cat_into_new()
276 if (!curr) in vidtv_channel_pat_prog_cat_into_new()
281 while (curr) { in vidtv_channel_pat_prog_cat_into_new()
282 serv_id = be16_to_cpu(curr->service_id); in vidtv_channel_pat_prog_cat_into_new()
283 pid = vidtv_psi_get_pat_program_pid(curr); in vidtv_channel_pat_prog_cat_into_new()
295 curr = curr->next; in vidtv_channel_pat_prog_cat_into_new()
531 struct vidtv_channel *curr = m->channels; in vidtv_channels_destroy() local
534 while (curr) { in vidtv_channels_destroy()
535 kfree(curr->name); in vidtv_channels_destroy()
536 vidtv_psi_sdt_service_destroy(curr->service); in vidtv_channels_destroy()
537 vidtv_psi_pat_program_destroy(curr->program); in vidtv_channels_destroy()
538 vidtv_psi_pmt_stream_destroy(curr->streams); in vidtv_channels_destroy()
539 vidtv_channel_encoder_destroy(curr->encoders); in vidtv_channels_destroy()
540 vidtv_psi_eit_event_destroy(curr->events); in vidtv_channels_destroy()
542 tmp = curr; in vidtv_channels_destroy()
543 curr = curr->next; in vidtv_channels_destroy()