/linux-6.1.9/drivers/cpuidle/governors/ |
D | ladder.c | 70 struct ladder_device_state *last_state; in ladder_select_state() local 82 last_state = &ldev->states[last_idx]; in ladder_select_state() 89 last_residency > last_state->threshold.promotion_time_ns && in ladder_select_state() 91 last_state->stats.promotion_count++; in ladder_select_state() 92 last_state->stats.demotion_count = 0; in ladder_select_state() 93 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state() 114 last_residency < last_state->threshold.demotion_time_ns) { in ladder_select_state() 115 last_state->stats.demotion_count++; in ladder_select_state() 116 last_state->stats.promotion_count = 0; in ladder_select_state() 117 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
|
/linux-6.1.9/tools/laptop/dslm/ |
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-6.1.9/kernel/livepatch/ |
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-6.1.9/drivers/power/supply/ |
D | sbs-charger.c | 40 unsigned int last_state; member 50 reg = chip->last_state; in sbs_get_property() 97 if (!ret && reg != chip->last_state) { in sbs_check_state() 98 chip->last_state = reg; in sbs_check_state() 193 chip->last_state = val; in sbs_probe()
|
D | sbs-manager.c | 49 unsigned int last_state; member 246 irq_bat = ret ^ sbsm->last_state; in sbsm_alert() 247 sbsm->last_state = ret; in sbsm_alert() 280 data->last_state = ret; in sbsm_gpio_setup()
|
D | sbs-battery.c | 210 int last_state; member 656 chip->last_state = val->intval; in sbs_get_battery_property() 657 else if (chip->last_state != val->intval) { in sbs_get_battery_property() 1095 if (chip->last_state != ret) { in sbs_delayed_work() 1142 chip->last_state = POWER_SUPPLY_STATUS_UNKNOWN; in sbs_probe()
|
/linux-6.1.9/drivers/input/keyboard/ |
D | clps711x-keypad.c | 24 DECLARE_BITMAP(last_state, CLPS711X_KEYPAD_COL_COUNT); 59 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll() 64 set_bit(col, data->last_state); in clps711x_keypad_poll() 68 clear_bit(col, data->last_state); in clps711x_keypad_poll()
|
D | gpio_keys_polled.c | 30 int last_state; member 80 if (state != bdata->last_state) { in gpio_keys_polled_check_state() 82 bdata->last_state = state; in gpio_keys_polled_check_state() 102 bdata->last_state); in gpio_keys_polled_poll() 338 bdata->last_state = -1; in gpio_keys_polled_probe()
|
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()
|
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-6.1.9/drivers/acpi/ |
D | button.c | 157 int last_state; member 200 button->last_state != !!state) in acpi_lid_notify_state() 207 if (button->last_state == !!state && in acpi_lid_notify_state() 261 button->last_state = !!state; in acpi_lid_notify_state() 461 button->last_state = !!acpi_lid_evaluate_state(device); in acpi_button_resume() 474 button->last_state = !!acpi_lid_evaluate_state(device); in acpi_lid_input_open()
|
/linux-6.1.9/drivers/net/wireless/ath/carl9170/ |
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()
|
D | carl9170.h | 205 bool last_state; member
|
/linux-6.1.9/drivers/net/bonding/ |
D | bond_3ad.c | 936 mux_states_t last_state; in ad_mux_machine() local 941 last_state = port->sm_mux_state; in ad_mux_machine() 1037 if (port->sm_mux_state != last_state) { in ad_mux_machine() 1041 last_state, in ad_mux_machine() 1093 rx_states_t last_state; in ad_rx_machine() local 1098 last_state = port->sm_rx_state; in ad_rx_machine() 1155 if ((port->sm_rx_state != last_state) || (lacpdu)) { in ad_rx_machine() 1159 last_state, in ad_rx_machine() 1305 periodic_states_t last_state; in ad_periodic_machine() local 1308 last_state = port->sm_periodic_state; in ad_periodic_machine() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf.h | 369 enum iavf_state_t last_state; member 504 adapter->last_state = adapter->state; in iavf_change_state() 509 iavf_state_str(adapter->last_state), in iavf_change_state()
|
/linux-6.1.9/drivers/hid/ |
D | hid-magicmouse.c | 175 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons() local 188 } else if (last_state != 0) { in magicmouse_emit_buttons() 189 state = last_state; in magicmouse_emit_buttons() 206 if (state != last_state) in magicmouse_emit_buttons()
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | dvb-usb.h | 494 int last_state; member
|
/linux-6.1.9/drivers/accessibility/speakup/ |
D | main.c | 608 u_short last_state = 0, state = 0; in say_prev_word() local 644 if (state < last_state) { in say_prev_word() 649 last_state = state; in say_prev_word() 663 u_short last_state = 2, state = 0; in say_next_word() local 678 if (state > last_state) in say_next_word() 693 last_state = state; in say_next_word()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 254 enum amd_pm_state_type last_state; member
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptbase.h | 630 u32 last_state; member
|
D | mptbase.c | 3056 ioc->last_state = sc; in mpt_GetIocState() 3083 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetIocFacts() 3086 ioc->name, ioc->last_state); in GetIocFacts() 3255 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetPortFacts() 3257 ioc->name, ioc->last_state ); in GetPortFacts()
|
D | mptspi.c | 1375 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptspi_probe()
|
D | mptfc.c | 1191 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptfc_probe()
|
/linux-6.1.9/tools/perf/ |
D | builtin-sched.c | 269 int last_state; member 2146 if (r->last_state == TASK_RUNNING) in timehist_update_runtime_stats() 2148 else if (r->last_state == TASK_UNINTERRUPTIBLE) in timehist_update_runtime_stats() 2667 tr->last_state = state; in timehist_sched_change_event()
|
/linux-6.1.9/drivers/net/can/flexcan/ |
D | flexcan-core.c | 1039 enum can_state last_state = priv->can.state; in flexcan_irq() local 1122 if ((last_state != priv->can.state) && in flexcan_irq()
|