Home
last modified time | relevance | path

Searched refs:state (Results 7301 - 7325 of 18763) sorted by relevance

1...<<291292293294295296297298299300>>...751

/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c99 d->state |= DVB_USB_STATE_DVB; in dvb_usb_adapter_init()
133 d->state &= ~DVB_USB_STATE_DVB; in dvb_usb_adapter_exit()
141 deb_info("state before exiting everything: %x\n", d->state); in dvb_usb_exit()
145 deb_info("state should be zero now: %x\n", d->state); in dvb_usb_exit()
146 d->state = DVB_USB_STATE_INIT; in dvb_usb_exit()
164 d->state = DVB_USB_STATE_INIT; in dvb_usb_init()
209 /* determine the name and the state of the just found USB device */
297 info("found a '%s' in cold state, wil in dvb_usb_device_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() argument
24 return edev->ops->dcb->setstate(edev->cdev, state); in qede_dcbnl_setstate()
168 static void qede_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in qede_dcbnl_setpfcstate() argument
172 return edev->ops->dcb->setpfcstate(edev->cdev, state); in qede_dcbnl_setpfcstate()
183 static u8 qede_dcbnl_setdcbx(struct net_device *netdev, u8 state) in qede_dcbnl_setdcbx() argument
187 return edev->ops->dcb->setdcbx(edev->cdev, state); in qede_dcbnl_setdcbx()
/kernel/linux/linux-6.6/drivers/acpi/x86/
H A Ds2idle.c13 * low-power state in which certain types of activity are not desirable or that
14 * it is leaving such a state, which allows the platform to adjust its operation
306 * The LPS0 constraint is the shallowest (minimum) power state in which the
308 * energy conservation by utilizing a system-wide low-power state.
311 * - ACPI power state value of the constraint for @adev on success.
337 "LPI: required min power state:%s current power state:%s\n", in lpi_check_constraints()
339 acpi_power_state_string(adev->power.state)); in lpi_check_constraints()
347 if (adev->power.state < entry->min_dstate) in lpi_check_constraints()
349 "LPI: Constraint not met; min power state in lpi_check_constraints()
360 acpi_sleep_dsm_state_to_str(unsigned int state) acpi_sleep_dsm_state_to_str() argument
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_connector.h102 * additional restrictions to how the state of this connector may be
111 * state of this connector may be modified.
120 * @DRM_CONNECTOR_INITIALIZING state). When a connector is
121 * unregistered, there are additional restrictions to how its state
407 * This enum is used to track and control the state of the integrated privacy
408 * screen present on some display panels, via the "privacy-screen sw-state"
409 * and "privacy-screen hw-state" properties. Note the _LOCKED enum values
410 * are only valid for the "privacy-screen hw-state" property.
882 * struct drm_connector_state - mutable connector state
920 /** @state
921 struct drm_atomic_state *state; global() member
1832 struct drm_connector_state *state; global() member
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dtransport_tcp.c26 int state; member
490 iface->state = IFACE_STATE_CONFIGURED; in create_socket()
516 if (iface->state != IFACE_STATE_DOWN) in ksmbd_netdev_event()
536 iface->state == IFACE_STATE_CONFIGURED) { in ksmbd_netdev_event()
544 iface->state = IFACE_STATE_DOWN; in ksmbd_netdev_event()
604 iface->state = IFACE_STATE_DOWN; in alloc_iface()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dauth.c478 u8 *state; in __ubifs_shash_copy_state() local
481 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
482 if (!state) in __ubifs_shash_copy_state()
485 err = crypto_shash_export(src, state); in __ubifs_shash_copy_state()
489 err = crypto_shash_import(target, state); in __ubifs_shash_copy_state()
492 kfree(state); in __ubifs_shash_copy_state()
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c105 * state at the moment, so we need to defer xenbus_dev_resume in xenbus_frontend_dev_resume()
136 if (dev->state != XenbusStateConnected) { in xenbus_frontend_dev_shutdown()
138 __func__, dev->nodename, xenbus_strstate(dev->state)); in xenbus_frontend_dev_shutdown()
219 return (xendev->state < XenbusStateConnected || in is_device_connecting()
220 (xendev->state == XenbusStateConnected && in is_device_connecting()
255 } else if (xendev->state < XenbusStateConnected) { in print_device_status()
259 pr_warn("Timeout connecting to device: %s (local state %d, remote state %d)\n", in print_device_status()
260 xendev->nodename, xendev->state, rstate); in print_device_status()
369 * Reset frontend if it is in Connected or Closed state
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dinterrupt.h56 * state. See Documentation/power/suspend-and-interrupts.rst
505 bool *state);
507 bool state);
645 unsigned long state; member
693 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
711 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
719 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
/kernel/linux/linux-6.6/include/linux/mfd/
H A Dtwl.h552 #define MSG_BROADCAST(devgrp, grp, type, type2, state) \
554 | (type) << 4 | (state))
556 #define MSG_SINGULAR(devgrp, id, state) \
557 ((devgrp) << 13 | 0 << 12 | (id) << 4 | (state))
559 #define MSG_BROADCAST_ALL(devgrp, state) \
560 ((devgrp) << 5 | (state))
654 u8 remap_off; /* off state remapping */
655 u8 remap_sleep; /* sleep state remapping */
/kernel/linux/linux-6.6/include/linux/regulator/
H A Dconsumer.h71 * in a sleep/standby state. This mode is likely to be
310 suspend_state_t state);
312 suspend_state_t state);
314 int max_uV, suspend_state_t state);
637 suspend_state_t state) in regulator_suspend_enable()
643 suspend_state_t state) in regulator_suspend_disable()
650 suspend_state_t state) in regulator_set_suspend_voltage()
636 regulator_suspend_enable(struct regulator_dev *rdev, suspend_state_t state) regulator_suspend_enable() argument
642 regulator_suspend_disable(struct regulator_dev *rdev, suspend_state_t state) regulator_suspend_disable() argument
648 regulator_set_suspend_voltage(struct regulator *regulator, int min_uV, int max_uV, suspend_state_t state) regulator_set_suspend_voltage() argument
/kernel/linux/linux-6.6/drivers/thermal/
H A Dsun8i_thermal.c151 int i, state; in sun8i_h3_irq_ack() local
153 regmap_read(tmdev->regmap, SUN8I_THS_IS, &state); in sun8i_h3_irq_ack()
156 if (state & SUN8I_THS_DATA_IRQ_STS(i)) { in sun8i_h3_irq_ack()
169 int i, state; in sun50i_h6_irq_ack() local
171 regmap_read(tmdev->regmap, SUN50I_H6_THS_DIS, &state); in sun50i_h6_irq_ack()
174 if (state & SUN50I_H6_THS_DATA_IRQ_STS(i)) { in sun50i_h6_irq_ack()
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dsmp2p.c91 * @state: smem state handle
107 struct qcom_smem_state *state; member
123 * @ssr_ack: current cached state of the local ack bit
277 * or any changes to the state bits of existing entries.
433 entry->state = qcom_smem_state_register(node, &smp2p_state_ops, entry); in qcom_smp2p_outbound_entry()
434 if (IS_ERR(entry->state)) { in qcom_smp2p_outbound_entry()
436 return PTR_ERR(entry->state); in qcom_smp2p_outbound_entry()
649 qcom_smem_state_unregister(entry->state); in qcom_smp2p_probe()
674 qcom_smem_state_unregister(entry->state); in qcom_smp2p_remove()
[all...]
/kernel/linux/linux-6.6/drivers/video/console/
H A Dsticon.c108 car1 = conp->vc_screenbuf[conp->state.x + conp->state.y * conp->vc_cols]; in sticon_cursor()
111 sti_putc(sticon_sti, car1, conp->state.y, conp->state.x, in sticon_cursor()
123 conp->state.y, conp->state.x, font_data[conp->vc_num]); in sticon_cursor()
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A Dp80211netdev.c121 * situation that may not be entirely true due to the state of the
145 wlandev->state = WLAN_DEVICE_OPEN; in p80211knetdev_open()
176 wlandev->state = WLAN_DEVICE_CLOSED; in p80211knetdev_stop()
258 if (wlandev->state == WLAN_DEVICE_OPEN) { in p80211netdev_rx_bh()
317 if (wlandev->state != WLAN_DEVICE_OPEN) { in p80211knetdev_hard_start_xmit()
526 * up. We don't control anything based on dot11 state. If the
648 wlandev->state = WLAN_DEVICE_CLOSED; in wlan_setup()
798 * as possible since the MSD is already in a 'wounded' state.
816 if (wlandev->state == WLAN_DEVICE_OPEN) in p80211netdev_hwremoved()
/kernel/linux/linux-6.6/drivers/regulator/
H A Drt6190-regulator.c229 unsigned int state, rpt_flags = 0; in rt6190_out_get_error_flags() local
232 ret = regmap_read(data->regmap, RT6190_REG_STAT1, &state); in rt6190_out_get_error_flags()
236 state |= data->cached_alert_evt; in rt6190_out_get_error_flags()
238 if (state & RT6190_ALERT_OTPEVT) in rt6190_out_get_error_flags()
241 if (state & RT6190_ALERT_UVPEVT) in rt6190_out_get_error_flags()
244 if (state & RT6190_ALERT_OVPEVT) in rt6190_out_get_error_flags()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dvce_v2_0.c550 enum amdgpu_interrupt_state state) in vce_v2_0_set_interrupt_state()
554 if (state == AMDGPU_IRQ_STATE_ENABLE) in vce_v2_0_set_interrupt_state()
581 enum amd_clockgating_state state) in vce_v2_0_set_clockgating_state()
588 if (state == AMD_CG_STATE_GATE) { in vce_v2_0_set_clockgating_state()
599 enum amd_powergating_state state) in vce_v2_0_set_powergating_state()
610 if (state == AMD_PG_STATE_GATE) in vce_v2_0_set_powergating_state()
547 vce_v2_0_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) vce_v2_0_set_interrupt_state() argument
580 vce_v2_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) vce_v2_0_set_clockgating_state() argument
598 vce_v2_0_set_powergating_state(void *handle, enum amd_powergating_state state) vce_v2_0_set_powergating_state() argument
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Ds526.c507 outw(s->state, dev->iobase + S526_DIO_CTRL_REG); in s526_dio_insn_bits()
537 s->state |= S526_DIO_CTRL_GRP1_OUT; in s526_dio_insn_config()
539 s->state &= ~S526_DIO_CTRL_GRP1_OUT; in s526_dio_insn_config()
541 s->state |= S526_DIO_CTRL_GRP2_OUT; in s526_dio_insn_config()
543 s->state &= ~S526_DIO_CTRL_GRP2_OUT; in s526_dio_insn_config()
545 outw(s->state, dev->iobase + S526_DIO_CTRL_REG); in s526_dio_insn_config()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddcn314_fpu.c105 .state = 0,
114 .state = 1,
123 .state = 2,
132 .state = 3,
141 .state = 4,
228 clock_limits[i].state = i; in dcn314_update_bw_bounding_box_fpu()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dsdio_txrx.c252 if (test_bit(MT76_MCU_RESET, &dev->phy.state)) in mt76s_tx_run_queue()
255 if (!test_bit(MT76_STATE_MCU_RUNNING, &dev->phy.state)) { in mt76s_tx_run_queue()
337 if (test_bit(MT76_MCU_RESET, &dev->phy.state) || in mt76s_txrx_worker()
338 test_bit(MT76_STATE_SUSPEND, &dev->phy.state)) { in mt76s_txrx_worker()
358 if (!test_bit(MT76_STATE_INITIALIZED, &dev->phy.state) || in mt76s_sdio_irq()
359 test_bit(MT76_MCU_RESET, &dev->phy.state)) in mt76s_sdio_irq()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dcore.c391 enum nvdimm_fwa_state state; in activate_show() local
397 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_show()
402 switch (state) { in activate_show()
428 enum nvdimm_fwa_state state; in activate_store() local
442 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_store()
444 switch (state) { in activate_store()
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.c74 static void fsm_state_notify(struct t7xx_modem *md, enum md_state state) in fsm_state_notify() argument
84 notifier->notifier_fn(state, notifier->data); in fsm_state_notify()
91 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state) in t7xx_fsm_broadcast_state() argument
93 ctl->md_state = state; in t7xx_fsm_broadcast_state()
96 t7xx_port_proxy_md_status_notify(ctl->md->port_prox, state); in t7xx_fsm_broadcast_state()
97 fsm_state_notify(ctl->md, state); in t7xx_fsm_broadcast_state()
/kernel/linux/linux-6.6/crypto/
H A Dalgif_hash.c237 char *state; in hash_accept() local
242 state = kmalloc(crypto_ahash_statesize(tfm), GFP_KERNEL); in hash_accept()
244 if (!state) in hash_accept()
249 err = more ? crypto_ahash_export(req, state) : 0; in hash_accept()
267 err = crypto_ahash_import(&ctx2->req, state); in hash_accept()
274 kfree_sensitive(state); in hash_accept()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dfsl-ldb.c128 struct drm_atomic_state *state = old_bridge_state->base.state; in fsl_ldb_atomic_enable() local
140 /* Get the LVDS format from the bridge state. */ in fsl_ldb_atomic_enable()
141 bridge_state = drm_atomic_get_new_bridge_state(state, bridge); in fsl_ldb_atomic_enable()
173 connector = drm_atomic_get_new_connector_for_encoder(state, in fsl_ldb_atomic_enable()
175 crtc = drm_atomic_get_new_connector_state(state, connector)->crtc; in fsl_ldb_atomic_enable()
176 crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in fsl_ldb_atomic_enable()
/kernel/linux/linux-6.6/drivers/iio/proximity/
H A Dsx_common.c68 * interrupt state by reading SX_COMMON_REG_IRQ_SRC. in sx_common_irq_handler()
82 /* Read proximity state on all channels */ in sx_common_push_events()
265 * @state: State of the event.
272 enum iio_event_direction dir, int state) in sx_common_write_event_config()
278 /* If the state hasn't changed, there's nothing to do. */ in sx_common_write_event_config()
279 if (!!(data->chan_event & BIT(chan->channel)) == state) in sx_common_write_event_config()
283 if (state) { in sx_common_write_event_config()
309 static int sx_common_set_trigger_state(struct iio_trigger *trig, bool state) in sx_common_set_trigger_state() argument
317 if (state) in sx_common_set_trigger_state()
324 data->trigger_enabled = state; in sx_common_set_trigger_state()
269 sx_common_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) sx_common_write_event_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
H A Dmeson_plane.c75 struct drm_atomic_state *state) in meson_plane_atomic_check()
77 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in meson_plane_atomic_check()
84 crtc_state = drm_atomic_get_crtc_state(state, in meson_plane_atomic_check()
134 struct drm_atomic_state *state) in meson_plane_atomic_update()
137 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in meson_plane_atomic_update()
400 struct drm_atomic_state *state) in meson_plane_atomic_disable()
74 meson_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) meson_plane_atomic_check() argument
133 meson_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) meson_plane_atomic_update() argument
399 meson_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) meson_plane_atomic_disable() argument

Completed in 43 milliseconds

1...<<291292293294295296297298299300>>...751