| /linux/drivers/gpu/drm/ingenic/ |
| H A 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 …]
|
| H A D | ingenic-drm-drv.c | 666 struct drm_plane_state *newstate = drm_atomic_get_new_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 675 if (newstate && newstate->fb) { in ingenic_drm_plane_atomic_update() 677 drm_fb_dma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update() 679 crtc_state = newstate->crtc->state; in ingenic_drm_plane_atomic_update() 682 addr = drm_fb_dma_get_gem_addr(newstate->fb, newstate, 0); in ingenic_drm_plane_atomic_update() 683 width = newstate->src_w >> 16; in ingenic_drm_plane_atomic_update() 684 height = newstate->src_h >> 16; in ingenic_drm_plane_atomic_update() 685 cpp = newstate->fb->format->cpp[0]; in ingenic_drm_plane_atomic_update() 703 switch (newstate->fb->format->format) { in ingenic_drm_plane_atomic_update() 723 fourcc = newstate->fb->format->format; in ingenic_drm_plane_atomic_update()
|
| /linux/kernel/time/ |
| H A D | timer_migration.c | 664 union tmigr_state curstate, newstate; in tmigr_active_up() local 677 newstate = curstate; in tmigr_active_up() 680 if (newstate.migrator == TMIGR_NONE) { in tmigr_active_up() 681 newstate.migrator = childmask; in tmigr_active_up() 687 newstate.active |= childmask; in tmigr_active_up() 688 newstate.seq++; in tmigr_active_up() 690 } while (!atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)); in tmigr_active_up() 692 trace_tmigr_group_set_cpu_active(group, newstate, childmask); in tmigr_active_up() 1276 union tmigr_state curstate, newstate, childstate; in tmigr_inactive_up() local 1295 newstate = curstate; in tmigr_inactive_up() [all …]
|
| /linux/drivers/s390/net/ |
| H A 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/tools/testing/selftests/bpf/progs/ |
| H A 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/include/trace/events/ |
| H A 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) 166 __entry->newstate = newstate; 183 TP_printk("family=%s protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", 190 show_tcp_state_name(__entry->newstate))
|
| /linux/kernel/ |
| H A D | stop_machine.c | 180 enum multi_stop_state newstate) in set_state() argument 185 WRITE_ONCE(msdata->state, newstate); in set_state() 204 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local 228 newstate = READ_ONCE(msdata->state); in multi_cpu_stop() 229 if (newstate != curstate) { in multi_cpu_stop() 230 curstate = newstate; in multi_cpu_stop()
|
| /linux/drivers/isdn/mISDN/ |
| H A 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/drivers/s390/char/ |
| H A D | tape_core.c | 186 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set() argument 202 if (newstate < TS_SIZE && newstate >= 0) in tape_state_set() 203 str = tape_state_verbose[newstate]; in tape_state_set() 207 device->tape_state = newstate; in tape_state_set() 262 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set() argument 267 if (oldstate == newstate) in tape_med_state_set() 269 device->medium_state = newstate; in tape_med_state_set() 270 switch(newstate){ in tape_med_state_set()
|
| /linux/drivers/cpufreq/ |
| H A 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/drivers/usb/phy/ |
| H A D | phy-fsl-usb.h | 287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A 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);
|
| H A D | phy_cmn.c | 680 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_clk_state_upd() argument 687 pi->sh->clk = newstate; in wlc_phy_hw_clk_state_upd() 690 void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_state_upd() argument 697 pi->sh->up = newstate; in wlc_phy_hw_state_upd()
|
| /linux/arch/x86/kernel/ |
| H A D | smpboot.c | 1366 u32 newstate = CPUDEAD_MWAIT_KEXEC_HLT; in smp_kick_mwait_play_dead() local 1378 for (i = 0; READ_ONCE(md->status) != newstate && i < 1000; i++) { in smp_kick_mwait_play_dead() 1380 WRITE_ONCE(md->control, newstate); in smp_kick_mwait_play_dead() 1384 if (READ_ONCE(md->status) != newstate) in smp_kick_mwait_play_dead()
|
| /linux/include/linux/raspberrypi/ |
| H A D | vchiq_core.h | 630 enum vchiq_connstate newstate); 632 void vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_core.c | 221 set_service_state(struct vchiq_service *service, int newstate) in set_service_state() argument 226 srvstate_names[newstate]); in set_service_state() 227 service->srvstate = newstate; in set_service_state() 492 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate) in vchiq_set_conn_state() argument 497 state->id, conn_state_names[oldstate], conn_state_names[newstate]); in vchiq_set_conn_state() 498 state->conn_state = newstate; in vchiq_set_conn_state() 499 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state() 2968 int newstate; in close_service_complete() local 2978 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2980 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
| H A D | vchiq_arm.c | 1335 enum vchiq_connstate newstate) in vchiq_platform_conn_state_changed() argument 1341 state->id, get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 243 void netif_set_operstate(struct net_device *dev, int newstate);
|
| /linux/fs/nfs/ |
| H A D | nfs4state.c | 727 fmode_t newstate; in __nfs4_close() local 742 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close() 745 newstate &= ~FMODE_READ; in __nfs4_close() 750 newstate &= ~FMODE_WRITE; in __nfs4_close() 754 if (newstate == 0) in __nfs4_close() 757 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
|
| /linux/kernel/rcu/ |
| H A D | rcutorture.c | 2110 static void rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, in rcutorture_one_extend() argument 2119 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 2120 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 2126 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 2206 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend() 2216 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend() 2432 int newstate; in rcu_torture_one_read() local 2437 newstate = rcutorture_extend_mask(rtors.readstate, trsp); in rcu_torture_one_read() 2438 WARN_ON_ONCE(newstate & RCUTORTURE_RDR_UPDOWN); in rcu_torture_one_read() 2439 rcutorture_one_extend(&rtors.readstate, newstate, trsp, rtors.rtrsp++); in rcu_torture_one_read()
|
| H A D | tasks.h | 225 static void set_tasks_gp_state(struct rcu_tasks *rtp, int newstate) in set_tasks_gp_state() argument 227 rtp->gp_state = newstate; in set_tasks_gp_state()
|
| /linux/arch/arm64/kernel/ |
| H A D | ptrace.c | 623 struct user_fpsimd_state newstate; in __fpr_set() local 631 newstate = target->thread.uw.fpsimd_state; in __fpr_set() 633 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set() 634 start_pos, start_pos + sizeof(newstate)); in __fpr_set() 638 target->thread.uw.fpsimd_state = newstate; in __fpr_set()
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 1208 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() argument 1210 if (clp->cl_cb_state != newstate) { in nfsd4_mark_cb_state() 1211 clp->cl_cb_state = newstate; in nfsd4_mark_cb_state()
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0001.c | 1162 flstate_t oldstate, newstate; in xip_wait_for_operation() local 1208 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation() 1213 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation() 1216 chip->state = newstate; in xip_wait_for_operation() 1232 while (chip->state != newstate) { in xip_wait_for_operation()
|
| /linux/net/ipv4/ |
| H A D | af_inet.c | 1358 void inet_sk_state_store(struct sock *sk, int newstate) in inet_sk_state_store() argument 1360 trace_inet_sock_set_state(sk, sk->sk_state, newstate); in inet_sk_state_store() 1361 smp_store_release(&sk->sk_state, newstate); in inet_sk_state_store()
|