Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/cpufreq/
Dp4-clockmod.c57 static int cpufreq_p4_setdc(unsigned int cpu, unsigned int newstate) in cpufreq_p4_setdc() argument
61 if ((newstate > DC_DISABLE) || (newstate == DC_RESV)) in cpufreq_p4_setdc()
70 (newstate == DC_25PT || newstate == DC_DFLT)) in cpufreq_p4_setdc()
71 newstate = DC_38PT; in cpufreq_p4_setdc()
74 if (newstate == DC_DISABLE) { in cpufreq_p4_setdc()
79 cpu, ((125 * newstate) / 10)); in cpufreq_p4_setdc()
86 l = l | (1<<4) | ((newstate & 0x7)<<1); in cpufreq_p4_setdc()
Dpowernow-k8.c930 unsigned newstate; member
937 unsigned newstate = pta->newstate; in powernowk8_target_fn() local
955 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn()
973 powernow_k8_acpi_pst_values(data, newstate); in powernowk8_target_fn()
975 ret = transition_frequency_fidvid(data, newstate); in powernowk8_target_fn()
992 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target()
/Linux-v4.19/include/trace/events/
Dsock.h139 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate),
141 TP_ARGS(sk, oldstate, newstate),
146 __field(int, newstate)
164 __entry->newstate = newstate;
200 show_tcp_state_name(__entry->newstate))
/Linux-v4.19/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()
/Linux-v4.19/kernel/
Dsmpboot.c467 int newstate; in cpu_report_death() local
473 newstate = CPU_DEAD; in cpu_report_death()
475 newstate = CPU_DEAD_FROZEN; in cpu_report_death()
477 oldstate, newstate) != oldstate); in cpu_report_death()
478 return newstate == CPU_DEAD; in cpu_report_death()
Dstop_machine.c166 enum multi_stop_state newstate) in set_state() argument
171 msdata->state = newstate; in set_state()
/Linux-v4.19/drivers/isdn/hisax/
Dfsm.c81 FsmChangeState(struct FsmInst *fi, int newstate) in FsmChangeState() argument
83 fi->state = newstate; in FsmChangeState()
86 fi->fsm->strState[newstate]); in FsmChangeState()
Dfsm.h53 void FsmChangeState(struct FsmInst *fi, int newstate);
/Linux-v4.19/drivers/net/wireless/ath/carl9170/
Dcarl9170.h505 enum carl9170_device_state newstate) in __carl9170_set_state() argument
507 ar->state = newstate; in __carl9170_set_state()
511 enum carl9170_device_state newstate) in carl9170_set_state() argument
516 __carl9170_set_state(ar, newstate); in carl9170_set_state()
521 enum carl9170_device_state min, enum carl9170_device_state newstate) in carl9170_set_state_when() argument
527 __carl9170_set_state(ar, newstate); in carl9170_set_state_when()
/Linux-v4.19/drivers/isdn/mISDN/
Dfsm.c95 mISDN_FsmChangeState(struct FsmInst *fi, int newstate) in mISDN_FsmChangeState() argument
97 fi->state = newstate; in mISDN_FsmChangeState()
100 fi->fsm->strState[newstate]); in mISDN_FsmChangeState()
/Linux-v4.19/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()
/Linux-v4.19/kernel/rcu/
Drcu.h66 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument
68 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state()
69 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
Drcutorture.c1201 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument
1206 int statesnew = ~*readstate & newstate; in rcutorture_one_extend()
1207 int statesold = *readstate & ~newstate; in rcutorture_one_extend()
1233 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend()
1241 *readstate = idxnew | newstate; in rcutorture_one_extend()
1311 int newstate; in rcu_torture_one_read() local
1317 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read()
1318 rcutorture_one_extend(&readstate, newstate, trsp); in rcu_torture_one_read()
/Linux-v4.19/drivers/usb/phy/
Dphy-fsl-usb.h287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_hal.h193 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *ppi, bool newstate);
194 void wlc_phy_hw_state_upd(struct brcms_phy_pub *ppi, bool newstate);
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c1132 enum parse_state newstate; in usbvision_parse_data() local
1141 newstate = parse_state_out; in usbvision_parse_data()
1144 newstate = usbvision_find_header(usbvision); in usbvision_parse_data()
1147 newstate = usbvision_parse_lines_420(usbvision, &copylen); in usbvision_parse_data()
1149 newstate = usbvision_parse_lines_422(usbvision, &copylen); in usbvision_parse_data()
1151 newstate = usbvision_parse_compress(usbvision, &copylen); in usbvision_parse_data()
1154 if (newstate == parse_state_continue) in usbvision_parse_data()
1156 if ((newstate == parse_state_next_frame) || (newstate == parse_state_out)) in usbvision_parse_data()
1161 if (newstate == parse_state_next_frame) { in usbvision_parse_data()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.h696 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate);
702 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate);
Dvchiq_core.c158 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) in vchiq_set_service_state() argument
163 srvstate_names[newstate]); in vchiq_set_service_state()
164 service->srvstate = newstate; in vchiq_set_service_state()
411 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate) in vchiq_set_conn_state() argument
417 conn_state_names[newstate]); in vchiq_set_conn_state()
418 state->conn_state = newstate; in vchiq_set_conn_state()
419 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state()
2860 int newstate; in close_service_complete() local
2870 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete()
2872 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dptrace.c665 struct user_fpsimd_state newstate; in __fpr_set() local
673 newstate = target->thread.uw.fpsimd_state; in __fpr_set()
675 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set()
676 start_pos, start_pos + sizeof(newstate)); in __fpr_set()
680 target->thread.uw.fpsimd_state = newstate; in __fpr_set()
/Linux-v4.19/include/net/
Dinet_sock.h311 void inet_sk_state_store(struct sock *sk, int newstate);
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_driver.c196 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() argument
203 switch (newstate) { in qib_set_linkstate()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dtrace_tx.h698 __string(newstate, nstate)
702 __assign_str(newstate, nstate);
707 __get_str(newstate)
/Linux-v4.19/fs/nfs/
Dnfs4state.c766 fmode_t newstate; in __nfs4_close() local
781 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close()
784 newstate &= ~FMODE_READ; in __nfs4_close()
789 newstate &= ~FMODE_WRITE; in __nfs4_close()
793 if (newstate == 0) in __nfs4_close()
796 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c1144 flstate_t oldstate, newstate; in xip_wait_for_operation() local
1190 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation()
1195 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation()
1198 chip->state = newstate; in xip_wait_for_operation()
1214 while (chip->state != newstate) { in xip_wait_for_operation()
/Linux-v4.19/net/ipv4/
Daf_inet.c1285 void inet_sk_state_store(struct sock *sk, int newstate) in inet_sk_state_store() argument
1287 trace_inet_sock_set_state(sk, sk->sk_state, newstate); in inet_sk_state_store()
1288 smp_store_release(&sk->sk_state, newstate); in inet_sk_state_store()

12