Searched refs:ptab_descr (Results 1 – 2 of 2) sorted by relevance
843 struct uni_table_desc *ptab_descr; in qlcnic_validate_product_offs() local851 ptab_descr = qlcnic_get_table_desc(unirom, in qlcnic_validate_product_offs()853 if (!ptab_descr) in qlcnic_validate_product_offs()856 entries = cpu_to_le32(ptab_descr->num_entries); in qlcnic_validate_product_offs()857 entry_size = cpu_to_le32(ptab_descr->entry_size); in qlcnic_validate_product_offs()858 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in qlcnic_validate_product_offs()870 offs = cpu_to_le32(ptab_descr->findex) + in qlcnic_validate_product_offs()871 (i * cpu_to_le32(ptab_descr->entry_size)); in qlcnic_validate_product_offs()
712 struct uni_table_desc *ptab_descr; in netxen_nic_validate_product_offs() local721 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL); in netxen_nic_validate_product_offs()722 if (ptab_descr == NULL) in netxen_nic_validate_product_offs()725 entries = cpu_to_le32(ptab_descr->num_entries); in netxen_nic_validate_product_offs()726 entry_size = cpu_to_le32(ptab_descr->entry_size); in netxen_nic_validate_product_offs()727 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in netxen_nic_validate_product_offs()739 offs = cpu_to_le32(ptab_descr->findex) + in netxen_nic_validate_product_offs()740 (i * cpu_to_le32(ptab_descr->entry_size)); in netxen_nic_validate_product_offs()