Lines Matching defs:arg
36 auto arg = reinterpret_cast<const zx_system_powerctl_arg_t*>(raw_arg);
37 uint8_t target_s_state = arg->acpi_transition_s_state.target_s_state;
38 uint8_t sleep_type_a = arg->acpi_transition_s_state.sleep_type_a;
39 uint8_t sleep_type_b = arg->acpi_transition_s_state.sleep_type_b;
104 zx_status_t x86_set_pkg_pl1(const zx_system_powerctl_arg_t* arg) {
114 uint32_t power_limit = arg->x86_power_limit.power_limit;
115 uint8_t clamp = arg->x86_power_limit.clamp;
116 uint8_t enable = arg->x86_power_limit.enable;
153 zx_status_t acpi_transition_s_state(const zx_system_powerctl_arg_t* arg) {
154 uint8_t target_s_state = arg->acpi_transition_s_state.target_s_state;
155 uint8_t sleep_type_a = arg->acpi_transition_s_state.sleep_type_a;
156 uint8_t sleep_type_b = arg->acpi_transition_s_state.sleep_type_b;
174 const_cast<zx_system_powerctl_arg_t*>(arg),
208 zx_status_t arch_system_powerctl(uint32_t cmd, const zx_system_powerctl_arg_t* arg) {
211 return acpi_transition_s_state(arg);
213 return x86_set_pkg_pl1(arg);