/linux-4.4.14/drivers/cpuidle/governors/ |
D | ladder.c | 70 struct ladder_device_state *last_state; in ladder_select_state() local 80 last_state = &ldev->states[last_idx]; in ladder_select_state() 88 last_residency > last_state->threshold.promotion_time && in ladder_select_state() 90 last_state->stats.promotion_count++; in ladder_select_state() 91 last_state->stats.demotion_count = 0; in ladder_select_state() 92 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state() 114 last_residency < last_state->threshold.demotion_time) { 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-4.4.14/Documentation/laptops/ |
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-4.4.14/drivers/input/keyboard/ |
D | clps711x-keypad.c | 27 DECLARE_BITMAP(last_state, CLPS711X_KEYPAD_COL_COUNT); 62 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll() 67 set_bit(col, data->last_state); in clps711x_keypad_poll() 71 clear_bit(col, data->last_state); in clps711x_keypad_poll()
|
D | gpio_keys_polled.c | 33 int last_state; member 85 if (state != bdata->last_state) { in gpio_keys_polled_check_state() 87 bdata->last_state = state; in gpio_keys_polled_check_state() 107 bdata->last_state); in gpio_keys_polled_poll() 337 bdata->last_state = -1; in gpio_keys_polled_probe()
|
D | bcm-keypad.c | 81 unsigned long last_state[2]; member 115 change = kp->last_state[reg_num] ^ state; in bcm_kp_report_keys() 116 kp->last_state[reg_num] = state; in bcm_kp_report_keys() 166 kp->last_state[0] = readl(kp->base + KPSSR0_OFFSET); in bcm_kp_start() 167 kp->last_state[0] = readl(kp->base + KPSSR1_OFFSET); in bcm_kp_start()
|
D | st-keyscan.c | 36 unsigned long last_state; member 50 change = keypad->last_state ^ state; in keyscan_isr() 51 keypad->last_state = state; in keyscan_isr()
|
/linux-4.4.14/drivers/input/misc/ |
D | gpio_tilt_polled.c | 34 int last_state; member 55 if (state != tdev->last_state) { in gpio_tilt_polled_poll() 70 tdev->last_state = state; in gpio_tilt_polled_poll() 84 tdev->last_state = -1; in gpio_tilt_polled_open()
|
/linux-4.4.14/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 | 202 bool last_state; member
|
/linux-4.4.14/drivers/misc/ |
D | ioc4.c | 147 unsigned int state, last_state; in ioc4_clock_calibrate() local 174 last_state = state; in ioc4_clock_calibrate() 177 } while (last_state || !state); in ioc4_clock_calibrate()
|
/linux-4.4.14/drivers/hid/ |
D | hid-magicmouse.c | 146 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons() local 159 } else if (last_state != 0) { in magicmouse_emit_buttons() 160 state = last_state; in magicmouse_emit_buttons() 177 if (state != last_state) in magicmouse_emit_buttons()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_3ad.c | 849 mux_states_t last_state; in ad_mux_machine() local 854 last_state = port->sm_mux_state; in ad_mux_machine() 950 if (port->sm_mux_state != last_state) { in ad_mux_machine() 954 last_state, in ad_mux_machine() 1006 rx_states_t last_state; in ad_rx_machine() local 1011 last_state = port->sm_rx_state; in ad_rx_machine() 1068 if ((port->sm_rx_state != last_state) || (lacpdu)) { in ad_rx_machine() 1072 last_state, in ad_rx_machine() 1217 periodic_states_t last_state; in ad_periodic_machine() local 1220 last_state = port->sm_periodic_state; in ad_periodic_machine() [all …]
|
/linux-4.4.14/drivers/power/ |
D | sbs-battery.c | 166 int last_state; member 393 chip->last_state = val->intval; in sbs_get_battery_property() 394 else if (chip->last_state != val->intval) { in sbs_get_battery_property() 712 if (chip->last_state != ret) { in sbs_delayed_work() 839 chip->last_state = POWER_SUPPLY_STATUS_UNKNOWN; in sbs_probe()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | dvb-usb.h | 451 int last_state; member
|
/linux-4.4.14/drivers/staging/speakup/ |
D | main.c | 611 u_short edge_said = 0, last_state = 0, state = 0; in say_prev_word() local 646 if (state < last_state) { in say_prev_word() 651 last_state = state; in say_prev_word() 664 u_short edge_said = 0, last_state = 2, state = 0; in say_next_word() local 679 if (state > last_state) in say_next_word() 693 last_state = state; in say_next_word()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptbase.h | 630 u32 last_state; member
|
D | mptbase.c | 3035 ioc->last_state = sc; in mpt_GetIocState() 3062 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetIocFacts() 3065 ioc->name, ioc->last_state); in GetIocFacts() 3235 if (ioc->last_state == MPI_IOC_STATE_RESET) { in GetPortFacts() 3237 ioc->name, ioc->last_state ); in GetPortFacts()
|
D | mptfc.c | 1200 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptfc_probe()
|
D | mptspi.c | 1381 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptspi_probe()
|
D | mptsas.c | 5157 if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) { in mptsas_probe()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 1785 SVGA3dTextureState *last_state = (SVGA3dTextureState *) in vmw_cmd_tex_state() local 1802 for (; cur_state < last_state; ++cur_state) { in vmw_cmd_tex_state()
|