| /linux/drivers/cpuidle/governors/ |
| H A D | ladder.c | 71 struct ladder_device_state *last_state; in ladder_select_state() local 83 last_state = &ldev->states[last_idx]; in ladder_select_state() 90 last_residency > last_state->threshold.promotion_time_ns && in ladder_select_state() 92 last_state->stats.promotion_count++; in ladder_select_state() 93 last_state->stats.demotion_count = 0; in ladder_select_state() 94 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state() 115 last_residency < last_state->threshold.demotion_time_ns) { in ladder_select_state() 116 last_state->stats.demotion_count++; in ladder_select_state() 117 last_state->stats.promotion_count = 0; in ladder_select_state() 118 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
|
| /linux/tools/laptop/dslm/ |
| H A D | dslm.c | 69 int last_state; in measure() local 83 last_state = check_powermode(fd); in measure() 85 printf(" System is in state %s\n\n", state_name(last_state)); in measure() 91 if (curr_state != last_state || endit) { in measure() 96 if (last_state == 1) active_time += time_diff; in measure() 97 else if (last_state == 0) sleep_time += time_diff; in measure() 100 last_state = curr_state; in measure()
|
| /linux/kernel/livepatch/ |
| H A D | state.c | 67 struct klp_state *state, *last_state = NULL; in klp_get_prev_state() local 78 last_state = state; in klp_get_prev_state() 82 return last_state; in klp_get_prev_state()
|
| /linux/drivers/input/keyboard/ |
| H A D | clps711x-keypad.c | 23 DECLARE_BITMAP(last_state, CLPS711X_KEYPAD_COL_COUNT); 58 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll() 63 set_bit(col, data->last_state); in clps711x_keypad_poll() 67 clear_bit(col, data->last_state); in clps711x_keypad_poll()
|
| H A D | bcm-keypad.c | 71 unsigned long last_state[2]; member 105 change = kp->last_state[reg_num] ^ state; in bcm_kp_report_keys() 106 kp->last_state[reg_num] = state; in bcm_kp_report_keys() 156 kp->last_state[0] = readl(kp->base + KPSSR0_OFFSET); in bcm_kp_start() 157 kp->last_state[0] = readl(kp->base + KPSSR1_OFFSET); in bcm_kp_start()
|
| H A D | st-keyscan.c | 35 unsigned long last_state; member 49 change = keypad->last_state ^ state; in keyscan_isr() 50 keypad->last_state = state; in keyscan_isr()
|
| /linux/drivers/power/supply/ |
| H A D | chagall-battery.c | 46 u16 last_state; member 172 if (cg->last_state != state) { in chagall_battery_poll_work() 173 cg->last_state = state; in chagall_battery_poll_work() 211 cg->last_state = POWER_SUPPLY_STATUS_UNKNOWN; in chagall_battery_probe()
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | led.c | 79 if (ar->leds[i].last_state || in carl9170_led_update() 115 if (arl->last_state != !!brightness) { in carl9170_led_set_brightness() 117 arl->last_state = !!brightness; in carl9170_led_set_brightness()
|
| H A D | carl9170.h | 205 bool last_state; member
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_hdmi_audio_helper.c | 108 fn(codec_dev, connector->hdmi_audio.last_state); in drm_connector_hdmi_audio_hook_plugged_cb() 120 connector->hdmi_audio.last_state = plugged; in drm_connector_hdmi_audio_plugged_notify() 125 connector->hdmi_audio.last_state); in drm_connector_hdmi_audio_plugged_notify()
|
| /linux/drivers/acpi/ |
| H A D | button.c | 191 bool last_state; member 234 button->last_state != state; in acpi_lid_notify_state() 237 if (button->last_state == state && in acpi_lid_notify_state() 291 button->last_state = state; in acpi_lid_notify_state() 521 button->last_state = !!acpi_lid_evaluate_state(ACPI_HANDLE(dev)); in acpi_button_resume() 541 button->last_state = !!acpi_lid_evaluate_state(button->adev->handle); in acpi_lid_input_open()
|
| /linux/drivers/extcon/ |
| H A D | extcon-max14526.c | 92 int last_state; member 157 if (state == priv->last_state) in max14526_interrupt() 190 priv->last_state = state; in max14526_interrupt()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_3ad.c | 1048 mux_states_t last_state; in ad_mux_machine() local 1053 last_state = port->sm_mux_state; in ad_mux_machine() 1188 if (port->sm_mux_state != last_state) { in ad_mux_machine() 1192 last_state, in ad_mux_machine() 1258 rx_states_t last_state; in ad_rx_machine() local 1263 last_state = port->sm_rx_state; in ad_rx_machine() 1320 if ((port->sm_rx_state != last_state) || (lacpdu)) { in ad_rx_machine() 1324 last_state, in ad_rx_machine() 1479 periodic_states_t last_state; in ad_periodic_machine() local 1482 last_state = port->sm_periodic_state; in ad_periodic_machine() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf.h | 391 enum iavf_state_t last_state; member 555 adapter->last_state = adapter->state; in iavf_change_state() 560 iavf_state_str(adapter->last_state), in iavf_change_state()
|
| /linux/include/drm/ |
| H A D | drm_connector.h | 2022 bool last_state; member
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.h | 630 u32 last_state; member
|
| H A D | mptbase.c | 3055 ioc->last_state = sc; in mpt_GetIocState() 3082 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetIocFacts() 3085 ioc->name, ioc->last_state); in GetIocFacts() 3254 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetPortFacts() 3256 ioc->name, ioc->last_state ); in GetPortFacts()
|
| H A D | mptspi.c | 1377 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptspi_probe()
|
| H A D | mptfc.c | 1229 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptfc_probe()
|
| H A D | mptsas.c | 5176 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptsas_probe()
|
| /linux/tools/perf/ |
| H A D | builtin-sched.c | 400 char last_state; in add_sched_event_run() 2561 if (r->last_state == 'R') in timehist_skip_sample() 2563 else if (r->last_state == 'D') in timehist_skip_sample() 3198 tr->last_state = state; in perf_timehist__process_sample() 268 char last_state; global() member
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_execbuf.c | 1631 SVGA3dTextureState *last_state = (SVGA3dTextureState *) in vmw_cmd_tex_state() local 1647 for (; cur_state < last_state; ++cur_state) { in vmw_cmd_tex_state()
|