Lines Matching refs:astate
204 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()
718 status = altera_drscan(astate, count, charbuf, 0); in altera_execute()
731 status = altera_swap_dr(astate, count, charbuf, in altera_execute()
746 status = altera_irscan(astate, count, charbuf, 0); in altera_execute()
759 status = altera_swap_ir(astate, count, charbuf, in altera_execute()
767 status = altera_set_dr_pre(&astate->js, count, 0, NULL); in altera_execute()
780 status = altera_set_dr_pre(&astate->js, count, 0, in altera_execute()
790 status = altera_set_dr_post(&astate->js, count, in altera_execute()
805 status = altera_set_dr_post(&astate->js, count, 0, in altera_execute()
811 status = altera_set_ir_pre(&astate->js, count, in altera_execute()
825 status = altera_set_ir_pre(&astate->js, count, in altera_execute()
836 status = altera_set_ir_post(&astate->js, count, in altera_execute()
851 status = altera_set_ir_post(&astate->js, count, 0, in altera_execute()
1026 status = altera_goto_jstate(astate, args[0]); in altera_execute()
1033 status = altera_goto_jstate(astate, args[0]); in altera_execute()
1040 status = altera_set_irstop(&astate->js, args[0]); in altera_execute()
1047 status = altera_set_drstop(&astate->js, args[0]); in altera_execute()
1343 status = altera_drscan(astate, long_count, in altera_execute()
1346 status = altera_irscan(astate, long_count, in altera_execute()
1373 status = altera_set_dr_pre(&astate->js, count, index, in altera_execute()
1396 status = altera_set_dr_post(&astate->js, count, index, in altera_execute()
1419 status = altera_set_ir_pre(&astate->js, count, index, in altera_execute()
1443 status = altera_set_ir_post(&astate->js, count, index, in altera_execute()
1924 status = altera_swap_dr(astate, in altera_execute()
1931 status = altera_swap_ir(astate, in altera_execute()
1955 status = altera_wait_cycles(astate, long_tmp, in altera_execute()
1961 status = altera_wait_msecs(astate, in altera_execute()
1966 status = altera_goto_jstate(astate, in altera_execute()
2075 altera_free_buffers(astate); in altera_execute()
2375 struct altera_state *astate = NULL; in altera_init() local
2402 astate = kzalloc(sizeof(struct altera_state), GFP_KERNEL); in altera_init()
2403 if (!astate) { in altera_init()
2408 astate->config = config; in altera_init()
2409 if (!astate->config->jtag_io) { in altera_init()
2411 astate->config->jtag_io = netup_jtag_io_lpt; in altera_init()
2464 exec_result = altera_execute(astate, (u8 *)fw->data, fw->size, in altera_init()
2471 if (astate->config->action == NULL) in altera_init()
2480 astate->config->action); in altera_init()
2485 kfree(astate); in altera_init()