Home
last modified time | relevance | path

Searched refs:state (Results 13751 - 13775 of 18784) sorted by relevance

1...<<551552553554555556557558559560>>...752

/kernel/linux/linux-5.10/drivers/input/misc/
H A Dxen-kbdfront.c520 if (dev->state != XenbusStateConnected) in xenkbd_backend_changed()
525 if (dev->state == XenbusStateClosed) in xenkbd_backend_changed()
527 fallthrough; /* Missed the backend's CLOSING state */ in xenkbd_backend_changed()
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-aat1290.c172 bool state) in aat1290_led_flash_strobe_set()
181 if (state) { in aat1290_led_flash_strobe_set()
193 * to be updated here to reflect the actual state. in aat1290_led_flash_strobe_set()
171 aat1290_led_flash_strobe_set(struct led_classdev_flash *fled_cdev, bool state) aat1290_led_flash_strobe_set() argument
H A Dleds-pca955x.c154 * the appropriate 2-bit state value set for the given LED number (0-3).
156 static inline u8 pca955x_ledsel(u8 oldval, int led_num, int state) in pca955x_ledsel() argument
159 ((state & 0x3) << (led_num << 1)); in pca955x_ledsel()
296 * Read the INPUT register, which contains the state of LEDs.
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dqcom-pdc.c56 bool *state) in qcom_pdc_gic_get_irqchip_state()
61 return irq_chip_get_parent_state(d, which, state); in qcom_pdc_gic_get_irqchip_state()
203 * polarity of interrupt without changing the state of the signal in qcom_pdc_gic_set_type()
54 qcom_pdc_gic_get_irqchip_state(struct irq_data *d, enum irqchip_irq_state which, bool *state) qcom_pdc_gic_get_irqchip_state() argument
H A Dirq-mvebu-sei.c102 bool state) in mvebu_sei_set_irqchip_state()
104 /* We can only clear the pending state by acking the interrupt */ in mvebu_sei_set_irqchip_state()
105 if (which != IRQCHIP_STATE_PENDING || state) in mvebu_sei_set_irqchip_state()
100 mvebu_sei_set_irqchip_state(struct irq_data *d, enum irqchip_irq_state which, bool state) mvebu_sei_set_irqchip_state() argument
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dpmic8xxx-keypad.c87 * @keystate - present key press/release state
88 * @stuckstate - present state when key stuck irq
154 static int pmic8xxx_kp_read_data(struct pmic8xxx_kp *kp, u16 *state, in pmic8xxx_kp_read_data() argument
165 state[row] = pmic8xxx_col_state(kp, val); in pmic8xxx_kp_read_data()
320 * considered as key state change.
492 * only, otherwise it might get into FSM stuck state.
579 /* initialize keypad state */ in pmic8xxx_kp_probe()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dlayer1.c195 if (l1->l1m.state != ST_L1_F6) { in l1_timer3()
383 nl1->l1m.state = ST_L1_F3; in create_l1()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_sw_fence.c32 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify() argument
34 switch (state) { in fence_notify()
/kernel/linux/linux-5.10/drivers/gpu/drm/loongson/
H A Dloongson_drv.c434 * @state: suspend state
436 * Puts the hw in the suspend state (all asics).
450 ldev->state = drm_atomic_helper_suspend(dev); in loongson_drm_suspend()
470 * @state: suspend state
472 * Puts the hw in the suspend state (all asics).
493 drm_atomic_helper_resume(dev, ldev->state); in loongson_drm_resume()
509 * Executed before putting the system into a sleep state in which the
524 * Executed after waking the system up from a sleep state i
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Domapdss.h400 enum omap_dss_display_state state; member
471 return dssdev->state == OMAP_DSS_DISPLAY_ACTIVE; in omapdss_device_is_enabled()
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_hw.h480 static inline int Set22K(struct av7110 *av7110, int state) in Set22K() argument
482 return av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, (state ? ON22K : OFF22K), 0); in Set22K()
/kernel/linux/linux-5.10/drivers/misc/
H A Disl29003.c140 static int isl29003_set_power_state(struct i2c_client *client, int state) in isl29003_set_power_state() argument
144 state ? ISL29003_ADC_ENABLED : ISL29003_ADC_PD); in isl29003_set_power_state()
287 /* power state */
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dinterrupt.c575 if (cl->state == MEI_FILE_CONNECTING) { in mei_connect_timeout()
577 cl->state = MEI_FILE_DISCONNECT_REQUIRED; in mei_connect_timeout()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede.h214 u32 state; /* Protected by qede_lock */ member
314 * to be in a state where allocation fails, as we can't reuse the
327 u8 state; member
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dhi8435.c135 enum iio_event_direction dir, int state) in hi8435_write_event_config()
141 if (state) { in hi8435_write_event_config()
499 * If the hysteresis is set to odd value then chip gets into lock state in hi8435_probe()
501 * After chip reset the thresholds are in undefined state, so we need to in hi8435_probe()
132 hi8435_write_event_config(struct iio_dev *idev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) hi8435_write_event_config() argument
H A Dad7091r-base.c225 enum iio_event_direction dir, int state) in ad7091r_write_event_config()
229 if (state) { in ad7091r_write_event_config()
222 ad7091r_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) ad7091r_write_event_config() argument
H A Dqcom-spmi-iadc.c158 static int iadc_set_state(struct iadc_chip *iadc, bool state) in iadc_set_state() argument
160 return iadc_write(iadc, IADC_EN_CTL1, state ? IADC_EN_CTL1_SET : 0); in iadc_set_state()
H A Dmax1027.c357 static int max1027_set_trigger_state(struct iio_trigger *trig, bool state) in max1027_set_trigger_state() argument
363 if (state) { in max1027_set_trigger_state()
/kernel/linux/linux-5.10/drivers/iio/health/
H A Dmax30100.c151 static int max30100_set_powermode(struct max30100_data *data, bool state) in max30100_set_powermode() argument
155 state ? 0 : MAX30100_REG_MODE_CONFIG_PWR); in max30100_set_powermode()
/kernel/linux/linux-5.10/drivers/iio/light/
H A Dtcs3472.c330 enum iio_event_direction dir, int state) in tcs3472_write_event_config()
340 if (state) in tcs3472_write_event_config()
328 tcs3472_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) tcs3472_write_event_config() argument
H A Dgp2ap002.c127 * struct gp2ap002 - GP2AP002 state
138 * keep track of whether the event is enabled using this state variable
343 int state) in gp2ap002_write_event_config()
347 if (state) { in gp2ap002_write_event_config()
339 gp2ap002_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) gp2ap002_write_event_config() argument
/kernel/linux/linux-5.10/drivers/iio/temperature/
H A Dtmp007.c219 enum iio_event_direction dir, int state) in tmp007_write_event_config()
248 if (state) in tmp007_write_event_config()
217 tmp007_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) tmp007_write_event_config() argument
/kernel/linux/linux-5.10/drivers/ide/
H A Dsetup-pci.c351 * state
652 int ide_pci_suspend(struct pci_dev *dev, pm_message_t state) in ide_pci_suspend() argument
656 pci_set_power_state(dev, pci_choose_state(dev, state)); in ide_pci_suspend()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dverbs.h175 struct rvt_sge_state tid_ss; /* SGE state pointer for 2nd leg */
182 /* variables for the TID RDMA SE state machine */
185 u8 rnr_nak_state; /* RNR NAK state */
389 static inline u32 __full_flow_psn(struct flow_state *state, u32 psn) in __full_flow_psn() argument
391 return mask_psn((state->generation << HFI1_KDETH_BTH_SEQ_SHIFT) | in __full_flow_psn()
/kernel/linux/linux-5.10/drivers/iio/dac/
H A Dad5421.c215 /* If we had a fault, this might mean that the DAC has lost its state in ad5421_fault_handler()
387 enum iio_event_direction dir, int state) in ad5421_write_event_config()
407 if (state) in ad5421_write_event_config()
385 ad5421_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) ad5421_write_event_config() argument

Completed in 29 milliseconds

1...<<551552553554555556557558559560>>...752