Home
last modified time | relevance | path

Searched refs:state (Results 5751 - 5775 of 13257) sorted by relevance

1...<<231232233234235236237238239240>>...531

/kernel/linux/linux-6.6/drivers/net/can/rcar/
H A Drcar_can.c307 priv->can.state = CAN_STATE_ERROR_WARNING; in rcar_can_error()
317 priv->can.state = CAN_STATE_ERROR_PASSIVE; in rcar_can_error()
330 priv->can.state = CAN_STATE_BUS_OFF; in rcar_can_error()
491 priv->can.state = CAN_STATE_ERROR_ACTIVE; in rcar_can_start()
569 priv->can.state = CAN_STATE_STOPPED; in rcar_can_stop()
854 priv->can.state = CAN_STATE_SLEEPING; in rcar_can_suspend()
881 priv->can.state = CAN_STATE_ERROR_ACTIVE; in rcar_can_resume()
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Duartlite.c137 struct tty_port *tport = &port->state->port; in ulite_receive()
187 struct circ_buf *xmit = &port->state->xmit; in ulite_transmit()
229 tty_flip_buffer_push(&port->state->port); in ulite_isr()
407 static void ulite_pm(struct uart_port *port, unsigned int state, in ulite_pm() argument
412 if (!state) { in ulite_pm()
510 /* restore interrupt state */ in ulite_console_write()
875 if (!ulite_uart_driver.state) { in ulite_probe()
933 if (ulite_uart_driver.state) in ulite_exit()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
H A Dhal_btcoex.c67 /* recover the LPS state to the original */ in halbtcoutsrc_NormalLps()
307 /* Use the value of the new variable GLBtcWiFiInScanState to judge whether WiFi is in scan state or not, since the originally used flag in halbtcoutsrc_Get()
1089 /* once pnp is notified to sleep state, we have to leave LPS that we can sleep normally. */ in EXhalbtcoutsrc_PnpNotify()
1240 void hal_btcoex_IQKNotify(struct adapter *padapter, u8 state) in hal_btcoex_IQKNotify() argument
1242 GLBtcWiFiInIQKState = state; in hal_btcoex_IQKNotify()
1253 void hal_btcoex_SuspendNotify(struct adapter *padapter, u8 state) in hal_btcoex_SuspendNotify() argument
1255 if (state == 1) in hal_btcoex_SuspendNotify()
1256 state = BTC_WIFI_PNP_SLEEP; in hal_btcoex_SuspendNotify()
1258 state = BTC_WIFI_PNP_WAKE_UP; in hal_btcoex_SuspendNotify()
1260 EXhalbtcoutsrc_PnpNotify(&GLBtCoexist, state); in hal_btcoex_SuspendNotify()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v11_0.c54 enum amdgpu_interrupt_state state) in gmc_v11_0_ecc_interrupt_state()
62 enum amdgpu_interrupt_state state) in gmc_v11_0_vm_fault_interrupt_state()
64 switch (state) { in gmc_v11_0_vm_fault_interrupt_state()
71 * fini/suspend, so the overall state doesn't in gmc_v11_0_vm_fault_interrupt_state()
83 * fini/suspend, so the overall state doesn't in gmc_v11_0_vm_fault_interrupt_state()
211 * It may lose gpuvm invalidate acknowldege state across power-gating in gmc_v11_0_flush_vm_hub()
213 * release after invalidation to avoid entering power gated state in gmc_v11_0_flush_vm_hub()
390 * It may lose gpuvm invalidate acknowldege state across power-gating in gmc_v11_0_emit_flush_gpu_tlb()
392 * release after invalidation to avoid entering power gated state in gmc_v11_0_emit_flush_gpu_tlb()
1028 enum amd_clockgating_state state) in gmc_v11_0_set_clockgating_state()
51 gmc_v11_0_ecc_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned int type, enum amdgpu_interrupt_state state) gmc_v11_0_ecc_interrupt_state() argument
60 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned int type, enum amdgpu_interrupt_state state) gmc_v11_0_vm_fault_interrupt_state() argument
1027 gmc_v11_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) gmc_v11_0_set_clockgating_state() argument
1049 gmc_v11_0_set_powergating_state(void *handle, enum amd_powergating_state state) gmc_v11_0_set_powergating_state() argument
[all...]
H A Dvce_v3_0.c69 enum amd_clockgating_state state);
177 With the clocks in the gated state the core is still in vce_v3_0_set_vce_sw_clock_gating()
732 enum amdgpu_interrupt_state state) in vce_v3_0_set_interrupt_state()
736 if (state == AMDGPU_IRQ_STATE_ENABLE) in vce_v3_0_set_interrupt_state()
767 enum amd_clockgating_state state) in vce_v3_0_set_clockgating_state()
770 bool enable = (state == AMD_CG_STATE_GATE); in vce_v3_0_set_clockgating_state()
808 enum amd_powergating_state state) in vce_v3_0_set_powergating_state()
820 if (state == AMD_PG_STATE_GATE) { in vce_v3_0_set_powergating_state()
847 DRM_INFO("Cannot get clockgating state when VCE is powergated.\n"); in vce_v3_0_get_clockgating_state()
729 vce_v3_0_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) vce_v3_0_set_interrupt_state() argument
766 vce_v3_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) vce_v3_0_set_clockgating_state() argument
807 vce_v3_0_set_powergating_state(void *handle, enum amd_powergating_state state) vce_v3_0_set_powergating_state() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c126 static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) in ixgbe_dcbnl_set_state() argument
135 if (!state == !(adapter->flags & IXGBE_FLAG_DCB_ENABLED)) in ixgbe_dcbnl_set_state()
139 state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); in ixgbe_dcbnl_set_state()
280 while (test_and_set_bit(__IXGBE_RESETTING, &adapter->state)) in ixgbe_dcbnl_devreset()
292 clear_bit(__IXGBE_RESETTING, &adapter->state); in ixgbe_dcbnl_devreset()
454 static void ixgbe_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in ixgbe_dcbnl_setpfcstate() argument
458 adapter->temp_dcb_cfg.pfc_mode_enable = state; in ixgbe_dcbnl_setpfcstate()
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c647 int state = saa_readb(SAA7135_DSP_RWSTATE); in saa_dsp_reset_error_bit() local
648 if (unlikely(state & SAA7135_DSP_RWSTATE_ERR)) { in saa_dsp_reset_error_bit()
657 int state, count = DSP_RETRY; in saa_dsp_wait_bit() local
659 state = saa_readb(SAA7135_DSP_RWSTATE); in saa_dsp_wait_bit()
660 if (unlikely(state & SAA7135_DSP_RWSTATE_ERR)) { in saa_dsp_wait_bit()
665 while (0 == (state & bit)) { in saa_dsp_wait_bit()
675 state = saa_readb(SAA7135_DSP_RWSTATE); in saa_dsp_wait_bit()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-170.c411 if (output->state > VFE_OUTPUT_RESERVED) { in vfe_get_output()
433 output->state = VFE_OUTPUT_OFF; in vfe_get_output()
464 if (output->state > VFE_OUTPUT_RESERVED) { in vfe_enable_output()
465 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output()
466 output->state); in vfe_enable_output()
473 output->state = VFE_OUTPUT_ON; in vfe_enable_output()
639 "Missing ready buf %d!\n", output->state); in vfe_isr_wm_done()
726 if (output->state == VFE_OUTPUT_ON && output->gen2.active_num < 2) { in vfe_queue_buffer()
/kernel/linux/linux-6.6/drivers/perf/
H A Dcxl_pmu.c629 * call cxl_pmu_event_stop() which will ensure the correct state. in cxl_pmu_event_start()
631 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in cxl_pmu_event_start()
634 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in cxl_pmu_event_start()
635 hwc->state = 0; in cxl_pmu_event_start()
727 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in cxl_pmu_event_stop()
728 hwc->state |= PERF_HES_STOPPED; in cxl_pmu_event_stop()
735 hwc->state |= PERF_HES_UPTODATE; in cxl_pmu_event_stop()
745 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in cxl_pmu_event_add()
/kernel/linux/linux-6.6/drivers/iio/proximity/
H A Dsx9500.c459 * clear the interrupt state by reading SX9500_REG_IRQ_SRC. It in sx9500_irq_handler()
543 int state) in sx9500_write_event_config()
554 if (state == 1) { in sx9500_write_event_config()
570 data->event_enabled[chan->channel] = state; in sx9500_write_event_config()
574 if (state == 1) in sx9500_write_event_config()
621 bool state) in sx9500_set_trigger_state()
629 if (state) in sx9500_set_trigger_state()
636 data->trigger_enabled = state; in sx9500_set_trigger_state()
539 sx9500_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) sx9500_write_event_config() argument
620 sx9500_set_trigger_state(struct iio_trigger *trig, bool state) sx9500_set_trigger_state() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_gt.c519 * register state on the GPU should reflect its defaults values. in __engines_record_defaults()
521 * over to a second context to save that default register state. We in __engines_record_defaults()
522 * can then prime every new context with that state so they all start in __engines_record_defaults()
578 struct file *state; in __engines_record_defaults() local
590 if (!rq->context->state) in __engines_record_defaults()
593 /* Keep a copy of the state's backing pages; free the obj */ in __engines_record_defaults()
594 state = shmem_create_from_object(rq->context->state->obj); in __engines_record_defaults()
595 if (IS_ERR(state)) { in __engines_record_defaults()
596 err = PTR_ERR(state); in __engines_record_defaults()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnpcm750-pwm-fan.c779 unsigned long *state) in npcm7xx_pwm_cz_get_max_state()
783 *state = cdev->max_state; in npcm7xx_pwm_cz_get_max_state()
790 unsigned long *state) in npcm7xx_pwm_cz_get_cur_state()
794 *state = cdev->cur_state; in npcm7xx_pwm_cz_get_cur_state()
801 unsigned long state) in npcm7xx_pwm_cz_set_cur_state()
806 if (state > cdev->max_state) in npcm7xx_pwm_cz_set_cur_state()
809 cdev->cur_state = state; in npcm7xx_pwm_cz_set_cur_state()
778 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, unsigned long *state) npcm7xx_pwm_cz_get_max_state() argument
789 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, unsigned long *state) npcm7xx_pwm_cz_get_cur_state() argument
800 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, unsigned long state) npcm7xx_pwm_cz_set_cur_state() argument
H A Daspeed-pwm-tacho.c764 unsigned long *state) in aspeed_pwm_cz_get_max_state()
768 *state = cdev->max_state; in aspeed_pwm_cz_get_max_state()
775 unsigned long *state) in aspeed_pwm_cz_get_cur_state()
779 *state = cdev->cur_state; in aspeed_pwm_cz_get_cur_state()
786 unsigned long state) in aspeed_pwm_cz_set_cur_state()
790 if (state > cdev->max_state) in aspeed_pwm_cz_set_cur_state()
793 cdev->cur_state = state; in aspeed_pwm_cz_set_cur_state()
763 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, unsigned long *state) aspeed_pwm_cz_get_max_state() argument
774 aspeed_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, unsigned long *state) aspeed_pwm_cz_get_cur_state() argument
785 aspeed_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, unsigned long state) aspeed_pwm_cz_set_cur_state() argument
/kernel/linux/linux-6.6/drivers/iio/magnetometer/
H A Dbmc150_magn.c233 bool state) in bmc150_magn_set_power_mode()
240 BMC150_MAGN_MASK_POWER_CTL, !state); in bmc150_magn_set_power_mode()
276 "failed to change power state to %d\n", on); in bmc150_magn_set_power_state()
802 bool state) in bmc150_magn_data_rdy_trigger_set_state()
809 if (state == data->dready_trigger_on) in bmc150_magn_data_rdy_trigger_set_state()
814 state << BMC150_MAGN_SHIFT_DRDY_EN); in bmc150_magn_data_rdy_trigger_set_state()
818 data->dready_trigger_on = state; in bmc150_magn_data_rdy_trigger_set_state()
820 if (state) { in bmc150_magn_data_rdy_trigger_set_state()
231 bmc150_magn_set_power_mode(struct bmc150_magn_data *data, enum bmc150_magn_power_modes mode, bool state) bmc150_magn_set_power_mode() argument
801 bmc150_magn_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) bmc150_magn_data_rdy_trigger_set_state() argument
/kernel/linux/linux-6.6/drivers/leds/flash/
H A Dleds-mt6360.c234 static int mt6360_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in mt6360_strobe_set() argument
242 u32 val = state ? MT6360_FLCSEN_MASK(led->led_no) : 0; in mt6360_strobe_set()
259 if (state) in mt6360_strobe_set()
271 led->led_no, state); in mt6360_strobe_set()
280 ret = _mt6360_flash_brightness_set(fl_cdev, state ? s->val : s->min); in mt6360_strobe_set()
300 static int mt6360_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6360_strobe_get() argument
307 *state = !!(priv->fled_strobe_used & BIT(led->led_no)); in mt6360_strobe_get()
528 * charger state in mt6360_led_register()
558 dev_err(parent, "Failed to init %d isnk state\n", in mt6360_led_register()
574 dev_err(parent, "Failed to init %d flash state\ in mt6360_led_register()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Dperfmon.c288 sibling->state <= PERF_EVENT_STATE_OFF) in iommu_pmu_validate_group()
350 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in iommu_pmu_start()
357 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in iommu_pmu_start()
359 hwc->state = 0; in iommu_pmu_start()
386 if (!(hwc->state & PERF_HES_STOPPED)) { in iommu_pmu_stop()
391 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in iommu_pmu_stop()
464 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in iommu_pmu_add()
/kernel/linux/linux-6.6/net/sctp/
H A Dulpevent.c116 __u16 flags, __u16 state, __u16 error, __u16 outbound, in sctp_ulpevent_make_assoc_change()
172 sac->sac_state = state; in sctp_ulpevent_make_assoc_change()
196 * If the state was reached due to a error condition (e.g. in sctp_ulpevent_make_assoc_change()
244 int flags, int state, int error, gfp_t gfp) in sctp_ulpevent_make_peer_addr_change()
293 spc->spc_state = state; in sctp_ulpevent_make_peer_addr_change()
300 * If the state was reached due to any error condition (e.g. in sctp_ulpevent_make_peer_addr_change()
324 * encountering the change of state. in sctp_ulpevent_make_peer_addr_change()
340 int state, int error) in sctp_ulpevent_notify_peer_addr_change()
346 if (asoc->state < SCTP_STATE_ESTABLISHED) in sctp_ulpevent_notify_peer_addr_change()
352 event = sctp_ulpevent_make_peer_addr_change(asoc, &addr, 0, state, in sctp_ulpevent_notify_peer_addr_change()
114 sctp_ulpevent_make_assoc_change( const struct sctp_association *asoc, __u16 flags, __u16 state, __u16 error, __u16 outbound, __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) sctp_ulpevent_make_assoc_change() argument
241 sctp_ulpevent_make_peer_addr_change( const struct sctp_association *asoc, const struct sockaddr_storage *aaddr, int flags, int state, int error, gfp_t gfp) sctp_ulpevent_make_peer_addr_change() argument
339 sctp_ulpevent_notify_peer_addr_change(struct sctp_transport *transport, int state, int error) sctp_ulpevent_notify_peer_addr_change() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwcd-clsh-v2.c13 int state; member
816 * Params: state
820 static bool wcd_clsh_is_state_valid(int state) in wcd_clsh_is_state_valid() argument
822 switch (state) { in wcd_clsh_is_state_valid()
842 * class h state information
851 if (nstate == ctrl->state) in wcd_clsh_ctrl_set_state()
855 dev_err(comp->dev, "Class-H not a valid new state:\n"); in wcd_clsh_ctrl_set_state()
868 ctrl->state = nstate; in wcd_clsh_ctrl_set_state()
877 return ctrl->state; in wcd_clsh_ctrl_get_state()
890 ctrl->state in wcd_clsh_ctrl_alloc()
[all...]
/kernel/linux/linux-6.6/sound/isa/
H A Dopl3sa2.c546 static int snd_opl3sa2_suspend(struct snd_card *card, pm_message_t state) in snd_opl3sa2_suspend() argument
743 static int snd_opl3sa2_pnp_suspend(struct pnp_dev *pdev, pm_message_t state) in snd_opl3sa2_pnp_suspend() argument
745 return snd_opl3sa2_suspend(pnp_get_drvdata(pdev), state); in snd_opl3sa2_pnp_suspend()
799 static int snd_opl3sa2_pnp_csuspend(struct pnp_card_link *pcard, pm_message_t state) in snd_opl3sa2_pnp_csuspend() argument
801 return snd_opl3sa2_suspend(pnp_get_card_drvdata(pcard), state); in snd_opl3sa2_pnp_csuspend()
867 pm_message_t state) in snd_opl3sa2_isa_suspend()
869 return snd_opl3sa2_suspend(dev_get_drvdata(dev), state); in snd_opl3sa2_isa_suspend()
866 snd_opl3sa2_isa_suspend(struct device *dev, unsigned int n, pm_message_t state) snd_opl3sa2_isa_suspend() argument
/kernel/linux/linux-6.6/net/bluetooth/rfcomm/
H A Dtty.c121 /* we block the open until the dlc->state becomes BT_CONNECTED */
126 return (dev->dlc->state == BT_CONNECTED); in rfcomm_dev_carrier_raised()
533 (di + n)->state = dev->dlc->state; in rfcomm_get_dev_list()
570 di.state = dev->dlc->state; in rfcomm_get_dev_info()
634 if (dlc->state == BT_CONNECTED) { in rfcomm_dev_state_change()
638 } else if (dlc->state == BT_CLOSED) in rfcomm_dev_state_change()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Dnative_type.h911 * @brief Define the current scrolling state.
916 /** Idle state. Trigger when using the method provided by the controller to control scrolling, and trigger when
919 /** Scroll state. Triggered when dragging the container with fingers to scroll.*/
921 /** Inertial rolling state. Triggered when inertia rolling and bouncing back to the edge are performed after
1661 /** The callback is invoked when the animation logically enters the falling state, though it may still be in its
1662 * long tail state. */
1824 * @brief Defines the state of the NavDestination component.
1850 * @brief Define the state of Router Page.
1918 /** In the folded state, when the ListItem slides in the opposite direction to the main axis,
1921 /** In the folded state, whe
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_table.h45 void mod_color_set_table_init_state(enum table_type type, bool state);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dpp_psm.h35 struct pp_power_state **state);
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
H A Dcx88-vp3054-i2c.h14 u32 state; member
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.h18 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);

Completed in 37 milliseconds

1...<<231232233234235236237238239240>>...531