Home
last modified time | relevance | path

Searched refs:tab_size (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c774 u32 entries, entry_size, tab_size, fw_file_size; in qlcnic_validate_header() local
783 tab_size = le32_to_cpu(directory->findex) + (entries * entry_size); in qlcnic_validate_header()
785 if (fw_file_size < tab_size) in qlcnic_validate_header()
796 u32 offs, tab_size, data_size, idx; in qlcnic_validate_bootld() local
808 tab_size = le32_to_cpu(tab_desc->findex) + in qlcnic_validate_bootld()
811 if (adapter->fw->size < tab_size) in qlcnic_validate_bootld()
832 u32 offs, tab_size, data_size, idx; in qlcnic_validate_fw() local
843 tab_size = le32_to_cpu(tab_desc->findex) + in qlcnic_validate_fw()
846 if (adapter->fw->size < tab_size) in qlcnic_validate_fw()
866 u32 entries, entry_size, tab_size, i; in qlcnic_validate_product_offs() local
[all …]
/drivers/media/dvb-frontends/
Dves1x93.c34 u8 tab_size; member
260 for (i = 0; i < state->tab_size; i++) { in ves1x93_init()
469 state->tab_size = sizeof(init_1893_tab); in ves1x93_attach()
477 state->tab_size = sizeof(init_1893_tab); in ves1x93_attach()
485 state->tab_size = sizeof(init_1993_tab); in ves1x93_attach()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c594 u32 tab_size; in netxen_nic_validate_header() local
603 tab_size = cpu_to_le32(directory->findex) + (entries * entry_size); in netxen_nic_validate_header()
605 if (fw_file_size < tab_size) in netxen_nic_validate_header()
620 u32 tab_size; in netxen_nic_validate_bootld() local
628 tab_size = cpu_to_le32(tab_desc->findex) + in netxen_nic_validate_bootld()
631 if (adapter->fw->size < tab_size) in netxen_nic_validate_bootld()
655 u32 tab_size; in netxen_nic_validate_fw() local
663 tab_size = cpu_to_le32(tab_desc->findex) + in netxen_nic_validate_fw()
666 if (adapter->fw->size < tab_size) in netxen_nic_validate_fw()
690 u32 tab_size; in netxen_nic_validate_product_offs() local
[all …]
/drivers/iio/magnetometer/
Dak8974.c450 __le16 *tab, size_t tab_size) in ak8974_read_calib_data() argument
452 int ret = regmap_bulk_read(ak8974->map, reg, tab, tab_size); in ak8974_read_calib_data()
454 memset(tab, 0xFF, tab_size); in ak8974_read_calib_data()
457 reg, reg + tab_size - 1, ret); in ak8974_read_calib_data()
459 add_device_randomness(tab, tab_size); in ak8974_read_calib_data()