Home
last modified time | relevance | path

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

/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.c933 unsigned newstate; member
940 unsigned newstate = pta->newstate; in powernowk8_target_fn() local
958 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn()
976 powernow_k8_acpi_pst_values(data, newstate); in powernowk8_target_fn()
978 ret = transition_frequency_fidvid(data, newstate, pol); in powernowk8_target_fn()
995 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target()
/drivers/s390/net/
Dfsm.h191 fsm_newstate(fsm_instance *fi, int newstate) in fsm_newstate() argument
193 atomic_set(&fi->state,newstate); in fsm_newstate()
195 fsm_record_history(fi, newstate, -1); in fsm_newstate()
199 fi->f->state_names[newstate]); in fsm_newstate()
/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()
/drivers/isdn/hisax/
Dfsm.c79 FsmChangeState(struct FsmInst *fi, int newstate) in FsmChangeState() argument
81 fi->state = newstate; in FsmChangeState()
84 fi->fsm->strState[newstate]); in FsmChangeState()
Dfsm.h53 void FsmChangeState(struct FsmInst *fi, int newstate);
Dhisax.h1279 void FsmChangeState(struct FsmInst *fi, int newstate);
/drivers/isdn/mISDN/
Dfsm.c90 mISDN_FsmChangeState(struct FsmInst *fi, int newstate) in mISDN_FsmChangeState() argument
92 fi->state = newstate; in mISDN_FsmChangeState()
95 fi->fsm->strState[newstate]); in mISDN_FsmChangeState()
/drivers/s390/char/
Dtape_core.c186 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()
/drivers/usb/phy/
Dphy-fsl-usb.h301 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
/drivers/media/usb/usbvision/
Dusbvision-core.c1141 enum parse_state newstate; in usbvision_parse_data() local
1150 newstate = parse_state_out; in usbvision_parse_data()
1153 newstate = usbvision_find_header(usbvision); in usbvision_parse_data()
1156 newstate = usbvision_parse_lines_420(usbvision, &copylen); in usbvision_parse_data()
1158 newstate = usbvision_parse_lines_422(usbvision, &copylen); in usbvision_parse_data()
1160 newstate = usbvision_parse_compress(usbvision, &copylen); in usbvision_parse_data()
1163 if (newstate == parse_state_continue) in usbvision_parse_data()
1165 if ((newstate == parse_state_next_frame) || (newstate == parse_state_out)) in usbvision_parse_data()
1170 if (newstate == parse_state_next_frame) { in usbvision_parse_data()
/drivers/net/wireless/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);
Dphy_cmn.c725 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_clk_state_upd() argument
732 pi->sh->clk = newstate; in wlc_phy_hw_clk_state_upd()
735 void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_state_upd() argument
742 pi->sh->up = newstate; in wlc_phy_hw_state_upd()
/drivers/infiniband/hw/qib/
Dqib_driver.c197 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() argument
204 switch (newstate) { in qib_set_linkstate()
/drivers/mtd/chips/
Dcfi_cmdset_0001.c1135 flstate_t oldstate, newstate; in xip_wait_for_operation() local
1181 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation()
1186 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation()
1189 chip->state = newstate; in xip_wait_for_operation()
1205 while (chip->state != newstate) { in xip_wait_for_operation()
/drivers/staging/rdma/hfi1/
Dtrace.h1238 __string(newstate, nstate)
1243 __assign_str(newstate, nstate);
1248 __get_str(newstate)
/drivers/staging/rdma/ipath/
Dipath_driver.c2006 int ipath_set_linkstate(struct ipath_devdata *dd, u8 newstate) in ipath_set_linkstate() argument
2011 switch (newstate) { in ipath_set_linkstate()
2113 ipath_dbg("Invalid linkstate 0x%x requested\n", newstate); in ipath_set_linkstate()