openocd/src/jtag/drivers
Antonio Borneo 6cb5ba6f11 helper/command: change prototype of command_print/command_print_sameline
To prepare for handling TCL return values consistently, all calls
to command_print/command_print_sameline should switch to CMD as
first parameter.

Change prototype of command_print() and command_print_sameline()
to pass CMD instead of CMD_CTX.
Since the first parameter is currently not used, the change can be
done though scripts without manual coding.
This patch is created using the command:
	sed -i PATTERN $(find src/ doc/ -type f)
with all the following patters:
	's/\(command_print(cmd\)->ctx,/\1,/'
	's/\(command_print(CMD\)_CTX,/\1,/'
	's/\(command_print(struct command_\)context \*context,/\1invocation *cmd,/'
	's/\(command_print_sameline(cmd\)->ctx,/\1,/'
	's/\(command_print_sameline(CMD\)_CTX,/\1,/'
	's/\(command_print_sameline(struct command_\)context \*context,/\1invocation *cmd,/'

This change is inspired by http://openocd.zylin.com/1815 from Paul
Fertser but is now done through scripting.

Change-Id: I3386d8f96cdc477e7a2308dd18269de3bed04385
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/5081
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2019-05-14 19:37:11 +01:00
..
libjaylink@8645845c1a libjaylink: Update to latest Git version 2017-10-03 11:18:26 +01:00
OpenULINK Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
usb_blaster usb_blaster: Don't unnecessarily go through DR-/IR-Pause 2018-07-24 13:07:44 +01:00
versaloon Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
amt_jtagaccel.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
arm-jtag-ew.c Set empty usage field for commands that do not need parameters 2019-04-07 08:19:34 +01:00
at91rm9200.c drivers/at91rm9200: fix help and usage to command "at91rm9200_device" 2019-04-07 08:18:48 +01:00
bcm2835gpio.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
bitbang.c drivers/bitbang: remove unused extern declaration of jtag_interface 2019-02-07 19:32:14 +00:00
bitbang.h Add read buffer to bitbang, improving performance. 2018-01-25 16:44:06 +00:00
bitq.c jtag/bitq: array boundary overflow 2018-11-10 21:15:39 +00:00
bitq.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
buspirate.c Set empty usage field for commands that do not need parameters 2019-04-07 08:19:34 +01:00
cmsis_dap_usb.c jtag: drivers: cmsis-dap: correct vendor request code 2019-02-25 23:53:48 +00:00
driver.c jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
dummy.c command_registration: add empty usage field to chained commands 2019-04-07 08:17:36 +01:00
ep93xx.c Add read buffer to bitbang, improving performance. 2018-01-25 16:44:06 +00:00
ft232r.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
ftdi.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
gw16012.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
imx_gpio.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
jlink.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
jtag_usb_common.c jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
jtag_usb_common.h jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
jtag_vpi.c Set TCP_NODELAY for local connections to jtag_vpi. 2018-11-26 09:35:48 +00:00
kitprog.c Fix warnings exposed by GCC8 2018-05-30 09:36:46 +01:00
libusb_common.h Convert to non-recursive make 2016-12-08 16:23:10 +00:00
libusb1_common.c jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
libusb1_common.h libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
libusb0_common.c libusb: add debug message on adapter not found due to wrong serial 2019-01-08 10:04:42 +00:00
libusb0_common.h libusb0: add compatibility define for transfer type bulk 2018-12-11 13:29:21 +00:00
Makefile.am jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
Makefile.rlink Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
minidriver_imp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mpsse.c ftdi: extend ftdi_location format 2018-09-10 11:55:43 +01:00
mpsse.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
opendous.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
openjtag.c libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
osbdm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
parport.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
presto.c Use timeval helpers 2018-01-25 16:43:49 +00:00
remote_bitbang.c Add read buffer to bitbang, improving performance. 2018-01-25 16:44:06 +00:00
rlink_call.m4 Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink_dtc_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink_ep1_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink_init.m4 Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink_speed_table.c
rlink_st7.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
stlink_usb.c stlink: Set speed before entering JTAG/SWD mode 2019-03-26 08:20:06 +00:00
sysfsgpio.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
ti_icdi_usb.c jtag: drivers: stlink: handle all versions with single config 2017-12-12 21:13:55 +00:00
ulink.c jtag: drivers: ulink: fix uninitialised variable warning 2016-12-25 09:17:30 +00:00
usb_common.c jtag/drivers/usb_common: return oocd error values 2019-01-08 10:02:43 +00:00
usb_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
usbprog.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
vsllink.c drivers/vsllink: add help and usage to commands 2019-04-07 08:18:18 +01:00
xds110.c drivers: xds110: Add support for XDS110 stand-alone probe 2019-01-08 09:49:03 +00:00