Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dk3_j72xx_bandgap.c44 #define TABLE_SIZE 1024 macro
67 for (i = 0; i < TABLE_SIZE; i++) in init_table()
115 if (((i + err) < 0) || ((i + err) >= TABLE_SIZE)) in create_table_segments()
121 if (((i + err1) < 0) || ((i + err1) >= TABLE_SIZE)) in create_table_segments()
160 i = TABLE_SIZE - 1; in prep_lookup_table()
166 while (i < TABLE_SIZE) { in prep_lookup_table()
240 if (dtemp < 0 || dtemp >= TABLE_SIZE) in k3_bgp_read_temp()
260 int low = 0, high = TABLE_SIZE - 1, mid; in k3_j72xx_bandgap_temp_to_adc_code()
337 for (i = 0; i < TABLE_SIZE; i++) in print_look_up_table()
434 ref_table = kzalloc(sizeof(*ref_table) * TABLE_SIZE, GFP_KERNEL); in k3_j72xx_bandgap_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gpummu.c22 #define TABLE_SIZE (sizeof(uint32_t) * GPUMMU_VA_RANGE / GPUMMU_PAGE_SIZE) macro
79 dma_free_attrs(mmu->dev, TABLE_SIZE, gpummu->table, gpummu->pt_base, in msm_gpummu_destroy()
101 gpummu->table = dma_alloc_attrs(dev, TABLE_SIZE + 32, &gpummu->pt_base, in msm_gpummu_new()
120 *tran_error = base + TABLE_SIZE; /* 32-byte aligned */ in msm_gpummu_params()