Searched refs:TABLE_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/thermal/ |
D | k3_j72xx_bandgap.c | 44 #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() 241 if (dtemp < 0 || dtemp >= TABLE_SIZE) in k3_bgp_read_temp() 268 int low = 0, high = TABLE_SIZE - 1, mid; in k3_j72xx_bandgap_temp_to_adc_code() 345 for (i = 0; i < TABLE_SIZE; i++) in print_look_up_table() 424 ref_table = kzalloc(sizeof(*ref_table) * TABLE_SIZE, GFP_KERNEL); in k3_j72xx_bandgap_probe() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gpummu.c | 22 #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()
|
/linux-6.1.9/drivers/net/ipa/ |
D | ipa_cmd.c | 155 #define TABLE_SIZE (TABLE_COUNT_MAX * sizeof(__le64)) in ipa_cmd_validate_build() macro 157 BUILD_BUG_ON(TABLE_SIZE > field_max(IP_FLTRT_FLAGS_HASH_SIZE_FMASK)); in ipa_cmd_validate_build() 158 BUILD_BUG_ON(TABLE_SIZE > field_max(IP_FLTRT_FLAGS_NHASH_SIZE_FMASK)); in ipa_cmd_validate_build() 160 #undef TABLE_SIZE in ipa_cmd_validate_build()
|