plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | bcm2835_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/bcm2835_timer.c | 3,768 | utf_8 | dddd4727cbd9b8e11f0f3dabf449aa24 | /*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/bitops.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include ... |
google | android | timer-sun5i | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-sun5i.c | 9,283 | utf_8 | 2e132fdb8a03900659ac677f5cf6f11d | /*
* Allwinner SoCs hstimer driver.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/reset.h>
#include <linux/slab.h>
#include <linux... |
google | android | cs5535-clockevt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/cs5535-clockevt.c | 5,846 | utf_8 | fbc2f22779ef0c9a1edbba1871b66b0b | /*
* Clock event driver for the CS5535/CS5536
*
*
* The MFGPTs are documented in AMD Geode CS5536 Companion Device Data Book.
*/
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/cs5535.h>
#include <linux/clockchips.h>
#define DRV_NAME "cs5535-c... |
google | android | mips-gic-timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/mips-gic-timer.c | 5,199 | utf_8 | 5eae44cce775a8042c0b3a6a145b5450 | /*
* This file is subject to the terms and conditions of the GNU General Public
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irqchip/mips-gic.h>
#include <linux/notifier.h>
#include <linux/of_irq.h>
#include <linux/... |
google | android | sun4i_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/sun4i_timer.c | 5,766 | utf_8 | 9e7850a2ae06c8886d4c6d25ccc60520 | /*
* Allwinner A1X SoCs timer handling.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/sched_clock.h>
#include <linux/of.h>
#include <linux/of_address.h>
#i... |
google | android | h8300_tpu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/h8300_tpu.c | 4,361 | utf_8 | 32e652678c523a8d78cf240123447cb4 | /*
* H8/300 TPU Driver
*
*
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/clocksource.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/i... |
google | android | timer-digicolor | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-digicolor.c | 5,103 | utf_8 | 6d8650d800511648078e376cc82ec250 | /*
* Conexant Digicolor timer driver
*
* warranty of any kind, whether express or implied.
*/
/*
* Conexant Digicolor SoCs have 8 configurable timers, named from "Timer A" to
* "Timer H". Timer A is the only one with watchdog support, so it is dedicated
* to the watchdog driver. This driver uses Timer B for sche... |
google | android | timer-keystone | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-keystone.c | 5,537 | utf_8 | 85343bbd5874fcc5f3ebece4d7eab07c | /*
* Keystone broadcast clock-event
*
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#define TIMER_NAME "timer-keystone"
/* Timer register offsets */
#define TIM12 0x10
#define TIM34 ... |
google | android | i8253 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/i8253.c | 4,900 | utf_8 | 4ae753e4504c76219ed75a2a70ffe4bb | /*
* i8253 PIT clocksource
*/
#include <linux/clockchips.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/spinlock.h>
#include <linux/timex.h>
#include <linux/module.h>
#include <linux/i8253.h>
#include <linux/smp.h>
/*
* Protects access to I/O ports
*
* 0040-0043 : timer0, i8253 / i8254
* 0061-0... |
google | android | timer-imx-gpt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-imx-gpt.c | 14,711 | utf_8 | ee146547d04a84fe4b2621abf4f7e144 | /*
* linux/arch/arm/plat-mxc/time.c
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clockchips.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/sched_clock.h>
#inclu... |
google | android | cadence_ttc_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/cadence_ttc_timer.c | 14,818 | utf_8 | c7fc0d6517fe69712d3f9be6ae7c537c | /*
* This file contains driver for the Cadence Triple Timer Counter Rev 06
*
*/
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/clockchips.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/slab.h>
#include <linux/sched_clock.h>
/*
* This driver configures the 2 16/32-bit... |
google | android | time-orion | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/time-orion.c | 4,110 | utf_8 | c1ea6a9d1808cf68ece773de79e5f0b9 | /*
* Marvell Orion SoC timer handling.
*
* warranty of any kind, whether express or implied.
*
* Timer 0 is used as free-running clocksource, while timer 1 is
* used as clock_event_device.
*/
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/... |
google | android | mtk_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/mtk_timer.c | 7,190 | utf_8 | 0b709689b1508baf7d5ccebd1ce1dfe6 | /*
* Mediatek SoCs General-Purpose Timer handling.
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/sched_clock.h>
#include <linux/sl... |
google | android | time-lpc32xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/time-lpc32xx.c | 7,051 | utf_8 | bad2302393a9cb19059a90a3fcfc85ad | /*
* Clocksource driver for NXP LPC32xx/18xx/43xx timer
*
* warranty of any kind, whether express or implied.
*
*/
#define pr_fmt(fmt) "%s: " fmt, __func__
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.... |
google | android | meson6_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/meson6_timer.c | 4,433 | utf_8 | 15ef6fd2ff31a467e05064ef069a64e5 | /*
* Amlogic Meson6 SoCs timer handling.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/sched_clock.h>
#include <linux/of.h>
#include <linux/of_address.h>
#... |
google | android | clps711x-timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/clps711x-timer.c | 3,005 | utf_8 | 6ac9435d66863d8405d8071949b6443d | /*
* Cirrus Logic CLPS711X clocksource driver
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/sched_clock.h>
#inc... |
google | android | moxart_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/moxart_timer.c | 4,324 | utf_8 | fb739eec9611126555f394687e7f4f95 | /*
* MOXA ART SoCs timer handling.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <li... |
google | android | timer-ti-32k | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-ti-32k.c | 3,689 | utf_8 | ae7d2d63fcb0fab5ce95f33eaba5adac | /**
* timer-ti-32k.c - OMAP2 32k Timer Support
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
*/
#include <linux/init.h>
#include <linux/time.h>
#include <linux/sched_clock.h>
#include <linux/clocksource.h>
#include <linux/of.... |
google | android | arm_global_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/arm_global_timer.c | 8,453 | utf_8 | 3d008d8939544b46f62bb17dcca8e6d4 | /*
* drivers/clocksource/arm_global_timer.c
*
*/
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/cpu.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux... |
google | android | clksrc-probe | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/clksrc-probe.c | 1,391 | utf_8 | 83ebf7dc8d9db9e8b6658d5aaf3b417c | /*
*/
#include <linux/acpi.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/clocksource.h>
extern struct of_device_id __clksrc_of_table[];
static const struct of_device_id __clksrc_of_table_sentinel
__used __section(__clksrc_of_table_end);
void __init clocksource_probe(void)
{
struct device_node *np;... |
google | android | timer-u300 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-u300.c | 16,690 | utf_8 | 2de66d1c0344131af273c070f3aa56b4 | /*
*/
#include <linux/interrupt.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/types.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/of_address.h>
#in... |
google | android | metag_generic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/metag_generic.c | 4,977 | utf_8 | fd3820c236586943143ab6c924f134d3 | /*
*
*
* Support for Meta per-thread timers.
*
* Meta hardware threads have 2 timers. The background timer (TXTIMER) is used
* as a free-running time base (hz clocksource), and the interrupt timer
* (TXTIMERI) is used for the timer interrupt (clock event). Both counters
* traditionally count at approximately 1M... |
google | android | qcom-timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/qcom-timer.c | 6,860 | utf_8 | 8127b219e2627503df768c48100a6490 | /*
*
*
*/
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/sched_clock.h>
#include <asm/de... |
google | android | armv7m_systick | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/armv7m_systick.c | 1,713 | utf_8 | 9003e856bde70a9a434d6f42ee8d6ceb | /*
*/
#include <linux/kernel.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/clk.h>
#include <linux/bitops.h>
#define SYST_CSR 0x00
#define SYST_RVR 0x04
#define SYST_CVR 0x08
#define SYST_CALIB 0x0c
#define SYST_CSR_ENABLE BIT(0)
#def... |
google | android | zevio-timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/zevio-timer.c | 5,820 | utf_8 | 648af7edb9403d70a60fbfd46ffb0e42 | /*
* linux/drivers/clocksource/zevio-timer.c
*
*
*/
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/cpumask.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#define... |
google | android | tango_xtal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/tango_xtal.c | 1,484 | utf_8 | 19a16339d9f1286b41848a16be0035e8 | #include <linux/clocksource.h>
#include <linux/sched_clock.h>
#include <linux/of_address.h>
#include <linux/printk.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/clk.h>
static void __iomem *xtal_in_cnt;
static struct delay_timer delay_timer;
static unsigned long notrace read_xtal_counter(void)
{
... |
google | android | mxs_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/mxs_timer.c | 8,199 | utf_8 | 798acda348b3552bcda6b1483803c224 | /*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clockchips.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/stmp_d... |
google | android | timer-prima2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-prima2.c | 6,514 | utf_8 | fcd5f1b4bd4bfb0908320ff53249948c | /*
* System timer for CSR SiRFprimaII
*
*/
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/bitops.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/o... |
google | android | mmio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/mmio.c | 1,950 | utf_8 | 94797e6aba1b97ddf661022fa650dca8 | /*
* Generic MMIO clocksource support
*
*/
#include <linux/clocksource.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
struct clocksource_mmio {
void __iomem *reg;
struct clocksource clksrc;
};
static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c)
{
return contai... |
google | android | samsung_pwm_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/samsung_pwm_timer.c | 12,918 | utf_8 | 3b92313e20bb29b53c999cf311723dc4 | /*
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/platform_device.h>
#include <linux/slab.h>... |
google | android | timer-stm32 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-stm32.c | 4,643 | utf_8 | 97a86a3a552ca883a4b73c1ae8cdf671 | /*
*
* Inspired by time-efm32.c from Uwe Kleine-Koenig
*/
#include <linux/kernel.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/clk.h>
#include <linux/res... |
google | android | dw_apb_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/dw_apb_timer.c | 11,870 | utf_8 | 98cf49480f39dda2b9fddb23740b2bcc | /*
*
* Support for the Synopsys DesignWare APB Timers.
*/
#include <linux/dw_apb_timer.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/slab.h>
#define APBT_MIN_PERIOD 4
#define APBT_MIN_DELTA_USEC 200
#define APBTMR_N_... |
google | android | vf_pit_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/vf_pit_timer.c | 5,174 | utf_8 | a0b97d4630559d5ee3ec05a7648cad01 | /*
*/
#include <linux/interrupt.h>
#include <linux/clockchips.h>
#include <linux/clk.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/sched_clock.h>
/*
* Each pit takes 0x10 Bytes register space
*/
#define PITMCR 0x00
#define PIT0_OFFSET 0x100
#define PITn_OFFSET(n) (PIT0_OFFSET + 0x10 * (... |
google | android | sh_tmu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/sh_tmu.c | 15,589 | utf_8 | 4beadabab7bb0305abf4389b37c9c6a9 | /*
* SuperH Timer Support - TMU
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/module.h... |
google | android | numachip | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/numachip.c | 2,696 | utf_8 | 746672b01f3ef7b9197ec736d3523654 | /*
*
*
*/
#include <linux/clockchips.h>
#include <asm/irq.h>
#include <asm/numachip/numachip.h>
#include <asm/numachip/numachip_csr.h>
static DEFINE_PER_CPU(struct clock_event_device, numachip2_ced);
static cycles_t numachip2_timer_read(struct clocksource *cs)
{
return numachip2_read64_lcsr(NUMACHIP2_TIMER_NOW);
}
... |
google | android | tcb_clksrc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/tcb_clksrc.c | 10,587 | utf_8 | 7b208c201c49fd7133585028b5ade8fc | #include <linux/init.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/atmel_tc.h>
/*
* We're configured ... |
google | android | sh_mtu2 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/sh_mtu2.c | 12,638 | utf_8 | a1777f42d7faa1281ede65c6a3dcb52d | /*
* SuperH Timer Support - MTU2
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/of.h>
#inclu... |
google | android | time-pistachio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/time-pistachio.c | 5,660 | utf_8 | ec9634b21ca25d07ea670b1f4631bfb8 | /*
* Pistachio clocksource based on general-purpose timers
*
* for more details.
*/
#define pr_fmt(fmt) "%s: " fmt, __func__
#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#includ... |
google | android | exynos_mct | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/exynos_mct.c | 16,259 | utf_8 | 0e7a287e864697b4db0dfa68e51984ff | /* linux/arch/arm/mach-exynos4/mct.c
*
*/
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/cpu.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/percpu.h>
#include <linux... |
google | android | timer-atmel-pit | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-atmel-pit.c | 7,345 | utf_8 | 1233f7398ee0ea0df42eef7cc4c115d1 | /*
* at91sam926x_time.c - Periodic Interval Timer (PIT) for at91sam926x
*
*/
#define pr_fmt(fmt) "AT91: PIT: " fmt
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_... |
google | android | clksrc_st_lpc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/clksrc_st_lpc.c | 3,031 | utf_8 | 737532472d7236d9708710a0935e1098 | /*
* Clocksource using the Low Power Timer found in the Low Power Controller (LPC)
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/of_address.h>
#include <linux/sched_clock.h>
#include <linux/slab.h>
#include <dt-bindings/mfd/s... |
google | android | timer-sp804 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-sp804.c | 7,315 | utf_8 | 8b58be4e5663c4eedae70f314a4a8023 | /*
* linux/drivers/clocksource/timer-sp.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <l... |
google | android | timer-atlas7 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/timer-atlas7.c | 8,891 | utf_8 | 89fee593dfd31450681676995bcbf43f | /*
* System timer for CSR SiRFprimaII
*
*/
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/cpu.h>
#include <linux/bitops.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/o... |
google | android | dw_apb_timer_of | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/dw_apb_timer_of.c | 4,188 | utf_8 | 0082dd4efb99e72ea36ba1590e679320 | /*
*/
#include <linux/dw_apb_timer.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/clk.h>
#include <linux/sched_clock.h>
static void __init timer_get_base_and_rate(struct device_node *np,
void __iomem **base, u32 *rate)
{
struct clk *timer_clk;
struct clk *pcl... |
google | android | rockchip_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/rockchip_timer.c | 4,217 | utf_8 | 052e6855bc8892d81d6ac908f0b4e455 | /*
* Rockchip timer support
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#define TIMER_NAME "rk_timer"
#define TIMER_LOAD_COUNT0 0x00
#define TIMER_LOAD_COUNT1 0x04
#define ... |
google | android | pxa_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/pxa_timer.c | 5,917 | utf_8 | cc3d9a2f1b71e450a31f8f949a9235e9 | /*
* arch/arm/mach-pxa/time.c
*
* PXA clocksource, clockevents, and OST interrupt handlers.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/sched_clock.h>
#i... |
google | android | time-efm32 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/time-efm32.c | 6,919 | utf_8 | eb07a2adc6f7c1aa480986b35fc4cc0c | /*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/clk.h>
#define TIMERn_CTRL 0x00
#d... |
google | android | dummy_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/dummy_timer.c | 1,539 | utf_8 | 8bdbec6ceb138b4f56750a141c93ede8 | /*
* linux/drivers/clocksource/dummy_timer.c
*
*/
#include <linux/clockchips.h>
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/percpu.h>
#include <linux/cpumask.h>
static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt);
static void dummy_timer_setup(void)
{
int cpu = smp_processor_id();
... |
google | android | scx200_hrt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/scx200_hrt.c | 2,816 | utf_8 | a033c7cff1c459119b2284abce353bc4 | /*
*/
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/scx200.h>
#define NAME "scx200_hrt"
static int mhz27;
module_param(mhz27, int, 0); /* load time only */
MODULE_PARM_DESC(mhz27, "count at 27.0 MHz (default is 1.0 MHz)");
static int ppm;
mod... |
google | android | versatile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/versatile.c | 1,191 | utf_8 | 4e5514f7e90fe33f37f6f17debc5e9f7 | /*
*/
#include <linux/clocksource.h>
#include <linux/io.h>
#include <linux/of_address.h>
#include <linux/sched_clock.h>
#define SYS_24MHZ 0x05c
static void __iomem *versatile_sys_24mhz;
static u64 notrace versatile_sys_24mhz_read(void)
{
return readl(versatile_sys_24mhz);
}
static void __init versatile_sched_clock_in... |
google | android | asm9260_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/asm9260_timer.c | 6,864 | utf_8 | b66846a2ee4b758ae8127b3cdba0c256 | /*
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/bitops.h>... |
google | android | acpi_pm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/acpi_pm.c | 6,553 | utf_8 | 4ccad090988c823f88ac4ec7b11b464b | /*
* linux/drivers/clocksource/acpi_pm.c
*
* This file contains the ACPI PM based clocksource.
*
* This code was largely moved from the i386 timer_pm.c file
*/
#include <linux/acpi_pmtmr.h>
#include <linux/clocksource.h>
#include <linux/timex.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/pci... |
google | android | h8300_timer8 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/h8300_timer8.c | 7,031 | utf_8 | 1d9183882a122a3fca148f85489a7294 | /*
* linux/arch/h8300/kernel/cpu/timer/timer8.c
*
*
* 8bit Timer driver
*
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/clockchips.h>
#include <linux/m... |
google | android | clksrc-dbx500-prcmu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/clksrc-dbx500-prcmu.c | 2,420 | utf_8 | 65d7dd28a3e20c00e7bfffd7a3753496 | /*
*
* DBx500-PRCMU Timer
* The PRCMU has 5 timers which are available in a always-on
* power domain. We use the Timer 4 for our always-on clock
* source on DB8500.
*/
#include <linux/clockchips.h>
#include <linux/clksrc-dbx500-prcmu.h>
#include <linux/sched_clock.h>
#define RATE_32K 32768
#define TIMER_MODE_CO... |
google | android | vt8500_timer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/vt8500_timer.c | 4,698 | utf_8 | 81ec82f373dbfe66bb28bf96ffd21740 | /*
* arch/arm/mach-vt8500/timer.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* This file is copied and modified from the original timer.c provided by
* Alexey Charkov. Minor changes have been made for Device Tree Support.
*/
#include <linux/io.h>
#include <linux/irq.h>
#... |
google | android | sh_cmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/sh_cmt.c | 28,831 | utf_8 | 9bd8a3017bebf950a2a268fa7f92ba88 | /*
* SuperH Timer Support - CMT
*
*/
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/module.h... |
google | android | h8300_timer16 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/clocksource/h8300_timer16.c | 5,573 | utf_8 | 6a824dd983f11e4e8176f0e6dbfbe423 | /*
* H8/300 16bit Timer driver
*
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clocksource.h>
#include <linux/module.h>
#include ... |
google | android | qib_uc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_uc.c | 13,977 | utf_8 | 2a6d948d0a45b04cbcb0acd16141c6f7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* Return 1 if constructed; otherwise, return 0.
*/
int qib_make_uc_req(struct qib_qp *qp)
{
struct qib_other_headers *ohdr;
struct qib_swqe *wqe;
unsigned long flags;
u3... |
google | android | qib_qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_qp.c | 34,839 | utf_8 | cd594bdecb51a382f5e97302fc351152 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/err.h>
#include <linux/vmalloc.h>
#include <linux/jhash.h>
#ifdef CONFIG_DEBUG_FS
#include <linux/seq_file.h>
#endif
#include "qib.h"
#define BITS_PER_PAGE ... |
google | android | qib_pcie | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_pcie.c | 19,434 | utf_8 | 960faaf77ac471ae5c5b9ec902fb692d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
#include <linux/aer.h>
#include <linux/module.h>
#include "qib.h"
/*
* This ... |
google | android | qib_iba7322 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_iba7322.c | 271,667 | utf_8 | 09771e9137b2f0a79338d47024c52090 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file contains all of the code that is specific to the
* InfiniPath 7322 chip
*/
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/delay.h>
#inc... |
google | android | qib_mad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_mad.c | 72,647 | utf_8 | fd39c149ea00bf50f40f7b088e0e156c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_smi.h>
#include "qib.h"
#include "qib_mad.h"
static int reply(struct ib_smp *smp)
{
/*
* The verbs framework will handle the directed/LID route
* packe... |
google | android | qib_wc_ppc64 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_wc_ppc64.c | 2,156 | utf_8 | 987847554c0902c5fff0715807674fb6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* Nothing to do on PowerPC, so just return without error.
*/
int qib_enable_wc(struct qib_devdata *dd)
{
return 0;
}
/**
* qib_unordered_wc - indicate whether write combin... |
google | android | qib_file_ops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_file_ops.c | 62,559 | utf_8 | cb54de94a5f84643f0a11531afc6e661 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/pci.h>
#include <linux/poll.h>
#include <linux/cdev.h>
#include <linux/swap.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include <linux/io.h>
#in... |
google | android | qib_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_verbs.c | 63,780 | utf_8 | f6d9dd5b4899df36396127b3fd5284f0 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_mad.h>
#include <rdma/ib_user_verbs.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/utsname.h>
#include <linux/rculist.h>
#include <linux... |
google | android | qib_mmap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_mmap.c | 4,890 | utf_8 | e1fe6279a73e15625d3b813ab8b04cf6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
void qib_release_mmap_info(struct kref *ref)
{
struct qib_mmap_info *ip =
container_of(ref, struct qib_mmap_info, ref);
struct qib_ibdev *dev = to_idev(ip->context->devic... |
google | android | qib_intr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_intr.c | 7,609 | utf_8 | 4d6cbc364afb3ceea8baff9edb5122dc | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg)
{
strlcat(msg, "[", msgl);
strlcat(msg, hwmsg, msgl);
strlcat(msg, "]", msgl);
}
/**
* qib_format_... |
google | android | qib_mr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_mr.c | 12,185 | utf_8 | e9ab6df9ca9713f1ed2d6a08e0c276d1 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_umem.h>
#include <rdma/ib_smi.h>
#include "qib.h"
/* Fast memory region */
struct qib_fmr {
struct ib_fmr ibfmr;
struct qib_mregion mr; /* must be ... |
google | android | qib_rc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_rc.c | 62,193 | utf_8 | 69f966088b00ca6d643d72f059eabca4 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/io.h>
#include "qib.h"
/* cut down ridiculously long IB macro names */
#define OP(x) IB_OPCODE_RC_##x
static void rc_timeout(unsigned long arg);
static u32 re... |
google | android | qib_tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_tx.c | 17,255 | utf_8 | 7f75c66c62ba6a5b6cdc2bba976aa180 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include <linux/modu... |
google | android | qib_user_sdma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_user_sdma.c | 36,662 | utf_8 | 6a440956d7c3498de4fdf9c6d34a8d88 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mm.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/highmem.h>... |
google | android | qib_sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_sysfs.c | 20,911 | utf_8 | 4bbcdf39c4363cb0cb64690049798689 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/ctype.h>
#include "qib.h"
#include "qib_mad.h"
/* start of per-port functions */
/*
* Get/Set heartbeat enable. OR of 1=enabled, 2=auto
*/
static ssize_t sh... |
google | android | qib_sdma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_sdma.c | 28,395 | utf_8 | c4b2ec75b9744192bcbb26c5925ed2b5 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <linux/moduleparam.h>
#include "qib.h"
#include "qib_common.h"
/* default pio off, sdma on */
static ushort ... |
google | android | qib_driver | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_driver.c | 21,982 | utf_8 | d123e2854d73de862773d42f81c27c26 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include <linux/modu... |
google | android | qib_keys | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_keys.c | 9,648 | utf_8 | b9f68578332b37eb97ce29dd82901cef | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* Returns 0 if successful, otherwise returns -errno.
*
* Increments mr reference count as required.
*
* Sets the lkey field mr for non-dma regions.
*
*/
int qib_alloc_l... |
google | android | qib_user_pages | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_user_pages.c | 4,502 | utf_8 | 23534c180f6522e78c4a4123d093c7d8 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mm.h>
#include <linux/device.h>
#include "qib.h"
static void __qib_release_user_pages(struct page **p, size_t num_pages,
int dirty)
{
size_t i;
for... |
google | android | qib_wc_x86_64 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_wc_x86_64.c | 4,939 | utf_8 | dc29a2d25a764d671e4ee5750a8cd386 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file is conditionally built on x86_64 only. Otherwise weak symbol
* versions of the functions exported from here are used.
*/
#include <linux/pci.h>
#include <a... |
google | android | qib_twsi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_twsi.c | 13,052 | utf_8 | 617cc20bd1761624c3c66f26cf845288 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include "qib.h"
/*
* QLogic_IB "Two Wire Serial Interface" driver.
* Originally written for a no... |
google | android | qib_iba6120 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_iba6120.c | 111,932 | utf_8 | 9039be17e160cc11486b107a689ee1b8 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file contains all of the code that is specific to the
* QLogic_IB 6120 PCIe chip.
*/
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/delay.h>... |
google | android | qib_cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_cq.c | 13,430 | utf_8 | 7c92dc252607462d65ae0fa056efdd33 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* This may be called with qp->s_lock held.
*/
void qib_cq_enter(struct qib_cq *cq, struct ib_wc *entry, int solicited)
{
struct qib_cq_wc *wc;
unsigned long flags;
u32 he... |
google | android | qib_ud | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_ud.c | 16,595 | utf_8 | ab1ebd3d60209bec95dda2a8e006cff0 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* This is called from qib_make_ud_req() to forward a WQE addressed
* to the same HCA.
* Note that the receive interrupt handler may be calling qib_ud_rcv()
* while this is... |
google | android | qib_verbs_mcast | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_verbs_mcast.c | 8,575 | utf_8 | 9c75a4769e582e0d923327fd875d1bc3 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
static struct qib_mcast_qp *qib_mcast_qp_alloc(struct qib_qp *qp)
{
struct qib_mcast_qp *mqp;
mqp = kmalloc(sizeof(*mqp), GFP_KERNEL);
if (!mqp)
goto bail;
mqp->qp = qp... |
google | android | qib_iba7220 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_iba7220.c | 146,511 | utf_8 | d43598765a93e7e0ccafb10b191ba55c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file contains all of the code that is specific to the
* QLogic_IB 7220 chip (except that specific to the SerDes)
*/
#include <linux/interrupt.h>
#include <linux/... |
google | android | qib_ruc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_ruc.c | 22,288 | utf_8 | fca1a17e4277a89d55e958219ec97f92 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/spinlock.h>
#include <rdma/ib_smi.h>
#include "qib.h"
#include "qib_mad.h"
/*
* Convert the AETH RNR timeout code into the number of microseconds.
*/
const ... |
google | android | qib_sd7220 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_sd7220.c | 40,736 | utf_8 | 35901703a5d8066436e9384bd1e3d25a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file contains all of the code that is specific to the SerDes
* on the QLogic_IB 7220 chip.
*/
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mod... |
google | android | qib_dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_dma.c | 4,754 | utf_8 | 6a6e8000054c3e77ba1d96a75baffee0 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/types.h>
#include <linux/scatterlist.h>
#include "qib_verbs.h"
#define BAD_DMA_ADDRESS ((u64) 0)
/*
* The following functions implement driver specific repla... |
google | android | qib_diag | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_diag.c | 23,514 | utf_8 | 0505100aabfe53ca8c2b39d4bc6b9b75 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*
* This file contains support for diagnostic functions. It is accessed by
* opening the qib_diag device, normally minor number 129. Diagnostic use
* of the QLogic_IB c... |
google | android | qib_eeprom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_eeprom.c | 7,492 | utf_8 | bbb748971d39a15a85482170561b44f5 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include "qib.h"
/*
* Functions specific to the serial EEPROM on cards handled by ib_qib.
* The a... |
google | android | qib_pio_copy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_pio_copy.c | 2,273 | utf_8 | 1bfd7b7df446dcf8954b41842052c55c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* Copy data from kernel space to MMIO space, in multiples of 32 bits at a
* time. Order of access is not guaranteed, nor is a memory barrier
* performed afterwards.
*/
vo... |
google | android | qib_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_debugfs.c | 6,538 | utf_8 | 20586fe13fe906a5e7d7e0adf7c2e565 | #ifdef CONFIG_DEBUG_FS
/*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include "qib.h"
#include "qib_verbs.h"
#inc... |
google | android | qib_init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_init.c | 48,575 | utf_8 | d9b2854f2bef56ed8e8baabaf812dd3a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <linux/idr.h>
#include <linux/module.h>
#include <linux/print... |
google | android | qib_qsfp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_qsfp.c | 14,257 | utf_8 | 4d1b068bcb23ee36ecfc20268d4a770d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include "qib.h"
#include "qib_qsfp.h"
/*
* QSFP support for ib_qib driver, using "Two Wire Serial... |
google | android | qib_srq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_srq.c | 9,447 | utf_8 | 736a5a41be7b2eb2b869ad24d825ad3c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* This may be called from interrupt context.
*/
int qib_post_srq_receive(struct ib_srq *ibsrq, struct ib_recv_wr *wr,
struct ib_recv_wr **bad_wr)
{
struct qib_srq *srq ... |
google | android | qib_fs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/qib/qib_fs.c | 15,002 | utf_8 | 5d191f21d58caf43e86a5ee465fc1245 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/namei.h>
#include "qib.h"
#define ... |
google | android | nes_nic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_nic.c | 63,295 | utf_8 | c1def1facd51582313493b8c21ee4b8e | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include ... |
google | android | nes_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_verbs.c | 125,410 | utf_8 | 1c0edfc26c95afc2f5a45b25f19db645 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/random.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <... |
google | android | nes_utils | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_utils.c | 32,551 | utf_8 | d5d44167750dfda47dadbc2776fd842a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#inc... |
google | android | nes_mgt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_mgt.c | 36,764 | utf_8 | 78f0b64ee016073a20e546752c48a089 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/kthread.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <net/tcp.h>
#include "nes.h"
#inc... |
google | android | nes_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_hw.c | 131,972 | utf_8 | a38b08c1d91989c1b446d03eb6b93a97 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include ... |
google | android | nes_cm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes_cm.c | 119,326 | utf_8 | 60b2f0a6bc6aa11cefb1418f52683c73 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#define TCPOPT_TIMESTAMP 8
#include <linux/atomic.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/init.h>
#include <linux/if_arp.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.