/drivers/acpi/ |
D | processor_idle.c | 241 int state = cx - pr->power.states; in acpi_state_timer_broadcast() 312 pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; in acpi_processor_get_power_info_fadt() 313 pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; in acpi_processor_get_power_info_fadt() 326 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt() 327 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt() 330 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.C2latency; in acpi_processor_get_power_info_fadt() 331 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.C3latency; in acpi_processor_get_power_info_fadt() 335 pr->power.states[ACPI_STATE_C2].address, in acpi_processor_get_power_info_fadt() 336 pr->power.states[ACPI_STATE_C3].address)); in acpi_processor_get_power_info_fadt() 343 if (!pr->power.states[ACPI_STATE_C1].valid) { in acpi_processor_get_power_info_default() [all …]
|
D | processor_perflib.c | 109 pr->performance->states[ppc]. in acpi_processor_ppc_notifier() 277 pr->performance->states = in acpi_processor_get_performance_states() 280 if (!pr->performance->states) { in acpi_processor_get_performance_states() 287 struct acpi_processor_px *px = &(pr->performance->states[i]); in acpi_processor_get_performance_states() 299 kfree(pr->performance->states); in acpi_processor_get_performance_states() 316 kfree(pr->performance->states); in acpi_processor_get_performance_states() 705 kfree(pr->performance->states); in acpi_processor_unregister_performance()
|
D | processor_throttling.c | 637 state, pr->throttling.states[state].performance)); in acpi_processor_get_throttling_fadt() 888 pr->throttling.states[i].performance = 1000 - step * i; in acpi_processor_get_fadt_info() 889 pr->throttling.states[i].power = 1000 - step * i; in acpi_processor_get_fadt_info() 961 (pr->throttling.states[state].performance ? pr-> in acpi_processor_set_throttling_fadt() 962 throttling.states[state].performance / 10 : 0))); in acpi_processor_set_throttling_fadt() 1231 (pr->throttling.states[i].performance ? pr-> in acpi_processor_throttling_seq_show() 1232 throttling.states[i].performance / 10 : 0)); in acpi_processor_throttling_seq_show()
|
D | sleep.c | 565 suspend_state_t states[] = { in acpi_suspend() local 571 if (acpi_state < 6 && states[acpi_state]) in acpi_suspend() 572 return pm_suspend(states[acpi_state]); in acpi_suspend()
|
D | bus.c | 262 if (!device->power.states[state].flags.valid) { in acpi_bus_set_power() 286 if (device->power.states[state].flags.explicit_set) { in acpi_bus_set_power() 295 if (device->power.states[state].flags.explicit_set) { in acpi_bus_set_power()
|
D | power.c | 486 list = &device->power.states[i].resources; in acpi_power_get_inferred_state() 520 cl = &device->power.states[device->power.state].resources; in acpi_power_transition() 521 tl = &device->power.states[state].resources; in acpi_power_transition()
|
D | scan.c | 780 struct acpi_device_power_state *ps = &device->power.states[i]; in acpi_bus_get_power_flags() 808 device->power.states[ACPI_STATE_D0].flags.valid = 1; in acpi_bus_get_power_flags() 809 device->power.states[ACPI_STATE_D0].power = 100; in acpi_bus_get_power_flags() 810 device->power.states[ACPI_STATE_D3].flags.valid = 1; in acpi_bus_get_power_flags() 811 device->power.states[ACPI_STATE_D3].power = 0; in acpi_bus_get_power_flags()
|
D | Kconfig | 173 ACPI C2 and C3 processor states to save power, on systems that
|
/drivers/cpuidle/governors/ |
D | ladder.c | 41 struct ladder_device_state states[CPUIDLE_STATE_MAX]; member 56 ldev->states[old_idx].stats.promotion_count = 0; in ladder_do_selection() 57 ldev->states[old_idx].stats.demotion_count = 0; in ladder_do_selection() 81 last_state = &ldev->states[last_idx]; in ladder_select_state() 83 if (dev->states[last_idx].flags & CPUIDLE_FLAG_TIME_VALID) in ladder_select_state() 84 last_residency = cpuidle_get_last_residency(dev) - dev->states[last_idx].exit_latency; in ladder_select_state() 91 dev->states[last_idx + 1].exit_latency <= latency_req) { in ladder_select_state() 102 dev->states[last_idx].exit_latency > latency_req) { in ladder_select_state() 106 if (dev->states[i].exit_latency <= latency_req) in ladder_select_state() 141 state = &dev->states[i]; in ladder_enable_device() [all …]
|
D | menu.c | 60 struct cpuidle_state *s = &dev->states[i]; in menu_select() 86 struct cpuidle_state *target = &dev->states[last_idx]; in menu_reflect()
|
/drivers/net/mlx4/ |
D | qp.c | 357 enum mlx4_qp_state states[] = { in mlx4_qp_to_ready() enum 364 for (i = 0; i < ARRAY_SIZE(states) - 1; i++) { in mlx4_qp_to_ready() 366 context->flags |= cpu_to_be32(states[i + 1] << 28); in mlx4_qp_to_ready() 367 err = mlx4_qp_modify(dev, mtt, states[i], states[i + 1], in mlx4_qp_to_ready() 372 states[i + 1], err); in mlx4_qp_to_ready() 376 *qp_state = states[i + 1]; in mlx4_qp_to_ready()
|
/drivers/input/ |
D | ff-memless.c | 61 struct ml_effect_state states[FF_MEMLESS_EFFECTS]; member 136 state = &ml->states[i]; in ml_schedule_timer() 305 state = &ml->states[i]; in ml_get_combo_effect() 389 __clear_bit(FF_EFFECT_PLAYING, &ml->states[i].flags); in ml_ff_set_gain() 399 struct ml_effect_state *state = &ml->states[effect_id]; in ml_ff_playback() 437 struct ml_effect_state *state = &ml->states[effect->id]; in ml_ff_upload() 512 ml->states[i].effect = &ff->effects[i]; in input_ff_create_memless()
|
/drivers/cpuidle/ |
D | cpuidle.c | 80 target_state = &dev->states[next_state]; in cpuidle_idle_call() 173 dev->states[i].usage = 0; in cpuidle_enable_device() 174 dev->states[i].time = 0; in cpuidle_enable_device() 242 struct cpuidle_state *state = &dev->states[0]; in poll_idle_init()
|
D | sysfs.c | 319 kobj->state = &device->states[i]; in cpuidle_add_state_sysfs()
|
/drivers/block/ |
D | pktcdvd.c | 1578 static void pkt_count_states(struct pktcdvd_device *pd, int *states) in pkt_count_states() argument 1584 states[i] = 0; in pkt_count_states() 1588 states[pkt->state]++; in pkt_count_states() 1632 int states[PACKET_NUM_STATES]; in kcdrwd() local 1633 pkt_count_states(pd, states); in kcdrwd() 1635 states[0], states[1], states[2], states[3], in kcdrwd() 1636 states[4], states[5]); in kcdrwd() 2671 int states[PACKET_NUM_STATES]; in pkt_seq_show() local 2718 pkt_count_states(pd, states); in pkt_seq_show() 2720 states[0], states[1], states[2], states[3], states[4], states[5]); in pkt_seq_show()
|
/drivers/scsi/ |
D | aha152x.c | 659 } states[] = { variable 2531 …es, LEAD "start %s %s(%s)\n", CMDINFO(CURRENT_SC), states[STATE].name, states[PREVSTATE].name, sta… in is_complete() 2537 if(PREVSTATE!=STATE && states[PREVSTATE].end) in is_complete() 2538 states[PREVSTATE].end(shpnt); in is_complete() 2545 if(states[PREVSTATE].spio && !states[STATE].spio) { in is_complete() 2567 if(!states[PREVSTATE].spio && states[STATE].spio) { in is_complete() 2578 if(PREVSTATE!=STATE && states[STATE].init) in is_complete() 2579 states[STATE].init(shpnt); in is_complete() 2585 if(states[STATE].run) in is_complete() 2586 states[STATE].run(shpnt); in is_complete() [all …]
|
D | raid_class.c | 183 #define raid_attr_ro_states(attr, states, code) \ argument 187 name = raid_##states##_name(rd->attr); \
|
/drivers/mtd/nand/ |
D | nandsim.c | 365 uint32_t states[NS_OPER_STATES]; /* operation's states */ member 1216 if (!(ops[i].states[ns->npstates] & STATE_ADDR_MASK)) in find_operation() 1219 if (NS_STATE(ns->state) != NS_STATE(ops[i].states[ns->npstates])) in find_operation() 1224 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j]) in find_operation() 1238 ns->op = &ops[idx].states[0]; in find_operation()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 50 static char *states[] = { variable 233 PDBG("%s - %s -> %s\n", __func__, states[epc->state], states[new]); in state_set() 257 PDBG("%s ep %p state %s\n", __func__, epc, states[state_read(epc)]); in __free_ep() 2034 states[ep->com.state], abrupt); in iwch_ep_disconnect()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 97 unsigned char states; member 186 hc->hw.states = 1; /* G1 */ in hfcpci_setmode() 190 hc->hw.states = 2; /* F2 */ in hfcpci_setmode() 193 Write_hfc(hc, HFCPCI_STATES, HFCPCI_LOAD_STATE | hc->hw.states); in hfcpci_setmode() 195 Write_hfc(hc, HFCPCI_STATES, hc->hw.states | 0x40); /* Deactivate */ in hfcpci_setmode()
|
/drivers/usb/core/ |
D | Kconfig | 101 could wake the system from states like suspend-to-RAM.
|
/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 1235 qla2x00_get_firmware_state(scsi_qla_host_t *vha, uint16_t *states) in qla2x00_get_firmware_state() argument 1252 states[0] = mcp->mb[1]; in qla2x00_get_firmware_state() 1253 states[1] = mcp->mb[2]; in qla2x00_get_firmware_state() 1254 states[2] = mcp->mb[3]; in qla2x00_get_firmware_state()
|
/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 1768 static char *states[] = { in lpfc_nlp_state_name() local 1779 if (state < NLP_STE_MAX_STATE && states[state]) in lpfc_nlp_state_name() 1780 strlcpy(buffer, states[state], size); in lpfc_nlp_state_name()
|
/drivers/rtc/ |
D | Kconfig | 52 sleep states. Do not specify an RTC here unless it stays powered 53 during all this system's supported sleep states.
|
/drivers/media/video/ |
D | Kconfig | 2 # Generic video config states
|