Lines Matching refs:tptr
361 struct tplg_table *tptr; in tplg_elem_type_lookup() local
367 tptr = &tplg_table[index]; in tplg_elem_type_lookup()
368 if (!tptr->enew) in tplg_elem_type_lookup()
370 if ((int)type != tptr->type) in tplg_elem_type_lookup()
377 list = (struct list_head *)((void *)tplg + tptr->loff); in tplg_elem_type_lookup()
408 struct tplg_table *tptr; in tplg_elem_new_common() local
451 tptr = &tplg_table[index]; in tplg_elem_new_common()
452 if (!tptr->enew) in tplg_elem_new_common()
454 if ((int)type != tptr->type) in tplg_elem_new_common()
463 list = (struct list_head *)((void *)tplg + tptr->loff); in tplg_elem_new_common()
465 obj_size = tptr->size; in tplg_elem_new_common()
466 elem->free = tptr->free; in tplg_elem_new_common()
467 elem->table = tptr; in tplg_elem_new_common()