Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dpcf50633-charger.c42 unsigned int mbcc5; in pcf50633_mbc_usb_curlim_set() local
77 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; in pcf50633_mbc_usb_curlim_set()
78 if (mbcc5 > 255) in pcf50633_mbc_usb_curlim_set()
79 mbcc5 = 255; in pcf50633_mbc_usb_curlim_set()
80 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); in pcf50633_mbc_usb_curlim_set()
202 u8 mbcc5 = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCC5); in show_chglim() local
218 unsigned int mbcc5; in set_chglim() local
228 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; in set_chglim()
229 if (mbcc5 > 255) in set_chglim()
230 mbcc5 = 255; in set_chglim()
[all …]