Lines Matching refs:ev_info

36 	dev_dbg(dev->dev, "Slider State: %s\n", ta_slider_as_str(in->ev_info.power_slider));  in amd_pmf_dump_ta_inputs()
37 dev_dbg(dev->dev, "Power Source: %s\n", amd_pmf_source_as_str(in->ev_info.power_source)); in amd_pmf_dump_ta_inputs()
38 dev_dbg(dev->dev, "Battery Percentage: %u\n", in->ev_info.bat_percentage); in amd_pmf_dump_ta_inputs()
39 dev_dbg(dev->dev, "Designed Battery Capacity: %u\n", in->ev_info.bat_design); in amd_pmf_dump_ta_inputs()
40 dev_dbg(dev->dev, "Fully Charged Capacity: %u\n", in->ev_info.full_charge_capacity); in amd_pmf_dump_ta_inputs()
41 dev_dbg(dev->dev, "Drain Rate: %d\n", in->ev_info.drain_rate); in amd_pmf_dump_ta_inputs()
42 dev_dbg(dev->dev, "Socket Power: %u\n", in->ev_info.socket_power); in amd_pmf_dump_ta_inputs()
43 dev_dbg(dev->dev, "Skin Temperature: %u\n", in->ev_info.skin_temperature); in amd_pmf_dump_ta_inputs()
44 dev_dbg(dev->dev, "Avg C0 Residency: %u\n", in->ev_info.avg_c0residency); in amd_pmf_dump_ta_inputs()
45 dev_dbg(dev->dev, "Max C0 Residency: %u\n", in->ev_info.max_c0residency); in amd_pmf_dump_ta_inputs()
46 dev_dbg(dev->dev, "GFX Busy: %u\n", in->ev_info.gfx_busy); in amd_pmf_dump_ta_inputs()
47 dev_dbg(dev->dev, "LID State: %s\n", in->ev_info.lid_state ? "close" : "open"); in amd_pmf_dump_ta_inputs()
48 dev_dbg(dev->dev, "User Presence: %s\n", in->ev_info.user_present ? "Present" : "Away"); in amd_pmf_dump_ta_inputs()
49 dev_dbg(dev->dev, "Ambient Light: %d\n", in->ev_info.ambient_light); in amd_pmf_dump_ta_inputs()
69 in->ev_info.avg_c0residency = avg; in amd_pmf_get_c0_residency()
70 in->ev_info.max_c0residency = max; in amd_pmf_get_c0_residency()
82 in->ev_info.socket_power = dev->m_table.apu_power + dev->m_table.dgpu_power; in amd_pmf_get_smu_info()
83 in->ev_info.skin_temperature = dev->m_table.skin_temp; in amd_pmf_get_smu_info()
84 in->ev_info.gfx_busy = dev->m_table.avg_gfx_activity; in amd_pmf_get_smu_info()
90 in->ev_info.socket_power = dev->m_table_v2.apu_power + dev->m_table_v2.dgpu_power; in amd_pmf_get_smu_info()
91 in->ev_info.skin_temperature = dev->m_table_v2.skin_temp; in amd_pmf_get_smu_info()
92 in->ev_info.gfx_busy = dev->m_table_v2.gfx_activity; in amd_pmf_get_smu_info()
137 in->ev_info.bat_percentage = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_CAPACITY); in amd_pmf_get_battery_info()
139 in->ev_info.bat_design = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN) / in amd_pmf_get_battery_info()
141 in->ev_info.full_charge_capacity = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_ENERGY_FULL) / in amd_pmf_get_battery_info()
143 in->ev_info.drain_rate = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_POWER_NOW) / in amd_pmf_get_battery_info()
167 in->ev_info.power_slider = val; in amd_pmf_get_slider_info()
177 in->ev_info.user_present = false; in amd_pmf_get_sensor_info()
181 in->ev_info.ambient_light = sfh_info.ambient_light; in amd_pmf_get_sensor_info()
188 in->ev_info.user_present = true; in amd_pmf_get_sensor_info()
197 in->ev_info.lid_state = !acpi_lid_open(); in amd_pmf_populate_ta_inputs()
198 in->ev_info.power_source = amd_pmf_get_power_source(); in amd_pmf_populate_ta_inputs()