scan_field.in_value = NULL;
scan_field.in_check_value = NULL;
scan_field.in_check_mask = NULL;
- scan_field.in_handler = virtex2_jtag_buf_to_u32;
+ scan_field.in_handler = virtex2_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
virtex2_set_instr(virtex2_info->tap, 0x4); /* CFG_OUT */
arm11_setup_field(arm11, 5, &chain, NULL, &field);
- field.in_handler = arm11_in_handler_SCAN_N;
+ field.in_handler = arm11_in_handler_SCAN_N; /* deprecated! invoke this from user code! */
arm11_add_dr_scan_vc(1, &field, state == ARM11_TAP_DEFAULT ? TAP_DRPAUSE : state);
}
fields[1].in_value = NULL;
if (in)
{
- fields[1].in_handler = arm_jtag_buf_to_u32_flip;
+ fields[1].in_handler = arm_jtag_buf_to_u32_flip; /* deprecated! invoke this from user code! */
fields[1].in_handler_priv = in;
} else
{
fields[1].out_value = NULL;
fields[1].out_mask = NULL;
fields[1].in_value = NULL;
- fields[1].in_handler = arm_jtag_buf_to_u32_flip;
+ fields[1].in_handler = arm_jtag_buf_to_u32_flip; /* deprecated! invoke this from user code! */
fields[1].in_handler_priv = in;
fields[1].in_check_value = NULL;
fields[1].in_check_mask = NULL;
switch (size)
{
case 4:
- fields[1].in_handler = (be) ? arm_jtag_buf_to_be32_flip : arm_jtag_buf_to_le32_flip;
+ fields[1].in_handler = (be) ? arm_jtag_buf_to_be32_flip : arm_jtag_buf_to_le32_flip; /* deprecated! invoke this from user code! */
break;
case 2:
- fields[1].in_handler = (be) ? arm_jtag_buf_to_be16_flip : arm_jtag_buf_to_le16_flip;
+ fields[1].in_handler = (be) ? arm_jtag_buf_to_be16_flip : arm_jtag_buf_to_le16_flip; /* deprecated! invoke this from user code! */
break;
case 1:
- fields[1].in_handler = arm_jtag_buf_to_8_flip;
+ fields[1].in_handler = arm_jtag_buf_to_8_flip; /* deprecated! invoke this from user code! */
break;
}
fields[1].in_handler_priv = in;
jtag_add_dr_scan(4, fields, TAP_INVALID);
fields[1].in_handler_priv = value;
- fields[1].in_handler = arm_jtag_buf_to_u32;
+ fields[1].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
jtag_add_dr_scan(4, fields, TAP_INVALID);
jtag_add_dr_scan(4, fields, TAP_INVALID);
fields[0].in_handler_priv = value;
- fields[0].in_handler = arm_jtag_buf_to_u32;
+ fields[0].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
/*TODO: add timeout*/
do
jtag_add_dr_scan(3, fields, TAP_INVALID);
fields[0].in_handler_priv = value;
- fields[0].in_handler = arm_jtag_buf_to_u32;
+ fields[0].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
jtag_add_dr_scan(3, fields, TAP_INVALID);
fields[0].in_value = NULL;
if (in)
{
- fields[0].in_handler = arm_jtag_buf_to_u32;
+ fields[0].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
fields[0].in_handler_priv = in;
}
else
fields[0].out_value = NULL;
fields[0].out_mask = NULL;
fields[0].in_value = NULL;
- fields[0].in_handler = arm_jtag_buf_to_u32;
+ fields[0].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
fields[0].in_handler_priv = in;
fields[0].in_check_value = NULL;
fields[0].in_check_mask = NULL;
switch (size)
{
case 4:
- fields[0].in_handler = (be) ? arm_jtag_buf_to_be32 : arm_jtag_buf_to_le32;
+ fields[0].in_handler = (be) ? arm_jtag_buf_to_be32 : arm_jtag_buf_to_le32; /* deprecated! invoke this from user code! */
break;
case 2:
- fields[0].in_handler = (be) ? arm_jtag_buf_to_be16 : arm_jtag_buf_to_le16;
+ fields[0].in_handler = (be) ? arm_jtag_buf_to_be16 : arm_jtag_buf_to_le16; /* deprecated! invoke this from user code! */
break;
case 1:
- fields[0].in_handler = arm_jtag_buf_to_8;
+ fields[0].in_handler = arm_jtag_buf_to_8; /* deprecated! invoke this from user code! */
break;
}
fields[0].in_handler_priv = in;
fields[1].in_value = NULL;
if (invalue)
{
- fields[1].in_handler = arm_jtag_buf_to_u32;
+ fields[1].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
fields[1].in_handler_priv = invalue;
}
else
if (size == 1)
buf_set_u32(fields[1].out_value, 0, 5, embeddedice_reg_arch_info[EICE_COMMS_CTRL]);
- fields[0].in_handler = arm_jtag_buf_to_u32;
+ fields[0].in_handler = arm_jtag_buf_to_u32; /* deprecated! invoke this from user code! */
fields[0].in_handler_priv = data;
jtag_add_dr_scan(3, fields, TAP_INVALID);
jtag_add_dr_scan(3, fields, TAP_INVALID);
- fields[0].in_handler = buf_to_u32_handler;
+ fields[0].in_handler = buf_to_u32_handler; /* deprecated! invoke this from user code! */
for (i = 0; i < num_frames; i++)
{
for (i = words_done; i < num_words; i++)
{
fields[0].in_value = &field0[i];
- fields[1].in_handler = buf_to_u32_handler;
- fields[1].in_handler_priv = (u8*)&field1[i];
+ fields[1].in_handler = buf_to_u32_handler; /* deprecated! invoke this from user code! */
+ fields[1].in_handler_priv = (u8*)&field1[i];
jtag_add_pathmove(3, path);
jtag_add_dr_scan(3, fields, TAP_IDLE);