openocd/src/jtag
Antonio Borneo 1492a103db coding style: use ARRAY_SIZE() when possible
We have the macro ARRAY_SIZE() already available. Use it!

Issue identified by checkpatch script from Linux kernel v5.1 using
the command

	find src/ -type f -exec ./tools/scripts/checkpatch.pl \
	-q --types ARRAY_SIZE -f {} \;

Change-Id: Ic7da9b710edf118eacb08f9e222f34208c580842
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5198
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-02-15 15:37:40 +00:00
..
aice jtag_libusb_bulk_read|write: return error code instead of size 2020-01-22 05:33:31 +00:00
drivers coding style: use ARRAY_SIZE() when possible 2020-02-15 15:37:40 +00:00
hla adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
zy1000 adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
adapter.c jtag: adapter: rework adapter related commands 2020-01-29 05:33:39 +00:00
commands.c jtag: print an errmsg on using jtag API for non jtag transport 2020-01-14 11:38:23 +00:00
commands.h jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
core.c jtag: flush jtag queue after jtag_add_tlr() 2020-02-08 09:12:54 +00:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Convert DEBUG_JTAG_IO to LOG_DEBUG_IO 2019-06-04 21:48:39 +01:00
interface.h adi_v5_dapdirect: add support for adapter drivers that provide DAP API 2020-01-14 11:40:25 +00:00
interfaces.c jtag: drivers: xlnx-pcie-xvc: fix build after merge 2020-01-22 12:49:59 +00:00
interfaces.h adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
jtag.h adapter: add command "adapter [de]assert srst|trst [[de]assert srst|trst]" 2020-01-02 21:24:30 +00:00
Makefile.am jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: remove trailing whitespaces 2020-02-15 15:37:06 +00:00
swd.h swd: get rid of jtag queue to assert/deassert srst 2020-01-14 11:15:12 +00:00
tcl.c jtag: Fix copy-paste error in 'irscan' help 2020-02-09 20:06:32 +00:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00