Searched refs:usage_proto (Results 1 – 1 of 1) sorted by relevance
382 void set_io_usage_proto(IOUsage* usage_proto, const io_usage& usage) in set_io_usage_proto() argument384 usage_proto->set_rd_fg_chg_on(usage.bytes[READ][FOREGROUND][CHARGER_ON]); in set_io_usage_proto()385 usage_proto->set_rd_fg_chg_off(usage.bytes[READ][FOREGROUND][CHARGER_OFF]); in set_io_usage_proto()386 usage_proto->set_rd_bg_chg_on(usage.bytes[READ][BACKGROUND][CHARGER_ON]); in set_io_usage_proto()387 usage_proto->set_rd_bg_chg_off(usage.bytes[READ][BACKGROUND][CHARGER_OFF]); in set_io_usage_proto()388 usage_proto->set_wr_fg_chg_on(usage.bytes[WRITE][FOREGROUND][CHARGER_ON]); in set_io_usage_proto()389 usage_proto->set_wr_fg_chg_off(usage.bytes[WRITE][FOREGROUND][CHARGER_OFF]); in set_io_usage_proto()390 usage_proto->set_wr_bg_chg_on(usage.bytes[WRITE][BACKGROUND][CHARGER_ON]); in set_io_usage_proto()391 usage_proto->set_wr_bg_chg_off(usage.bytes[WRITE][BACKGROUND][CHARGER_OFF]); in set_io_usage_proto()