Home
last modified time | relevance | path

Searched refs:state (Results 13476 - 13500 of 17750) sorted by relevance

1...<<531532533534535536537538539540>>...710

/kernel/linux/linux-5.10/include/sound/
H A Dpcm.h655 * snd_pcm_running - Check whether the substream is in a running state
658 * Returns true if the given substream is in the state RUNNING, or in the
659 * state DRAINING for playback.
663 return (substream->runtime->status->state == SNDRV_PCM_STATE_RUNNING || in snd_pcm_running()
664 (substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING && in snd_pcm_running()
1450 snd_pcm_state_t state; /* stream state */ member
1462 snd_pcm_state_t suspended_state; /* suspended stream state */
1476 snd_pcm_state_t state; /* stream state */ member
[all...]
/kernel/linux/linux-5.10/net/core/
H A Ddrop_monitor.c1204 static int set_all_monitor_traces(int state, struct netlink_ext_ack *extack) in set_all_monitor_traces() argument
1208 if (state == trace_state) { in set_all_monitor_traces()
1209 NL_SET_ERR_MSG_MOD(extack, "Trace state already set to requested state"); in set_all_monitor_traces()
1213 switch (state) { in set_all_monitor_traces()
1226 trace_state = state; in set_all_monitor_traces()
1765 * Because of the module_get/put we do in the trace state change path in exit_net_drop_monitor()
/kernel/linux/linux-5.10/net/bluetooth/
H A Dsco.c98 BT_DBG("sock %p state %d", sk, sk->sk_state); in sco_sock_timeout()
113 BT_DBG("sock %p state %d timeout %ld", sk, sk->sk_state, timeout); in sco_sock_set_timer()
123 BT_DBG("sock %p state %d", sk, sk->sk_state); in sco_sock_clear_timer()
276 if (hcon->state == BT_CONNECTED) { in sco_connect()
401 BT_DBG("sk %p state %d", sk, sk->sk_state); in sco_sock_kill()
411 BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); in __sco_sock_close()
513 sock->state = SS_UNCONNECTED; in sco_sock_create()
696 newsock->state = SS_CONNECTED; in sco_sock_accept()
763 conn->state = BT_CONFIG; in sco_conn_defer_accept()
H A D6lowpan.c733 set_bit(__LINK_STATE_PRESENT, &netdev->state); in setup_netdev()
848 static void chan_state_change_cb(struct l2cap_chan *chan, int state, int err) in chan_state_change_cb() argument
850 BT_DBG("chan %p conn %p state %s err %d", chan, chan->conn, in chan_state_change_cb()
851 state_to_string(state), err); in chan_state_change_cb()
973 chan->state = BT_LISTEN; in bt_6lowpan_listen()
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c1290 u32 state, i; in zynqmp_dp_connector_detect() local
1298 state = zynqmp_dp_read(dp, ZYNQMP_DP_INTERRUPT_SIGNAL_STATE); in zynqmp_dp_connector_detect()
1299 if (state & ZYNQMP_DP_INTERRUPT_SIGNAL_STATE_HPD) in zynqmp_dp_connector_detect()
1304 if (state & ZYNQMP_DP_INTERRUPT_SIGNAL_STATE_HPD) { in zynqmp_dp_connector_detect()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c507 enum vb2_buffer_state state) in v4l2_m2m_buf_done_and_job_finish()
522 v4l2_m2m_buf_done(dst_buf, state); in v4l2_m2m_buf_done_and_job_finish()
533 v4l2_m2m_buf_done(src_buf, state); in v4l2_m2m_buf_done_and_job_finish()
625 * state as stopped.
640 /* When stop command is issued, update buffer management state */
657 * state as stopped with v4l2_m2m_mark_stopped(). in v4l2_update_last_buf_state()
684 * Updates the encoding/decoding buffer management state, should
697 * Updates the encoding/decoding buffer management state, should
705 * If in draining state, either mark next dst buffer as in v4l2_m2m_update_stop_streaming_state()
748 vb->state in v4l2_m2m_force_last_buf_done()
505 v4l2_m2m_buf_done_and_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx, enum vb2_buffer_state state) v4l2_m2m_buf_done_and_job_finish() argument
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dasic3.c339 * Probably need internal state for mask. in asic3_gpio_irq_type()
704 static void asic3_mmc_pwr(struct platform_device *pdev, int state) in asic3_mmc_pwr() argument
708 tmio_core_mmc_pwr(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_pwr()
711 static void asic3_mmc_clk_div(struct platform_device *pdev, int state) in asic3_mmc_clk_div() argument
715 tmio_core_mmc_clk_div(asic->tmio_cnf, 1 - asic->bus_shift, state); in asic3_mmc_clk_div()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbq2415x_charger.c42 /* reset state for all registers */
509 /* reset all chip registers to default state */
850 static void bq2415x_set_autotimer(struct bq2415x_device *bq, int state) in bq2415x_set_autotimer() argument
854 if (bq->autotimer == state) { in bq2415x_set_autotimer()
859 bq->autotimer = state; in bq2415x_set_autotimer()
861 if (state) { in bq2415x_set_autotimer()
/kernel/linux/linux-5.10/drivers/powercap/
H A Dintel_rapl_common.c216 if (rd->state & DOMAIN_STATE_BIOS_LOCKED) in set_domain_enable()
233 if (rd->state & DOMAIN_STATE_BIOS_LOCKED) { in get_domain_enable()
330 if (rd->state & DOMAIN_STATE_BIOS_LOCKED) { in set_power_limit()
835 /* save the state of PLN irq mask bit before disabling it */ in power_limit_irq_save_cpu()
864 * Restore per package power limit interrupt enable state. Called from cpu
874 /* irq enable state not saved, nothing to restore */ in package_power_limit_irq_restore()
892 /* always enable clamp such that p-state can go below OS requested in set_floor_freq_default()
1207 rd->state |= DOMAIN_STATE_BIOS_LOCKED; in rapl_detect_powerlimit()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
H A Dt613.c814 /* If the last button state is pressed, release it now! */ in sd_stopN()
833 u8 state = (data[20] & 0x80) ? 1 : 0; in sd_pkt_scan() local
834 if (sd->button_pressed != state) { in sd_pkt_scan()
836 KEY_CAMERA, state); in sd_pkt_scan()
838 sd->button_pressed = state; in sd_pkt_scan()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-capture.c706 * Make sure stream is actually stopped, whose state in rkisp1_capture_isr()
810 enum vb2_buffer_state state) in rkisp1_return_all_buffers()
816 vb2_buffer_done(&cap->buf.curr->vb.vb2_buf, state); in rkisp1_return_all_buffers()
820 vb2_buffer_done(&cap->buf.next->vb.vb2_buf, state); in rkisp1_return_all_buffers()
827 vb2_buffer_done(&buf->vb.vb2_buf, state); in rkisp1_return_all_buffers()
809 rkisp1_return_all_buffers(struct rkisp1_capture *cap, enum vb2_buffer_state state) rkisp1_return_all_buffers() argument
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
H A Dzoran_card.c610 static void zoran_i2c_setsda(void *data, int state) in zoran_i2c_setsda() argument
614 if (state) in zoran_i2c_setsda()
621 static void zoran_i2c_setscl(void *data, int state) in zoran_i2c_setscl() argument
625 if (state) in zoran_i2c_setscl()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_wlan_util.c338 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && in is_client_associated_to_ap()
339 (pmlmeinfo->state & 0x03) == WIFI_FW_STATION_STATE) in is_client_associated_to_ap()
350 if ((pmlmeinfo->state & WIFI_FW_ASSOC_SUCCESS) && in is_client_associated_to_ibss()
351 (pmlmeinfo->state & 0x03) == WIFI_FW_ADHOC_STATE) in is_client_associated_to_ibss()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dme4000.c948 dev_err(dev->class_dev, "Undefined FIFO state\n"); in me4000_ai_isr()
1023 outl((s->state >> 0) & 0xFF, in me4000_dio_insn_bits()
1025 outl((s->state >> 8) & 0xFF, in me4000_dio_insn_bits()
1027 outl((s->state >> 16) & 0xFF, in me4000_dio_insn_bits()
1029 outl((s->state >> 24) & 0xFF, in me4000_dio_insn_bits()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-qup.c184 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state() argument
199 dev_dbg(controller->dev, "invalid state for %ld,us %d\n", in spi_qup_set_state()
200 loop, state); in spi_qup_set_state()
208 (state == QUP_STATE_RESET)) { in spi_qup_set_state()
213 cur_state |= state; in spi_qup_set_state()
481 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_dma()
551 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_pio()
557 dev_warn(qup->dev, "cannot set PAUSE state\n"); in spi_qup_do_pio()
566 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_pio()
710 dev_err(controller->dev, "cannot set RESET state\ in spi_qup_io_config()
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dexport.c1150 int state, first = 0; in show_expflags() local
1155 state = (flg->flag & flags) ? 0 : 1; in show_expflags()
1156 if (*flg->name[state]) in show_expflags()
1157 seq_printf(m, "%s%s", first++?",":"", flg->name[state]); in show_expflags()
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c404 enum ethtool_phys_id_state state) in fun_set_phys_id()
411 if (state != ETHTOOL_ID_ACTIVE && state != ETHTOOL_ID_INACTIVE) in fun_set_phys_id()
414 beacon = state == ETHTOOL_ID_ACTIVE ? FUN_PORT_LED_BEACON_ON : in fun_set_phys_id()
403 fun_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) fun_set_phys_id() argument
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c508 enum vb2_buffer_state state) in v4l2_m2m_buf_done_and_job_finish()
523 v4l2_m2m_buf_done(dst_buf, state); in v4l2_m2m_buf_done_and_job_finish()
534 v4l2_m2m_buf_done(src_buf, state); in v4l2_m2m_buf_done_and_job_finish()
626 * state as stopped.
641 /* When stop command is issued, update buffer management state */
658 * state as stopped with v4l2_m2m_mark_stopped(). in v4l2_update_last_buf_state()
685 * Updates the encoding/decoding buffer management state, should
698 * Updates the encoding/decoding buffer management state, should
706 * If in draining state, either mark next dst buffer as in v4l2_m2m_update_stop_streaming_state()
749 vb->state in v4l2_m2m_force_last_buf_done()
506 v4l2_m2m_buf_done_and_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx, enum vb2_buffer_state state) v4l2_m2m_buf_done_and_job_finish() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
H A Dt613.c814 /* If the last button state is pressed, release it now! */ in sd_stopN()
833 u8 state = (data[20] & 0x80) ? 1 : 0; in sd_pkt_scan() local
834 if (sd->button_pressed != state) { in sd_pkt_scan()
836 KEY_CAMERA, state); in sd_pkt_scan()
838 sd->button_pressed = state; in sd_pkt_scan()
/kernel/linux/linux-6.6/drivers/net/dsa/
H A Dlan9303-core.c883 /* The default state of the LAN9303 device is to forward packets between in lan9303_check_device()
885 * The initial state of a DSA device must be forwarding packets only in lan9303_check_device()
1135 u8 state) in lan9303_port_stp_state_set()
1140 dev_dbg(chip->dev, "%s(port %d, state %d)\n", in lan9303_port_stp_state_set()
1141 __func__, port, state); in lan9303_port_stp_state_set()
1143 switch (state) { in lan9303_port_stp_state_set()
1159 dev_err(chip->dev, "unknown stp state: port %d, state %d\n", in lan9303_port_stp_state_set()
1160 port, state); in lan9303_port_stp_state_set()
1134 lan9303_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) lan9303_port_stp_state_set() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c469 /* Check if need to switch to dscp trust state */ in mlx5e_dcbnl_ieee_setapp()
537 /* Check if need to switch to pcp trust state */ in mlx5e_dcbnl_ieee_delapp()
895 static void mlx5e_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in mlx5e_dcbnl_setpfcstate() argument
900 if ((state != MLX5E_CEE_STATE_UP) && (state != MLX5E_CEE_STATE_DOWN)) in mlx5e_dcbnl_setpfcstate()
903 cee_cfg->pfc_enable = state; in mlx5e_dcbnl_setpfcstate()
1094 /* No SEL_DSCP entry in non DSCP state */ in mlx5e_dcbnl_dscp_app()
1199 * Align the driver state with the register state. in mlx5e_trust_initialize()
1200 * Temporary state chang in mlx5e_trust_initialize()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c462 "Failed to set port state\n"); in hinic_open()
469 "Failed to set func port state\n"); in hinic_open()
477 netif_err(nic_dev, drv, netdev, "Failed to get link state\n"); in hinic_open()
509 "Failed to revert func port state\n"); in hinic_open()
515 "Failed to revert port state\n"); in hinic_open()
832 netif_err(nic_dev, drv, netdev, "Txq%d: sw_pi: %d, hw_ci: %d, sw_ci: %d, napi->state: 0x%lx\n", in hinic_tx_timeout()
834 nic_dev->txqs[q_id].napi.state); in hinic_tx_timeout()
1399 set_bit(HINIC_FUNC_REMOVE, &sriov_info->state); in wait_sriov_cfg_complete()
1403 if (!test_bit(HINIC_SRIOV_ENABLE, &sriov_info->state) && in wait_sriov_cfg_complete()
1404 !test_bit(HINIC_SRIOV_DISABLE, &sriov_info->state)) in wait_sriov_cfg_complete()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e.h110 /* driver state flags */
158 /* VSI state flags */
466 DECLARE_BITMAP(state, __I40E_STATE_SIZE__);
788 I40E_FILTER_INVALID = 0, /* Invalid state */
793 /* There is no 'removed' state; the filter struct is freed */
800 enum i40e_filter_state state; member
806 * a separate structure, which will track the state change and update the real
815 /* Track future changes to state separately */
816 enum i40e_filter_state state; member
851 DECLARE_BITMAP(state, __I40E_VSI_STATE_SIZE_
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Defx_channels.c433 * plus some extra for link state events and MCDI completions. in efx_probe_eventq()
616 channel->napi_str.state = 0; in efx_copy_channel()
974 BUG_ON(efx->state == STATE_DISABLED); in efx_soft_enable_interrupts()
1008 if (efx->state == STATE_DISABLED) in efx_soft_disable_interrupts()
1038 BUG_ON(efx->state == STATE_DISABLED); in efx_enable_interrupts()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c434 * plus some extra for link state events and MCDI completions. in efx_probe_eventq()
619 channel->napi_str.state = 0; in efx_copy_channel()
1006 BUG_ON(efx->state == STATE_DISABLED); in efx_soft_enable_interrupts()
1040 if (efx->state == STATE_DISABLED) in efx_soft_disable_interrupts()
1070 BUG_ON(efx->state == STATE_DISABLED); in efx_siena_enable_interrupts()

Completed in 52 milliseconds

1...<<531532533534535536537538539540>>...710