/* * Copyright (C) 2013 Samsung Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __CLOCKSOURCE_SAMSUNG_PWM_H #define __CLOCKSOURCE_SAMSUNG_PWM_H #include <linux/spinlock.h> #define SAMSUNG_PWM_NUM 5 /* * Following declaration must be in an ifdef due to this symbol being static * in pwm-samsung driver if the clocksource driver is not compiled in and the * spinlock is not shared between both drivers. */ #ifdef CONFIG_CLKSRC_SAMSUNG_PWM extern spinlock_t samsung_pwm_lock; #endif struct samsung_pwm_variant { u8 bits; u8 div_base; u8 tclk_mask; u8 output_mask; bool has_tint_cstat; }; void samsung_pwm_clocksource_init(void __iomem *base, unsigned int *irqs, struct samsung_pwm_variant *variant); #endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */ <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=1930b60352e7e195f55b27cde15d2a8f43342a8b'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/trace'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/trace?id=1930b60352e7e195f55b27cde15d2a8f43342a8b'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/trace?id=1930b60352e7e195f55b27cde15d2a8f43342a8b'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/include/trace?id=1930b60352e7e195f55b27cde15d2a8f43342a8b&id2=4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/trace'> <input type='hidden' name='id' value='1930b60352e7e195f55b27cde15d2a8f43342a8b'/><input type='hidden' name='id2' value='4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=1930b60352e7e195f55b27cde15d2a8f43342a8b&id2=4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include?id=1930b60352e7e195f55b27cde15d2a8f43342a8b&id2=4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'>include</a>/<a href='/cgit.cgi/linux/net-next.git/diff/include/trace?id=1930b60352e7e195f55b27cde15d2a8f43342a8b&id2=4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'>trace</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='1930b60352e7e195f55b27cde15d2a8f43342a8b'/><input type='hidden' name='id2' value='4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=1930b60352e7e195f55b27cde15d2a8f43342a8b&id2=4be9993493bc7ee3fdf950a83bc050a3e6cf2a45'>Diffstat</a> (limited to 'include/trace')</div><table summary='diffstat' class='diffstat'>