/drivers/staging/iio/ |
H A D | iio_simple_dummy_events.c | 26 * @chan: channel for the event whose state is being queried 27 * @type: type of the event whose state is being queried 28 * @dir: direction of the vent whose state is being queried 46 * @chan: channel for the event whose state is being set 47 * @type: type of the event whose state is being set 48 * @dir: direction of the vent whose state is being set 49 * @state: whether to enable or disable the device. 59 int state) 72 st->event_en = state; 141 * @private: pointer to device instance state 55 iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) argument [all...] |
/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.h | 40 * @state: Streaming state 42 * @stopping: Stopping state 53 enum iss_pipeline_stream_state state; member in struct:iss_ipipe_device
|
H A D | iss_resizer.h | 42 * @state: Streaming state 44 * @stopping: Stopping state 56 enum iss_pipeline_stream_state state; member in struct:iss_resizer_device
|
/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 22 struct circ_buf *xmit = &p->port.state->xmit; 49 struct tty_port *tty_port = &p->port.state->port; 50 struct dma_tx_state state; local 56 dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); 59 count = dma->rx_size - state.residue; 70 struct circ_buf *xmit = &p->port.state->xmit; 106 struct dma_tx_state state; local 109 dma_status = dmaengine_tx_status(dma->rxchan, dma->rx_cookie, &state); 200 p->port.state->xmit.buf,
|
/drivers/video/fbdev/aty/ |
H A D | radeon_i2c.c | 17 static void radeon_gpio_setscl(void* data, int state) argument 24 if (!state) 31 static void radeon_gpio_setsda(void* data, int state) argument 38 if (!state)
|
/drivers/video/fbdev/riva/ |
H A D | rivafb-i2c.c | 27 static void riva_gpio_setscl(void* data, int state) argument 36 if (state) 45 static void riva_gpio_setsda(void* data, int state) argument 54 if (state)
|
/drivers/watchdog/ |
H A D | twl4030_wdt.c | 109 static int twl4030_wdt_suspend(struct platform_device *pdev, pm_message_t state) argument
|
/drivers/acpi/acpica/ |
H A D | utdelete.c | 499 union acpi_generic_state *state; local 655 state = acpi_ut_pop_generic_state(&state_list); 656 object = state->update.object; 657 acpi_ut_delete_generic_state(state); 671 state = acpi_ut_pop_generic_state(&state_list); 672 acpi_ut_delete_generic_state(state);
|
/drivers/auxdisplay/ |
H A D | ks0108.c | 86 void ks0108_displaystate(unsigned char state) argument 88 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(4) | bit(5));
|
/drivers/base/ |
H A D | isa.c | 66 static int isa_bus_suspend(struct device *dev, pm_message_t state) argument 71 return isa_driver->suspend(dev, to_isa_dev(dev)->id, state);
|
/drivers/clk/tegra/ |
H A D | clk-periph-gate.c | 51 int state = 1; local 54 state = 0; 58 state = 0; 60 return state;
|
H A D | clk-pll-out.c | 34 int state; local 36 state = (val & pll_out_enb(pll_out)) ? 1 : 0; 38 state = 0; 39 return state;
|
/drivers/cpufreq/ |
H A D | elanfreq.c | 109 unsigned int state) 133 outb_p(elan_multiplier[state].val80h, REG_CSCDR); 137 outb_p(elan_multiplier[state].val40h, REG_CSCDR); 108 elanfreq_target(struct cpufreq_policy *policy, unsigned int state) argument
|
H A D | kirkwood-cpufreq.c | 57 unsigned int state = kirkwood_freq_table[index].driver_data; local 67 switch (state) {
|
/drivers/cpuidle/ |
H A D | driver.c | 197 struct cpuidle_state *state = &drv->states[0]; local 199 snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); 200 snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE"); 201 state->exit_latency = 0; 202 state->target_residency = 0; 203 state->power_usage = -1; 204 state->flags = CPUIDLE_FLAG_TIME_VALID; 205 state->enter = poll_idle; 206 state->disabled = false;
|
/drivers/crypto/qat/qat_common/ |
H A D | icp_qat_fw_loader_handle.h | 52 unsigned int state; member in struct:icp_qat_fw_loader_ae_data
|
H A D | qat_crypto.h | 64 unsigned long state; member in struct:qat_crypto_instance
|
/drivers/extcon/ |
H A D | extcon-adc-jack.c | 61 u32 state = 0; local 71 /* Get state from adc value with adc_conditions */ 74 if (!def->state) 77 state = def->state; 81 /* if no def has met, it means state = 0 (no cables attached) */ 83 extcon_set_state(data->edev, state); 128 !pdata->adc_conditions[0].state) { 135 for (i = 0; data->adc_conditions[i].state; i++)
|
H A D | extcon-gpio.c | 4 * Single-state GPIO extcon driver based on extcon class 48 int state; local 53 state = gpio_get_value(data->gpio); 55 state = !state; 56 extcon_set_state(data->edev, state); 72 const char *state; local 75 state = extcon_data->state_on; 77 state = extcon_data->state_off; 79 if (state) [all...] |
/drivers/gpu/drm/nouveau/core/subdev/i2c/ |
H A D | nv04.c | 40 nv04_i2c_drive_scl(struct nouveau_i2c_port *base, int state) argument 45 if (state) val |= 0x20; 51 nv04_i2c_drive_sda(struct nouveau_i2c_port *base, int state) argument 56 if (state) val |= 0x10;
|
H A D | nv4e.c | 39 nv4e_i2c_drive_scl(struct nouveau_i2c_port *base, int state) argument 43 nv_mask(priv, port->addr, 0x2f, state ? 0x21 : 0x01); 47 nv4e_i2c_drive_sda(struct nouveau_i2c_port *base, int state) argument 51 nv_mask(priv, port->addr, 0x1f, state ? 0x11 : 0x01);
|
H A D | nv50.c | 28 nv50_i2c_drive_scl(struct nouveau_i2c_port *base, int state) argument 32 if (state) port->state |= 0x01; 33 else port->state &= 0xfe; 34 nv_wr32(priv, port->addr, port->state); 38 nv50_i2c_drive_sda(struct nouveau_i2c_port *base, int state) argument 42 if (state) port->state |= 0x02; 43 else port->state &= 0xfd; 44 nv_wr32(priv, port->addr, port->state); [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sysfs.c | 62 const s32 state = i < info.count ? i : local 65 .state = state, 75 snappendf(buf, cnt, "%02x:", attr.state); 83 attr.state = state; 96 if (state >= 0) { 97 if (info.ustate_ac == state) 99 if (info.ustate_dc == state) 101 if (info.pstate == state) [all...] |
/drivers/hwmon/ |
H A D | iio_hwmon.c | 22 * struct iio_hwmon_state - device instance state 50 struct iio_hwmon_state *state = dev_get_drvdata(dev); local 52 ret = iio_read_channel_processed(&state->channels[sattr->index],
|
/drivers/i2c/busses/ |
H A D | i2c-gpio.c | 28 static void i2c_gpio_setsda_dir(void *data, int state) argument 32 if (state) 43 static void i2c_gpio_setsda_val(void *data, int state) argument 47 gpio_set_value(pdata->sda_pin, state); 51 static void i2c_gpio_setscl_dir(void *data, int state) argument 55 if (state) 67 static void i2c_gpio_setscl_val(void *data, int state) argument 71 gpio_set_value(pdata->scl_pin, state);
|