Searched defs:state (Results 1 - 25 of 1738) sorted by relevance

1234567891011>>

/drivers/media/pci/cx88/
H A Dcx88-vp3054-i2c.h29 u32 state; member in struct:vp3054_i2c_state
H A Dcx88-vp3054-i2c.c40 static void vp3054_bit_setscl(void *data, int state) argument
46 if (state) {
47 vp3054_i2c->state |= 0x0001; /* SCL high */
48 vp3054_i2c->state &= ~0x0100; /* external pullup */
50 vp3054_i2c->state &= ~0x0001; /* SCL low */
51 vp3054_i2c->state |= 0x0100; /* drive pin */
53 cx_write(MO_GP0_IO, 0x010000 | vp3054_i2c->state);
57 static void vp3054_bit_setsda(void *data, int state) argument
63 if (state) {
64 vp3054_i2c->state |
78 u32 state; local
88 u32 state; local
[all...]
/drivers/cpuidle/
H A Dcpuidle.h38 struct cpuidle_driver *drv, int state);
45 struct cpuidle_driver *drv, int state)
44 cpuidle_state_is_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int state) argument
/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dnv50.h15 u32 state; member in struct:nv50_i2c_port
23 void nv50_i2c_drive_scl(struct nouveau_i2c_port *, int state);
24 void nv50_i2c_drive_sda(struct nouveau_i2c_port *, int state);
/drivers/iio/imu/
H A Dadis_trigger.c20 bool state)
24 return adis_enable_irq(adis, state);
19 adis_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) argument
/drivers/mfd/
H A Dtmio_core.c42 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state) argument
44 sd_config_write8(cnf, shift, CNF_PWR_CTL_2, state ? 0x02 : 0x00);
48 void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state) argument
50 sd_config_write8(cnf, shift, CNF_SD_CLK_MODE, state ? 1 : 0);
/drivers/pci/hotplug/
H A Drpaphp_pci.c35 int rpaphp_get_sensor_state(struct slot *slot, int *state) argument
40 rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
44 dbg("%s: slot must be power up to get sensor-state\n",
57 slot->index, state);
62 err("%s failed to get sensor state\n", __func__);
68 * rpaphp_enable_slot - record slot state, config pci device
78 int rc, level, state; local
83 slot->state = EMPTY;
92 rc = rpaphp_get_sensor_state(slot, &state);
107 if (state
[all...]
/drivers/pcmcia/
H A Dpxa2xx_e740.c44 struct pcmcia_state *state)
46 state->vs_3v = 1;
47 state->vs_Xv = 0;
51 const socket_state_t *state)
53 if (state->flags & SS_RESET) {
65 switch (state->Vcc) {
80 printk(KERN_ERR "e740_cs: Unsupported Vcc: %d\n", state->Vcc);
43 e740_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state) argument
50 e740_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) argument
H A Dsa1100_shannon.c44 struct pcmcia_state *state)
48 state->bvd1 = 1;
49 state->bvd2 = 1;
50 state->vs_3v = 1; /* FIXME Can only apply 3.3V on Shannon. */
51 state->vs_Xv = 0;
55 state->bvd1 = 1;
56 state->bvd2 = 1;
57 state->vs_3v = 1; /* FIXME Can only apply 3.3V on Shannon. */
58 state->vs_Xv = 0;
65 const socket_state_t *state)
43 shannon_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state) argument
64 shannon_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) argument
[all...]
/drivers/staging/android/
H A Dtimed_output.h31 int state; member in struct:timed_output_dev
/drivers/dma/
H A Ddmaengine.h62 * @state: dma_tx_state structure to return last/used cookies
64 * Report the status of the cookie, filling in the state structure if
68 dma_cookie_t cookie, struct dma_tx_state *state)
75 if (state) {
76 state->last = complete;
77 state->used = used;
78 state->residue = 0;
83 static inline void dma_set_residue(struct dma_tx_state *state, u32 residue) argument
85 if (state)
86 state
67 dma_cookie_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_vga.c13 nouveau_vga_set_decode(void *priv, bool state) argument
19 nvif_wr32(device, 0x088060, state);
22 nvif_wr32(device, 0x088054, state);
24 nvif_wr32(device, 0x001854, state);
26 if (state)
35 enum vga_switcheroo_state state)
39 if ((nouveau_is_optimus() || nouveau_is_v1_dsm()) && state == VGA_SWITCHEROO_OFF)
42 if (state == VGA_SWITCHEROO_ON) {
34 nouveau_switcheroo_set_state(struct pci_dev *pdev, enum vga_switcheroo_state state) argument
/drivers/i2c/busses/
H A Di2c-acorn.c35 static void ioc_setscl(void *data, int state) argument
40 if (state)
50 static void ioc_setsda(void *data, int state) argument
55 if (state)
/drivers/iio/accel/
H A Dst_accel_buffer.c26 int st_accel_trig_set_state(struct iio_trigger *trig, bool state) argument
30 return st_sensors_set_dataready_irq(indio_dev, state);
/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c31 int hid_sensor_power_state(struct hid_sensor_common *st, bool state) argument
36 if (state) {
86 bool state)
88 return hid_sensor_power_state(iio_trigger_get_drvdata(trig), state);
85 hid_sensor_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) argument
/drivers/iio/gyro/
H A Dst_gyro_buffer.c26 int st_gyro_trig_set_state(struct iio_trigger *trig, bool state) argument
30 return st_sensors_set_dataready_irq(indio_dev, state);
/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_trigger.c99 * inv_mpu_data_rdy_trigger_set_state() - set data ready interrupt state
101 * @state: Desired trigger state
104 bool state)
106 return inv_mpu6050_set_enable(iio_trigger_get_drvdata(trig), state);
103 inv_mpu_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) argument
/drivers/iio/pressure/
H A Dst_pressure_buffer.c26 int st_press_trig_set_state(struct iio_trigger *trig, bool state) argument
30 return st_sensors_set_dataready_irq(indio_dev, state);
/drivers/input/misc/
H A Dretu-pwrbutton.c35 bool state; local
37 state = !(retu_read(rdev, RETU_REG_STATUS) & RETU_STATUS_PWRONX);
38 input_report_key(idev, KEY_POWER, state);
/drivers/isdn/hisax/
H A Disdnl3.h8 #define SBIT(state) (1 << state)
21 int state; member in struct:stateentry
30 void newl3state(struct l3_process *pc, int state);
/drivers/isdn/i4l/
H A Disdn_audio.h29 int state; member in struct:silence_state
/drivers/leds/
H A Dleds-s3c24xx.c47 int state = (value ? 1 : 0) ^ (pd->flags & S3C24XX_LEDF_ACTLOW); local
52 gpio_set_value(pd->gpio, state);
56 gpio_direction_output(pd->gpio, state);
/drivers/media/dvb-core/
H A Ddvb_net.h40 int state[DVB_NET_DEVICES_MAX]; member in struct:dvb_net
/drivers/media/dvb-frontends/
H A Dstb6100_proc.h24 struct tuner_state state; local
31 err = tuner_ops->get_state(fe, DVBFE_TUNER_FREQUENCY, &state);
40 *frequency = state.frequency;
50 struct tuner_state state; local
53 state.frequency = frequency;
59 err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &state);
77 struct tuner_state state; local
84 err = tuner_ops->get_state(fe, DVBFE_TUNER_BANDWIDTH, &state);
93 *bandwidth = state.bandwidth;
103 struct tuner_state state; local
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dgpio.c44 * ath5k_hw_set_ledstate() - Set led state
46 * @state: One of AR5K_LED_*
48 * Used to set the LED blinking state. This only
53 ath5k_hw_set_ledstate(struct ath5k_hw *ah, unsigned int state) argument
69 switch (state) {
137 * ath5k_hw_get_gpio() - Get GPIO state
153 * ath5k_hw_set_gpio() - Set GPIO state

Completed in 416 milliseconds

1234567891011>>