Home
last modified time | relevance | path

Searched refs:state (Results 6826 - 6850 of 20682) sorted by relevance

1...<<271272273274275276277278279280>>...828

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-rk3x.c190 * @state: state of i2c transfer
220 /* I2C state machine */
221 enum rk3x_i2c_state state; member
280 i2c->state = STATE_STOP; in rk3x_i2c_stop()
288 i2c->state = STATE_IDLE; in rk3x_i2c_stop()
292 * get the intended effect by resetting its internal state in rk3x_i2c_stop()
391 i2c->state = STATE_WRITE; in rk3x_i2c_handle_start()
396 i2c->state = STATE_READ; in rk3x_i2c_handle_start()
474 i2c->state in rk3x_i2c_handle_stop()
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dmdio_bus.c159 bus->state = MDIOBUS_ALLOCATED; in mdiobus_alloc_size()
183 BUG_ON(bus->state != MDIOBUS_RELEASED && in mdiobus_release()
185 bus->state != MDIOBUS_ALLOCATED); in mdiobus_release()
533 BUG_ON(bus->state != MDIOBUS_ALLOCATED && in __mdiobus_register()
534 bus->state != MDIOBUS_UNREGISTERED); in __mdiobus_register()
542 /* We need to set state to MDIOBUS_UNREGISTERED to correctly release in __mdiobus_register()
547 bus->state = MDIOBUS_UNREGISTERED; in __mdiobus_register()
595 bus->state = MDIOBUS_REGISTERED; in __mdiobus_register()
623 if (WARN_ON_ONCE(bus->state != MDIOBUS_REGISTERED)) in mdiobus_unregister()
625 bus->state in mdiobus_unregister()
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/lmc/
H A Dlmc_media.c97 .defaults = lmc_ds3_default, /* reset to default state */
98 .set_status = lmc_ds3_set_status, /* reset status to state provided */
112 .defaults = lmc_hssi_default, /* reset to default state */
113 .set_status = lmc_hssi_set_status, /* reset status to state provided */
127 .defaults = lmc_ssi_default, /* reset to default state */
128 .set_status = lmc_ssi_set_status, /* reset status to state provided */
142 .defaults = lmc_t1_default, /* reset to default state */
143 .set_status = lmc_t1_set_status, /* reset status to state provided */
188 * Given a user provided state, set ourselves up to match it. This will
260 lmc_hssi_set_link_status (lmc_softc_t * const sc, int state) in lmc_hssi_set_link_status() argument
274 lmc_hssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_hssi_set_crc_length() argument
509 lmc_ds3_set_crc_length(lmc_softc_t * const sc, int state) lmc_ds3_set_crc_length() argument
764 lmc_ssi_set_link_status(lmc_softc_t * const sc, int state) lmc_ssi_set_link_status() argument
785 lmc_ssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_ssi_set_crc_length() argument
1149 lmc_t1_set_crc_length(lmc_softc_t * const sc, int state) lmc_t1_set_crc_length() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_scsi_host.c109 if (test_bit(SAS_HA_FROZEN, &ha->state)) in sas_scsi_task_done()
171 if (test_bit(SAS_DEV_GONE, &dev->state)) { in sas_queuecommand()
401 while (test_bit(SAS_DEV_EH_PENDING, &dev->state)) { in sas_wait_eh()
434 if (!test_bit(SAS_DEV_EH_PENDING, &dev->state) && in sas_queue_reset()
435 !test_bit(reset_type, &dev->state)) { in sas_queue_reset()
439 set_bit(SAS_DEV_EH_PENDING, &dev->state); in sas_queue_reset()
440 set_bit(reset_type, &dev->state); in sas_queue_reset()
708 if (test_and_clear_bit(SAS_DEV_LU_RESET, &dev->state)) in sas_eh_handle_resets()
711 if (test_and_clear_bit(SAS_DEV_RESET, &dev->state)) in sas_eh_handle_resets()
716 clear_bit(SAS_DEV_EH_PENDING, &dev->state); in sas_eh_handle_resets()
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Drtmutex.c26 * lock->owner state tracking:
29 * is used to keep track of the "lock has waiters" state.
41 * (*) It also can be a transitional state when grabbing the lock
44 * NULL in this small time, hence this can be a transitional state.
140 * We can speed up the acquire/release, if there's no debugging state to be
514 * reached or the state of the chain has changed while we in rt_mutex_adjust_prio_chain()
521 * Check the orig_waiter state. After we dropped the locks, in rt_mutex_adjust_prio_chain()
816 * The RT_MUTEX_HAS_WAITERS bit can have a transitional state in try_to_take_rt_mutex()
820 * transient state if it does a trylock or leaves the lock in try_to_take_rt_mutex()
1157 * @state
1165 __rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, struct rt_mutex_waiter *waiter) __rt_mutex_slowlock() argument
1228 rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk) rt_mutex_slowlock() argument
1404 rt_mutex_fastlock(struct rt_mutex *lock, int state, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) rt_mutex_fastlock() argument
1416 rt_mutex_timed_fastlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) rt_mutex_timed_fastlock() argument
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_flowlabel.c758 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_first() local
761 for (state->bucket = 0; state->bucket <= FL_HASH_MASK; ++state->bucket) { in ip6fl_get_first()
762 for_each_fl_rcu(state->bucket, fl) { in ip6fl_get_first()
774 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_next() local
783 if (++state->bucket <= FL_HASH_MASK) { in ip6fl_get_next()
784 for_each_fl_rcu(state->bucket, fl) { in ip6fl_get_next()
808 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in __acquires() local
810 state in __acquires()
836 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); ip6fl_seq_show() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Djr3_pci.c110 enum jr3_pci_poll_state state; member
222 if (spriv->state != state_jr3_done) in jr3_pci_ai_read_chan()
276 if (spriv->state != state_jr3_done || in jr3_pci_ai_insn_read()
279 if (spriv->state == state_jr3_done) { in jr3_pci_ai_insn_read()
281 spriv->state = state_jr3_poll; in jr3_pci_ai_insn_read()
457 spriv->state = state_jr3_poll; in jr3_pci_poll_subdevice()
459 switch (spriv->state) { in jr3_pci_poll_subdevice()
473 spriv->state = state_jr3_init_wait_for_offset; in jr3_pci_poll_subdevice()
497 spriv->state = state_jr3_init_transform_complete; in jr3_pci_poll_subdevice()
514 spriv->state in jr3_pci_poll_subdevice()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c75 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state() argument
81 state << MLX5_NIC_IFC_OFFSET, in mlx5_set_nic_state()
131 enum mlx5_vsc_state state; in lock_sem_sw_reset() local
147 state = lock ? MLX5_VSC_LOCK : MLX5_VSC_UNLOCK; in lock_sem_sw_reset()
152 ret = mlx5_vsc_sem_set_space(dev, MLX5_SEMAPHORE_SW_RESET, state); in lock_sem_sw_reset()
195 if (mlx5_health_check_fatal_sensors(dev) || force) { /* protected state setting */ in enter_error_state()
196 dev->state = MLX5_DEVICE_STATE_INTERNAL_ERROR; in enter_error_state()
209 dev->state == MLX5_DEVICE_STATE_UP) { in mlx5_enter_error_state()
210 dev->state = MLX5_DEVICE_STATE_INTERNAL_ERROR; in mlx5_enter_error_state()
214 if (!err_detected && dev->state in mlx5_enter_error_state()
[all...]
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_probe.c142 "%s/%s", dev->otherend, "state"); in watch_otherend()
180 enum xenbus_state state; in xenbus_otherend_changed() local
190 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
192 dev_dbg(&dev->dev, "state is %d, (%s), %s, %s\n", in xenbus_otherend_changed()
193 state, xenbus_strstate(state), dev->otherend_watch.node, path); in xenbus_otherend_changed()
200 if (ignore_on_shutdown && (state == XenbusStateClosing)) in xenbus_otherend_changed()
206 drv->otherend_changed(dev, state); in xenbus_otherend_changed()
351 * If the toolstack has forced the device state to closing then set in xenbus_dev_remove()
352 * the state t in xenbus_dev_remove()
507 enum xenbus_state state = xenbus_read_driver_state(nodename); xenbus_probe_node() local
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/pds/
H A Dvdpa_dev.c172 const struct vdpa_vq_state *state) in pds_vdpa_set_vq_state()
188 avail = state->packed.last_avail_idx | in pds_vdpa_set_vq_state()
189 (state->packed.last_avail_counter << 15); in pds_vdpa_set_vq_state()
190 used = state->packed.last_used_idx | in pds_vdpa_set_vq_state()
191 (state->packed.last_used_counter << 15); in pds_vdpa_set_vq_state()
202 avail = state->split.avail_index; in pds_vdpa_set_vq_state()
203 /* state->split does not provide a used_index: in pds_vdpa_set_vq_state()
222 struct vdpa_vq_state *state) in pds_vdpa_get_vq_state()
244 state->packed.last_avail_idx = avail & 0x7fff; in pds_vdpa_get_vq_state()
245 state in pds_vdpa_get_vq_state()
171 pds_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, const struct vdpa_vq_state *state) pds_vdpa_set_vq_state() argument
221 pds_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_vq_state *state) pds_vdpa_get_vq_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c556 out->state.flags = 0x0; in amdgpu_ctx_query()
557 out->state.hangs = 0x0; in amdgpu_ctx_query()
563 out->state.reset_status = AMDGPU_CTX_NO_RESET; in amdgpu_ctx_query()
565 out->state.reset_status = AMDGPU_CTX_UNKNOWN_RESET; in amdgpu_ctx_query()
593 out->state.flags = 0x0; in amdgpu_ctx_query2()
594 out->state.hangs = 0x0; in amdgpu_ctx_query2()
597 out->state.flags |= AMDGPU_CTX_QUERY2_FLAGS_RESET; in amdgpu_ctx_query2()
600 out->state.flags |= AMDGPU_CTX_QUERY2_FLAGS_VRAMLOST; in amdgpu_ctx_query2()
603 out->state.flags |= AMDGPU_CTX_QUERY2_FLAGS_GUILTY; in amdgpu_ctx_query2()
606 out->state in amdgpu_ctx_query2()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_dmcu.c98 /* Disable write access to IRAM to allow dynamic sleep state */ in dce_dmcu_load_iram()
106 static void dce_get_dmcu_psr_state(struct dmcu *dmcu, enum dc_psr_state *state) in dce_get_dmcu_psr_state() argument
121 *state = (enum dc_psr_state)REG_READ(DMCU_IRAM_RD_DATA); in dce_get_dmcu_psr_state()
124 * in order to allow dynamic sleep state in dce_get_dmcu_psr_state()
136 enum dc_psr_state state = PSR_STATE0; in dce_dmcu_set_psr_enable() local
155 dce_get_dmcu_psr_state(dmcu, &state); in dce_dmcu_set_psr_enable()
157 if (state != PSR_STATE0) in dce_dmcu_set_psr_enable()
160 if (state == PSR_STATE0) in dce_dmcu_set_psr_enable()
351 /* Disable write access to IRAM to allow dynamic sleep state */ in dcn10_get_dmcu_version()
433 // Check state i in dcn10_dmcu_init()
519 dcn10_get_dmcu_psr_state(struct dmcu *dmcu, enum dc_psr_state *state) dcn10_get_dmcu_psr_state() argument
553 enum dc_psr_state state = PSR_STATE0; dcn10_dmcu_set_psr_enable() local
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Djr3_pci.c109 enum jr3_pci_poll_state state; member
208 if (spriv->state != state_jr3_done) in jr3_pci_ai_read_chan()
262 if (spriv->state != state_jr3_done || in jr3_pci_ai_insn_read()
265 if (spriv->state == state_jr3_done) { in jr3_pci_ai_insn_read()
267 spriv->state = state_jr3_poll; in jr3_pci_ai_insn_read()
443 spriv->state = state_jr3_poll; in jr3_pci_poll_subdevice()
445 switch (spriv->state) { in jr3_pci_poll_subdevice()
459 spriv->state = state_jr3_init_wait_for_offset; in jr3_pci_poll_subdevice()
483 spriv->state = state_jr3_init_transform_complete; in jr3_pci_poll_subdevice()
498 spriv->state in jr3_pci_poll_subdevice()
[all...]
/kernel/linux/linux-6.6/kernel/locking/
H A Drtmutex.c66 * lock->owner state tracking:
69 * is used to keep track of the "lock has waiters" state.
81 * (*) It also can be a transitional state when grabbing the lock
84 * NULL in this small time, hence this can be a transitional state.
210 * We can speed up the acquire/release, if there's no debugging state to be
722 * reached or the state of the chain has changed while we in rt_mutex_adjust_prio_chain()
729 * Check the orig_waiter state. After we dropped the locks, in rt_mutex_adjust_prio_chain()
1075 * The RT_MUTEX_HAS_WAITERS bit can have a transitional state in try_to_take_rt_mutex()
1079 * transient state if it does a trylock or leaves the lock in try_to_take_rt_mutex()
1572 * @state
1579 rt_mutex_slowlock_block(struct rt_mutex_base *lock, struct ww_acquire_ctx *ww_ctx, unsigned int state, struct hrtimer_sleeper *timeout, struct rt_mutex_waiter *waiter) rt_mutex_slowlock_block() argument
1657 __rt_mutex_slowlock(struct rt_mutex_base *lock, struct ww_acquire_ctx *ww_ctx, unsigned int state, enum rtmutex_chainwalk chwalk, struct rt_mutex_waiter *waiter) __rt_mutex_slowlock() argument
1710 __rt_mutex_slowlock_locked(struct rt_mutex_base *lock, struct ww_acquire_ctx *ww_ctx, unsigned int state) __rt_mutex_slowlock_locked() argument
1733 rt_mutex_slowlock(struct rt_mutex_base *lock, struct ww_acquire_ctx *ww_ctx, unsigned int state) rt_mutex_slowlock() argument
1755 __rt_mutex_lock(struct rt_mutex_base *lock, unsigned int state) __rt_mutex_lock() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmdio_bus.c166 bus->state = MDIOBUS_ALLOCATED; in mdiobus_alloc_size()
191 WARN(bus->state != MDIOBUS_RELEASED && in mdiobus_release()
193 bus->state != MDIOBUS_ALLOCATED, in mdiobus_release()
194 "%s: not in RELEASED or ALLOCATED state\n", in mdiobus_release()
677 WARN(bus->state != MDIOBUS_ALLOCATED && in __mdiobus_register()
678 bus->state != MDIOBUS_UNREGISTERED, in __mdiobus_register()
679 "%s: not in ALLOCATED or UNREGISTERED state\n", bus->id); in __mdiobus_register()
687 /* We need to set state to MDIOBUS_UNREGISTERED to correctly release in __mdiobus_register()
692 bus->state = MDIOBUS_UNREGISTERED; in __mdiobus_register()
741 bus->state in __mdiobus_register()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov01a10.c291 /* streaming state */
671 struct v4l2_subdev_state *state; in ov01a10_set_stream() local
674 state = v4l2_subdev_lock_and_get_active_state(sd); in ov01a10_set_stream()
697 v4l2_subdev_unlock_state(state); in ov01a10_set_stream()
707 struct v4l2_subdev_state *state; in ov01a10_suspend() local
709 state = v4l2_subdev_lock_and_get_active_state(sd); in ov01a10_suspend()
713 v4l2_subdev_unlock_state(state); in ov01a10_suspend()
723 struct v4l2_subdev_state *state; in ov01a10_resume() local
726 state = v4l2_subdev_lock_and_get_active_state(sd); in ov01a10_resume()
737 v4l2_subdev_unlock_state(state); in ov01a10_resume()
780 ov01a10_init_cfg(struct v4l2_subdev *sd, struct v4l2_subdev_state *state) ov01a10_init_cfg() argument
824 ov01a10_get_selection(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) ov01a10_get_selection() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Ddvb-bt8xx.c584 struct dst_state* state = NULL; in frontend_init() local
656 state = kmalloc(sizeof (struct dst_state), GFP_KERNEL); in frontend_init()
657 if (!state) { in frontend_init()
662 state->config = &dst_config; in frontend_init()
663 state->i2c = card->i2c_adapter; in frontend_init()
664 state->bt = card->bt; in frontend_init()
665 state->dst_ca = NULL; in frontend_init()
667 if (dvb_attach(dst_attach, state, &card->dvb_adapter) == NULL) { in frontend_init()
669 kfree(state); in frontend_init()
674 card->fe = &state in frontend_init()
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dxen-pcifront.c576 pci_channel_state_t state) in pcifront_common_process()
600 return pdrv->err_handler->error_detected(pcidev, state); in pcifront_common_process()
623 pci_channel_state_t state = in pcifront_do_aer() local
634 pdev->sh_info->aer_op.err = pcifront_common_process(cmd, pdev, state); in pcifront_do_aer()
907 enum xenbus_state state; in pcifront_detach_devices() local
912 state = xenbus_read_driver_state(pdev->xdev->nodename); in pcifront_detach_devices()
913 if (state == XenbusStateInitialised) { in pcifront_detach_devices()
924 } else if (state != XenbusStateConnected) { in pcifront_detach_devices()
940 int l, state; in pcifront_detach_devices() local
942 l = snprintf(str, sizeof(str), "state in pcifront_detach_devices()
574 pcifront_common_process(int cmd, struct pcifront_device *pdev, pci_channel_state_t state) pcifront_common_process() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_framebuffer.c957 struct drm_atomic_state *state; in atomic_remove_fb() local
968 state = drm_atomic_state_alloc(dev); in atomic_remove_fb()
969 if (!state) { in atomic_remove_fb()
973 state->acquire_ctx = &ctx; in atomic_remove_fb()
984 if (plane->state->fb != fb) in atomic_remove_fb()
991 plane_state = drm_atomic_get_plane_state(state, plane); in atomic_remove_fb()
1005 crtc_state = drm_atomic_get_existing_crtc_state(state, plane_state->crtc); in atomic_remove_fb()
1007 ret = drm_atomic_add_affected_connectors(state, plane_state->crtc); in atomic_remove_fb()
1026 for_each_new_connector_in_state(state, conn, conn_state, i) { in atomic_remove_fb()
1034 ret = drm_atomic_commit(state); in atomic_remove_fb()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c481 if (plane->state) in mgag200_primary_plane_helper_atomic_check()
482 fb = plane->state->fb; in mgag200_primary_plane_helper_atomic_check()
498 struct drm_plane_state *plane_state = plane->state; in mgag200_primary_plane_helper_atomic_update()
516 struct drm_atomic_state *state) in mgag200_primary_plane_helper_atomic_enable()
611 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_helper_atomic_flush()
631 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_helper_atomic_enable()
674 if (crtc->state) in mgag200_crtc_reset()
675 crtc->funcs->atomic_destroy_state(crtc, crtc->state); in mgag200_crtc_reset()
686 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_atomic_duplicate_state()
737 static void mgag200_mode_config_helper_atomic_commit_tail(struct drm_atomic_state *state) in mgag200_mode_config_helper_atomic_commit_tail() argument
515 mgag200_primary_plane_helper_atomic_enable(struct drm_plane *plane, struct drm_atomic_state *state) mgag200_primary_plane_helper_atomic_enable() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_hotplug.c122 * storms. Only the pin specific stats and state are changed, the caller is
129 * IRQ storm and the IRQ state is set to @HPD_MARK_DISABLED.
165 hpd->stats[pin].state = HPD_MARK_DISABLED; in intel_hpd_irq_storm_detect()
197 dev_priv->display.hotplug.stats[pin].state != HPD_MARK_DISABLED) in intel_hpd_irq_storm_switch_to_polling()
205 dev_priv->display.hotplug.stats[pin].state = HPD_DISABLED; in intel_hpd_irq_storm_switch_to_polling()
239 dev_priv->display.hotplug.stats[pin].state != HPD_DISABLED) in intel_hpd_irq_storm_reenable_work()
251 if (dev_priv->display.hotplug.stats[pin].state == HPD_DISABLED) in intel_hpd_irq_storm_reenable_work()
252 dev_priv->display.hotplug.stats[pin].state = HPD_ENABLED; in intel_hpd_irq_storm_reenable_work()
542 if (dev_priv->display.hotplug.stats[pin].state == HPD_DISABLED) { in intel_hpd_irq_handler()
555 if (dev_priv->display.hotplug.stats[pin].state ! in intel_hpd_irq_handler()
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dus5182d.c335 static int us5182d_shutdown_en(struct us5182d_data *data, u8 state) in us5182d_shutdown_en() argument
347 ret = ret | state; in us5182d_shutdown_en()
353 if (state & US5182D_CFG0_SHUTDOWN_EN) { in us5182d_shutdown_en()
630 enum iio_event_direction dir, int state) in us5182d_write_event_config()
640 if (data->rising_en == state) { in us5182d_write_event_config()
645 if (state) { in us5182d_write_event_config()
658 data->rising_en = state; in us5182d_write_event_config()
661 if (data->falling_en == state) { in us5182d_write_event_config()
666 if (state) { in us5182d_write_event_config()
679 data->falling_en = state; in us5182d_write_event_config()
628 us5182d_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) us5182d_write_event_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dbma180.c215 static int bma180_set_new_data_intr_state(struct bma180_data *data, bool state) in bma180_set_new_data_intr_state() argument
218 data->part_info->int_enable_mask, state); in bma180_set_new_data_intr_state()
229 "failed to set new data interrupt state %d\n", state); in bma180_set_new_data_intr_state()
233 static int bma180_set_sleep_state(struct bma180_data *data, bool state) in bma180_set_sleep_state() argument
236 data->part_info->sleep_mask, state); in bma180_set_sleep_state()
240 "failed to set sleep state %d\n", state); in bma180_set_sleep_state()
243 data->sleep_state = state; in bma180_set_sleep_state()
248 static int bma180_set_ee_writing_state(struct bma180_data *data, bool state) in bma180_set_ee_writing_state() argument
898 bma180_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) bma180_data_rdy_trigger_set_state() argument
[all...]
/kernel/linux/linux-6.6/net/devlink/
H A Dsb.c235 struct devlink_nl_dump_state *state = devlink_dump_state(cb); in devlink_nl_sb_get_dump_one() local
241 if (idx < state->idx) { in devlink_nl_sb_get_dump_one()
250 state->idx = idx; in devlink_nl_sb_get_dump_one()
372 struct devlink_nl_dump_state *state = devlink_dump_state(cb); in devlink_nl_sb_pool_get_dump_one() local
381 err = __sb_pool_get_dumpit(msg, state->idx, &idx, in devlink_nl_sb_pool_get_dump_one()
388 state->idx = idx; in devlink_nl_sb_pool_get_dump_one()
580 struct devlink_nl_dump_state *state = devlink_dump_state(cb); in devlink_nl_sb_port_pool_get_dump_one() local
589 err = __sb_port_pool_get_dumpit(msg, state->idx, &idx, in devlink_nl_sb_port_pool_get_dump_one()
596 state->idx = idx; in devlink_nl_sb_port_pool_get_dump_one()
817 struct devlink_nl_dump_state *state in devlink_nl_sb_tc_pool_bind_get_dump_one() local
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_flowlabel.c761 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_first() local
764 for (state->bucket = 0; state->bucket <= FL_HASH_MASK; ++state->bucket) { in ip6fl_get_first()
765 for_each_fl_rcu(state->bucket, fl) { in ip6fl_get_first()
777 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in ip6fl_get_next() local
786 if (++state->bucket <= FL_HASH_MASK) { in ip6fl_get_next()
787 for_each_fl_rcu(state->bucket, fl) { in ip6fl_get_next()
811 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); in __acquires() local
813 state in __acquires()
839 struct ip6fl_iter_state *state = ip6fl_seq_private(seq); ip6fl_seq_show() local
[all...]

Completed in 37 milliseconds

1...<<271272273274275276277278279280>>...828