dfc 156 arch/m68k/include/asm/sun3mmu.h unsigned char dfc; dfc 157 arch/m68k/include/asm/sun3mmu.h GET_DFC(dfc); dfc 160 arch/m68k/include/asm/sun3mmu.h SET_DFC(dfc); dfc 8 arch/m68k/sun3/leds.c unsigned char dfc; dfc 10 arch/m68k/sun3/leds.c GET_DFC(dfc); dfc 13 arch/m68k/sun3/leds.c SET_DFC(dfc); dfc 361 drivers/media/platform/davinci/dm355_ccdc.c static int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc) dfc 367 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_vert[index], DFCMEM0); dfc 368 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_horz[index], DFCMEM1); dfc 369 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub1[index], DFCMEM2); dfc 370 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub2[index], DFCMEM3); dfc 371 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub3[index], DFCMEM4); dfc 398 drivers/media/platform/davinci/dm355_ccdc.c static int ccdc_config_vdfc(struct ccdc_vertical_dft *dfc) dfc 404 drivers/media/platform/davinci/dm355_ccdc.c val = dfc->gen_dft_en & CCDC_DFCCTL_GDFCEN_MASK; dfc 407 drivers/media/platform/davinci/dm355_ccdc.c if (!dfc->ver_dft_en) { dfc 413 drivers/media/platform/davinci/dm355_ccdc.c if (dfc->table_size > CCDC_DFT_TABLE_SIZE) dfc 417 drivers/media/platform/davinci/dm355_ccdc.c val |= (dfc->dft_corr_ctl.vdfcsl & CCDC_DFCCTL_VDFCSL_MASK) << dfc 419 drivers/media/platform/davinci/dm355_ccdc.c val |= (dfc->dft_corr_ctl.vdfcuda & CCDC_DFCCTL_VDFCUDA_MASK) << dfc 421 drivers/media/platform/davinci/dm355_ccdc.c val |= (dfc->dft_corr_ctl.vdflsft & CCDC_DFCCTL_VDFLSFT_MASK) << dfc 429 drivers/media/platform/davinci/dm355_ccdc.c for (i = 0; i < dfc->table_size; i++) { dfc 434 drivers/media/platform/davinci/dm355_ccdc.c if (ccdc_write_dfc_entry(i, dfc) < 0) dfc 439 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->saturation_ctl & CCDC_VDC_DFCVSAT_MASK, DFCVSAT); dfc 44 drivers/media/platform/davinci/isif.c .dfc = { dfc 659 drivers/media/platform/davinci/isif.c if (isif_config_dfc(&module_params->dfc) < 0) dfc 78 drivers/thermal/devfreq_cooling.c static int partition_enable_opps(struct devfreq_cooling_device *dfc, dfc 82 drivers/thermal/devfreq_cooling.c struct device *dev = dfc->devfreq->dev.parent; dfc 84 drivers/thermal/devfreq_cooling.c for (i = 0; i < dfc->freq_table_size; i++) { dfc 87 drivers/thermal/devfreq_cooling.c unsigned int freq = dfc->freq_table[i]; dfc 114 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 116 drivers/thermal/devfreq_cooling.c *state = dfc->freq_table_size - 1; dfc 124 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 126 drivers/thermal/devfreq_cooling.c *state = dfc->cooling_state; dfc 134 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 135 drivers/thermal/devfreq_cooling.c struct devfreq *df = dfc->devfreq; dfc 139 drivers/thermal/devfreq_cooling.c if (state == dfc->cooling_state) dfc 144 drivers/thermal/devfreq_cooling.c if (state >= dfc->freq_table_size) dfc 147 drivers/thermal/devfreq_cooling.c ret = partition_enable_opps(dfc, state); dfc 151 drivers/thermal/devfreq_cooling.c dfc->cooling_state = state; dfc 165 drivers/thermal/devfreq_cooling.c freq_get_state(struct devfreq_cooling_device *dfc, unsigned long freq) dfc 169 drivers/thermal/devfreq_cooling.c for (i = 0; i < dfc->freq_table_size; i++) { dfc 170 drivers/thermal/devfreq_cooling.c if (dfc->freq_table[i] == freq) dfc 216 drivers/thermal/devfreq_cooling.c get_static_power(struct devfreq_cooling_device *dfc, unsigned long freq) dfc 218 drivers/thermal/devfreq_cooling.c struct devfreq *df = dfc->devfreq; dfc 221 drivers/thermal/devfreq_cooling.c if (!dfc->power_ops->get_static_power) dfc 229 drivers/thermal/devfreq_cooling.c return dfc->power_ops->get_static_power(df, voltage); dfc 245 drivers/thermal/devfreq_cooling.c get_dynamic_power(struct devfreq_cooling_device *dfc, unsigned long freq, dfc 250 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_power *dfc_power = dfc->power_ops; dfc 253 drivers/thermal/devfreq_cooling.c return dfc_power->get_dynamic_power(dfc->devfreq, freq, dfc 264 drivers/thermal/devfreq_cooling.c static inline unsigned long get_total_power(struct devfreq_cooling_device *dfc, dfc 268 drivers/thermal/devfreq_cooling.c return get_static_power(dfc, freq) + get_dynamic_power(dfc, freq, dfc 277 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 278 drivers/thermal/devfreq_cooling.c struct devfreq *df = dfc->devfreq; dfc 287 drivers/thermal/devfreq_cooling.c state = freq_get_state(dfc, freq); dfc 293 drivers/thermal/devfreq_cooling.c if (dfc->power_ops->get_real_power) { dfc 300 drivers/thermal/devfreq_cooling.c res = dfc->power_ops->get_real_power(df, power, freq, voltage); dfc 302 drivers/thermal/devfreq_cooling.c state = dfc->capped_state; dfc 303 drivers/thermal/devfreq_cooling.c dfc->res_util = dfc->power_table[state]; dfc 304 drivers/thermal/devfreq_cooling.c dfc->res_util *= SCALE_ERROR_MITIGATION; dfc 307 drivers/thermal/devfreq_cooling.c dfc->res_util /= *power; dfc 312 drivers/thermal/devfreq_cooling.c dyn_power = dfc->power_table[state]; dfc 318 drivers/thermal/devfreq_cooling.c static_power = get_static_power(dfc, freq); dfc 329 drivers/thermal/devfreq_cooling.c dfc->res_util = SCALE_ERROR_MITIGATION; dfc 338 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 342 drivers/thermal/devfreq_cooling.c if (state >= dfc->freq_table_size) dfc 345 drivers/thermal/devfreq_cooling.c freq = dfc->freq_table[state]; dfc 346 drivers/thermal/devfreq_cooling.c static_power = get_static_power(dfc, freq); dfc 348 drivers/thermal/devfreq_cooling.c *power = dfc->power_table[state] + static_power; dfc 356 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc = cdev->devdata; dfc 357 drivers/thermal/devfreq_cooling.c struct devfreq *df = dfc->devfreq; dfc 366 drivers/thermal/devfreq_cooling.c if (dfc->power_ops->get_real_power) { dfc 368 drivers/thermal/devfreq_cooling.c est_power = power * dfc->res_util; dfc 371 drivers/thermal/devfreq_cooling.c static_power = get_static_power(dfc, freq); dfc 385 drivers/thermal/devfreq_cooling.c for (i = 0; i < dfc->freq_table_size - 1; i++) dfc 386 drivers/thermal/devfreq_cooling.c if (est_power >= dfc->power_table[i]) dfc 390 drivers/thermal/devfreq_cooling.c dfc->capped_state = i; dfc 419 drivers/thermal/devfreq_cooling.c static int devfreq_cooling_gen_tables(struct devfreq_cooling_device *dfc) dfc 421 drivers/thermal/devfreq_cooling.c struct devfreq *df = dfc->devfreq; dfc 431 drivers/thermal/devfreq_cooling.c if (dfc->power_ops) { dfc 458 drivers/thermal/devfreq_cooling.c if (dfc->power_ops) { dfc 459 drivers/thermal/devfreq_cooling.c if (dfc->power_ops->get_real_power) dfc 460 drivers/thermal/devfreq_cooling.c power = get_total_power(dfc, freq, voltage); dfc 462 drivers/thermal/devfreq_cooling.c power = get_dynamic_power(dfc, freq, voltage); dfc 473 drivers/thermal/devfreq_cooling.c if (dfc->power_ops) dfc 474 drivers/thermal/devfreq_cooling.c dfc->power_table = power_table; dfc 476 drivers/thermal/devfreq_cooling.c dfc->freq_table = freq_table; dfc 477 drivers/thermal/devfreq_cooling.c dfc->freq_table_size = num_opps; dfc 509 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc; dfc 513 drivers/thermal/devfreq_cooling.c dfc = kzalloc(sizeof(*dfc), GFP_KERNEL); dfc 514 drivers/thermal/devfreq_cooling.c if (!dfc) dfc 517 drivers/thermal/devfreq_cooling.c dfc->devfreq = df; dfc 520 drivers/thermal/devfreq_cooling.c dfc->power_ops = dfc_power; dfc 528 drivers/thermal/devfreq_cooling.c err = devfreq_cooling_gen_tables(dfc); dfc 535 drivers/thermal/devfreq_cooling.c dfc->id = err; dfc 537 drivers/thermal/devfreq_cooling.c snprintf(dev_name, sizeof(dev_name), "thermal-devfreq-%d", dfc->id); dfc 539 drivers/thermal/devfreq_cooling.c cdev = thermal_of_cooling_device_register(np, dev_name, dfc, dfc 549 drivers/thermal/devfreq_cooling.c dfc->cdev = cdev; dfc 554 drivers/thermal/devfreq_cooling.c ida_simple_remove(&devfreq_ida, dfc->id); dfc 556 drivers/thermal/devfreq_cooling.c kfree(dfc->power_table); dfc 557 drivers/thermal/devfreq_cooling.c kfree(dfc->freq_table); dfc 559 drivers/thermal/devfreq_cooling.c kfree(dfc); dfc 594 drivers/thermal/devfreq_cooling.c struct devfreq_cooling_device *dfc; dfc 599 drivers/thermal/devfreq_cooling.c dfc = cdev->devdata; dfc 601 drivers/thermal/devfreq_cooling.c thermal_cooling_device_unregister(dfc->cdev); dfc 602 drivers/thermal/devfreq_cooling.c ida_simple_remove(&devfreq_ida, dfc->id); dfc 603 drivers/thermal/devfreq_cooling.c kfree(dfc->power_table); dfc 604 drivers/thermal/devfreq_cooling.c kfree(dfc->freq_table); dfc 606 drivers/thermal/devfreq_cooling.c kfree(dfc); dfc 74 include/linux/devfreq_cooling.h void devfreq_cooling_unregister(struct thermal_cooling_device *dfc); dfc 98 include/linux/devfreq_cooling.h devfreq_cooling_unregister(struct thermal_cooling_device *dfc) dfc 410 include/media/davinci/isif.h struct isif_dfc dfc;