Searched refs:bgp (Results 1 – 1 of 1) sorted by relevance
163 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_get_temp() local165 bgp->adc_val = 0x3ff & readl(bgp->base + CTRL_CORE_TEMP_SENSOR_MPU); in ti_bandgap_get_temp()166 *temp = dra752_adc_to_temp[bgp->adc_val - DRA752_ADC_START_VALUE]; in ti_bandgap_get_temp()177 struct ti_bandgap *bgp = dev_get_priv(dev); in ti_bandgap_probe() local179 bgp->base = devfdt_get_addr_index(dev, 1); in ti_bandgap_probe()
Completed in 4 milliseconds