Home
last modified time | relevance | path

Searched refs:state (Results 9201 - 9225 of 13257) sorted by relevance

1...<<361362363364365366367368369370>>...531

/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Dnetjet.c203 bc->bch.nr, bc->bch.state, protocol); in mode_tiger()
206 if (bc->bch.state == ISDN_P_NONE) in mode_tiger()
209 bc->bch.state = protocol; in mode_tiger()
211 if ((card->bc[0].bch.state == ISDN_P_NONE) && in mode_tiger()
212 (card->bc[1].bch.state == ISDN_P_NONE)) { in mode_tiger()
225 bc->bch.state = protocol; in mode_tiger()
239 bc->bch.state = protocol; in mode_tiger()
496 pr_debug("%s: %s B%1d %d state %x idx %d/%d\n", card->name, in fill_hdlc_flag()
543 pr_debug("%s: %s B%1d %d/%d/%d/%d state %x idx %d/%d\n", in fill_dma()
632 pr_info("%s: B%1d TX underrun state in send_tiger_bc()
[all...]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dtei.c94 if (fi->state == ST_L1_DEACT_PENDING) in da_activate()
114 if (l2->l2m.state > ST_L2_4) { in da_deactivate()
152 if (l2->l2m.state > ST_L2_4) { in da_timer()
818 l2->tm->tei_m.state = ST_TEI_NOP; in create_new_tei()
1062 l2->tm->tei_m.state = ST_TEI_NOP; in create_teimgr()
1070 l2->tm->tei_m.state = ST_TEI_NOP; in create_teimgr()
1370 mgr->deact.state = ST_L1_DEACT; in create_teimanager()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A Dvpfe_capture.c465 vpfe_dev->next_frm->state = VIDEOBUF_ACTIVE; in vpfe_schedule_next_buffer()
483 vpfe_dev->cur_frm->state = VIDEOBUF_DONE; in vpfe_process_buffer_complete()
1188 if (VIDEOBUF_NEEDS_INIT == vb->state) { in vpfe_videobuf_prepare()
1203 vb->state = VIDEOBUF_PREPARED; in vpfe_videobuf_prepare()
1223 /* Change state of the buffer */ in vpfe_videobuf_queue()
1224 vb->state = VIDEOBUF_QUEUED; in vpfe_videobuf_queue()
1244 vb->state = VIDEOBUF_NEEDS_INIT; in vpfe_videobuf_release()
1440 /* Mark state of the current frame to active */ in vpfe_streamon()
1441 vpfe_dev->cur_frm->state = VIDEOBUF_ACTIVE; in vpfe_streamon()
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
H A Dngene-core.c97 in run state ( the source may be late in demux_tasklet()
109 so switch to run state */ in demux_tasklet()
683 void set_transfer(struct ngene_channel *chan, int state) in set_transfer() argument
691 dev_info(pdev, "st %d\n", state); in set_transfer()
695 if (state) { in set_transfer()
708 dev->card_info->switch_ctrl(chan, 1, state ^ 1); in set_transfer()
710 if (state) { in set_transfer()
740 chan->running = state; in set_transfer()
742 dev_err(pdev, "%s %d failed\n", __func__, state); in set_transfer()
743 if (!state) { in set_transfer()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c681 return "bad system state"; in cmd_status_str()
689 return "bad resource state"; in cmd_status_str()
699 return "bad QP state"; in cmd_status_str()
864 if (!test_bit(MLX5_CMD_ENT_STATE_PENDING_COMP, &ent->state)) { in cb_timeout_handler()
894 dev->cmd.state != MLX5_CMDIF_STATE_UP || in mlx5_cmd_is_down()
895 dev->state == MLX5_DEVICE_STATE_INTERNAL_ERROR; in mlx5_cmd_is_down()
960 set_bit(MLX5_CMD_ENT_STATE_PENDING_COMP, &ent->state); in cmd_work_handler()
1575 &ent->state)) { in mlx5_cmd_comp_handler()
1754 /* For cached lists, we must explicitly state what is in alloc_msg()
2063 cmd->state in mlx5_cmd_init()
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-qup.c255 /* To configure when bus is in run state */
320 * Don’t reset the QUP state in case of BAM mode. The BAM in qup_i2c_interrupt()
380 u32 state; in qup_i2c_poll_state_mask() local
387 state = readl(qup->base + QUP_STATE); in qup_i2c_poll_state_mask()
389 if (state & QUP_STATE_VALID && in qup_i2c_poll_state_mask()
390 (state & req_mask) == req_state) in qup_i2c_poll_state_mask()
422 static int qup_i2c_change_state(struct qup_i2c_dev *qup, u32 state) in qup_i2c_change_state() argument
427 writel(state, qup->base + QUP_STATE); in qup_i2c_change_state()
429 if (qup_i2c_poll_state(qup, state) != 0) in qup_i2c_change_state()
434 /* Check if I2C bus returns to IDLE state */
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dat91-sama5d2_adc.c580 static int at91_adc_configure_touch(struct at91_adc_state *st, bool state) in at91_adc_configure_touch() argument
587 if (!state) { in at91_adc_configure_touch()
728 static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state) in at91_adc_configure_trigger() argument
737 if (state) in at91_adc_configure_trigger()
771 struct dma_tx_state state; in at91_adc_dma_size_done() local
777 &state); in at91_adc_dma_size_done()
782 i = st->dma_st.rx_buf_sz - state.residue; in at91_adc_dma_size_done()
1952 /* reconfiguring trigger hardware state */ in at91_adc_resume()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c1123 mvmsta->tid_data[tid].state != IWL_AGG_ON, in iwl_mvm_tx_mpdu()
1124 "Invalid internal agg state %d for TID %d", in iwl_mvm_tx_mpdu()
1125 mvmsta->tid_data[tid].state, tid)) in iwl_mvm_tx_mpdu()
1163 * mvm->add_stream_wk can't ruin the state, and if we DON'T in iwl_mvm_tx_mpdu()
1270 if ((tid_data->state == IWL_AGG_ON || in iwl_mvm_check_ratid_empty()
1271 tid_data->state == IWL_EMPTYING_HW_QUEUE_DELBA) && in iwl_mvm_check_ratid_empty()
1292 switch (tid_data->state) { in iwl_mvm_check_ratid_empty()
1297 tid_data->state = IWL_AGG_STARTING; in iwl_mvm_check_ratid_empty()
1305 tid_data->state = IWL_AGG_OFF; in iwl_mvm_check_ratid_empty()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dmxs-auart.c223 /* Tx FIFO EMPTY Raw Interrupt state */
252 /* RO. The UART Debug Register contains the state of the DMA signals. */
530 struct circ_buf *xmit = &s->port.state->xmit; in dma_tx_callback()
581 struct circ_buf *xmit = &s->port.state->xmit; in mxs_auart_tx_chars()
634 if (uart_circ_empty(&(s->port.state->xmit))) in mxs_auart_tx_chars()
700 tty_flip_buffer_push(&s->port.state->port); in mxs_auart_rx_chars()
758 s->port.state != NULL) { in mxs_auart_modem_status()
768 wake_up_interruptible(&s->port.state->port.delta_msr_wait); in mxs_auart_modem_status()
847 struct tty_port *port = &s->port.state->port; in dma_rx_callback()
1190 /* if already in reset state, kee in mxs_auart_reset_assert()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbmem.c467 if (logo == NULL || info->state != FBINFO_STATE_RUNNING || in fb_show_logo_line()
775 if (info->state != FBINFO_STATE_RUNNING) in fb_read()
840 if (info->state != FBINFO_STATE_RUNNING) in fb_write()
1885 * @state: 0 = resuming, !=0 = suspending
1891 void fb_set_suspend(struct fb_info *info, int state) in fb_set_suspend() argument
1895 if (state) { in fb_set_suspend()
1897 info->state = FBINFO_STATE_SUSPENDED; in fb_set_suspend()
1899 info->state = FBINFO_STATE_RUNNING; in fb_set_suspend()
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
H A Dfbdev.c21 * KGI code provided the basis for state storage, init, and mode switching.
573 * riva_save_state - saves current chip state
578 * Saves current chip state to @regs.
610 * riva_load_state - loads current chip state
615 * Loads chip state from @regs.
625 RIVA_HW_STATE *state = &regs->ext; in riva_load_state() local
633 par->riva.LoadStateExt(&par->riva, state); in riva_load_state()
1035 memset(&par->state, 0, sizeof(struct vgastate)); in rivafb_open()
1036 par->state.flags = VGA_SAVE_MODE | VGA_SAVE_FONTS; in rivafb_open()
1039 par->state in rivafb_open()
[all...]
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dcthw20k1.c176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state()
1679 int state = type == ADC_MICIN; in hw_adc_input_select() local
1683 return adc_input_select_SB055x(hw, type, state); in hw_adc_input_select()
1685 return adc_input_select_hendrix(hw, type, state); in hw_adc_input_select()
1687 return adc_input_select_hendrix(hw, type, state); in hw_adc_input_select()
1689 return adc_input_select_SBx(hw, type, state); in hw_adc_input_select()
/kernel/linux/linux-5.10/security/apparmor/
H A Dapparmorfs.c613 unsigned int state = 0; in profile_query_cb() local
619 state = aa_dfa_match_len(dfa, profile->file.start, in profile_query_cb()
621 if (state) { in profile_query_cb()
624 tmp = aa_compute_fperms(dfa, state, &cond); in profile_query_cb()
630 state = aa_dfa_match_len(dfa, profile->policy.start[0], in profile_query_cb()
632 if (state) in profile_query_cb()
633 aa_compute_perms(dfa, state, &tmp); in profile_query_cb()
/kernel/linux/linux-5.10/kernel/events/
H A Duprobes.c1686 * @regs: Reflects the saved state of the task after it has hit a breakpoint
1953 utask->state = UTASK_SSTEP; in pre_ssout()
1974 WARN_ON_ONCE(utask->state != UTASK_SSTEP); in uprobe_deny_signal()
1982 utask->state = UTASK_SSTEP_TRAPPED; in uprobe_deny_signal()
2267 if (utask->state == UTASK_SSTEP_ACK) in handle_singlestep()
2269 else if (utask->state == UTASK_SSTEP_TRAPPED) in handle_singlestep()
2276 utask->state = UTASK_RUNNING; in handle_singlestep()
2342 utask->state = UTASK_SSTEP_ACK; in uprobe_post_sstep_notifier()
/kernel/linux/linux-5.10/net/mac80211/
H A Diface.c380 clear_bit(SDATA_STATE_RUNNING, &sdata->state); in ieee80211_do_stop()
594 * XXX: what about WoWLAN? If the device has software state, e.g. in ieee80211_do_stop()
947 set_bit(SDATA_STATE_RUNNING, &sdata->state); in ieee80211_add_virtual_monitor()
1216 set_bit(SDATA_STATE_RUNNING, &sdata->state); in ieee80211_do_open()
1312 clear_bit(SDATA_STATE_RUNNING, &sdata->state); in ieee80211_do_open()
1699 /* Purge and reset type-dependent state. */ in ieee80211_if_change_type()
2055 if (WARN_ON_ONCE(!test_bit(SDATA_STATE_RUNNING, &sdata->state))) in ieee80211_sdata_stop()
2106 unsigned long state, void *ptr) in netdev_notify()
2111 if (state != NETDEV_CHANGENAME) in netdev_notify()
2105 netdev_notify(struct notifier_block *nb, unsigned long state, void *ptr) netdev_notify() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo.c622 u8 state = SDVO_ENCODER_STATE_ON; in psb_intel_sdvo_set_encoder_power_state() local
626 state = SDVO_ENCODER_STATE_ON; in psb_intel_sdvo_set_encoder_power_state()
629 state = SDVO_ENCODER_STATE_STANDBY; in psb_intel_sdvo_set_encoder_power_state()
632 state = SDVO_ENCODER_STATE_SUSPEND; in psb_intel_sdvo_set_encoder_power_state()
635 state = SDVO_ENCODER_STATE_OFF; in psb_intel_sdvo_set_encoder_power_state()
640 SDVO_CMD_SET_ENCODER_POWER_STATE, &state, sizeof(state)); in psb_intel_sdvo_set_encoder_power_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c1145 &ctx->bridge.encoder->crtc->state->adjusted_mode; in sii8620_start_video()
1416 static int sii8620_wait_for_fsm_state(struct sii8620 *ctx, u8 state) in sii8620_wait_for_fsm_state() argument
1423 if ((s & MSK_COC_STAT_0_FSM_STATE) == state) in sii8620_wait_for_fsm_state()
2139 int state = extcon_get_state(ctx->extcon, EXTCON_DISP_MHL); in sii8620_extcon_work() local
2141 if (state == ctx->cable_state) in sii8620_extcon_work()
2144 ctx->cable_state = state; in sii8620_extcon_work()
2146 if (state > 0) in sii8620_extcon_work()
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio.c176 atomic_set(&rdev->state, RIO_DEVICE_RUNNING); in rio_add_device()
198 * @state: device state to set during removal process
203 void rio_del_device(struct rio_dev *rdev, enum rio_device_state state) in rio_del_device() argument
206 atomic_set(&rdev->state, state); in rio_del_device()
1091 pr_debug("RIO_EM: servicing Output Error-Stopped state\n"); in rio_clr_err_stopped()
1148 pr_debug("RIO_EM: servicing Input Error-Stopped state\n"); in rio_clr_err_stopped()
1274 * Depending on the link partner state, two attempts in rio_inb_pwrite_handler()
2230 atomic_set(&mport->state, RIO_DEVICE_INITIALIZIN in rio_mport_initialize()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c12 * The HDMI core has a state machine and a PHY. On BCM2835, most of
215 if (connector->state) in vc4_hdmi_connector_reset()
332 struct drm_connector_state *cstate = connector->state; in vc4_hdmi_set_avi_infoframe()
334 const struct drm_display_mode *mode = &crtc->state->adjusted_mode; in vc4_hdmi_set_avi_infoframe()
631 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; in vc4_hdmi_encoder_pre_crtc_configure()
656 * As stated in RPi's vc4 firmware "HDMI state machine (HSM) clock must in vc4_hdmi_encoder_pre_crtc_configure()
713 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; in vc4_hdmi_encoder_pre_crtc_enable()
735 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; in vc4_hdmi_encoder_post_crtc_enable()
907 const struct drm_display_mode *mode = &crtc->state->adjusted_mode; in vc4_hdmi_set_n_cts()
1616 DRM_ERROR("Failed to get HDMI state machin in vc4_hdmi_init_resources()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_recv.c529 if (!(psta->state & WIFI_SLEEP_STATE)) in process_pwrbit_data()
532 if (psta->state & WIFI_SLEEP_STATE) in process_pwrbit_data()
559 if (psta->state & WIFI_SLEEP_STATE) { in process_wmmps_data()
906 if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { in validate_recv_ctrl_frame()
909 psta->state ^= WIFI_STA_ALIVE_CHK_STATE; in validate_recv_ctrl_frame()
912 if ((psta->state & WIFI_SLEEP_STATE) && (pstapriv->sta_dz_bitmap & BIT(psta->aid))) { in validate_recv_ctrl_frame()
1152 if (pmlmeext->sitesurvey_res.state == SCAN_PROCESS) { in validate_recv_frame()
H A Drtw_xmit.c473 !(psta->state & _FW_LINKED)) { in update_attrib()
1685 if (psta->state & WIFI_SLEEP_STATE) { in xmitframe_enqueue_for_sleeping_sta()
1778 psta->state |= WIFI_SLEEP_STATE; in stop_sta_xmit()
1877 if (psta->state & WIFI_SLEEP_STATE) in wakeup_sta_to_xmit()
1878 psta->state ^= WIFI_SLEEP_STATE; in wakeup_sta_to_xmit()
1880 if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { in wakeup_sta_to_xmit()
1882 psta->state ^= WIFI_STA_ALIVE_CHK_STATE; in wakeup_sta_to_xmit()
/kernel/linux/linux-5.10/fs/
H A Dinode.c588 * the cache. This should occur atomically with setting the I_FREEING state
1024 * unlock_new_inode - clear the I_NEW state and wake up any waiters
1027 * Called when the inode is fully initialised to clear the new state of the
1698 unsigned long state; in iput_final() local
1716 state = inode->i_state; in iput_final()
1718 WRITE_ONCE(inode->i_state, state | I_WILL_FREE); in iput_final()
1724 state = inode->i_state; in iput_final()
1725 WARN_ON(state & I_NEW); in iput_final()
1726 state &= ~I_WILL_FREE; in iput_final()
1729 WRITE_ONCE(inode->i_state, state | I_FREEIN in iput_final()
[all...]
/kernel/linux/linux-6.6/drivers/misc/cxl/
H A Dpci.c668 dev_err(&dev->dev, "failed to read image state: %i\n", rc); in cxl_update_image_control()
1395 dev_err(&dev->dev, "ABORTING: Problem state size larger than " in cxl_vsec_looks_ok()
1536 /* read each tracearray state and issue mmio to stop them is needed */ in cxl_stop_trace_psl9()
1544 /* issue mmio if the trace array isn't in FIN state */ in cxl_stop_trace_psl9()
1791 pci_channel_state_t state) in cxl_vphb_error_detected()
1810 afu_dev->error_state = state; in cxl_vphb_error_detected()
1815 state); in cxl_vphb_error_detected()
1827 pci_channel_state_t state) in cxl_pci_error_detected()
1842 if (state == pci_channel_io_perm_failure) { in cxl_pci_error_detected()
1850 cxl_vphb_error_detected(afu, state); in cxl_pci_error_detected()
1790 cxl_vphb_error_detected(struct cxl_afu *afu, pci_channel_state_t state) cxl_vphb_error_detected() argument
1826 cxl_pci_error_detected(struct pci_dev *pdev, pci_channel_state_t state) cxl_pci_error_detected() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c902 /* Sometimes the state change doesn't come after a bus-off event */ in kvaser_usb_leaf_tx_acknowledge()
903 if (priv->can.restart_ms && priv->can.state == CAN_STATE_BUS_OFF) { in kvaser_usb_leaf_tx_acknowledge()
920 priv->can.state = CAN_STATE_ERROR_ACTIVE; in kvaser_usb_leaf_tx_acknowledge()
978 new_state = priv->can.state; in kvaser_usb_leaf_rx_error_update_can_state()
979 cur_state = priv->can.state; in kvaser_usb_leaf_rx_error_update_can_state()
1000 * triggering a second unsolicited chip state event. in kvaser_usb_leaf_rx_error_update_can_state()
1067 /* Ignore e.g. state change to bus-off reported just after stopping */ in kvaser_usb_leaf_rx_error()
1071 /* Update all of the CAN interface's state and error counters before in kvaser_usb_leaf_rx_error()
1078 * CAN interface's state and counters, and the setting up of CAN error in kvaser_usb_leaf_rx_error()
1081 old_state = priv->can.state; in kvaser_usb_leaf_rx_error()
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/
H A Dlantiq_gswip.c843 * their status registers think that the link is in a different state in gswip_setup()
846 * auto polling state machine consider the link being negotiated with in gswip_setup()
1326 static void gswip_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in gswip_port_stp_state_set() argument
1331 switch (state) { in gswip_port_stp_state_set()
1347 dev_err(priv->dev, "invalid STP state: %d\n", state); in gswip_port_stp_state_set()
1668 const struct phylink_link_state *state) in gswip_phylink_mac_config()
1675 switch (state->interface) { in gswip_phylink_mac_config()
1697 "Unsupported interface: %d\n", state->interface); in gswip_phylink_mac_config()
1706 switch (state in gswip_phylink_mac_config()
1666 gswip_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) gswip_phylink_mac_config() argument
[all...]

Completed in 66 milliseconds

1...<<361362363364365366367368369370>>...531