Home
last modified time | relevance | path

Searched refs:ptab_descr (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c707 struct uni_table_desc *ptab_descr; in netxen_nic_validate_product_offs() local
716 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL); in netxen_nic_validate_product_offs()
717 if (ptab_descr == NULL) in netxen_nic_validate_product_offs()
720 entries = cpu_to_le32(ptab_descr->num_entries); in netxen_nic_validate_product_offs()
721 entry_size = cpu_to_le32(ptab_descr->entry_size); in netxen_nic_validate_product_offs()
722 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in netxen_nic_validate_product_offs()
734 offs = cpu_to_le32(ptab_descr->findex) + in netxen_nic_validate_product_offs()
735 (i * cpu_to_le32(ptab_descr->entry_size)); in netxen_nic_validate_product_offs()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c895 struct uni_table_desc *ptab_descr; in qlcnic_validate_product_offs() local
903 ptab_descr = qlcnic_get_table_desc(unirom, in qlcnic_validate_product_offs()
905 if (!ptab_descr) in qlcnic_validate_product_offs()
908 entries = cpu_to_le32(ptab_descr->num_entries); in qlcnic_validate_product_offs()
909 entry_size = cpu_to_le32(ptab_descr->entry_size); in qlcnic_validate_product_offs()
910 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size); in qlcnic_validate_product_offs()
922 offs = cpu_to_le32(ptab_descr->findex) + in qlcnic_validate_product_offs()
923 (i * cpu_to_le32(ptab_descr->entry_size)); in qlcnic_validate_product_offs()