Lines Matching refs:tab_desc
655 struct uni_table_desc *tab_desc;
664 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_BOOTLD);
666 if (!tab_desc)
669 tab_size = cpu_to_le32(tab_desc->findex) +
670 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
675 offs = cpu_to_le32(tab_desc->findex) +
676 (cpu_to_le32(tab_desc->entry_size) * (idx));
690 struct uni_table_desc *tab_desc;
699 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_FW);
701 if (!tab_desc)
704 tab_size = cpu_to_le32(tab_desc->findex) +
705 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
710 offs = cpu_to_le32(tab_desc->findex) +
711 (cpu_to_le32(tab_desc->entry_size) * (idx));
810 struct uni_table_desc *tab_desc;
813 tab_desc = qlcnic_get_table_desc(unirom, section);
815 if (tab_desc == NULL)
818 offs = cpu_to_le32(tab_desc->findex) +
819 (cpu_to_le32(tab_desc->entry_size) * idx);