Home
last modified time | relevance | path

Searched refs:state (Results 4226 - 4250 of 17857) sorted by relevance

1...<<161162163164165166167168169170>>...715

/third_party/skia/src/gpu/ops/
H A DDrawableOp.cpp32 void DrawableOp::onExecute(GrOpFlushState* state, const SkRect& chainBounds) { in onExecute() argument
33 SkASSERT(state->opsRenderPass()); in onExecute()
34 state->opsRenderPass()->executeDrawable(std::move(fDrawable)); in onExecute()
H A DBlurOp.cpp36 void BlurOp::onExecute(GrOpFlushState* state, const SkRect& chainBounds) in onExecute() argument
38 SkASSERT(state->opsRenderPass()); in onExecute()
39 state->opsRenderPass()->drawBlurImage(fProxyView, skBlurArg); in onExecute()
/third_party/typescript/tests/baselines/reference/
H A DoverloadResolutionOverNonCTObjectLit.js13 state: IState;
20 tokens.push(<IToken>({ startIndex: 1, type: '', bracket: 3, state: null, length: 10 }));
30 tokens.push(({ startIndex: 1, type: '', bracket: 3, state: null, length: 10 }));
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dgraphcycles_benchmark.cc26 void BM_StressTest(benchmark::State& state) { in BM_StressTest() argument
27 const int num_nodes = state.range(0); in BM_StressTest()
28 while (state.KeepRunningBatch(num_nodes)) { in BM_StressTest()
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
H A Dchcr_core.c34 static int chcr_uld_state_change(void *handle, enum cxgb4_state state);
102 dev->state = CHCR_ATTACH; in chcr_dev_add()
119 dev->state = CHCR_INIT; in chcr_dev_init()
227 if (dev->state == CHCR_DETACH) { in chcr_detach_device()
231 dev->state = CHCR_DETACH; in chcr_detach_device()
241 static int chcr_uld_state_change(void *handle, enum cxgb4_state state) in chcr_uld_state_change() argument
246 switch (state) { in chcr_uld_state_change()
248 if (u_ctx->dev.state != CHCR_INIT) { in chcr_uld_state_change()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-pmic-eic-sprd.c210 int state; in sprd_pmic_eic_bus_sync_unlock() local
214 state = sprd_pmic_eic_get(chip, offset); in sprd_pmic_eic_bus_sync_unlock()
215 if (state) in sprd_pmic_eic_bus_sync_unlock()
238 int state, post_state; in sprd_pmic_eic_toggle_trigger() local
243 state = sprd_pmic_eic_get(chip, offset); in sprd_pmic_eic_toggle_trigger()
245 if (state) in sprd_pmic_eic_toggle_trigger()
251 if (state != post_state) { in sprd_pmic_eic_toggle_trigger()
253 state = post_state; in sprd_pmic_eic_toggle_trigger()
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
H A Dlite5200_pm.c25 static int lite5200_pm_valid(suspend_state_t state) in lite5200_pm_valid() argument
27 switch (state) { in lite5200_pm_valid()
36 static int lite5200_pm_begin(suspend_state_t state) in lite5200_pm_begin() argument
38 if (lite5200_pm_valid(state)) { in lite5200_pm_begin()
39 lite5200_pm_target_state = state; in lite5200_pm_begin()
205 static int lite5200_pm_enter(suspend_state_t state) in lite5200_pm_enter() argument
208 if (state == PM_SUSPEND_STANDBY) { in lite5200_pm_enter()
209 return mpc52xx_pm_enter(state); in lite5200_pm_enter()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dperf_event.c255 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in riscv_pmu_stop()
256 hwc->state |= PERF_HES_STOPPED; in riscv_pmu_stop()
258 if ((flags & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in riscv_pmu_stop()
260 hwc->state |= PERF_HES_UPTODATE; in riscv_pmu_stop()
271 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in riscv_pmu_start()
275 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in riscv_pmu_start()
283 hwc->state = 0; in riscv_pmu_start()
317 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
/kernel/linux/linux-5.10/arch/arm/vfp/
H A Dvfphw.S79 DBGSTR3 "instr %08x pc %08x state %p", r0, r2, r10
95 @ sufficient to determine that the hardware state is valid.
100 @ state if there was a previous (valid) owner.
106 DBGSTR1 "save old state %p", r4
108 beq vfp_reload_hw @ then the hw state needs reloading
112 tst r1, #FPEXC_EX @ is there additional state to save?
125 @ need to reload it. No need to save the old state as on SMP,
126 @ we always save the state when we switch away from a thread.
131 @ case the saved state is newer than the hardware context.
132 @ Check this by looking at the CPU number which the state wa
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_atu.c174 entry->state = val & 0xf; in mv88e6xxx_g1_atu_data_read()
175 if (entry->state) { in mv88e6xxx_g1_atu_data_read()
186 u16 data = entry->state & 0xf; in mv88e6xxx_g1_atu_data_write()
188 if (entry->state) { in mv88e6xxx_g1_atu_data_write()
249 if (!entry->state) { in mv88e6xxx_g1_atu_getnext()
317 .state = 0, /* Null EntryState means Flush */ in mv88e6xxx_g1_atu_flush()
336 entry.state = 0xf, /* Full EntryState means Move */ in mv88e6xxx_g1_atu_move()
379 spid = entry.state; in mv88e6xxx_g1_atu_prob_irq_thread_fn()
/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/
H A Dlite5200_pm.c27 static int lite5200_pm_valid(suspend_state_t state) in lite5200_pm_valid() argument
29 switch (state) { in lite5200_pm_valid()
38 static int lite5200_pm_begin(suspend_state_t state) in lite5200_pm_begin() argument
40 if (lite5200_pm_valid(state)) { in lite5200_pm_begin()
41 lite5200_pm_target_state = state; in lite5200_pm_begin()
204 static int lite5200_pm_enter(suspend_state_t state) in lite5200_pm_enter() argument
207 if (state == PM_SUSPEND_STANDBY) { in lite5200_pm_enter()
208 return mpc52xx_pm_enter(state); in lite5200_pm_enter()
/kernel/linux/linux-6.6/arch/s390/pci/
H A Dpci_event.c155 * @pdev: PCI function to recover currently in the error state
225 /* zpci_event_io_failure - Report PCI channel failure state to driver
227 * @es: PCI channel failure state to report
313 zdev->state = ZPCI_FN_STATE_STANDBY; in zpci_event_hard_deconfigured()
320 enum zpci_state state; in __zpci_event_availability() local
332 if (zdev->state != ZPCI_FN_STATE_STANDBY) in __zpci_event_availability()
334 zdev->state = ZPCI_FN_STATE_CONFIGURED; in __zpci_event_availability()
349 if (zdev->state != ZPCI_FN_STATE_CONFIGURED) in __zpci_event_availability()
360 if (zdev->state == ZPCI_FN_STATE_CONFIGURED) in __zpci_event_availability()
363 if (!clp_get_state(zdev->fid, &state) in __zpci_event_availability()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c137 struct drm_atomic_state *state = crtc_st->state; in komeda_crtc_normalize_zpos() local
151 /* This loop also added all effected planes into the new state */ in komeda_crtc_normalize_zpos()
153 plane_st = drm_atomic_get_plane_state(state, plane); in komeda_crtc_normalize_zpos()
196 struct drm_atomic_state *state) in komeda_kms_check()
202 err = drm_atomic_helper_check_modeset(dev, state); in komeda_kms_check()
210 for_each_new_crtc_in_state(state, crtc, new_crtc_st, i) { in komeda_kms_check()
211 err = drm_atomic_add_affected_planes(state, crtc); in komeda_kms_check()
220 err = drm_atomic_helper_check_planes(dev, state); in komeda_kms_check()
195 komeda_kms_check(struct drm_device *dev, struct drm_atomic_state *state) komeda_kms_check() argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dleds.c58 /* The led->state read is racy, but we don't care. In case we raced in b43_led_update()
60 * to fixup our state. */ in b43_led_update()
62 turn_on = atomic_read(&led->state) != LED_OFF; in b43_led_update()
103 atomic_set(&led->state, brightness); in b43_led_brightness_set()
122 atomic_set(&led->state, 0); in b43_register_led()
256 /* Sync the RF-kill LED state (if we have one) with radio and switch states. */ in b43_leds_init()
262 atomic_set(&led->state, 1); in b43_leds_init()
266 atomic_set(&led->state, 0); in b43_leds_init()
275 atomic_set(&led->state, 0); in b43_leds_init()
281 atomic_set(&led->state, in b43_leds_init()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dusb.c74 clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0u_cleanup()
83 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x0u_stop()
89 if (test_bit(MT76_REMOVED, &dev->mphy.state)) in mt76x0u_stop()
115 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x0u_start()
198 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0u_register_device()
288 bool initialized = test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0_disconnect()
303 pm_message_t state) in mt76x0_suspend()
308 clear_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt76x0_suspend()
302 mt76x0_suspend(struct usb_interface *usb_intf, pm_message_t state) mt76x0_suspend() argument
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dqdio.h88 static inline int do_sqbs(u64 token, unsigned char state, int queue, in do_sqbs() argument
96 " .insn rsy,0xeb000000008a,%[qs],%[ccq],0(%[state])" in do_sqbs()
98 : [state] "a" ((unsigned long)state), [token] "d" (token) in do_sqbs()
106 static inline int do_eqbs(u64 token, unsigned char *state, int queue, in do_eqbs() argument
115 " .insn rrf,0xb99c0000,%[qs],%[state],%[ccq],0" in do_eqbs()
117 [state] "+&d" (_state) in do_eqbs()
122 *state = _state & 0xff; in do_eqbs()
193 /* cq: sbal state related to asynchronous operation */
254 u32 *dsci; /* address of device state chang
263 enum qdio_irq_states state; global() member
[all...]
/kernel/linux/linux-5.10/net/wimax/
H A Dstack.c16 * - device state machine [wimax_state_change()] and support to send
17 * reports to user space when the state changes
24 * [__]wimax_state_change() Called by drivers to update device's state
77 * Creates and fills a basic state change message; different code
179 pr_err("SW BUG! Forbidden state change %u -> %u\n", in __check_new_state()
186 * Set the current state of a WiMAX device [unlocking version of
192 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change()
200 dev_err(dev, "SW BUG: requesting invalid state %u\n", in __wimax_state_change()
210 /* Verify the state transition and do exit-from-state action in __wimax_state_change()
364 enum wimax_st state; wimax_state_get() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-omap-dmtimer.c30 * user requests a change in polarity when in active state:
58 * @mutex: Mutex to protect pwm apply state
65 /* Mutex to protect pwm apply state */
268 * pwm_omap_dmtimer_apply() - Changes the state of the pwm omap dm timer.
271 * @state: New state to apply
273 * Return 0 if successfully changed the state else appropriate error.
277 const struct pwm_state *state) in pwm_omap_dmtimer_apply()
284 if (pwm_omap_dmtimer_is_enabled(omap) && !state->enabled) { in pwm_omap_dmtimer_apply()
289 if (pwm_omap_dmtimer_polarity(omap) != state in pwm_omap_dmtimer_apply()
275 pwm_omap_dmtimer_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_omap_dmtimer_apply() argument
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dpciehp_core.c173 if ((occupied > 0 && (ctrl->state == OFF_STATE || in pciehp_check_presence()
174 ctrl->state == BLINKINGON_STATE)) || in pciehp_check_presence()
175 (!occupied && (ctrl->state == ON_STATE || in pciehp_check_presence()
176 ctrl->state == BLINKINGOFF_STATE))) in pciehp_check_presence()
295 if (ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) in pciehp_resume_noirq()
329 if ((ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) && in pciehp_runtime_resume()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
H A Dpci-layerscape.c29 #define LTSSM_PCIE_L0 0x11 /* L0 state */
96 u32 state; in ls1021_pcie_link_up() local
102 regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); in ls1021_pcie_link_up()
103 state = (state >> LTSSM_STATE_SHIFT) & LTSSM_STATE_MASK; in ls1021_pcie_link_up()
105 if (state < LTSSM_PCIE_L0) in ls1021_pcie_link_up()
114 u32 state; in ls_pcie_link_up() local
116 state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >> in ls_pcie_link_up()
120 if (state < LTSSM_PCIE_L0) in ls_pcie_link_up()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dpwm.c209 const struct pwm_state *state) in gb_pwm_apply()
212 bool enabled = pwm->state.enabled; in gb_pwm_apply()
213 u64 period = state->period; in gb_pwm_apply()
214 u64 duty_cycle = state->duty_cycle; in gb_pwm_apply()
218 if (state->polarity != pwm->state.polarity) { in gb_pwm_apply()
223 err = gb_pwm_set_polarity_operation(pwmc, pwm->hwpwm, state->polarity); in gb_pwm_apply()
228 if (!state->enabled) { in gb_pwm_apply()
208 gb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) gb_pwm_apply() argument
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_typec_switch.c37 u8 state) in cros_typec_cmd_mux_set()
44 .mux_flags = state, in cros_typec_cmd_mux_set()
145 dev_err(sdata->dev, "Timed out waiting for mux set done on index: %d, state: %d\n", in cros_typec_configure_mux()
152 struct typec_mux_state *state) in cros_typec_mode_switch_set()
157 return cros_typec_configure_mux(port->sdata, port->port_num, 0, state->mode, state->alt); in cros_typec_mode_switch_set()
160 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in cros_typec_retimer_set() argument
165 return cros_typec_configure_mux(port->sdata, port->port_num, 1, state->mode, state->alt); in cros_typec_retimer_set()
36 cros_typec_cmd_mux_set(struct cros_typec_switch_data *sdata, int port_num, u8 index, u8 state) cros_typec_cmd_mux_set() argument
151 cros_typec_mode_switch_set(struct typec_mux_dev *mode_switch, struct typec_mux_state *state) cros_typec_mode_switch_set() argument
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-berlin.c172 const struct pwm_state *state) in berlin_pwm_apply()
175 bool enabled = pwm->state.enabled; in berlin_pwm_apply()
177 if (state->polarity != pwm->state.polarity) { in berlin_pwm_apply()
183 err = berlin_pwm_set_polarity(chip, pwm, state->polarity); in berlin_pwm_apply()
188 if (!state->enabled) { in berlin_pwm_apply()
194 err = berlin_pwm_config(chip, pwm, state->duty_cycle, state->period); in berlin_pwm_apply()
171 berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) berlin_pwm_apply() argument
H A Dpwm-omap-dmtimer.c30 * user requests a change in polarity when in active state:
58 * @mutex: Mutex to protect pwm apply state
65 /* Mutex to protect pwm apply state */
268 * pwm_omap_dmtimer_apply() - Changes the state of the pwm omap dm timer.
271 * @state: New state to apply
273 * Return 0 if successfully changed the state else appropriate error.
277 const struct pwm_state *state) in pwm_omap_dmtimer_apply()
284 if (pwm_omap_dmtimer_is_enabled(omap) && !state->enabled) { in pwm_omap_dmtimer_apply()
289 if (pwm_omap_dmtimer_polarity(omap) != state in pwm_omap_dmtimer_apply()
275 pwm_omap_dmtimer_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_omap_dmtimer_apply() argument
[all...]
H A Dpwm-vt8500.c177 const struct pwm_state *state) in vt8500_pwm_apply()
180 bool enabled = pwm->state.enabled; in vt8500_pwm_apply()
182 if (state->polarity != pwm->state.polarity) { in vt8500_pwm_apply()
193 err = vt8500_pwm_set_polarity(chip, pwm, state->polarity); in vt8500_pwm_apply()
198 if (!state->enabled) { in vt8500_pwm_apply()
206 * We cannot skip calling ->config even if state->period == in vt8500_pwm_apply()
207 * pwm->state.period && state->duty_cycle == pwm->state in vt8500_pwm_apply()
176 vt8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) vt8500_pwm_apply() argument
[all...]

Completed in 17 milliseconds

1...<<161162163164165166167168169170>>...715