Home
last modified time | relevance | path

Searched refs:newstate (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/cpufreq/
Dp4-clockmod.c52 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()
Dpowernow-k8.c924 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()
/kernel/linux/linux-5.10/include/trace/events/
Dsock.h142 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))
/kernel/linux/linux-5.10/drivers/s390/net/
Dfsm.h192 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()
/kernel/linux/linux-5.10/kernel/
Dsmpboot.c468 int newstate; in cpu_report_death() local
474 newstate = CPU_DEAD; in cpu_report_death()
476 newstate = CPU_DEAD_FROZEN; in cpu_report_death()
478 oldstate, newstate) != oldstate); in cpu_report_death()
479 return newstate == CPU_DEAD; in cpu_report_death()
Dstop_machine.c166 enum multi_stop_state newstate) in set_state() argument
171 WRITE_ONCE(msdata->state, newstate); in set_state()
190 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local
214 newstate = READ_ONCE(msdata->state); in multi_cpu_stop()
215 if (newstate != curstate) { in multi_cpu_stop()
216 curstate = newstate; in multi_cpu_stop()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-fsl-ftm.c230 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dcarl9170.h508 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()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dfsm.c86 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()
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_core.c187 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()
/kernel/linux/linux-5.10/kernel/rcu/
Drcu.h48 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument
50 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state()
51 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
Drcutorture.c1224 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument
1231 int statesnew = ~*readstate & newstate; in rcutorture_one_extend()
1232 int statesold = *readstate & ~newstate; in rcutorture_one_extend()
1236 rtrsp->rt_readstate = newstate; in rcutorture_one_extend()
1280 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend()
1288 *readstate = idxnew | newstate; in rcutorture_one_extend()
1379 int newstate; in rcu_torture_one_read() local
1389 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read()
1390 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++); in rcu_torture_one_read()
Dtasks.h132 static void set_tasks_gp_state(struct rcu_tasks *rtp, int newstate) in set_tasks_gp_state() argument
134 rtp->gp_state = newstate; in set_tasks_gp_state()
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-fsl-usb.h287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_hal.h182 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);
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c136 vchiq_set_service_state(struct vchiq_service *service, int newstate) in vchiq_set_service_state() argument
141 srvstate_names[newstate]); in vchiq_set_service_state()
142 service->srvstate = newstate; in vchiq_set_service_state()
393 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate) in vchiq_set_conn_state() argument
399 conn_state_names[newstate]); in vchiq_set_conn_state()
400 state->conn_state = newstate; in vchiq_set_conn_state()
401 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state()
2607 int newstate; in close_service_complete() local
2617 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete()
2619 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete()
[all …]
Dvchiq_core.h687 enum vchiq_connstate newstate);
690 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dptrace.c630 struct user_fpsimd_state newstate; in __fpr_set() local
638 newstate = target->thread.uw.fpsimd_state; in __fpr_set()
640 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set()
641 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
645 target->thread.uw.fpsimd_state = newstate; in __fpr_set()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_driver.c192 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() argument
199 switch (newstate) { in qib_set_linkstate()
/kernel/linux/linux-5.10/include/net/
Dinet_sock.h336 void inet_sk_state_store(struct sock *sk, int newstate);
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4state.c786 fmode_t newstate; in __nfs4_close() local
801 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close()
804 newstate &= ~FMODE_READ; in __nfs4_close()
809 newstate &= ~FMODE_WRITE; in __nfs4_close()
813 if (newstate == 0) in __nfs4_close()
816 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_tx.h782 __string(newstate, nstate)
786 __assign_str(newstate, nstate);
791 __get_str(newstate)
/kernel/linux/linux-5.10/kernel/time/
Dhrtimer.c1008 u8 newstate, int reprogram) in __remove_hrtimer() argument
1019 WRITE_ONCE(timer->state, newstate | (timer->state & HRTIMER_STATE_PINNED)); in __remove_hrtimer()
1021 WRITE_ONCE(timer->state, newstate); in __remove_hrtimer()
/kernel/linux/linux-5.10/drivers/mtd/chips/
Dcfi_cmdset_0001.c1148 flstate_t oldstate, newstate; in xip_wait_for_operation() local
1194 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation()
1199 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation()
1202 chip->state = newstate; in xip_wait_for_operation()
1218 while (chip->state != newstate) { in xip_wait_for_operation()
/kernel/linux/linux-5.10/net/ipv4/
Daf_inet.c1334 void inet_sk_state_store(struct sock *sk, int newstate) in inet_sk_state_store() argument
1336 trace_inet_sock_set_state(sk, sk->sk_state, newstate); in inet_sk_state_store()
1337 smp_store_release(&sk->sk_state, newstate); in inet_sk_state_store()

12