/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()
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 291 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local 298 if (!newstate || !newstate->fb) in ingenic_ipu_plane_atomic_update() 301 finfo = drm_format_info(newstate->fb->format->format); in ingenic_ipu_plane_atomic_update() 314 needs_modeset = drm_atomic_crtc_needs_modeset(newstate->crtc->state); in ingenic_ipu_plane_atomic_update() 324 drm_fb_cma_sync_non_coherent(ipu->drm, oldstate, newstate); in ingenic_ipu_plane_atomic_update() 327 ipu->addr_y = drm_fb_cma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_ipu_plane_atomic_update() 329 ipu->addr_u = drm_fb_cma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update() 332 ipu->addr_v = drm_fb_cma_get_gem_addr(newstate->fb, newstate, in ingenic_ipu_plane_atomic_update() 350 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 354 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() [all …]
|
D | ingenic-drm-drv.c | 559 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 567 if (newstate && newstate->fb) { in ingenic_drm_plane_atomic_update() 569 drm_fb_cma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update() 571 crtc_state = newstate->crtc->state; in ingenic_drm_plane_atomic_update() 573 addr = drm_fb_cma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_drm_plane_atomic_update() 574 width = newstate->src_w >> 16; in ingenic_drm_plane_atomic_update() 575 height = newstate->src_h >> 16; in ingenic_drm_plane_atomic_update() 576 cpp = newstate->fb->format->cpp[0]; in ingenic_drm_plane_atomic_update() 587 fourcc = newstate->fb->format->format; in ingenic_drm_plane_atomic_update()
|
/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 706 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_gdp_atomic_update() local 710 struct drm_crtc *crtc = newstate->crtc; in sti_gdp_atomic_update() 711 struct drm_framebuffer *fb = newstate->fb; in sti_gdp_atomic_update() 728 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update() 729 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update() 730 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update() 731 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update() 732 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update() 733 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update() 734 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update() [all …]
|
D | sti_hqvdp.c | 1116 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_hqvdp_atomic_update() local 1120 struct drm_crtc *crtc = newstate->crtc; in sti_hqvdp_atomic_update() 1121 struct drm_framebuffer *fb = newstate->fb; in sti_hqvdp_atomic_update() 1133 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update() 1134 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update() 1135 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update() 1136 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update() 1137 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update() 1138 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update() 1139 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update() [all …]
|
D | sti_cursor.c | 261 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in sti_cursor_atomic_update() local 265 struct drm_crtc *crtc = newstate->crtc; in sti_cursor_atomic_update() 266 struct drm_framebuffer *fb = newstate->fb; in sti_cursor_atomic_update() 277 dst_x = newstate->crtc_x; in sti_cursor_atomic_update() 278 dst_y = newstate->crtc_y; in sti_cursor_atomic_update()
|
/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()
|
/drivers/gpu/drm/stm/ |
D | ltdc.c | 787 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, in ltdc_plane_atomic_update() local 789 struct drm_framebuffer *fb = newstate->fb; in ltdc_plane_atomic_update() 791 u32 x0 = newstate->crtc_x; in ltdc_plane_atomic_update() 792 u32 x1 = newstate->crtc_x + newstate->crtc_w - 1; in ltdc_plane_atomic_update() 793 u32 y0 = newstate->crtc_y; in ltdc_plane_atomic_update() 794 u32 y1 = newstate->crtc_y + newstate->crtc_h - 1; in ltdc_plane_atomic_update() 799 if (!newstate->crtc || !fb) { in ltdc_plane_atomic_update() 805 src_x = newstate->src_x >> 16; in ltdc_plane_atomic_update() 806 src_y = newstate->src_y >> 16; in ltdc_plane_atomic_update() 807 src_w = newstate->src_w >> 16; in ltdc_plane_atomic_update() [all …]
|
/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()
|
/drivers/net/wireless/ath/carl9170/ |
D | carl9170.h | 508 enum carl9170_device_state newstate) in __carl9170_set_state() argument 510 ar->state = newstate; in __carl9170_set_state() 514 enum carl9170_device_state newstate) in carl9170_set_state() argument 519 __carl9170_set_state(ar, newstate); in carl9170_set_state() 524 enum carl9170_device_state min, enum carl9170_device_state newstate) in carl9170_set_state_when() argument 530 __carl9170_set_state(ar, newstate); in carl9170_set_state_when()
|
/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()
|
/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()
|
/drivers/usb/phy/ |
D | phy-fsl-usb.h | 287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
|
/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);
|
D | phy_cmn.c | 714 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_clk_state_upd() argument 721 pi->sh->clk = newstate; in wlc_phy_hw_clk_state_upd() 724 void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_state_upd() argument 731 pi->sh->up = newstate; in wlc_phy_hw_state_upd()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.h | 627 enum vchiq_connstate newstate); 630 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
|
D | vchiq_core.c | 228 vchiq_set_service_state(struct vchiq_service *service, int newstate) in vchiq_set_service_state() argument 233 srvstate_names[newstate]); in vchiq_set_service_state() 234 service->srvstate = newstate; in vchiq_set_service_state() 488 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate) in vchiq_set_conn_state() argument 494 conn_state_names[newstate]); in vchiq_set_conn_state() 495 state->conn_state = newstate; in vchiq_set_conn_state() 496 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state() 2756 int newstate; in close_service_complete() local 2766 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2768 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
D | vchiq_arm.c | 1733 enum vchiq_connstate newstate) in vchiq_platform_conn_state_changed() argument 1739 get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 192 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() argument 199 switch (newstate) { in qib_set_linkstate()
|
/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 740 __string(newstate, nstate) 744 __assign_str(newstate, nstate); 749 __get_str(newstate)
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 1165 flstate_t oldstate, newstate; in xip_wait_for_operation() local 1211 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation() 1216 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation() 1219 chip->state = newstate; in xip_wait_for_operation() 1235 while (chip->state != newstate) { in xip_wait_for_operation()
|