Searched refs:ptab_descr (Results 1 – 2 of 2) sorted by relevance
848 struct uni_table_desc *ptab_descr; in qlcnic_validate_product_offs() local854 ptab_descr = qlcnic_get_table_desc(unirom, in qlcnic_validate_product_offs()856 if (!ptab_descr) in qlcnic_validate_product_offs()859 entries = le32_to_cpu(ptab_descr->num_entries); in qlcnic_validate_product_offs()860 entry_size = le32_to_cpu(ptab_descr->entry_size); in qlcnic_validate_product_offs()861 tab_size = le32_to_cpu(ptab_descr->findex) + (entries * entry_size); in qlcnic_validate_product_offs()873 offs = le32_to_cpu(ptab_descr->findex) + in qlcnic_validate_product_offs()874 i * le32_to_cpu(ptab_descr->entry_size); in qlcnic_validate_product_offs()
700 struct uni_table_desc *ptab_descr; in netxen_nic_validate_product_offs() local709 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL); in netxen_nic_validate_product_offs()710 if (ptab_descr == NULL) in netxen_nic_validate_product_offs()713 entries = cpu_to_le32(ptab_descr->num_entries); in netxen_nic_validate_product_offs()714 entry_size = cpu_to_le32(ptab_descr->entry_size); in netxen_nic_validate_product_offs()715 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in netxen_nic_validate_product_offs()727 offs = cpu_to_le32(ptab_descr->findex) + in netxen_nic_validate_product_offs()728 (i * cpu_to_le32(ptab_descr->entry_size)); in netxen_nic_validate_product_offs()