Home
last modified time | relevance | path

Searched refs:state (Results 3676 - 3700 of 13257) sorted by relevance

1...<<141142143144145146147148149150>>...531

/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusb_stream.c232 sk->s->state = usb_stream_stopped; in usb_stream_new()
502 s->state = usb_stream_xrun; in stream_idle()
524 if (s->state >= usb_stream_sync1) { in stream_start()
592 if (s->state == usb_stream_sync1 && s->insize_done > 360000) { in stream_start()
594 s->state = usb_stream_ready; in stream_start()
617 if (s->state >= usb_stream_sync0) { in i_capture_start()
639 if (!empty && s->state < usb_stream_sync1) in i_capture_start()
640 ++s->state; in i_capture_start()
660 if (s->state != usb_stream_stopped) in usb_stream_start()
735 while (s->state ! in usb_stream_start()
[all...]
/kernel/linux/linux-5.10/lib/xz/
H A Dxz_dec_lzma2.c140 enum lzma_state state; member
283 * Reset the dictionary state. When in single-call mode, set up the beginning
609 if (lzma_state_is_literal(s->lzma.state)) { in lzma_literal()
632 lzma_state_literal(&s->lzma.state); in lzma_literal()
669 lzma_state_match(&s->lzma.state); in lzma_match()
709 if (!rc_bit(&s->rc, &s->lzma.is_rep0[s->lzma.state])) { in lzma_rep_match()
711 s->lzma.state][pos_state])) { in lzma_rep_match()
712 lzma_state_short_rep(&s->lzma.state); in lzma_rep_match()
717 if (!rc_bit(&s->rc, &s->lzma.is_rep1[s->lzma.state])) { in lzma_rep_match()
720 if (!rc_bit(&s->rc, &s->lzma.is_rep2[s->lzma.state])) { in lzma_rep_match()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dposix_acl.c213 int state = ACL_USER_OBJ; in posix_acl_valid() local
221 if (state == ACL_USER_OBJ) { in posix_acl_valid()
222 state = ACL_USER; in posix_acl_valid()
228 if (state != ACL_USER) in posix_acl_valid()
236 if (state == ACL_USER) { in posix_acl_valid()
237 state = ACL_GROUP; in posix_acl_valid()
243 if (state != ACL_GROUP) in posix_acl_valid()
251 if (state != ACL_GROUP) in posix_acl_valid()
253 state = ACL_OTHER; in posix_acl_valid()
257 if (state in posix_acl_valid()
[all...]
/kernel/linux/linux-5.10/net/bluetooth/
H A Da2mp.c74 static struct amp_mgr *amp_mgr_lookup_by_state(u8 state) in amp_mgr_lookup_by_state() argument
80 if (test_and_clear_bit(state, &mgr->state)) { in amp_mgr_lookup_by_state()
250 BT_DBG("chan %p state %s", chan, in a2mp_discover_rsp()
251 state_to_string(chan->state)); in a2mp_discover_rsp()
258 if (chan->state == BT_CONNECT) in a2mp_discover_rsp()
322 set_bit(READ_LOC_AMP_INFO, &mgr->state); in a2mp_getinfo_req()
546 set_bit(WRITE_REMOTE_AMP_ASSOC, &mgr->state); in a2mp_createphyslink_req()
716 static void a2mp_chan_state_change_cb(struct l2cap_chan *chan, int state, in a2mp_chan_state_change_cb() argument
724 BT_DBG("chan %p state in a2mp_chan_state_change_cb()
[all...]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c363 * Timeout table[state]
425 static const char * tcp_state_name(int state) in tcp_state_name() argument
427 if (state >= IP_VS_TCP_S_LAST) in tcp_state_name()
429 return tcp_state_name_table[state] ? tcp_state_name_table[state] : "?"; in tcp_state_name()
432 static bool tcp_state_active(int state) in tcp_state_active() argument
434 if (state >= IP_VS_TCP_S_LAST) in tcp_state_active()
436 return tcp_state_active_table[state]; in tcp_state_active()
520 * Update state offset to INPUT_ONLY if necessary in set_tcp_state()
536 pd->tcp_state_table[state_off+state_idx].next_state[cp->state]; in set_tcp_state()
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Domap_remoteproc.c85 * struct omap_rproc - omap remote processor state
100 * @suspend_acked: state machine flag to store the suspend request ack
804 * STANDBY state (after saving the context, the SYS/BIOS executes the in _omap_rproc_suspend()
910 if (rproc->state == RPROC_OFFLINE) in omap_rproc_suspend()
913 if (rproc->state == RPROC_SUSPENDED) in omap_rproc_suspend()
916 if (rproc->state != RPROC_RUNNING) { in omap_rproc_suspend()
932 rproc->state = RPROC_SUSPENDED; in omap_rproc_suspend()
947 if (rproc->state == RPROC_OFFLINE) in omap_rproc_resume()
950 if (rproc->state != RPROC_SUSPENDED) { in omap_rproc_resume()
958 * state, wil in omap_rproc_resume()
[all...]
/kernel/linux/linux-6.6/drivers/misc/mei/
H A Dmain.c417 if (cl->state != MEI_FILE_INITIALIZING && in mei_ioctl_connect_client()
418 cl->state != MEI_FILE_DISCONNECTED) in mei_ioctl_connect_client()
520 switch (cl->state) { in mei_ioctl_connect_vtag()
567 while (cl->state != MEI_FILE_INITIALIZING && in mei_ioctl_connect_vtag()
568 cl->state != MEI_FILE_DISCONNECTED && in mei_ioctl_connect_vtag()
569 cl->state != MEI_FILE_CONNECTED) { in mei_ioctl_connect_vtag()
572 (cl->state == MEI_FILE_CONNECTED || in mei_ioctl_connect_vtag()
573 cl->state == MEI_FILE_DISCONNECTED || in mei_ioctl_connect_vtag()
574 cl->state == MEI_FILE_DISCONNECT_REQUIRED || in mei_ioctl_connect_vtag()
575 cl->state in mei_ioctl_connect_vtag()
1112 mei_set_devstate(struct mei_device *dev, enum mei_dev_state state) mei_set_devstate() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c128 static inline u8 mlxsw_state_to_duty(int state) in mlxsw_state_to_duty() argument
130 return DIV_ROUND_CLOSEST(state * MLXSW_THERMAL_MAX_DUTY, in mlxsw_state_to_duty()
170 const struct mlxsw_cooling_states *state = &thermal->cooling_states[i]; in mlxsw_thermal_bind() local
173 state->max_state, in mlxsw_thermal_bind()
174 state->min_state, in mlxsw_thermal_bind()
250 const struct mlxsw_cooling_states *state = &tz->cooling_states[i]; in mlxsw_thermal_module_bind() local
253 state->max_state, in mlxsw_thermal_module_bind()
254 state->min_state, in mlxsw_thermal_module_bind()
374 unsigned long state) in mlxsw_thermal_set_cur_state()
383 if (state > MLXSW_THERMAL_MAX_STAT in mlxsw_thermal_set_cur_state()
373 mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) mlxsw_thermal_set_cur_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Dcan327.c95 } state; member
108 /* Parser state */
153 /* Take the ELM327 out of almost any state and back into command mode.
162 if (elm->state != CAN327_STATE_GETDUMMYCHAR && in can327_kick_into_cmd_mode()
163 elm->state != CAN327_STATE_GETPROMPT) { in can327_kick_into_cmd_mode()
166 elm->state = CAN327_STATE_GETDUMMYCHAR; in can327_kick_into_cmd_mode()
238 elm->state = CAN327_STATE_NOTINIT; in can327_init_device()
295 elm->can.state = CAN_STATE_BUS_OFF; in can327_uart_side_failure()
502 * However, this will correctly drop the state machine back into in can327_parse_frame()
538 if (elm->state in can327_parse_line()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/
H A Dusb_8dev.c348 u8 state = msg->data[0]; in usb_8dev_rx_err_msg() local
358 switch (state) { in usb_8dev_rx_err_msg()
360 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg()
365 priv->can.state = CAN_STATE_BUS_OFF; in usb_8dev_rx_err_msg()
376 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
382 switch (state) { in usb_8dev_rx_err_msg()
416 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
423 priv->can.state = CAN_STATE_ERROR_PASSIVE; in usb_8dev_rx_err_msg()
431 "Unknown status/error message (%d)\n", state); in usb_8dev_rx_err_msg()
442 if (priv->can.state ! in usb_8dev_rx_err_msg()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c30 test_bit(IONIC_LIF_F_UP, lif->state)); in ionic_watchdog_cb()
33 !test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_watchdog_cb()
36 if (test_bit(IONIC_LIF_F_FILTER_SYNC_NEEDED, lif->state) && in ionic_watchdog_cb()
37 !test_bit(IONIC_LIF_F_FW_RESET, lif->state)) { in ionic_watchdog_cb()
226 if (test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_heartbeat_check()
233 dev_dbg(ionic->dev, "fw_status 0x%02x ready %d idev->ready %d last_hb 0x%x state 0x%02lx\n", in ionic_heartbeat_check()
235 idev->last_fw_hb, lif->state[0]); in ionic_heartbeat_check()
239 !test_bit(IONIC_LIF_F_FW_STOPPING, lif->state)) { in ionic_heartbeat_check()
245 !test_bit(IONIC_LIF_F_FW_RESET, lif->state) && in ionic_heartbeat_check()
246 !test_and_set_bit(IONIC_LIF_F_FW_STOPPING, lif->state)) { in ionic_heartbeat_check()
392 ionic_dev_cmd_port_state(struct ionic_dev *idev, u8 state) ionic_dev_cmd_port_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Drx.c110 struct ef4_rx_page_state *state; in ef4_reuse_page() local
130 state = page_address(page); in ef4_reuse_page()
131 dma_unmap_page(&efx->pci_dev->dev, state->dma_addr, in ef4_reuse_page()
158 struct ef4_rx_page_state *state; in ef4_init_rx_buffers() local
180 state = page_address(page); in ef4_init_rx_buffers()
181 state->dma_addr = dma_addr; in ef4_init_rx_buffers()
183 state = page_address(page); in ef4_init_rx_buffers()
184 dma_addr = state->dma_addr; in ef4_init_rx_buffers()
219 struct ef4_rx_page_state *state = page_address(page); in ef4_unmap_rx_buffer() local
221 state in ef4_unmap_rx_buffer()
809 struct ef4_rx_page_state *state; ef4_fini_rx_queue() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dposix_acl.c241 int state = ACL_USER_OBJ; in posix_acl_valid() local
249 if (state == ACL_USER_OBJ) { in posix_acl_valid()
250 state = ACL_USER; in posix_acl_valid()
256 if (state != ACL_USER) in posix_acl_valid()
264 if (state == ACL_USER) { in posix_acl_valid()
265 state = ACL_GROUP; in posix_acl_valid()
271 if (state != ACL_GROUP) in posix_acl_valid()
279 if (state != ACL_GROUP) in posix_acl_valid()
281 state = ACL_OTHER; in posix_acl_valid()
285 if (state in posix_acl_valid()
[all...]
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Domap_remoteproc.c86 * struct omap_rproc - omap remote processor state
101 * @suspend_acked: state machine flag to store the suspend request ack
805 * STANDBY state (after saving the context, the SYS/BIOS executes the in _omap_rproc_suspend()
910 if (rproc->state == RPROC_OFFLINE) in omap_rproc_suspend()
913 if (rproc->state == RPROC_SUSPENDED) in omap_rproc_suspend()
916 if (rproc->state != RPROC_RUNNING) { in omap_rproc_suspend()
932 rproc->state = RPROC_SUSPENDED; in omap_rproc_suspend()
946 if (rproc->state == RPROC_OFFLINE) in omap_rproc_resume()
949 if (rproc->state != RPROC_SUSPENDED) { in omap_rproc_resume()
957 * state, wil in omap_rproc_resume()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddebugfs.c576 enum dwc3_link_state state; in dwc3_link_state_show() local
595 state = DWC3_DSTS_USBLNKST(reg); in dwc3_link_state_show()
599 dwc3_gadget_link_string(state) : in dwc3_link_state_show()
600 dwc3_gadget_hs_link_string(state)); in dwc3_link_state_show()
619 enum dwc3_link_state state = 0; in dwc3_link_state_write() local
629 state = DWC3_LINK_STATE_SS_DIS; in dwc3_link_state_write()
631 state = DWC3_LINK_STATE_RX_DET; in dwc3_link_state_write()
633 state = DWC3_LINK_STATE_SS_INACT; in dwc3_link_state_write()
635 state = DWC3_LINK_STATE_RECOV; in dwc3_link_state_write()
637 state in dwc3_link_state_write()
[all...]
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_dsps.c186 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in dsps_musb_enable()
225 usb_otg_state_string(musb->xceiv->otg->state)); in dsps_check_status()
227 switch (musb->xceiv->otg->state) { in dsps_check_status()
230 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in dsps_check_status()
250 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status()
253 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in dsps_check_status()
267 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_check_status()
366 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt()
371 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt()
376 musb->xceiv->otg->state in dsps_interrupt()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.c124 .state = 0,
133 .state = 1,
142 .state = 2,
151 .state = 3,
160 .state = 4,
367 .state = 0,
376 .state = 1,
385 .state = 2,
394 .state = 3,
403 .state
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbpf_struct_ops.c25 enum bpf_struct_ops_state state
260 enum bpf_struct_ops_state state; in bpf_struct_ops_map_sys_lookup_elem() local
268 state = smp_load_acquire(&kvalue->state); in bpf_struct_ops_map_sys_lookup_elem()
269 if (state == BPF_STRUCT_OPS_STATE_INIT) { in bpf_struct_ops_map_sys_lookup_elem()
274 /* No lock is needed. state and refcnt do not need in bpf_struct_ops_map_sys_lookup_elem()
279 uvalue->state = state; in bpf_struct_ops_map_sys_lookup_elem()
398 if (uvalue->state || refcount_read(&uvalue->refcnt)) in bpf_struct_ops_map_update_elem()
410 if (kvalue->state ! in bpf_struct_ops_map_update_elem()
[all...]
/kernel/linux/linux-6.6/drivers/dma/ioat/
H A Ddma.c112 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt()
129 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt_msix()
145 clear_bit(IOAT_RUN, &ioat_chan->state); in ioat_stop()
244 if (!test_bit(IOAT_CHAN_DOWN, &ioat_chan->state)) in ioat_start_null_desc()
319 if (!test_and_set_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state))
550 clear_bit(IOAT_COMPLETION_ACK, &ioat_chan->state); in ioat_cleanup_preamble()
698 if (!test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_cleanup_event()
863 /* clean up the channel, we could be in weird state */ in ioat_eh()
881 if (test_and_clear_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state)) in check_active()
888 set_bit(IOAT_CHAN_DOWN, &ioat_chan->state); in ioat_reboot_chan()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_fdi.c23 enum pipe pipe, bool state) in assert_fdi_tx()
39 I915_STATE_WARN(dev_priv, cur_state != state, in assert_fdi_tx()
40 "FDI TX state assertion failure (expected %s, current %s)\n", in assert_fdi_tx()
41 str_on_off(state), str_on_off(cur_state)); in assert_fdi_tx()
55 enum pipe pipe, bool state) in assert_fdi_rx()
60 I915_STATE_WARN(dev_priv, cur_state != state, in assert_fdi_rx()
61 "FDI RX state assertion failure (expected %s, current %s)\n", in assert_fdi_rx()
62 str_on_off(state), str_on_off(cur_state)); in assert_fdi_rx()
94 enum pipe pipe, bool state) in assert_fdi_rx_pll()
99 I915_STATE_WARN(i915, cur_state != state, in assert_fdi_rx_pll()
22 assert_fdi_tx(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) assert_fdi_tx() argument
54 assert_fdi_rx(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) assert_fdi_rx() argument
93 assert_fdi_rx_pll(struct drm_i915_private *i915, enum pipe pipe, bool state) assert_fdi_rx_pll() argument
135 struct drm_atomic_state *state = pipe_config->uapi.state; ilk_check_fdi_lanes() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Ddell-smm-hwmon.c613 static int dell_smm_get_max_state(struct thermal_cooling_device *dev, unsigned long *state) in dell_smm_get_max_state() argument
617 *state = cdata->data->i8k_fan_max; in dell_smm_get_max_state()
622 static int dell_smm_get_cur_state(struct thermal_cooling_device *dev, unsigned long *state) in dell_smm_get_cur_state() argument
631 *state = ret; in dell_smm_get_cur_state()
636 static int dell_smm_set_cur_state(struct thermal_cooling_device *dev, unsigned long state) in dell_smm_set_cur_state() argument
642 if (state > data->i8k_fan_max) in dell_smm_set_cur_state()
646 ret = i8k_set_fan(data, cdata->fan_num, (int)state); in dell_smm_set_cur_state()
993 int state, err; in dell_smm_init_hwmon() local
1030 for (state = 0; state < in dell_smm_init_hwmon()
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dapds9960.c135 /* state */
707 int state) in apds9960_write_event_config()
712 state = !!state; in apds9960_write_event_config()
716 if (data->pxs_int == state) in apds9960_write_event_config()
719 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config()
722 data->pxs_int = state; in apds9960_write_event_config()
723 apds9960_set_power_state(data, state); in apds9960_write_event_config()
726 if (data->als_int == state) in apds9960_write_event_config()
729 ret = regmap_field_write(data->reg_int_als, state); in apds9960_write_event_config()
703 apds9960_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) apds9960_write_event_config() argument
824 apds9960_set_powermode(struct apds9960_data *data, bool state) apds9960_set_powermode() argument
[all...]
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusb_stream.c236 sk->s->state = usb_stream_stopped; in usb_stream_new()
510 s->state = usb_stream_xrun; in stream_idle()
535 if (s->state >= usb_stream_sync1) { in stream_start()
606 if (s->state == usb_stream_sync1 && s->insize_done > 360000) { in stream_start()
608 s->state = usb_stream_ready; in stream_start()
632 if (s->state >= usb_stream_sync0) { in i_capture_start()
655 if (!empty && s->state < usb_stream_sync1) in i_capture_start()
656 ++s->state; in i_capture_start()
677 if (s->state != usb_stream_stopped) in usb_stream_start()
757 while (s->state ! in usb_stream_start()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dunifdef.c95 /* state of #if processing */
101 IS_FALSE_MIDDLE, /* a false #elif after a pass state */
102 IS_TRUE_MIDDLE, /* a true #elif after a pass state */
103 IS_PASS_ELSE, /* an else after a pass state */
104 IS_FALSE_ELSE, /* an else after a true state */
117 /* state of comment parser */
132 /* state of preprocessor line parser */
197 static Comment_state incomment; /* comment parser state */
198 static Line_state linestate; /* #if line parser state */
199 static Ifstate ifstate[MAXDEPTH]; /* #if processor state */
544 state(Ifstate is) state() function
[all...]
/kernel/linux/linux-6.6/sound/i2c/other/
H A Dak4xxx-adda.c40 static void ak4524_reset(struct snd_akm4xxx *ak, int state) in ak4524_reset() argument
46 snd_akm4xxx_write(ak, chip, 0x01, state ? 0x00 : 0x03); in ak4524_reset()
47 if (state) in ak4524_reset()
57 static void ak435X_reset(struct snd_akm4xxx *ak, int state) in ak435X_reset() argument
61 if (state) { in ak435X_reset()
73 static void ak4381_reset(struct snd_akm4xxx *ak, int state) in ak4381_reset() argument
78 snd_akm4xxx_write(ak, chip, 0x00, state ? 0x0c : 0x0f); in ak4381_reset()
79 if (state) in ak4381_reset()
89 * @state: 1 = reset codec, 0 = restore the registers
93 void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state) in snd_akm4xxx_reset() argument
[all...]

Completed in 29 milliseconds

1...<<141142143144145146147148149150>>...531