Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c859 struct uni_table_desc *ptab_descr; in qlcnic_validate_product_offs() local
865 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()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c682 struct uni_table_desc *ptab_descr; in netxen_nic_validate_product_offs() local
691 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()