/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 462 "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 D | i40e.h | 110 /* 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 D | efx_channels.c | 433 * 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 D | efx_channels.c | 434 * 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()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | cppc_acpi.c | 15 * P-state scale which is tied to CPU frequency only. In brief, the basic 370 struct acpi_buffer state = {0, NULL}; in acpi_get_psd() local 389 state.length = sizeof(struct acpi_psd_package); in acpi_get_psd() 390 state.pointer = pdomain; in acpi_get_psd() 393 &format, &state); in acpi_get_psd() 473 * Now that we have _PSD data from all CPUs, let's setup P-state in acpi_get_psd_map()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | export.c | 1252 int state, first = 0; in show_expflags() local 1257 state = (flg->flag & flags) ? 0 : 1; in show_expflags() 1258 if (*flg->name[state]) in show_expflags() 1259 seq_printf(m, "%s%s", first++?",":"", flg->name[state]); in show_expflags()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | perf_event.h | 33 unsigned int (*state)(void); member 217 * hw_perf_event::state flags; used to track the PERF_EF_* state. 223 int state; member 361 * matching hw_perf_event::state flags. 378 * ->add() called without PERF_EF_START should result in the same state 487 * state, so that preempting ->start()/->stop() callbacks does 617 * group it is scheduled out and moved into an unrecoverable ERROR state. 717 enum perf_event_state state; member 1501 DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state); [all...] |
H A D | phy.h | 398 /** @state: State of bus structure */ 404 } state; member 434 /** @shared: shared state across different PHYs */ 444 * The internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready 474 * enum phy_state - PHY state machine states: 477 * should be called if and only if the PHY is in this state, 479 * - PHY driver probe function will set the state to @PHY_READY 483 * probe will be set to this state by phy_probe(). 484 * - start will set the state to UP 501 * poll once per second, or on interrupt for it current state 672 enum phy_state state; global() member [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sccnxp.c | 370 static void sccnxp_set_bit(struct uart_port *port, int sig, int state) in sccnxp_set_bit() argument 377 if (state) in sccnxp_set_bit() 436 tty_flip_buffer_push(&port->state->port); in sccnxp_handle_rx() 442 struct circ_buf *xmit = &port->state->xmit; in sccnxp_handle_tx()
|
H A D | sunsu.c | 323 struct tty_port *port = &up->port.state->port; in receive_chars() 399 struct circ_buf *xmit = &up->port.state->xmit; in transmit_chars() 450 wake_up_interruptible(&up->port.state->port.delta_msr_wait); in check_modem_status() 469 tty_flip_buffer_push(&up->port.state->port); in sunsu_serial_interrupt() 826 * Ok, we're now changing the port state. Do it with in sunsu_change_speed()
|
/kernel/linux/linux-6.6/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 14 enum uic_link_state state) in ufshcd_uic_link_state_to_string() 16 switch (state) { in ufshcd_uic_link_state_to_string() 26 enum ufs_dev_pwr_mode state) in ufshcd_ufs_dev_pwr_mode_to_string() 28 switch (state) { in ufshcd_ufs_dev_pwr_mode_to_string() 13 ufshcd_uic_link_state_to_string( enum uic_link_state state) ufshcd_uic_link_state_to_string() argument 25 ufshcd_ufs_dev_pwr_mode_to_string( enum ufs_dev_pwr_mode state) ufshcd_ufs_dev_pwr_mode_to_string() argument
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_core.c | 610 * @upper: the Maximum cooling state for this trip point. 613 * @lower: the Minimum cooling state can be used for this trip point. 615 * and the cooling device can be in cooling state 0. 1051 * Must be called when the maximum cooling state of @cdev becomes invalid and so 1053 * cooling state value. 1058 unsigned long state; in thermal_cooling_device_update() local 1073 * Update under the cdev lock to prevent the state from being set beyond in thermal_cooling_device_update() 1105 if (cdev->ops->get_cur_state(cdev, &state) || state > cdev->max_state) in thermal_cooling_device_update() 1108 thermal_cooling_device_stats_update(cdev, state); in thermal_cooling_device_update() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-qup.c | 183 static int spi_qup_set_state(struct spi_qup *controller, u32 state) in spi_qup_set_state() argument 198 dev_dbg(controller->dev, "invalid state for %ld,us %d\n", in spi_qup_set_state() 199 loop, state); in spi_qup_set_state() 207 (state == QUP_STATE_RESET)) { in spi_qup_set_state() 212 cur_state |= state; in spi_qup_set_state() 480 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_dma() 550 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_pio() 556 dev_warn(qup->dev, "cannot set PAUSE state\n"); in spi_qup_do_pio() 565 dev_warn(qup->dev, "cannot set RUN state\n"); in spi_qup_do_pio() 708 dev_err(controller->dev, "cannot set RESET state\ in spi_qup_io_config() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | bq2415x_charger.c | 42 /* 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-6.6/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 256 if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1)) in vhci_hub_status() 460 * the device could be in VDEV_ST_USED state in vhci_hub_control() 1265 hcd->state = HC_STATE_SUSPENDED; in vhci_bus_suspend() 1283 hcd->state = HC_STATE_RUNNING; in vhci_bus_resume() 1418 static int vhci_hcd_suspend(struct platform_device *pdev, pm_message_t state) in vhci_hcd_suspend() argument
|
/kernel/linux/linux-6.6/drivers/bus/mhi/host/ |
H A D | init.c | 69 const char *to_mhi_pm_state_str(u32 state) in to_mhi_pm_state_str() argument 73 if (state) in to_mhi_pm_state_str() 74 index = __fls(state); in to_mhi_pm_state_str() 76 if (!state || index >= ARRAY_SIZE(mhi_pm_state_str)) in to_mhi_pm_state_str() 1347 /* Set the channel state to disabled */ in mhi_driver_remove()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 1142 union dc_3dlut_state state; member 1350 * @stream: Stream state properties 1355 * @plane_states: Surface state 1371 void get_clock_requirements_for_state(struct dc_state *state, struct AsicStateEx *info); 1383 * fast_validate: we return after determining if we can support the new state, 1781 * function when it is resuming from S3 power state to previously connected links. 1804 /* The function takes a snapshot of current link resource allocation state 1814 * restore link resource to its previous state so user will get consistent 1820 /* This function restores link resource allocation state from a snapshot 1825 * before first commit streams to restore link resource allocation state [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | me4000.c | 947 dev_err(dev->class_dev, "Undefined FIFO state\n"); in me4000_ai_isr() 1022 outl((s->state >> 0) & 0xFF, in me4000_dio_insn_bits() 1024 outl((s->state >> 8) & 0xFF, in me4000_dio_insn_bits() 1026 outl((s->state >> 16) & 0xFF, in me4000_dio_insn_bits() 1028 outl((s->state >> 24) & 0xFF, in me4000_dio_insn_bits()
|
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | init.c | 624 if (!test_bit(IOAT_CHAN_DOWN, &ioat_chan->state)) { in ioat_free_chan_resources() 719 set_bit(IOAT_RUN, &ioat_chan->state); in ioat_alloc_chan_resources() 1226 set_bit(IOAT_CHAN_DOWN, &ioat_chan->state); in ioat_shutdown() 1255 clear_bit(IOAT_CHAN_DOWN, &ioat_chan->state); in ioat_resume()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | sun4i-dma.c | 965 struct dma_tx_state *state) in sun4i_dma_tx_status() 976 ret = dma_cookie_status(chan, cookie, state); in sun4i_dma_tx_status() 977 if (!state || (ret == DMA_COMPLETE)) in sun4i_dma_tx_status() 1006 dma_set_residue(state, bytes); in sun4i_dma_tx_status() 963 sun4i_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) sun4i_dma_tx_status() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 1048 if (test_and_set_bit(MLX5_TRACER_STATE_UP, &tracer->state)) in mlx5_fw_tracer_init() 1095 if (!test_and_clear_bit(MLX5_TRACER_STATE_UP, &tracer->state)) in mlx5_fw_tracer_cleanup() 1141 if (test_and_set_bit(MLX5_TRACER_RECREATE_DB, &tracer->state)) in mlx5_fw_tracer_recreate_strings_db() 1163 clear_bit(MLX5_TRACER_RECREATE_DB, &tracer->state); in mlx5_fw_tracer_recreate_strings_db()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | pm_helpers.c | 153 if (!inst || !(inst->state >= INST_INIT && inst->state < INST_STOP)) in load_per_instance() 583 if (inst_pos->state != INST_START) in min_loaded_core() 881 /* Attach the power domain for setting performance state */ in vcodec_domains_get() 1060 /* Drop the performance state vote */ in core_power_v4() 1084 if (inst->state != INST_START) in calculate_inst_freq()
|
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zoran_card.c | 671 static void zoran_i2c_setsda(void *data, int state) in zoran_i2c_setsda() argument 675 if (state) in zoran_i2c_setsda() 682 static void zoran_i2c_setscl(void *data, int state) in zoran_i2c_setscl() argument 686 if (state) in zoran_i2c_setscl()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 361 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_set() argument 364 ctx->state |= state; in mtk_mdp_ctx_state_lock_set() 373 ret = (ctx->state & mask) == mask; in mtk_mdp_ctx_state_is_set() 503 dev_err(&mdp->pdev->dev, "ctx is in error state"); in mtk_mdp_m2m_worker()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mmio.c | 678 if (test_and_set_bit(MT76_STATE_WED_RESET, &mphy->state)) in mt7915_mmio_wed_reset() 693 clear_bit(MT76_STATE_WED_RESET, &mphy->state); in mt7915_mmio_wed_reset() 956 dev->recovery.state = val; in mt7915_irq_tasklet() 975 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7915_irq_handler()
|