Searched refs:mbcc5 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dpcf50633-charger.c48 unsigned int mbcc5; pcf50633_mbc_usb_curlim_set() local
84 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; pcf50633_mbc_usb_curlim_set()
85 if (mbcc5 > 255) pcf50633_mbc_usb_curlim_set()
86 mbcc5 = 255; pcf50633_mbc_usb_curlim_set()
87 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); pcf50633_mbc_usb_curlim_set()
209 u8 mbcc5 = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCC5); show_chglim() local
215 ma = (mbc->pcf->pdata->charger_reference_current_ma * mbcc5) >> 8; show_chglim()
225 unsigned int mbcc5; set_chglim() local
235 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; set_chglim()
236 if (mbcc5 > 255) set_chglim()
237 mbcc5 = 255; set_chglim()
238 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); set_chglim()

Completed in 75 milliseconds