Home
last modified time | relevance | path

Searched refs:table_len (Results 1 – 9 of 9) sorted by relevance

/drivers/regulator/
Dtps6507x-regulator.c72 u8 table_len; member
82 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
87 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
92 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
97 .table_len = ARRAY_SIZE(LDO1_VSEL_table),
102 .table_len = ARRAY_SIZE(LDO2_VSEL_table),
412 tps->desc[i].n_voltages = info->table_len; in tps6507x_pmic_probe()
Dtwl-regulator.c41 u8 table_len; member
392 vsel &= info->table_len - 1; in twl4030ldo_get_voltage_sel()
461 .table_len = ARRAY_SIZE(label##_VSEL_table), \
/drivers/power/supply/
Dpower_supply_core.c932 int table_len, int temp) in power_supply_temp2resist_simple() argument
936 for (i = 0; i < table_len; i++) in power_supply_temp2resist_simple()
943 else if (i == table_len) in power_supply_temp2resist_simple()
974 int table_len; in power_supply_vbat2ri() local
984 table_len = info->vbat2ri_charging_size; in power_supply_vbat2ri()
987 table_len = info->vbat2ri_discharging_size; in power_supply_vbat2ri()
994 if (!vbat2ri || (table_len <= 0) || (vbat_uv > vbat2ri[0].vbat_uv)) { in power_supply_vbat2ri()
1002 for (i = 0; i < table_len - 1; i++) in power_supply_vbat2ri()
1007 if ((i == 0) || (i == (table_len - 1))) in power_supply_vbat2ri()
1044 int table_len, int ocv) in power_supply_ocv2cap_simple() argument
[all …]
Dsc27xx_fuel_gauge.c115 int table_len; member
333 *cap = power_supply_ocv2cap_simple(data->cap_table, data->table_len, in sc27xx_fgu_get_boot_capacity()
816 } else if (ocv <= data->cap_table[data->table_len - 1].ocv) { in sc27xx_fgu_capacity_calibration()
822 } else if ((ocv > data->cap_table[data->table_len - 1].ocv && cap <= 0) || in sc27xx_fgu_capacity_calibration()
830 data->table_len, ocv); in sc27xx_fgu_capacity_calibration()
851 data->table_len, in sc27xx_fgu_capacity_calibration()
863 data->min_volt = data->cap_table[data->table_len - 1].ocv; in sc27xx_fgu_capacity_calibration()
865 data->table_len, in sc27xx_fgu_capacity_calibration()
1013 table = power_supply_find_ocv2cap_table(info, 20, &data->table_len); in sc27xx_fgu_hw_init()
1018 data->table_len * sizeof(*table), in sc27xx_fgu_hw_init()
[all …]
/drivers/infiniband/core/
Dcache.c48 int table_len; member
1067 if (!cache || index < 0 || index >= cache->table_len) in ib_get_cached_pkey()
1111 for (i = 0; i < cache->table_len; ++i) in ib_find_cached_pkey()
1155 for (i = 0; i < cache->table_len; ++i) in ib_find_exact_cached_pkey()
1511 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
1513 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h213 unsigned int table_len; member
Dqat_uclo.c77 if (!str_table->table_len || str_offset > str_table->table_len) in qat_uclo_get_string()
696 memcpy(&str_table->table_len, obj_hdr->file_buff + in qat_uclo_map_str_table()
697 chunk_hdr->offset, sizeof(str_table->table_len)); in qat_uclo_map_str_table()
/drivers/net/ethernet/fungible/funeth/
Dfuneth_main.c180 unsigned int table_len = fp->indir_table_nentries; in fun_config_rss() local
181 unsigned int len = FUN_ETH_RSS_MAX_KEY_SIZE + sizeof(u32) * table_len; in fun_config_rss()
205 table_len, 0, in fun_config_rss()
213 for (rc = 0; rc < table_len; rc++) in fun_config_rss()
/drivers/infiniband/ulp/srp/
Dib_srp.c1637 u32 idb_len, table_len; in srp_map_data() local
1762 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data()
1763 idb_len = sizeof(struct srp_indirect_buf) + table_len; in srp_map_data()
1785 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
1793 ib_dma_sync_single_for_device(ibdev, req->indirect_dma_addr, table_len, in srp_map_data()