Home
last modified time | relevance | path

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

/drivers/misc/altera-stapl/
Daltera-jtag.c20 astate->config->jtag_io(astate->config->dev, a, b, c);
75 int altera_jinit(struct altera_state *astate) in altera_jinit() argument
77 struct altera_jtag *js = &astate->js; in altera_jinit()
272 static void altera_jreset_idle(struct altera_state *astate) in altera_jreset_idle() argument
274 struct altera_jtag *js = &astate->js; in altera_jreset_idle()
285 int altera_goto_jstate(struct altera_state *astate, in altera_goto_jstate() argument
288 struct altera_jtag *js = &astate->js; in altera_goto_jstate()
295 altera_jreset_idle(astate); in altera_goto_jstate()
337 int altera_wait_cycles(struct altera_state *astate, in altera_wait_cycles() argument
341 struct altera_jtag *js = &astate->js; in altera_wait_cycles()
[all …]
Daltera-jtag.h70 int altera_jinit(struct altera_state *astate);
81 int altera_goto_jstate(struct altera_state *astate,
83 int altera_wait_cycles(struct altera_state *astate, s32 cycles,
85 int altera_wait_msecs(struct altera_state *astate, s32 microseconds,
87 int altera_irscan(struct altera_state *astate, u32 count,
89 int altera_swap_ir(struct altera_state *astate,
93 int altera_drscan(struct altera_state *astate, u32 count,
95 int altera_swap_dr(struct altera_state *astate, u32 count,
98 void altera_free_buffers(struct altera_state *astate);
Daltera.c204 static int altera_execute(struct altera_state *astate, in altera_execute() argument
211 struct altera_config *aconf = astate->config; in altera_execute()
212 char *msg_buff = astate->msg_buff; in altera_execute()
213 long *stack = astate->stack; in altera_execute()
422 altera_jinit(astate); in altera_execute()
721 status = altera_drscan(astate, count, charbuf, 0); in altera_execute()
734 status = altera_swap_dr(astate, count, charbuf, in altera_execute()
749 status = altera_irscan(astate, count, charbuf, 0); in altera_execute()
762 status = altera_swap_ir(astate, count, charbuf, in altera_execute()
770 status = altera_set_dr_pre(&astate->js, count, 0, NULL); in altera_execute()
[all …]
/drivers/cpufreq/
Dpasemi-cpufreq.c63 static int get_astate_freq(int astate) in get_astate_freq() argument
66 ret = in_le32(sdcpwr_mapbase + SDCPWR_CFGA0_REG + (astate * 0x10)); in get_astate_freq()
96 static void set_astate(int cpu, unsigned int astate) in set_astate() argument
106 out_le32(sdcasr_mapbase + SDCASR_REG + SDCASR_REG_STRIDE*cpu, astate); in set_astate()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c312 clk->astate, clk->temp, clk->dstate); in nvkm_pstate_work()
316 pstate = (pstate < 0) ? clk->astate : pstate; in nvkm_pstate_work()
536 if (!rel) clk->astate = req; in nvkm_clk_astate()
537 if ( rel) clk->astate += rel; in nvkm_clk_astate()
538 clk->astate = min(clk->astate, clk->state_nr - 1); in nvkm_clk_astate()
539 clk->astate = max(clk->astate, 0); in nvkm_clk_astate()
618 clk->astate = clk->state_nr - 1; in nvkm_clk_init()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h102 int astate; /* perfmon adjustment (base) */ member