<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/rts5208/trace.h, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/rts5208/trace.h?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/rts5208/trace.h?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2018-06-28T13:10:47Z</updated>
<entry>
<title>staging: rtsx: remove rtsx_trace() and related code</title>
<updated>2018-06-28T13:10:47Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2018-06-18T14:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c238d7b1e5fd6416458d7a7295a6d20ab56a3baa'/>
<id>urn:sha1:c238d7b1e5fd6416458d7a7295a6d20ab56a3baa</id>
<content type='text'>
The driver has rather excessive amount of tracing code, which would be
better done using ftrace. This is obviously not a main feature of the
driver, and it should work just as well without it.

Removing it saves over 1300 lines of code and likely makes the driver
a bit faster by avoiding lots of calls into the timekeeping code.

I came across this while cleaning up the last users of the deprecated
getnstimeofday64() function, of which there is one in the now-removed
get_current_time() function of the rtsx driver that was only used for
tracing.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros</title>
<updated>2015-03-26T12:16:19Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2015-03-25T19:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=031366ea65495f787eb792a135f51c093d75a197'/>
<id>urn:sha1:031366ea65495f787eb792a135f51c093d75a197</id>
<content type='text'>
Remove these flow hiding macros.

Miscellanea:

o Add a macro and function to replace a large inline
o Simplify #includes
o Add trace.c and update Makefile
o Remove static inline filename function and use kbasename instead

This reduces object size quite a lot: ~350KB (x86-64 allyesconfig)

$ size drivers/staging/rts5208/built-in.o*
   text	   data	    bss	    dec	    hex	filename
 248385	  36728	  77888	 363001	  589f9	drivers/staging/rts5208/built-in.o.new
 506691	  83352	 115896	 705939	  ac593	drivers/staging/rts5208/built-in.o.old

Done via coccinelle script and some typing.

@@
expression chip;
expression ret;
@@

-	TRACE_RET(chip, ret);
+	rtsx_trace(chip);
+	return ret;

@@
expression chip;
identifier label;
@@

-	TRACE_GOTO(chip, label);
+	rtsx_trace(chip);
+	goto label;

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rts5208: Use dev_dbg and print_hex_dump_bytes to dump memory</title>
<updated>2014-08-16T19:23:13Z</updated>
<author>
<name>Fabio Falzoi</name>
<email>fabio.falzoi84@gmail.com</email>
</author>
<published>2014-08-05T21:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=69b8b22489f5edf1fde0d6958ab3881068701e6d'/>
<id>urn:sha1:69b8b22489f5edf1fde0d6958ab3881068701e6d</id>
<content type='text'>
Use dev_dbg with %*ph format specifier and print_hex_dump_bytes to dump memory
instead of relying on custom macro.

Signed-off-by: Fabio Falzoi &lt;fabio.falzoi84@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rts5208: Replace custom macro with dev_dbg</title>
<updated>2014-07-31T00:22:18Z</updated>
<author>
<name>Fabio Falzoi</name>
<email>fabio.falzoi84@gmail.com</email>
</author>
<published>2014-07-29T22:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bf6c0d110e0b7a06227f24a86249fad0a252eeea'/>
<id>urn:sha1:bf6c0d110e0b7a06227f24a86249fad0a252eeea</id>
<content type='text'>
Use dev_dbg macro to control tracing verbosity through dynamic debug facility.

Signed-off-by: Fabio Falzoi &lt;fabio.falzoi84@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: add support for rts5208 and rts5288</title>
<updated>2013-11-25T20:44:37Z</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2013-11-12T09:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fa590c222fbaa428edb2ce2194638906cea1400a'/>
<id>urn:sha1:fa590c222fbaa428edb2ce2194638906cea1400a</id>
<content type='text'>
There are still many rts5208/5288 card readers being used, but no
drivers are supported them in kernel now. This driver can make a
great convenience for people who use them.

Many other rts-series card reader are supported by mfd driver, but due
to much difference with others, rts5208/5288 can not add into mfd driver
pretty now, so we provide a separated driver here to support the device.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
