Home
last modified time | relevance | path

Searched refs:state (Results 7201 - 7225 of 20560) sorted by relevance

1...<<281282283284285286287288289290>>...823

/kernel/linux/linux-6.6/fs/ocfs2/dlm/
H A Ddlmunlock.c115 if (res->state & DLM_LOCK_RES_IN_PROGRESS) { in dlmunlock_common()
123 res->state |= DLM_LOCK_RES_IN_PROGRESS; in dlmunlock_common()
127 if (res->state & DLM_LOCK_RES_RECOVERING) { in dlmunlock_common()
132 if (res->state & DLM_LOCK_RES_MIGRATING) { in dlmunlock_common()
138 * LKM_CANCEL and the lock queue state */ in dlmunlock_common()
225 res->state &= ~DLM_LOCK_RES_IN_PROGRESS; in dlmunlock_common()
365 * updated state to the recovery master. this thread in dlm_send_remote_unlock_request()
441 if (res->state & DLM_LOCK_RES_RECOVERING) { in dlm_unlock_lock_handler()
448 if (res->state & DLM_LOCK_RES_MIGRATING) { in dlm_unlock_lock_handler()
/kernel/linux/linux-6.6/fs/lockd/
H A Dmon.c51 u32 state; member
58 * Local NSM state
174 if (unlikely(nsm_local_state != res.state)) { in nsm_monitor()
175 nsm_local_state = res.state; in nsm_monitor()
176 dprintk("lockd: NSM state changed to %d\n", nsm_local_state); in nsm_monitor()
255 * lock state if cookies were not unique across reboots.
447 * (via the NLMPROC_SM_NOTIFY call) that the state of host "mon_name"
508 resp->state = be32_to_cpup(p); in nsm_xdr_dec_stat_res()
510 dprintk("lockd: %s status %d state %d\n", in nsm_xdr_dec_stat_res()
511 __func__, resp->status, resp->state); in nsm_xdr_dec_stat_res()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_proc.c260 struct v4l2_subdev_state *state) in sun6i_isp_proc_init_cfg()
265 v4l2_subdev_get_try_format(subdev, state, pad); in sun6i_isp_proc_init_cfg()
283 struct v4l2_subdev_state *state, in sun6i_isp_proc_enum_mbus_code()
295 struct v4l2_subdev_state *state, in sun6i_isp_proc_get_fmt()
305 *mbus_format = *v4l2_subdev_get_try_format(subdev, state, in sun6i_isp_proc_get_fmt()
316 struct v4l2_subdev_state *state, in sun6i_isp_proc_set_fmt()
328 *v4l2_subdev_get_try_format(subdev, state, format->pad) = in sun6i_isp_proc_set_fmt()
259 sun6i_isp_proc_init_cfg(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state) sun6i_isp_proc_init_cfg() argument
282 sun6i_isp_proc_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_mbus_code_enum *code_enum) sun6i_isp_proc_enum_mbus_code() argument
294 sun6i_isp_proc_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) sun6i_isp_proc_get_fmt() argument
315 sun6i_isp_proc_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) sun6i_isp_proc_set_fmt() argument
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-debug.h163 static inline char *cdnsp_slot_state_string(u32 state) in cdnsp_slot_state_string() argument
165 switch (state) { in cdnsp_slot_state_string()
394 u32 int_target, u32 state) in cdnsp_decode_slot_context()
424 GET_INTR_TARGET(int_target), state & DEV_ADDR_MASK, in cdnsp_decode_slot_context()
425 cdnsp_slot_state_string(GET_SLOT_STATE(state))); in cdnsp_decode_slot_context()
501 static inline const char *cdnsp_ep_state_string(u8 state) in cdnsp_ep_state_string() argument
503 switch (state) { in cdnsp_ep_state_string()
393 cdnsp_decode_slot_context(u32 info, u32 info2, u32 int_target, u32 state) cdnsp_decode_slot_context() argument
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-img.c185 const struct pwm_state *state) in img_pwm_apply()
189 if (state->polarity != PWM_POLARITY_NORMAL) in img_pwm_apply()
192 if (!state->enabled) { in img_pwm_apply()
193 if (pwm->state.enabled) in img_pwm_apply()
199 err = img_pwm_config(pwm->chip, pwm, state->duty_cycle, state->period); in img_pwm_apply()
203 if (!pwm->state.enabled) in img_pwm_apply()
184 img_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) img_pwm_apply() argument
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtmtk.c86 static void btmtk_coredump_notify(struct hci_dev *hdev, int state) in btmtk_coredump_notify() argument
90 switch (state) { in btmtk_coredump_notify()
92 data->cd_info.state = HCI_DEVCOREDUMP_IDLE; in btmtk_coredump_notify()
95 data->cd_info.state = HCI_DEVCOREDUMP_ACTIVE; in btmtk_coredump_notify()
100 data->cd_info.state = HCI_DEVCOREDUMP_IDLE; in btmtk_coredump_notify()
362 data->cd_info.state = HCI_DEVCOREDUMP_IDLE; in btmtk_register_coredump()
380 switch (data->cd_info.state) { in btmtk_process_coredump()
/kernel/linux/linux-6.6/drivers/fpga/
H A Dsocfpga.c236 u32 state) in socfpga_fpga_wait_for_state()
241 * HW doesn't support an interrupt for changes in state, so poll to see in socfpga_fpga_wait_for_state()
242 * if it matches the requested state within the timeout period. in socfpga_fpga_wait_for_state()
245 if ((socfpga_fpga_state_get(priv) & state) != 0) in socfpga_fpga_wait_for_state()
510 /* Translate state register values to FPGA framework state */
524 u32 state; in socfpga_fpga_ops_state() local
526 state = socfpga_fpga_state_get(priv); in socfpga_fpga_ops_state()
528 if (state < ARRAY_SIZE(socfpga_state_to_framework_state)) in socfpga_fpga_ops_state()
529 ret = socfpga_state_to_framework_state[state]; in socfpga_fpga_ops_state()
235 socfpga_fpga_wait_for_state(struct socfpga_fpga_priv *priv, u32 state) socfpga_fpga_wait_for_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c116 octx->state[i] = op->hash[i]; in sun4i_hash_export_sha1()
118 octx->state[0] = SHA1_H0; in sun4i_hash_export_sha1()
119 octx->state[1] = SHA1_H1; in sun4i_hash_export_sha1()
120 octx->state[2] = SHA1_H2; in sun4i_hash_export_sha1()
121 octx->state[3] = SHA1_H3; in sun4i_hash_export_sha1()
122 octx->state[4] = SHA1_H4; in sun4i_hash_export_sha1()
142 op->hash[i] = ictx->state[i]; in sun4i_hash_import_sha1()
156 * Since we cannot leave partial data and hash state in the engine,
157 * we need to get the hash state at the end of this function.
158 * We can get the hash state ever
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.c115 .state = 0,
127 .state = 1,
139 .state = 2,
151 .state = 3,
163 .state = 4,
350 s[i].state = i; in dcn301_update_bw_bounding_box()
372 s[dcn3_01_soc.num_states].state = dcn3_01_soc.num_states; in dcn301_update_bw_bounding_box()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvfio.h173 * an initial state. All device file descriptors must be released
175 * from a container, the IOMMU will be disabled and all state lost,
177 * state.
378 * Set display link state and EDID blob.
400 * @link_state: display link state (read/write).
407 * (1) set link-state to down.
409 * (3) set link-state to up.
431 __u32 device_state; /* VFIO device state */
440 #define VFIO_DEVICE_STATE_VALID(state) \
441 (state
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c161 const struct phylink_link_state *state) in dpaa2_mac_config()
164 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_config()
168 state->advertising)) in dpaa2_mac_config()
184 dpmac_eth_if_mode(state->interface)); in dpaa2_mac_config()
188 err = phy_set_mode_ext(mac->serdes_phy, PHY_MODE_ETHERNET, state->interface); in dpaa2_mac_config()
200 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_link_up()
234 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_link_down()
160 dpaa2_mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state) dpaa2_mac_config() argument
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dsend.c266 enum packet_state state; in wg_packet_tx_worker() local
270 (state = atomic_read_acquire(&PACKET_CB(first)->state)) != in wg_packet_tx_worker()
275 if (likely(state == PACKET_STATE_CRYPTED)) in wg_packet_tx_worker()
294 enum packet_state state = PACKET_STATE_CRYPTED; in wg_packet_encrypt_worker() local
301 state = PACKET_STATE_DEAD; in wg_packet_encrypt_worker()
305 wg_queue_enqueue_per_peer_tx(first, state); in wg_packet_encrypt_worker()
/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_modem.c254 * device power state won't be ACTIVE until *after* ipa_modem_resume()
286 enum ipa_modem_state state; in ipa_modem_start() local
292 state = atomic_cmpxchg(&ipa->modem_state, IPA_MODEM_STATE_STOPPED, in ipa_modem_start()
295 /* Silently ignore attempts when running, or when changing state */ in ipa_modem_start()
296 if (state != IPA_MODEM_STATE_STOPPED) in ipa_modem_start()
335 enum ipa_modem_state state; in ipa_modem_stop() local
338 state = atomic_cmpxchg(&ipa->modem_state, IPA_MODEM_STATE_RUNNING, in ipa_modem_stop()
342 if (state == IPA_MODEM_STATE_STOPPED) in ipa_modem_stop()
346 if (state != IPA_MODEM_STATE_RUNNING) in ipa_modem_stop()
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif.c149 if (dpmaif_ctrl->state != DPMAIF_STATE_PWRON) { in t7xx_dpmaif_isr_handler()
308 if (dpmaif_ctrl->state == DPMAIF_STATE_PWRON) in t7xx_dpmaif_start()
366 dpmaif_ctrl->state = DPMAIF_STATE_PWRON; in t7xx_dpmaif_start()
399 if (dpmaif_ctrl->state == DPMAIF_STATE_PWROFF) in t7xx_dpmaif_stop()
403 dpmaif_ctrl->state = DPMAIF_STATE_PWROFF; in t7xx_dpmaif_stop()
494 int t7xx_dpmaif_md_state_callback(struct dpmaif_ctrl *dpmaif_ctrl, enum md_state state) in t7xx_dpmaif_md_state_callback() argument
498 switch (state) { in t7xx_dpmaif_md_state_callback()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/
H A Dscan.c182 if (WARN_ON(wl->scan.state == WL1271_SCAN_STATE_IDLE)) in wl12xx_scan_stop()
210 switch (wl->scan.state) { in wl1271_scan_stm()
225 wl->scan.state = WL1271_SCAN_STATE_2GHZ_PASSIVE; in wl1271_scan_stm()
243 wl->scan.state = WL1271_SCAN_STATE_5GHZ_ACTIVE; in wl1271_scan_stm()
245 wl->scan.state = WL1271_SCAN_STATE_DONE; in wl1271_scan_stm()
256 wl->scan.state = WL1271_SCAN_STATE_5GHZ_PASSIVE; in wl1271_scan_stm()
267 wl->scan.state = WL1271_SCAN_STATE_DONE; in wl1271_scan_stm()
281 wl1271_error("invalid scan state"); in wl1271_scan_stm()
/kernel/linux/linux-6.6/drivers/perf/
H A Driscv_pmu.c194 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in riscv_pmu_stop()
196 if (!(hwc->state & PERF_HES_STOPPED)) { in riscv_pmu_stop()
199 hwc->state |= PERF_HES_STOPPED; in riscv_pmu_stop()
202 hwc->state |= PERF_HES_UPTODATE; in riscv_pmu_stop()
252 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in riscv_pmu_start()
254 hwc->state = 0; in riscv_pmu_start()
275 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp.c35 trace->errors[trace->error_count].state_id = hdcp->state.id; in push_error_status()
59 if (hdcp->displays[i].state != MOD_HDCP_DISPLAY_INACTIVE && in is_cp_desired_hdcp1()
79 if (hdcp->displays[i].state != MOD_HDCP_DISPLAY_INACTIVE && in is_cp_desired_hdcp2()
204 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication()
218 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication()
223 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication()
330 if (display->state != MOD_HDCP_DISPLAY_ACTIVE) { in mod_hdcp_add_display()
/kernel/linux/linux-6.6/arch/xtensa/kernel/
H A Dperf_event.c258 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in xtensa_pmu_start()
262 hwc->state = 0; in xtensa_pmu_start()
272 if (!(hwc->state & PERF_HES_STOPPED)) { in xtensa_pmu_stop()
276 hwc->state |= PERF_HES_STOPPED; in xtensa_pmu_stop()
280 !(event->hw.state & PERF_HES_UPTODATE)) { in xtensa_pmu_stop()
282 event->hw.state |= PERF_HES_UPTODATE; in xtensa_pmu_stop()
307 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in xtensa_pmu_add()
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
H A Dpanfrost_gpu.c25 u32 state = gpu_read(pfdev, GPU_INT_STAT); in panfrost_gpu_irq_handler() local
28 if (!state) in panfrost_gpu_irq_handler()
31 if (state & GPU_IRQ_MASK_ERROR) { in panfrost_gpu_irq_handler()
39 if (state & GPU_IRQ_MULTIPLE_FAULT) in panfrost_gpu_irq_handler()
45 if (state & GPU_IRQ_PERFCNT_SAMPLE_COMPLETED) in panfrost_gpu_irq_handler()
48 if (state & GPU_IRQ_CLEAN_CACHES_COMPLETED) in panfrost_gpu_irq_handler()
51 gpu_write(pfdev, GPU_INT_CLEAR, state); in panfrost_gpu_irq_handler()
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
H A Dsti_cursor.c185 struct drm_atomic_state *state) in sti_cursor_atomic_check()
187 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in sti_cursor_atomic_check()
202 crtc_state = drm_atomic_get_crtc_state(state, crtc); in sti_cursor_atomic_check()
260 struct drm_atomic_state *state) in sti_cursor_atomic_update()
262 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_cursor_atomic_update()
315 struct drm_atomic_state *state) in sti_cursor_atomic_disable()
317 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable()
184 sti_cursor_atomic_check(struct drm_plane *drm_plane, struct drm_atomic_state *state) sti_cursor_atomic_check() argument
259 sti_cursor_atomic_update(struct drm_plane *drm_plane, struct drm_atomic_state *state) sti_cursor_atomic_update() argument
314 sti_cursor_atomic_disable(struct drm_plane *drm_plane, struct drm_atomic_state *state) sti_cursor_atomic_disable() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dgpio-fan.c362 unsigned long *state) in gpio_fan_get_max_state()
369 *state = fan_data->num_speed - 1; in gpio_fan_get_max_state()
374 unsigned long *state) in gpio_fan_get_cur_state()
381 *state = fan_data->speed_index; in gpio_fan_get_cur_state()
386 unsigned long state) in gpio_fan_set_cur_state()
393 if (state >= fan_data->num_speed) in gpio_fan_set_cur_state()
396 set_fan_speed(fan_data, state); in gpio_fan_set_cur_state()
361 gpio_fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) gpio_fan_get_max_state() argument
373 gpio_fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) gpio_fan_get_cur_state() argument
385 gpio_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) gpio_fan_set_cur_state() argument
H A Dtc654.c459 * Account for the "ShutDown Mode (SDM)" state by offsetting
471 static int tc654_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_max_state() argument
473 *state = TC654_MAX_COOLING_STATE; in tc654_get_max_state()
477 static int tc654_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_cur_state() argument
485 *state = 0; /* FAN is off */ in tc654_get_cur_state()
487 *state = data->duty_cycle + 1; /* offset PWM States by 1 */ in tc654_get_cur_state()
492 static int tc654_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in tc654_set_cur_state() argument
499 return _set_pwm(data, clamp_val(state, 0, TC654_MAX_COOLING_STATE)); in tc654_set_cur_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ldu.c99 fb = crtc->primary->state->fb; in vmw_ldu_commit_list()
108 fb = entry->base.crtc.primary->state->fb; in vmw_ldu_commit_list()
248 * @state: Unused
256 struct drm_atomic_state *state) in vmw_ldu_crtc_atomic_enable()
264 * @state: Unused
267 struct drm_atomic_state *state) in vmw_ldu_crtc_atomic_disable()
330 struct drm_atomic_state *state) in vmw_ldu_primary_plane_atomic_update()
332 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in vmw_ldu_primary_plane_atomic_update()
334 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vmw_ldu_primary_plane_atomic_update()
456 * only exist in a state objec in vmw_ldu_init()
255 vmw_ldu_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) vmw_ldu_crtc_atomic_enable() argument
266 vmw_ldu_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) vmw_ldu_crtc_atomic_disable() argument
329 vmw_ldu_primary_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) vmw_ldu_primary_plane_atomic_update() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/algos/
H A Di2c-algo-pca.c47 * (calculated in pca_init) to get the bus in a working state. in pca_reset()
99 * part returns the idle state (0xf8). Hence we don't need to
190 int state; in pca_xfer() local
195 while ((state = pca_status(adap)) != 0xf8) { in pca_xfer()
200 "%#04x\n", state); in pca_xfer()
231 state = pca_status(adap); in pca_xfer()
233 DEB3("STATE is 0x%02x\n", state); in pca_xfer()
236 switch (state) { in pca_xfer()
341 dev_err(&i2c_adap->dev, "unhandled SIO state 0x%02x\n", state); in pca_xfer()
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Diqs621-als.c274 int state) in iqs621_als_write_event_config()
292 iqs621_als->range_en || state ? 0 : in iqs621_als_write_event_config()
295 iqs621_als->light_en = state; in iqs621_als_write_event_config()
301 iqs621_als->light_en || state ? 0 : in iqs621_als_write_event_config()
304 iqs621_als->range_en = state; in iqs621_als_write_event_config()
315 state ? 0 : 0xFF); in iqs621_als_write_event_config()
317 iqs621_als->prox_en = state; in iqs621_als_write_event_config()
270 iqs621_als_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) iqs621_als_write_event_config() argument

Completed in 25 milliseconds

1...<<281282283284285286287288289290>>...823