/drivers/i2c/muxes/ |
H A D | i2c-mux-pinctrl.c | 32 struct pinctrl_state **states; member in struct:i2c_mux_pinctrl 43 return pinctrl_select_state(mux->pinctrl, mux->states[chan]); 159 mux->states = devm_kzalloc(&pdev->dev, 160 sizeof(*mux->states) * mux->pdata->bus_count, 162 if (!mux->states) { 163 dev_err(&pdev->dev, "Cannot allocate states\n"); 184 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, 186 if (IS_ERR(mux->states[i])) { 187 ret = PTR_ERR(mux->states[i]);
|
/drivers/cpuidle/governors/ |
H A D | ladder.c | 41 struct ladder_device_state states[CPUIDLE_STATE_MAX]; member in struct:ladder_device 56 ldev->states[old_idx].stats.promotion_count = 0; 57 ldev->states[old_idx].stats.demotion_count = 0; 80 last_state = &ldev->states[last_idx]; 82 if (drv->states[last_idx].flags & CPUIDLE_FLAG_TIME_VALID) { 84 drv->states[last_idx].exit_latency; 91 !drv->states[last_idx + 1].disabled && 94 drv->states[last_idx + 1].exit_latency <= latency_req) { 105 (drv->states[last_idx].disabled || 107 drv->states[last_id [all...] |
/drivers/regulator/ |
H A D | gpio-regulator.c | 45 struct gpio_regulator_state *states; member in struct:gpio_regulator_data 57 if (data->states[ptr].gpios == data->state) 58 return data->states[ptr].value; 71 if (data->states[ptr].value < best_val && 72 data->states[ptr].value >= min_uV && 73 data->states[ptr].value <= max_uV) { 74 target = data->states[ptr].gpios; 75 best_val = data->states[ptr].value; 100 return data->states[selector].value; 110 if (data->states[pt [all...] |
/drivers/cpufreq/ |
H A D | e_powersaver.c | 188 int states; local 328 /* Calc number of p-states supported */ 330 states = max_multiplier - min_multiplier + 1; 332 states = 2; 336 + (states + 1) * sizeof(struct cpufreq_frequency_table),
|
/drivers/pinctrl/ |
H A D | core.h | 60 * @states: a list of states for this device 69 struct list_head states; member in struct:pinctrl 77 * @node: list node for struct pinctrl's @states field
|
/drivers/acpi/ |
H A D | sleep.c | 810 suspend_state_t states[] = { local 816 if (acpi_state < 6 && states[acpi_state]) 817 return pm_suspend(states[acpi_state]);
|
/drivers/gpu/drm/nouveau/core/include/subdev/ |
H A D | clock.h | 60 struct list_head list; /* c-states */ 72 struct list_head states; member in struct:nouveau_clock
|
/drivers/input/ |
H A D | ff-memless.c | 61 struct ml_effect_state states[FF_MEMLESS_EFFECTS]; member in struct:ml_device 137 state = &ml->states[i]; 341 state = &ml->states[i]; 427 __clear_bit(FF_EFFECT_PLAYING, &ml->states[i].flags); 438 struct ml_effect_state *state = &ml->states[effect_id]; 469 struct ml_effect_state *state = &ml->states[effect->id]; 543 ml->states[i].effect = &ff->effects[i];
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 610 enum mlx4_qp_state states[] = { local 617 for (i = 0; i < ARRAY_SIZE(states) - 1; i++) { 619 context->flags |= cpu_to_be32(states[i + 1] << 28); 620 err = mlx4_qp_modify(dev, mtt, states[i], states[i + 1], 624 states[i + 1], err); 628 *qp_state = states[i + 1];
|
/drivers/iommu/ |
H A D | amd_iommu_v2.c | 52 struct pri_queue pri[PRI_QUEUE_SIZE]; /* PRI tag states */ 67 struct pasid_state **states; member in struct:device_state 181 root = dev_state->states; 377 free_pasid_states_level2(dev_state->states); 379 free_pasid_states_level1(dev_state->states); 383 free_page((unsigned long)dev_state->states); 798 dev_state->states = (void *)get_zeroed_page(GFP_KERNEL); 799 if (dev_state->states == NULL) 834 free_page((unsigned long)dev_state->states); 866 /* Get rid of any remaining pasid states */ [all...] |
/drivers/pwm/ |
H A D | pwm-renesas-tpu.c | 111 static const char * const states[] = { "inactive", "PWM", "active" }; local 114 pwm->channel, states[state]);
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cm.c | 51 static char *states[] = { variable 260 PDBG("%s - %s -> %s\n", __func__, states[epc->state], states[new]); 285 PDBG("%s ep %p state %s\n", __func__, ep, states[state_read(&ep->com)]); 2081 states[ep->com.state], abrupt);
|
/drivers/md/bcache/ |
H A D | sysfs.c | 113 const char *states[] = { "no cache", "clean", "dirty", "inconsistent" }; local 176 sysfs_print(state, states[BDEV_STATE(&dc->sb)]);
|
/drivers/media/i2c/ |
H A D | ad9389b.c | 358 static const char * const states[] = { local 398 states[ad9389b_rd(sd, 0xc8) & 0xf],
|
H A D | adv7511.c | 417 static const char * const states[] = { local 451 states[adv7511_rd(sd, 0xc8) & 0xf],
|
/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger.c | 830 struct fiq_debugger_state **states = tty->driver->driver_state; local 831 struct fiq_debugger_state *state = states[line]; 845 struct fiq_debugger_state **states = tty->driver->driver_state; local 846 struct fiq_debugger_state *state = states[line]; 874 struct fiq_debugger_state **states = driver->driver_state; local 875 struct fiq_debugger_state *state = states[line]; 897 struct fiq_debugger_state **states = driver->driver_state; local 898 struct fiq_debugger_state *state = states[line]; 922 struct fiq_debugger_state **states = NULL; local 924 states 975 struct fiq_debugger_state **states = fiq_tty_driver->driver_state; local [all...] |
/drivers/block/ |
H A D | pktcdvd.c | 1443 static void pkt_count_states(struct pktcdvd_device *pd, int *states) argument 1449 states[i] = 0; 1453 states[pkt->state]++; 1497 int states[PACKET_NUM_STATES]; local 1498 pkt_count_states(pd, states); 1500 states[0], states[1], states[2], 1501 states[3], states[ 2542 int states[PACKET_NUM_STATES]; local [all...] |
/drivers/gpu/drm/radeon/ |
H A D | r600_dpm.c | 1070 ATOM_PPLIB_VCE_State_Table *states = local 1090 state_entry = &states->entries[0]; 1104 for (i = 0; i < states->numEntries; i++) {
|
/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 99 unsigned char states; member in struct:hfcPCI_hw 188 hc->hw.states = 1; /* G1 */ 192 hc->hw.states = 2; /* F2 */ 195 Write_hfc(hc, HFCPCI_STATES, HFCPCI_LOAD_STATE | hc->hw.states); 197 Write_hfc(hc, HFCPCI_STATES, hc->hw.states | 0x40); /* Deactivate */
|
/drivers/power/ |
H A D | abx500_chargalg.c | 131 static const char *states[] = { variable 345 states[di->charge_state], 347 states[state]); 1445 states[di->charge_state],
|
/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 1555 qla2x00_get_firmware_state(scsi_qla_host_t *vha, uint16_t *states) argument 1574 /* Return firmware states. */ 1575 states[0] = mcp->mb[1]; 1577 states[1] = mcp->mb[2]; 1578 states[2] = mcp->mb[3]; 1579 states[3] = mcp->mb[4]; 1580 states[4] = mcp->mb[5]; 1581 states[5] = mcp->mb[6]; /* DPORT status */
|
H A D | qla_mr.c | 344 qlafx00_get_firmware_state(scsi_qla_host_t *vha, uint32_t *states) argument 360 /* Return firmware states. */ 361 states[0] = mcp->mb[1]; 1378 /* Clear all async request states across all VPs. */
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 54 static char *states[] = { variable 272 PDBG("%s - %s -> %s\n", __func__, states[epc->state], states[new]); 297 PDBG("%s ep %p state %s\n", __func__, ep, states[state_read(&ep->com)]); 3307 states[ep->com.state], abrupt); 3772 * These states are expected if the ep timed out at the same 3774 * So we silently do nothing for these states.
|
/drivers/mtd/nand/ |
H A D | nandsim.c | 213 /* After a command is input, the simulator goes to one of the following states */ 227 #define STATE_CMD_MASK 0x0000000F /* command states mask */ 229 /* After an address is input, the simulator goes to one of these states */ 234 #define STATE_ADDR_MASK 0x00000070 /* address states mask */ 236 /* During data input/output the simulator is in these states */ 238 #define STATE_DATAIN_MASK 0x00000100 /* data input states mask */ 244 #define STATE_DATAOUT_MASK 0x00007000 /* data output states mask */ 262 #define NS_OPER_STATES 6 /* Maximum number of states in operation */ 277 * Maximum previous states which need to be saved. Currently saving is 313 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */ 379 uint32_t states[NS_OPER_STATES]; /* operation's states */ member in struct:nandsim_operations [all...] |
/drivers/scsi/ |
H A D | aha152x.c | 447 * internal states of the host 659 * driver states 668 } states[] = { variable in typeref:struct:__anon5086 2542 DPRINTK(debug_phases, LEAD "start %s %s(%s)\n", CMDINFO(CURRENT_SC), states[STATE].name, states[PREVSTATE].name, states[LASTSTATE].name); 2548 if(PREVSTATE!=STATE && states[PREVSTATE].end) 2549 states[PREVSTATE].end(shpnt); 2556 if(states[PREVSTATE].spio && !states[STAT [all...] |