Home
last modified time | relevance | path

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

/drivers/regulator/
Dtps6507x-regulator.c80 u8 table_len; member
90 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
95 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
100 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
105 .table_len = ARRAY_SIZE(LDO1_VSEL_table),
110 .table_len = ARRAY_SIZE(LDO2_VSEL_table),
420 tps->desc[i].n_voltages = info->table_len; in tps6507x_pmic_probe()
Dtwl-regulator.c41 u8 table_len; member
398 vsel &= info->table_len - 1; in twl4030ldo_get_voltage_sel()
467 .table_len = ARRAY_SIZE(label##_VSEL_table), \
/drivers/power/supply/
Dpower_supply_core.c876 int table_len, int temp) in power_supply_temp2resist_simple() argument
880 for (i = 0; i < table_len; i++) in power_supply_temp2resist_simple()
884 if (i > 0 && i < table_len) { in power_supply_temp2resist_simple()
894 resist = table[table_len - 1].resistance; in power_supply_temp2resist_simple()
914 int table_len, int ocv) in power_supply_ocv2cap_simple() argument
918 for (i = 0; i < table_len; i++) in power_supply_ocv2cap_simple()
922 if (i > 0 && i < table_len) { in power_supply_ocv2cap_simple()
930 cap = table[table_len - 1].capacity; in power_supply_ocv2cap_simple()
939 int temp, int *table_len) in power_supply_find_ocv2cap_table() argument
960 *table_len = info->ocv_table_size[best_index]; in power_supply_find_ocv2cap_table()
[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
1061 if (!cache || index < 0 || index >= cache->table_len) in ib_get_cached_pkey()
1105 for (i = 0; i < cache->table_len; ++i) in ib_find_cached_pkey()
1149 for (i = 0; i < cache->table_len; ++i) in ib_find_exact_cached_pkey()
1505 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
1507 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h212 unsigned int table_len; member
Dqat_uclo.c77 if (!str_table->table_len || str_offset > str_table->table_len) in qat_uclo_get_string()
693 memcpy(&str_table->table_len, obj_hdr->file_buff + in qat_uclo_map_str_table()
694 chunk_hdr->offset, sizeof(str_table->table_len)); in qat_uclo_map_str_table()
/drivers/infiniband/ulp/srp/
Dib_srp.c1631 u32 idb_len, table_len; in srp_map_data() local
1756 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data()
1757 idb_len = sizeof(struct srp_indirect_buf) + table_len; in srp_map_data()
1779 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
1787 ib_dma_sync_single_for_device(ibdev, req->indirect_dma_addr, table_len, in srp_map_data()