Searched refs:ptab_descr (Results 1 – 2 of 2) sorted by relevance
859 struct uni_table_desc *ptab_descr; in qlcnic_validate_product_offs() local865 ptab_descr = qlcnic_get_table_desc(unirom, in qlcnic_validate_product_offs()867 if (!ptab_descr) in qlcnic_validate_product_offs()870 entries = le32_to_cpu(ptab_descr->num_entries); in qlcnic_validate_product_offs()871 entry_size = le32_to_cpu(ptab_descr->entry_size); in qlcnic_validate_product_offs()872 tab_size = le32_to_cpu(ptab_descr->findex) + (entries * entry_size); in qlcnic_validate_product_offs()884 offs = le32_to_cpu(ptab_descr->findex) + in qlcnic_validate_product_offs()885 i * le32_to_cpu(ptab_descr->entry_size); in qlcnic_validate_product_offs()
682 struct uni_table_desc *ptab_descr; in netxen_nic_validate_product_offs() local691 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL); in netxen_nic_validate_product_offs()692 if (ptab_descr == NULL) in netxen_nic_validate_product_offs()695 entries = cpu_to_le32(ptab_descr->num_entries); in netxen_nic_validate_product_offs()696 entry_size = cpu_to_le32(ptab_descr->entry_size); in netxen_nic_validate_product_offs()697 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in netxen_nic_validate_product_offs()709 offs = cpu_to_le32(ptab_descr->findex) + in netxen_nic_validate_product_offs()710 (i * cpu_to_le32(ptab_descr->entry_size)); in netxen_nic_validate_product_offs()