/linux-6.6.21/drivers/cpufreq/ |
D | p4-clockmod.c | 52 static int cpufreq_p4_setdc(unsigned int cpu, unsigned int newstate) in cpufreq_p4_setdc() argument 56 if ((newstate > DC_DISABLE) || (newstate == DC_RESV)) in cpufreq_p4_setdc() 65 (newstate == DC_25PT || newstate == DC_DFLT)) in cpufreq_p4_setdc() 66 newstate = DC_38PT; in cpufreq_p4_setdc() 69 if (newstate == DC_DISABLE) { in cpufreq_p4_setdc() 74 cpu, ((125 * newstate) / 10)); in cpufreq_p4_setdc() 81 l = l | (1<<4) | ((newstate & 0x7)<<1); in cpufreq_p4_setdc()
|
D | powernow-k8.c | 924 unsigned newstate; member 931 unsigned newstate = pta->newstate; in powernowk8_target_fn() local 949 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn() 967 powernow_k8_acpi_pst_values(data, newstate); in powernowk8_target_fn() 969 ret = transition_frequency_fidvid(data, newstate, pol); in powernowk8_target_fn() 986 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target()
|
/linux-6.6.21/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 327 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local 335 if (!newstate || !newstate->fb) in ingenic_ipu_plane_atomic_update() 342 finfo = drm_format_info(newstate->fb->format->format); in ingenic_ipu_plane_atomic_update() 355 needs_modeset = drm_atomic_crtc_needs_modeset(newstate->crtc->state); in ingenic_ipu_plane_atomic_update() 365 drm_fb_dma_sync_non_coherent(ipu->drm, oldstate, newstate); in ingenic_ipu_plane_atomic_update() 368 ipu->addr_y = drm_fb_dma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_ipu_plane_atomic_update() 370 ipu->addr_u = drm_fb_dma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update() 373 ipu->addr_v = drm_fb_dma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update() 391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() [all …]
|
D | ingenic-drm-drv.c | 660 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 669 if (newstate && newstate->fb) { in ingenic_drm_plane_atomic_update() 671 drm_fb_dma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update() 673 crtc_state = newstate->crtc->state; in ingenic_drm_plane_atomic_update() 676 addr = drm_fb_dma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_drm_plane_atomic_update() 677 width = newstate->src_w >> 16; in ingenic_drm_plane_atomic_update() 678 height = newstate->src_h >> 16; in ingenic_drm_plane_atomic_update() 679 cpp = newstate->fb->format->cpp[0]; in ingenic_drm_plane_atomic_update() 697 switch (newstate->fb->format->format) { in ingenic_drm_plane_atomic_update() 717 fourcc = newstate->fb->format->format; in ingenic_drm_plane_atomic_update()
|
/linux-6.6.21/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 708 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_gdp_atomic_update() local 712 struct drm_crtc *crtc = newstate->crtc; in sti_gdp_atomic_update() 713 struct drm_framebuffer *fb = newstate->fb; in sti_gdp_atomic_update() 730 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update() 731 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update() 732 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update() 733 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update() 734 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update() 735 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update() 736 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update() [all …]
|
D | sti_hqvdp.c | 1118 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_hqvdp_atomic_update() local 1122 struct drm_crtc *crtc = newstate->crtc; in sti_hqvdp_atomic_update() 1123 struct drm_framebuffer *fb = newstate->fb; in sti_hqvdp_atomic_update() 1135 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update() 1136 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update() 1137 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update() 1138 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update() 1139 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update() 1140 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update() 1141 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update() [all …]
|
D | sti_cursor.c | 262 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_cursor_atomic_update() local 266 struct drm_crtc *crtc = newstate->crtc; in sti_cursor_atomic_update() 267 struct drm_framebuffer *fb = newstate->fb; in sti_cursor_atomic_update() 278 dst_x = newstate->crtc_x; in sti_cursor_atomic_update() 279 dst_y = newstate->crtc_y; in sti_cursor_atomic_update()
|
/linux-6.6.21/drivers/gpu/drm/stm/ |
D | ltdc.c | 1264 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in ltdc_plane_atomic_update() local 1266 struct drm_framebuffer *fb = newstate->fb; in ltdc_plane_atomic_update() 1268 u32 x0 = newstate->crtc_x; in ltdc_plane_atomic_update() 1269 u32 x1 = newstate->crtc_x + newstate->crtc_w - 1; in ltdc_plane_atomic_update() 1270 u32 y0 = newstate->crtc_y; in ltdc_plane_atomic_update() 1271 u32 y1 = newstate->crtc_y + newstate->crtc_h - 1; in ltdc_plane_atomic_update() 1277 if (!newstate->crtc || !fb) { in ltdc_plane_atomic_update() 1283 src_x = newstate->src_x >> 16; in ltdc_plane_atomic_update() 1284 src_y = newstate->src_y >> 16; in ltdc_plane_atomic_update() 1285 src_w = newstate->src_w >> 16; in ltdc_plane_atomic_update() [all …]
|
/linux-6.6.21/drivers/s390/net/ |
D | fsm.h | 192 fsm_newstate(fsm_instance *fi, int newstate) in fsm_newstate() argument 194 atomic_set(&fi->state,newstate); in fsm_newstate() 196 fsm_record_history(fi, newstate, -1); in fsm_newstate() 200 fi->f->state_names[newstate]); in fsm_newstate()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_sk_storage_tracing.c | 34 int newstate) in BPF_PROG() argument 38 if (newstate == BPF_TCP_CLOSE) in BPF_PROG() 46 stg->last_notclose_state = newstate; in BPF_PROG()
|
/linux-6.6.21/include/trace/events/ |
D | sock.h | 142 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate), 144 TP_ARGS(sk, oldstate, newstate), 149 __field(int, newstate) 167 __entry->newstate = newstate; 203 show_tcp_state_name(__entry->newstate))
|
/linux-6.6.21/drivers/pwm/ |
D | pwm-fsl-ftm.c | 226 const struct pwm_state *newstate) in fsl_pwm_apply_config() argument 234 if (!fsl_pwm_calculate_period(fpc, newstate->period, &periodcfg)) { in fsl_pwm_apply_config() 279 duty = fsl_pwm_calculate_duty(fpc, newstate->duty_cycle); in fsl_pwm_apply_config() 286 if (newstate->polarity == PWM_POLARITY_INVERSED) in fsl_pwm_apply_config() 297 const struct pwm_state *newstate) in fsl_pwm_apply() argument 314 if (!newstate->enabled) { in fsl_pwm_apply() 325 ret = fsl_pwm_apply_config(fpc, pwm, newstate); in fsl_pwm_apply()
|
/linux-6.6.21/arch/x86/kernel/fpu/ |
D | regset.c | 95 struct fxregs_state newstate; in xfpregs_set() local 102 if (pos != 0 || count != sizeof(newstate)) in xfpregs_set() 105 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in xfpregs_set() 110 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set() 116 memcpy(&fpu->fpstate->regs.fxsave, &newstate, sizeof(newstate)); in xfpregs_set()
|
/linux-6.6.21/kernel/ |
D | stop_machine.c | 182 enum multi_stop_state newstate) in set_state() argument 187 WRITE_ONCE(msdata->state, newstate); in set_state() 206 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local 230 newstate = READ_ONCE(msdata->state); in multi_cpu_stop() 231 if (newstate != curstate) { in multi_cpu_stop() 232 curstate = newstate; in multi_cpu_stop()
|
/linux-6.6.21/drivers/net/wireless/ath/carl9170/ |
D | carl9170.h | 507 enum carl9170_device_state newstate) in __carl9170_set_state() argument 509 ar->state = newstate; in __carl9170_set_state() 513 enum carl9170_device_state newstate) in carl9170_set_state() argument 518 __carl9170_set_state(ar, newstate); in carl9170_set_state() 523 enum carl9170_device_state min, enum carl9170_device_state newstate) in carl9170_set_state_when() argument 529 __carl9170_set_state(ar, newstate); in carl9170_set_state_when()
|
/linux-6.6.21/drivers/isdn/mISDN/ |
D | fsm.c | 86 mISDN_FsmChangeState(struct FsmInst *fi, int newstate) in mISDN_FsmChangeState() argument 88 fi->state = newstate; in mISDN_FsmChangeState() 91 fi->fsm->strState[newstate]); in mISDN_FsmChangeState()
|
/linux-6.6.21/drivers/s390/char/ |
D | tape_core.c | 187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set() argument 203 if (newstate < TS_SIZE && newstate >= 0) in tape_state_set() 204 str = tape_state_verbose[newstate]; in tape_state_set() 208 device->tape_state = newstate; in tape_state_set() 263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set() argument 268 if (oldstate == newstate) in tape_med_state_set() 270 device->medium_state = newstate; in tape_med_state_set() 271 switch(newstate){ in tape_med_state_set()
|
/linux-6.6.21/drivers/usb/phy/ |
D | phy-fsl-usb.h | 287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
|
/linux-6.6.21/kernel/rcu/ |
D | rcu.h | 86 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument 88 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state() 89 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
|
D | rcutorture.c | 1777 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument 1786 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 1787 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 1791 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 1845 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend() 1858 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend() 1961 int newstate; in rcu_torture_one_read() local 1971 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read() 1972 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++); in rcu_torture_one_read()
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 177 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *ppi, bool newstate); 178 void wlc_phy_hw_state_upd(struct brcms_phy_pub *ppi, bool newstate);
|
/linux-6.6.21/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.h | 599 enum vchiq_connstate newstate); 601 void vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
|
D | vchiq_core.c | 228 set_service_state(struct vchiq_service *service, int newstate) in set_service_state() argument 233 srvstate_names[newstate]); in set_service_state() 234 service->srvstate = newstate; in set_service_state() 491 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate) in vchiq_set_conn_state() argument 496 conn_state_names[newstate]); in vchiq_set_conn_state() 497 state->conn_state = newstate; in vchiq_set_conn_state() 498 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state() 2626 int newstate; in close_service_complete() local 2636 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2638 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
/linux-6.6.21/arch/x86/kernel/ |
D | smpboot.c | 1567 u32 newstate = CPUDEAD_MWAIT_KEXEC_HLT; in smp_kick_mwait_play_dead() local 1579 for (i = 0; READ_ONCE(md->status) != newstate && i < 1000; i++) { in smp_kick_mwait_play_dead() 1581 WRITE_ONCE(md->control, newstate); in smp_kick_mwait_play_dead() 1585 if (READ_ONCE(md->status) != newstate) in smp_kick_mwait_play_dead()
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 193 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() argument 200 switch (newstate) { in qib_set_linkstate()
|