/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | usb.c | 671 dev->state = USB_STATE_ATTACHED; in usb_alloc_dev() 890 if (udev->state == USB_STATE_NOTATTACHED) in usb_lock_device_for_reset() 892 if (udev->state == USB_STATE_SUSPENDED) in usb_lock_device_for_reset() 906 if (udev->state == USB_STATE_NOTATTACHED) in usb_lock_device_for_reset() 908 if (udev->state == USB_STATE_SUSPENDED) in usb_lock_device_for_reset()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_acm.c | 291 * that code based on device state; track parameters like line 292 * speed, handshake state, and so on; and issue notifications. 381 * that bit, we should return to that no-flow state. in acm_setup() 525 "acm ttyGS%d can't notify serial state, %d\n", in acm_cdc_notify() 541 dev_dbg(&cdev->gadget->dev, "acm ttyGS%d serial state %04x\n", in acm_notify_serial_state() 593 u16 state; in acm_send_break() local 595 state = acm->serial_state; in acm_send_break() 596 state &= ~USB_CDC_SERIAL_STATE_BREAK; in acm_send_break() 598 state |= USB_CDC_SERIAL_STATE_BREAK; in acm_send_break() 600 acm->serial_state = state; in acm_send_break() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v4_2.c | 48 enum amd_clockgating_state state); 371 /* force RBC into idle state */ in uvd_v4_2_start() 692 enum amdgpu_interrupt_state state) in uvd_v4_2_set_interrupt_state() 708 enum amd_clockgating_state state) in uvd_v4_2_set_clockgating_state() 714 enum amd_powergating_state state) in uvd_v4_2_set_powergating_state() 725 if (state == AMD_PG_STATE_GATE) { in uvd_v4_2_set_powergating_state() 689 uvd_v4_2_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) uvd_v4_2_set_interrupt_state() argument 707 uvd_v4_2_set_clockgating_state(void *handle, enum amd_clockgating_state state) uvd_v4_2_set_clockgating_state() argument 713 uvd_v4_2_set_powergating_state(void *handle, enum amd_powergating_state state) uvd_v4_2_set_powergating_state() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.c | 136 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_get_hubp_states() 205 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(pool->hubps[i])->state); in dcn10_get_rq_states() 250 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(pool->hubps[i])->state); in dcn10_get_dlg_states() 304 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(pool->hubps[i])->state); in dcn10_get_ttu_states() 512 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(hubp)->state); in dcn10_clear_hubp_underflow()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | brcmstb-avs-cpufreq.c | 172 unsigned int state; member 371 pmap->state = args[3]; in brcm_avs_get_pmap() 383 args[3] = pmap->state; in brcm_avs_set_pmap() 423 * and reading back what frequency we are running at for each P-state. 432 /* Remember P-state for later */ in brcm_avs_get_freq_table() 455 /* Restore P-state */ in brcm_avs_get_freq_table() 510 * We can't use the P-state returned by brcm_avs_get_pmap(), since in brcm_avs_suspend() 511 * that's the initial P-state from when the P-map was downloaded to the in brcm_avs_suspend() 512 * AVS co-processor, not necessarily the P-state we are running at now. in brcm_avs_suspend() 513 * So, we get the current P-state explicitl in brcm_avs_suspend() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | jr.c | 692 jrp->state.inpbusaddr = rd_reg64(&jrp->rregs->inpring_base); in caam_jr_get_hw_state() 693 jrp->state.outbusaddr = rd_reg64(&jrp->rregs->outring_base); in caam_jr_get_hw_state() 732 /* Save state */ in caam_jr_suspend() 758 if (inp_addr == jrpriv->state.inpbusaddr) { in caam_jr_resume() 787 caam_jr_init_hw(dev, jrpriv->state.inpbusaddr, in caam_jr_resume() 788 jrpriv->state.outbusaddr); in caam_jr_resume()
|
/kernel/linux/linux-6.6/arch/x86/events/amd/ |
H A D | uncore.c | 108 hwc->state = 0; in amd_uncore_start() 118 hwc->state |= PERF_HES_STOPPED; in amd_uncore_stop() 120 if ((flags & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in amd_uncore_stop() 122 hwc->state |= PERF_HES_UPTODATE; in amd_uncore_stop() 159 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amd_uncore_add()
|
/kernel/linux/linux-6.6/drivers/iio/proximity/ |
H A D | irsd200.c | 652 enum iio_event_direction dir, int state) in irsd200_write_event_config() 666 data->regfields[IRS_REGF_INTR_COUNT_THR_OR], !!state); in irsd200_write_event_config() 778 static int irsd200_set_trigger_state(struct iio_trigger *trig, bool state) in irsd200_set_trigger_state() argument 783 ret = regmap_field_write(data->regfields[IRS_REGF_INTR_DATA], state); in irsd200_set_trigger_state() 786 state ? "enable" : "disable", ret); in irsd200_set_trigger_state() 649 irsd200_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) irsd200_write_event_config() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 377 bool state; in prestera_nh_neigh_util_hw_state() local 380 state = false; in prestera_nh_neigh_util_hw_state() 383 state = prestera_nexthop_group_util_hw_state(sw, nh_head->this); in prestera_nh_neigh_util_hw_state() 384 if (state) in prestera_nh_neigh_util_hw_state() 389 return state; in prestera_nh_neigh_util_hw_state() 547 * Prevent situation, when we read state of nh_grp twice in short time, in prestera_nexthop_group_util_hw_state() 548 * and state bit is still cleared on second call. So just stuck active in prestera_nexthop_group_util_hw_state() 549 * state for PRESTERA_NH_ACTIVE_JIFFER_FILTER, after last occurred. in prestera_nexthop_group_util_hw_state() 555 pr_err("Failed to get hw state nh_grp's"); in prestera_nexthop_group_util_hw_state()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 117 static void mlx4_en_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in mlx4_en_dcbnl_setpfcstate() argument 121 priv->cee_config.pfc_state = state; in mlx4_en_dcbnl_setpfcstate() 229 static u8 mlx4_en_dcbnl_set_state(struct net_device *dev, u8 state) in mlx4_en_dcbnl_set_state() argument 237 if (!!(state) == !!(priv->flags & MLX4_EN_FLAG_DCB_ENABLED)) in mlx4_en_dcbnl_set_state() 240 if (state) { in mlx4_en_dcbnl_set_state()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | core.c | 691 if (!ar || ar->state == ATH12K_STATE_OFF) in ath12k_core_pre_reconfigure_recovery() 725 if (!ar || ar->state == ATH12K_STATE_OFF) in ath12k_core_post_reconfigure_recovery() 730 switch (ar->state) { in ath12k_core_post_reconfigure_recovery() 732 ar->state = ATH12K_STATE_RESTARTING; in ath12k_core_post_reconfigure_recovery() 744 ar->state = ATH12K_STATE_WEDGED; in ath12k_core_post_reconfigure_recovery()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateful.c | 450 if (ctx->state != MTK_STATE_INIT) { in vb2ops_vdec_stateful_buf_queue() 451 mtk_v4l2_vdec_dbg(3, ctx, "[%d] already init driver %d", ctx->id, ctx->state); in vb2ops_vdec_stateful_buf_queue() 487 ctx->state = MTK_STATE_ABORT; in vb2ops_vdec_stateful_buf_queue() 520 ctx->state = MTK_STATE_HEADER; in vb2ops_vdec_stateful_buf_queue() 533 if (ctx->state >= MTK_STATE_HEADER) { in mtk_vdec_g_v_ctrl()
|
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | arm_dsu_pmu.c | 103 * @hw_events : Holds the event counter state. 421 WARN_ON(!(event->hw.state & PERF_HES_UPTODATE)); in dsu_pmu_start() 425 event->hw.state = 0; in dsu_pmu_start() 433 if (event->hw.state & PERF_HES_STOPPED) in dsu_pmu_stop() 437 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dsu_pmu_stop() 457 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dsu_pmu_add()
|
H A D | arm_dmc620_pmu.c | 415 if (!(event->hw.state & PERF_HES_STOPPED)) in dmc620_pmu_handle_irq() 570 event->hw.state = 0; in dmc620_pmu_start() 577 if (event->hw.state & PERF_HES_STOPPED) in dmc620_pmu_stop() 582 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_stop() 599 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_add()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | process.c | 90 * this gets called so that we can store lazy state into memory and copy the 288 * Must flip the CPU state synchronously with in disable_TSC() 300 * Must flip the CPU state synchronously with in enable_TSC() 349 * Must flip the CPU state synchronously with in disable_cpuid() 362 * Must flip the CPU state synchronously with in enable_cpuid() 511 * Shared state setup happens once on the first bringup in speculative_store_bypass_ht_init() 521 * shared state pointer already. in speculative_store_bypass_ht_init() 530 /* Link it to the state of the sibling: */ in speculative_store_bypass_ht_init() 536 * First HT sibling to come up on the core. Link shared state of in speculative_store_bypass_ht_init() 538 * which come up later will see the shared state pointe in speculative_store_bypass_ht_init() 1044 struct unwind_state state; __get_wchan() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | adiantum.c | 231 struct poly1305_state state; in adiantum_hash_header() local 233 poly1305_core_init(&state); in adiantum_hash_header() 236 poly1305_core_blocks(&state, &tctx->header_hash_key, in adiantum_hash_header() 240 poly1305_core_blocks(&state, &tctx->header_hash_key, req->iv, in adiantum_hash_header() 243 poly1305_core_emit(&state, NULL, &rctx->header_hash); in adiantum_hash_header()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | skl_scaler.c | 145 * Here scaler state in crtc_state is set free so that in skl_update_scaler() 259 * skl_update_scaler_plane - Stages update to scaler state for a given plane. 260 * @crtc_state: crtc's scaler state 261 * @plane_state: atomic plane state to update 495 * not being part of this atomic state 509 struct drm_atomic_state *drm_state = crtc_state->uapi.state; in intel_atomic_setup_scalers() 565 struct drm_plane_state *state; in intel_atomic_setup_scalers() local 576 state = drm_atomic_get_plane_state(drm_state, plane); in intel_atomic_setup_scalers() 577 if (IS_ERR(state)) { in intel_atomic_setup_scalers() 581 return PTR_ERR(state); in intel_atomic_setup_scalers() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi4.c | 347 struct drm_atomic_state *state = bridge_state->base.state; in hdmi4_bridge_enable() local 358 connector = drm_atomic_get_new_connector_for_encoder(state, in hdmi4_bridge_enable() 362 conn_state = drm_atomic_get_new_connector_state(state, connector); in hdmi4_bridge_enable() 365 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in hdmi4_bridge_enable()
|
H A D | hdmi5.c | 89 * line to 0 until the PHY power state has been changed. in hdmi_irq_handler() 345 struct drm_atomic_state *state = bridge_state->base.state; in hdmi5_bridge_enable() local 356 connector = drm_atomic_get_new_connector_for_encoder(state, in hdmi5_bridge_enable() 360 conn_state = drm_atomic_get_new_connector_state(state, connector); in hdmi5_bridge_enable() 363 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in hdmi5_bridge_enable()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rzg2l_mipi_dsi.c | 537 struct drm_atomic_state *state = old_bridge_state->base.state; in rzg2l_mipi_dsi_atomic_enable() local 544 connector = drm_atomic_get_new_connector_for_encoder(state, bridge->encoder); in rzg2l_mipi_dsi_atomic_enable() 545 crtc = drm_atomic_get_new_connector_state(state, connector)->crtc; in rzg2l_mipi_dsi_atomic_enable() 546 mode = &drm_atomic_get_new_crtc_state(state, crtc)->adjusted_mode; in rzg2l_mipi_dsi_atomic_enable()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | adux1020.c | 272 /* Set 32MHz clock to be controlled by internal state machine */ in adux1020_read_fifo() 505 enum iio_event_direction dir, int state) in adux1020_write_event_config() 528 if (state) in adux1020_write_event_config() 529 state = 0; in adux1020_write_event_config() 531 state = mask; in adux1020_write_event_config() 534 mask, state); in adux1020_write_event_config() 502 adux1020_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) adux1020_write_event_config() argument
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | l1oip_codec.c | 214 l1oip_law_to_4bit(u8 *data, int len, u8 *result, u32 *state) in l1oip_law_to_4bit() argument 222 if (*state) { in l1oip_law_to_4bit() 223 *result++ = table_com[(((*state) << 8) & 0xff00) | (*data++)]; in l1oip_law_to_4bit() 239 *state = 0x100 + *data; in l1oip_law_to_4bit() 241 *state = 0; in l1oip_law_to_4bit()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | conditional.c | 41 s[sp] = p->bool_val_to_struct[node->boolean - 1]->state; in cond_evaluate_expr() 88 * current state of the node it sets the rules in the true/false 203 if (!(b->state == 0 || b->state == 1)) in bool_isvalid() 225 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool() 461 buf[1] = cpu_to_le32(booldatum->state); in cond_write_bool()
|
/kernel/linux/linux-6.6/sound/firewire/fireface/ |
H A D | ff-protocol-former.c | 210 const char *state; in dump_sync_status() local 215 state = "sync"; in dump_sync_status() 217 state = "lock"; in dump_sync_status() 219 state = "none"; in dump_sync_status() 222 snd_iprintf(buffer, "%s: %s\n", clk_entry->label, state); in dump_sync_status()
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_init.c | 102 set_bit(SAS_HA_REGISTERED, &sas_ha->state); in sas_register_ha() 151 /* Set the state to unregistered to avoid further unchained in sas_disable_events() 156 clear_bit(SAS_HA_REGISTERED, &sas_ha->state); in sas_disable_events() 361 set_bit(SAS_HA_REGISTERED, &ha->state); in sas_prep_resume_ha() 362 set_bit(SAS_HA_RESUMING, &ha->state); in sas_prep_resume_ha() 444 clear_bit(SAS_HA_RESUMING, &ha->state); in _sas_resume_ha()
|