Home
last modified time | relevance | path

Searched refs:astate (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/altera-stapl/
Daltera-jtag.c34 astate->config->jtag_io(astate->config->dev, a, b, c);
89 int altera_jinit(struct altera_state *astate) in altera_jinit() argument
91 struct altera_jtag *js = &astate->js; in altera_jinit()
286 static void altera_jreset_idle(struct altera_state *astate) in altera_jreset_idle() argument
288 struct altera_jtag *js = &astate->js; in altera_jreset_idle()
299 int altera_goto_jstate(struct altera_state *astate, in altera_goto_jstate() argument
302 struct altera_jtag *js = &astate->js; in altera_goto_jstate()
309 altera_jreset_idle(astate); in altera_goto_jstate()
351 int altera_wait_cycles(struct altera_state *astate, in altera_wait_cycles() argument
355 struct altera_jtag *js = &astate->js; in altera_wait_cycles()
[all …]
Daltera-jtag.h84 int altera_jinit(struct altera_state *astate);
95 int altera_goto_jstate(struct altera_state *astate,
97 int altera_wait_cycles(struct altera_state *astate, s32 cycles,
99 int altera_wait_msecs(struct altera_state *astate, s32 microseconds,
101 int altera_irscan(struct altera_state *astate, u32 count,
103 int altera_swap_ir(struct altera_state *astate,
107 int altera_drscan(struct altera_state *astate, u32 count,
109 int altera_swap_dr(struct altera_state *astate, u32 count,
112 void altera_free_buffers(struct altera_state *astate);
Daltera.c218 static int altera_execute(struct altera_state *astate, in altera_execute() argument
225 struct altera_config *aconf = astate->config; in altera_execute()
226 char *msg_buff = astate->msg_buff; in altera_execute()
227 long *stack = astate->stack; in altera_execute()
436 altera_jinit(astate); in altera_execute()
735 status = altera_drscan(astate, count, charbuf, 0); in altera_execute()
748 status = altera_swap_dr(astate, count, charbuf, in altera_execute()
763 status = altera_irscan(astate, count, charbuf, 0); in altera_execute()
776 status = altera_swap_ir(astate, count, charbuf, in altera_execute()
784 status = altera_set_dr_pre(&astate->js, count, 0, NULL); in altera_execute()
[all …]
/drivers/cpufreq/
Dpasemi-cpufreq.c75 static int get_astate_freq(int astate) in get_astate_freq() argument
78 ret = in_le32(sdcpwr_mapbase + SDCPWR_CFGA0_REG + (astate * 0x10)); in get_astate_freq()
108 static void set_astate(int cpu, unsigned int astate) in set_astate() argument
118 out_le32(sdcasr_mapbase + SDCASR_REG + SDCASR_REG_STRIDE*cpu, astate); in set_astate()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c216 clk->astate, clk->tstate, clk->dstate); in nvkm_pstate_work()
220 pstate = (pstate < 0) ? clk->astate : pstate; in nvkm_pstate_work()
438 if (!rel) clk->astate = req; in nvkm_clk_astate()
439 if ( rel) clk->astate += rel; in nvkm_clk_astate()
440 clk->astate = min(clk->astate, clk->state_nr - 1); in nvkm_clk_astate()
441 clk->astate = max(clk->astate, 0); in nvkm_clk_astate()
521 clk->astate = clk->state_nr - 1; in nvkm_clk_init()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h92 int astate; /* perfmon adjustment (base) */ member