altera_state
static void altera_jreset_idle(struct altera_state *astate)
int altera_goto_jstate(struct altera_state *astate,
int altera_wait_cycles(struct altera_state *astate,
int altera_wait_msecs(struct altera_state *astate,
static int alt_jtag_drscan(struct altera_state *astate,
static int alt_jtag_irscan(struct altera_state *astate,
int altera_irscan(struct altera_state *astate,
int altera_swap_ir(struct altera_state *astate,
int altera_jinit(struct altera_state *astate)
int altera_drscan(struct altera_state *astate,
int altera_swap_dr(struct altera_state *astate, u32 count,
void altera_free_buffers(struct altera_state *astate)
int altera_jinit(struct altera_state *astate);
int altera_goto_jstate(struct altera_state *astate,
int altera_wait_cycles(struct altera_state *astate, s32 cycles,
int altera_wait_msecs(struct altera_state *astate, s32 microseconds,
int altera_irscan(struct altera_state *astate, u32 count,
int altera_swap_ir(struct altera_state *astate,
int altera_drscan(struct altera_state *astate, u32 count,
int altera_swap_dr(struct altera_state *astate, u32 count,
void altera_free_buffers(struct altera_state *astate);
static int altera_execute(struct altera_state *astate,
struct altera_state *astate = NULL;
astate = kzalloc_obj(struct altera_state);