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