/linux/drivers/thermal/ |
H A D | thermal-generic-adc.c | 22 s32 *lookup_table; member 31 if (!gti->lookup_table) in gadc_thermal_adc_to_temp() 35 if (val >= gti->lookup_table[2 * i + 1]) in gadc_thermal_adc_to_temp() 40 temp = gti->lookup_table[0]; in gadc_thermal_adc_to_temp() 42 temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; in gadc_thermal_adc_to_temp() 44 adc_hi = gti->lookup_table[2 * i - 1]; in gadc_thermal_adc_to_temp() 45 adc_lo = gti->lookup_table[2 * i + 1]; in gadc_thermal_adc_to_temp() 47 temp_hi = gti->lookup_table[2 * i - 2]; in gadc_thermal_adc_to_temp() 48 temp_lo = gti->lookup_table[2 * i]; in gadc_thermal_adc_to_temp() 99 gti->lookup_table in gadc_thermal_read_linear_lookup_table() [all...] |
/linux/drivers/clk/rockchip/ |
H A D | softrst.c | 92 const int *lookup_table, in rockchip_register_softrst_lut() argument 106 softrst->lut = lookup_table; in rockchip_register_softrst_lut() 113 if (lookup_table) in rockchip_register_softrst_lut()
|
H A D | clk.h | 1230 const int *lookup_table, 1235 const int *lookup_table, in rockchip_register_softrst_lut() argument
|
/linux/drivers/staging/gpib/gpio/ |
H A D | gpib_bitbang.c | 1130 struct gpiod_lookup_table *lookup_table; in allocate_gpios() local 1137 lookup_table = lookup_tables[table_index]; in allocate_gpios() 1138 lookup_table->dev_id = dev_name(board->gpib_dev); in allocate_gpios() 1139 gpiod_add_lookup_table(lookup_table); in allocate_gpios() 1152 gpiod_remove_lookup_table(lookup_table); in allocate_gpios() 1154 lookup_table = lookup_tables[table_index]; in allocate_gpios() 1155 if (!lookup_table) { in allocate_gpios() 1161 lookup_table->dev_id = dev_name(board->gpib_dev); in allocate_gpios() 1162 gpiod_add_lookup_table(lookup_table); in allocate_gpios() 1168 gpiod_remove_lookup_table(lookup_table); in allocate_gpios() [all...] |
/linux/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 75 u8 lookup_table[4]; member 473 for (i = 0; i < ARRAY_SIZE(par->lookup_table); ++i) { in ssd1307fb_init() 474 u8 val = par->lookup_table[i]; in ssd1307fb_init() 647 par->lookup_table, in ssd1307fb_probe() 648 ARRAY_SIZE(par->lookup_table))) in ssd1307fb_probe()
|
/linux/drivers/gpu/drm/solomon/ |
H A D | ssd130x.h | 88 u8 lookup_table[4]; member
|
H A D | ssd130x.c | 505 for (i = 0; i < ARRAY_SIZE(ssd130x->lookup_table); i++) { in ssd130x_init() 506 u8 val = ssd130x->lookup_table[i]; in ssd130x_init() 1843 ssd130x->lookup_table, in ssd130x_parse_properties() 1844 ARRAY_SIZE(ssd130x->lookup_table))) in ssd130x_parse_properties()
|
/linux/drivers/gpio/ |
H A D | gpio-virtuser.c | 989 struct gpiod_lookup_table *lookup_table; member 1412 dev->lookup_table = no_free_ptr(table); in gpio_virtuser_make_lookup_table() 1420 gpiod_remove_lookup_table(dev->lookup_table); in gpio_virtuser_remove_lookup_table() 1421 kfree(dev->lookup_table->dev_id); in gpio_virtuser_remove_lookup_table() 1422 kfree(dev->lookup_table); in gpio_virtuser_remove_lookup_table() 1423 dev->lookup_table = NULL; in gpio_virtuser_remove_lookup_table()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_hwmgr.c | 2169 * @lookup_table: pointer to voltage lookup table 2174 phm_ppt_v1_voltage_lookup_table *lookup_table, in smu7_patch_lookup_table_with_leakage() argument 2179 for (i = 0; i < lookup_table->count; i++) in smu7_patch_lookup_table_with_leakage() 2181 &lookup_table->entries[i].us_vdd, leakage_table); in smu7_patch_lookup_table_with_leakage() 2350 struct phm_ppt_v1_voltage_lookup_table *lookup_table) in smu7_sort_lookup_table() argument 2353 table_size = lookup_table->count; in smu7_sort_lookup_table() 2355 PP_ASSERT_WITH_CODE(0 != lookup_table->count, in smu7_sort_lookup_table() 2361 if (lookup_table->entries[j].us_vdd < in smu7_sort_lookup_table() 2362 lookup_table->entries[j - 1].us_vdd) { in smu7_sort_lookup_table() 2363 swap(lookup_table in smu7_sort_lookup_table() 2430 struct phm_ppt_v1_voltage_lookup_table *lookup_table = smu7_find_highest_vddc() local 2496 struct phm_ppt_v1_voltage_lookup_table *lookup_table; smu7_patch_voltage_workaround() local [all...] |
H A D | vega10_processpptables.c | 1034 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument 1054 *lookup_table = table; in get_vddc_lookup_table()
|
H A D | process_pptables_v1_0.c | 155 phm_ppt_v1_voltage_lookup_table **lookup_table, in get_vddc_lookup_table() argument 188 *lookup_table = table; in get_vddc_lookup_table()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 508 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in vegam_populate_cac_table() local 515 for (count = 0; count < lookup_table->count; count++) { in vegam_populate_cac_table() 516 index = phm_get_voltage_index(lookup_table, in vegam_populate_cac_table() 519 convert_to_vid(lookup_table->entries[index].us_cac_low); in vegam_populate_cac_table() 521 convert_to_vid(lookup_table->entries[index].us_cac_mid); in vegam_populate_cac_table() 523 convert_to_vid(lookup_table->entries[index].us_cac_high); in vegam_populate_cac_table()
|
H A D | fiji_smumgr.c | 762 struct phm_ppt_v1_voltage_lookup_table *lookup_table = in fiji_populate_cac_table() local 770 for (count = 0; count < lookup_table->count; count++) { in fiji_populate_cac_table() 771 index = phm_get_voltage_index(lookup_table, in fiji_populate_cac_table() 774 convert_to_vid(lookup_table->entries[index].us_cac_low); in fiji_populate_cac_table() 776 convert_to_vid(lookup_table->entries[index].us_cac_high); in fiji_populate_cac_table()
|
/linux/drivers/mmc/host/ |
H A D | sdhci-pci-core.c | 2105 static void sdhci_pci_remove_gpio_lookup_table(struct gpiod_lookup_table *lookup_table) in sdhci_pci_remove_gpio_lookup_table() argument 2107 if (lookup_table) { in sdhci_pci_remove_gpio_lookup_table() 2108 gpiod_remove_lookup_table(lookup_table); in sdhci_pci_remove_gpio_lookup_table() 2109 kfree(lookup_table); in sdhci_pci_remove_gpio_lookup_table()
|
/linux/drivers/iio/chemical/ |
H A D | bme680_core.c | 512 static const u32 lookup_table[16] = { in bme680_compensate_gas() local 520 (lookup_table[gas_range])) >> 16; in bme680_compensate_gas()
|