Home
last modified time | relevance | path

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

/drivers/regulator/
Dtps65023-regulator.c135 u8 table_len; member
258 data &= (tps->info[dcdc]->table_len - 1); in tps65023_dcdc_get_voltage()
282 for (vsel = 0; vsel < tps->info[dcdc]->table_len; vsel++) { in tps65023_dcdc_set_voltage()
293 if (vsel == tps->info[dcdc]->table_len) in tps65023_dcdc_set_voltage()
324 data &= (tps->info[ldo]->table_len - 1); in tps65023_ldo_get_voltage()
343 for (vsel = 0; vsel < tps->info[ldo]->table_len; vsel++) { in tps65023_ldo_set_voltage()
352 if (vsel == tps->info[ldo]->table_len) in tps65023_ldo_set_voltage()
376 if (selector >= tps->info[dcdc]->table_len) in tps65023_dcdc_list_voltage()
393 if (selector >= tps->info[ldo]->table_len) in tps65023_ldo_list_voltage()
468 tps->desc[i].n_voltages = info->table_len; in tps_65023_probe()
[all …]
Dtps6507x-regulator.c97 u8 table_len; member
109 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
116 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
123 .table_len = ARRAY_SIZE(VDCDCx_VSEL_table),
130 .table_len = ARRAY_SIZE(LDO1_VSEL_table),
137 .table_len = ARRAY_SIZE(LDO2_VSEL_table),
388 if (selector >= tps->info[rid]->table_len) in tps6507x_pmic_list_voltage()
451 tps->desc[i].n_voltages = info->table_len; in tps6507x_pmic_probe()
Dtps65217-regulator.c47 .table_len = _n, \
225 if (selector >= tps->info[ldo]->table_len) in tps65217_pmic_ldo1_set_voltage_sel()
286 if (selector >= tps->info[rid]->table_len) in tps65217_pmic_list_voltage()
Dtwl-regulator.c44 u8 table_len; member
482 for (vsel = 0; vsel < info->table_len; vsel++) { in twl4030ldo_set_voltage()
512 vsel &= info->table_len - 1; in twl4030ldo_get_voltage()
930 .table_len = ARRAY_SIZE(label##_VSEL_table), \
/drivers/infiniband/core/
Dcache.c46 int table_len; member
51 int table_len; member
88 if (index < 0 || index >= cache->table_len) in ib_get_cached_gid()
117 for (i = 0; i < cache->table_len; ++i) { in ib_find_cached_gid()
150 if (index < 0 || index >= cache->table_len) in ib_get_cached_pkey()
180 for (i = 0; i < cache->table_len; ++i) in ib_find_cached_pkey()
236 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
243 gid_cache->table_len = tprops->gid_tbl_len; in ib_cache_update()
245 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
254 for (i = 0; i < gid_cache->table_len; ++i) { in ib_cache_update()
/drivers/infiniband/ulp/srp/
Dib_srp.c866 u32 table_len; in srp_map_data() local
975 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data()
986 indirect_hdr->table_desc.len = cpu_to_be32(table_len); in srp_map_data()
994 ib_dma_sync_single_for_device(ibdev, req->indirect_dma_addr, table_len, in srp_map_data()