Lines Matching refs:tab_desc
645 struct uni_table_desc *tab_desc;
654 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_BOOTLD);
656 if (!tab_desc)
659 tab_size = cpu_to_le32(tab_desc->findex) +
660 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
665 offs = cpu_to_le32(tab_desc->findex) +
666 (cpu_to_le32(tab_desc->entry_size) * (idx));
680 struct uni_table_desc *tab_desc;
689 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_FW);
691 if (!tab_desc)
694 tab_size = cpu_to_le32(tab_desc->findex) +
695 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
700 offs = cpu_to_le32(tab_desc->findex) +
701 (cpu_to_le32(tab_desc->entry_size) * (idx));
801 struct uni_table_desc *tab_desc;
804 tab_desc = nx_get_table_desc(unirom, section);
806 if (tab_desc == NULL)
809 offs = cpu_to_le32(tab_desc->findex) +
810 (cpu_to_le32(tab_desc->entry_size) * idx);