/Linux-v6.1/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-v6.1/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 | 661 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 670 if (newstate && newstate->fb) { in ingenic_drm_plane_atomic_update() 672 drm_fb_dma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update() 674 crtc_state = newstate->crtc->state; in ingenic_drm_plane_atomic_update() 677 addr = drm_fb_dma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_drm_plane_atomic_update() 678 width = newstate->src_w >> 16; in ingenic_drm_plane_atomic_update() 679 height = newstate->src_h >> 16; in ingenic_drm_plane_atomic_update() 680 cpp = newstate->fb->format->cpp[0]; in ingenic_drm_plane_atomic_update() 698 switch (newstate->fb->format->format) { in ingenic_drm_plane_atomic_update() 718 fourcc = newstate->fb->format->format; in ingenic_drm_plane_atomic_update()
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/stm/ |
D | ltdc.c | 1263 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in ltdc_plane_atomic_update() local 1265 struct drm_framebuffer *fb = newstate->fb; in ltdc_plane_atomic_update() 1267 u32 x0 = newstate->crtc_x; in ltdc_plane_atomic_update() 1268 u32 x1 = newstate->crtc_x + newstate->crtc_w - 1; in ltdc_plane_atomic_update() 1269 u32 y0 = newstate->crtc_y; in ltdc_plane_atomic_update() 1270 u32 y1 = newstate->crtc_y + newstate->crtc_h - 1; in ltdc_plane_atomic_update() 1276 if (!newstate->crtc || !fb) { in ltdc_plane_atomic_update() 1282 src_x = newstate->src_x >> 16; in ltdc_plane_atomic_update() 1283 src_y = newstate->src_y >> 16; in ltdc_plane_atomic_update() 1284 src_w = newstate->src_w >> 16; in ltdc_plane_atomic_update() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/x86/kernel/fpu/ |
D | regset.c | 94 struct fxregs_state newstate; in xfpregs_set() local 101 if (pos != 0 || count != sizeof(newstate)) in xfpregs_set() 104 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in xfpregs_set() 109 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set() 115 memcpy(&fpu->fpstate->regs.fxsave, &newstate, sizeof(newstate)); in xfpregs_set()
|
/Linux-v6.1/kernel/ |
D | smpboot.c | 476 int newstate; in cpu_report_death() local 482 newstate = CPU_DEAD; in cpu_report_death() 484 newstate = CPU_DEAD_FROZEN; in cpu_report_death() 486 &oldstate, newstate)); in cpu_report_death() 487 return newstate == CPU_DEAD; in cpu_report_death()
|
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-v6.1/drivers/pwm/ |
D | pwm-fsl-ftm.c | 230 const struct pwm_state *newstate) in fsl_pwm_apply_config() argument 238 if (!fsl_pwm_calculate_period(fpc, newstate->period, &periodcfg)) { in fsl_pwm_apply_config() 283 duty = fsl_pwm_calculate_duty(fpc, newstate->duty_cycle); in fsl_pwm_apply_config() 290 if (newstate->polarity == PWM_POLARITY_INVERSED) in fsl_pwm_apply_config() 301 const struct pwm_state *newstate) in fsl_pwm_apply() argument 318 if (!newstate->enabled) { in fsl_pwm_apply() 329 ret = fsl_pwm_apply_config(fpc, pwm, newstate); in fsl_pwm_apply()
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/kernel/rcu/ |
D | rcu.h | 49 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument 51 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state() 52 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
|
D | rcutorture.c | 1731 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument 1740 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 1741 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 1745 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 1799 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend() 1812 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend() 1915 int newstate; in rcu_torture_one_read() local 1925 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read() 1926 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++); in rcu_torture_one_read()
|
/Linux-v6.1/drivers/usb/phy/ |
D | phy-fsl-usb.h | 287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
|
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 182 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *ppi, bool newstate); 183 void wlc_phy_hw_state_upd(struct brcms_phy_pub *ppi, bool newstate);
|
/Linux-v6.1/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.h | 581 enum vchiq_connstate newstate); 583 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() 2617 int newstate; in close_service_complete() local 2627 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2629 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
/Linux-v6.1/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()
|