| /linux/drivers/gnss/ |
| H A D | ubx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * u-blox GNSS receiver driver 29 ret = regulator_enable(data->vcc); in ubx_set_active() 41 ret = regulator_disable(data->vcc); in ubx_set_standby() 59 return -EINVAL; in ubx_set_power() 79 gserial->ops = &ubx_gserial_ops; in ubx_probe() 81 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe() 85 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe() 86 if (IS_ERR(data->vcc)) { in ubx_probe() 87 ret = PTR_ERR(data->vcc); in ubx_probe() [all …]
|
| /linux/drivers/tty/serial/jsm/ |
| H A D | jsm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \ 53 #define MAXPORTS 8 94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL" 95 #define JSM_PARTNUM "40002438_A-INKERNEL" 122 * Per-board information 126 int boardnum; /* Board number: 0-32 */ 178 #define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 179 #define EQUEUEMASK 0x1FFF /* 8 K - 1 */ 211 struct neo_uart_struct __iomem *ch_neo_uart; /* NEO card */ [all …]
|
| H A D | jsm_driver.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 MODULE_DESCRIPTION("Driver for the Digi International Neo and Classic PCI based product line"); 59 dev_err(&pdev->dev, "Device enable FAILED\n"); in jsm_probe_one() 65 dev_err(&pdev->dev, "pci_request_region FAILED\n"); in jsm_probe_one() 71 rc = -ENOMEM; in jsm_probe_one() 76 brd->boardnum = adapter_count++; in jsm_probe_one() 77 brd->pci_dev = pdev; in jsm_probe_one() 79 switch (pdev->device) { in jsm_probe_one() 85 brd->maxports = 2; in jsm_probe_one() 94 brd->maxports = 4; in jsm_probe_one() [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun8i-h3-nanopi-neo-air.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-h3.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 50 model = "FriendlyARM NanoPi NEO Air"; 51 compatible = "friendlyarm,nanopi-neo-air", "allwinner,sun8i-h3"; 58 stdout-path = "serial0:115200n8"; 62 compatible = "gpio-leds"; 64 led-0 { [all …]
|
| H A D | sun8i-a83t-tbs-a711.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun8i-a83t.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/pwm/pwm.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "tbs-biometrics,a711", "allwinner,sun8i-a83t"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "pwm-backlight"; 67 enable-gpios = <&pio 3 29 GPIO_ACTIVE_HIGH>; [all …]
|
| /linux/arch/mips/boot/dts/ingenic/ |
| H A D | cu1000-neo.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/clock/ingenic,sysost.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "yna,cu1000-neo", "ingenic,x1000e"; 11 model = "YSH & ATIL General Board CU1000-Neo"; 18 stdout-path = "serial2:115200n8"; 27 compatible = "gpio-leds"; 28 led-0 { [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h5-nanopi-neo-plus2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 6 #include "sun50i-h5.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/pinctrl/sun4i-a10.h> 13 model = "FriendlyARM NanoPi NEO Plus2"; 14 compatible = "friendlyarm,nanopi-neo-plus2", "allwinner,sun50i-h5"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; [all …]
|
| /linux/Documentation/devicetree/bindings/gnss/ |
| H A D | gnss-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gnss/gnss-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Johan Hovold <johan@kernel.org> 21 lna-supply: 26 enable-gpios: 33 timepulse-gpios: 41 - | 42 #include <dt-bindings/gpio/gpio.h> [all …]
|
| /linux/drivers/pnp/isapnp/ |
| H A D | compat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * compat.c - A series of functions to make it easier to convert drivers that use 6 * Copyright 2002 Adam Belay <ambx1@neo.rr.com> 17 'A' + ((vendor >> 2) & 0x3f) - 1, in pnp_convert_id() 18 'A' + (((vendor & 3) << 3) | ((vendor >> 13) & 7)) - 1, in pnp_convert_id() 19 'A' + ((vendor >> 8) & 0x1f) - 1, in pnp_convert_id() 21 (device >> 12) & 0x0f, (device >> 8) & 0x0f); in pnp_convert_id() 27 char id[8]; in pnp_find_dev() 28 char any[8]; in pnp_find_dev() 37 list = from->global_list.next; in pnp_find_dev() [all …]
|
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * 2000-01-01 Added quirks handling for buggy hardware 8 * Peter Denison <peterd@pnd-pc.demon.co.uk> 9 * 2000-06-14 Added isapnp_probe_devs() and isapnp_activate_dev() 11 * 2001-06-03 Added release_region calls to correspond with 14 * 2001-11-07 Added isapnp_{,un}register_driver calls along the lines 17 * 2002-06-06 Made the use of dma channel 0 configurable 19 * 2002-10-06 Ported to PnP Layer - Adam Belay <ambx1@neo.rr.com> 20 * 2003-08-11 Resource Management Updates - Adam Belay <ambx1@neo.rr.com> 80 #define ISAPNP_CFG_PORT 0x60 /* 8 * word */ [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6sx-udoo-neo.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 stdout-path = "serial0:115200n8"; 16 compatible = "gpio-leds"; 18 led-red { 19 label = "udoo-neo:red:mmc"; 21 default-state = "off"; 22 linux,default-trigger = "mmc0"; 25 led-orange { 26 label = "udoo-neo:orange:user"; 28 default-state = "keep"; [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/displays/ |
| H A D | panel-tpo-td028ttec1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Neo 1973 code (jbt6k74.c): 9 * Copyright (C) 2006-2007 by OpenMoko, Inc. 12 * Ported and adapted from Neo 1973 U-Boot by: 37 .hsw = 8, 38 .hbp = 8, 59 rc = spi_write(ddata->spi_dev, (u8 *)&tx_buf, in jbt_ret_write_0() 62 dev_err(&ddata->spi_dev->dev, in jbt_ret_write_0() 75 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_1() 78 dev_err(&ddata->spi_dev->dev, in jbt_reg_write_1() [all …]
|
| /linux/drivers/pnp/pnpbios/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pnpbios -- PnP BIOS driver 5 * This driver provides access to Plug-'n'-Play services provided by 20 * by Adam Belay <ambx1@neo.rr.com> 25 * Adam Belay - <ambx1@neo.rr.com> - March 16, 2003 93 return -ENOMEM; in pnp_dock_event() 96 return -ENOMEM; in pnp_dock_event() 112 /* hint that policy agent should enter no-stdout debug mode */ in pnp_dock_event() 115 /* extensible set of named bus-specific parameters, in pnp_dock_event() 127 info->location_id, info->serial, info->capabilities); in pnp_dock_event() [all …]
|
| /linux/drivers/pnp/ |
| H A D | support.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * support.c - standard functions for the use of pnp protocol drivers 5 * Copyright 2003 Adam Belay <ambx1@neo.rr.com> 6 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 16 * pnp_is_active - Determines if a device is active based on its current 24 * only clears out auto-assigned resources. in pnp_is_active() 28 pnp_irq(dev, 0) == -1 && pnp_dma(dev, 0) == -1) in pnp_is_active() 44 * According to the specs, the first three characters are five-bit in pnp_eisa_id_to_string() 45 * compressed ASCII, and the left-over high order bit should be zero. in pnp_eisa_id_to_string() 51 str[0] = 'A' + ((id >> 26) & 0x3f) - 1; in pnp_eisa_id_to_string() [all …]
|
| H A D | interface.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * interface.c - contains everything related to the user interface 6 * Copyright 2002 Adam Belay <ambx1@neo.rr.com> 7 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 42 if (buffer->stop || buffer->error) in pnp_printf() 45 res = vsnprintf(buffer->curr, buffer->len - buffer->size, fmt, args); in pnp_printf() 47 if (buffer->size + res >= buffer->len) { in pnp_printf() 48 buffer->stop = 1; in pnp_printf() 51 buffer->curr += res; in pnp_printf() 52 buffer->size += res; in pnp_printf() [all …]
|
| H A D | manager.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * manager.c - Resource Management, Conflict Resolution, Activation and Disabling of Devices 6 * Copyright 2003 Adam Belay <ambx1@neo.rr.com> 7 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 31 res->flags &= ~IORESOURCE_BITS; in pnp_find_resource() 32 res->flags |= rule & IORESOURCE_BITS; in pnp_find_resource() 42 res = pnp_find_resource(dev, rule->flags, IORESOURCE_IO, idx); in pnp_assign_port() 44 pnp_dbg(&dev->dev, " io %d already set to %#llx-%#llx " in pnp_assign_port() 45 "flags %#lx\n", idx, (unsigned long long) res->start, in pnp_assign_port() 46 (unsigned long long) res->end, res->flags); in pnp_assign_port() [all …]
|
| H A D | resource.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * resource.c - Contains functions for registering and analyzing resource information 6 * Copyright 2003 Adam Belay <ambx1@neo.rr.com> 7 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 27 static int pnp_reserve_irq[16] = {[0 ... 15] = -1 }; /* reserve (don't use) some IRQ */ 28 static int pnp_reserve_dma[8] = {[0 ... 7] = -1 }; /* reserve (don't use) some DMA */ 29 static int pnp_reserve_io[16] = {[0 ... 15] = -1 }; /* reserve (don't use) some I/O region */ 30 static int pnp_reserve_mem[16] = {[0 ... 15] = -1 }; /* reserve (don't use) some memory region */ 45 option->flags = option_flags; in pnp_build_option() 46 option->type = type; in pnp_build_option() [all …]
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Just-In-Time compiler for eBPF bytecode on 32-bit and 64-bit MIPS. 10 * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com> 26 #define MIPS_R_A4 8 /* Arg (n64) */ 30 #define MIPS_R_T0 8 /* Temp (o32) */ 62 #define JIT_MAX_ITERATIONS 8 65 * Jump pseudo-instructions used internally 71 /* Descriptor flag for PC-relative branch conversion */ 81 u32 changes; /* Number of PC-relative branch conv */ 85 u32 saved_size; /* Size of callee-saved registers */ [all …]
|
| H A D | bpf_jit_comp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Just-In-Time compiler for eBPF bytecode on MIPS. 4 * Implementation of JIT functions common to 32-bit and 64-bit CPUs. 11 * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com> 19 * - bpf_jit_comp.h 22 * - bpf_jit_comp.c 23 * Implementation of JIT top-level logic and exported JIT API functions. 24 * Implementation of internal operations shared by 32-bit and 64-bit code. 28 * - bpf_jit_comp32.c 30 * instruction for 32-bit MIPS CPUs. The functions use shared operations [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-acpi-quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "gpiolib-acpi.h" 19 static int run_edge_events_on_boot = -1; 22 "Run edge _AEI event-handlers at boot: 0=no, 1=yes, -1=auto"); 98 len = pin_str - controller; in acpi_gpio_in_ignore_list() 142 * The Minix Neo Z83-4 has a micro-USB-B id-pin handler for 143 * a non existing micro-USB-B connector which puts the HDMI 148 DMI_MATCH(DMI_PRODUCT_NAME, "Z83-4"), 156 * The Terra Pad 1061 has a micro-USB-B id-pin handler, which 157 * instead of controlling the actual micro-USB-B turns the 5V [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | neofb.c | 2 * linux/drivers/video/neofb.c -- NeoMagic Framebuffer Driver 4 * Copyright (c) 2001-2002 Denis Oliver Kropp <dok@directfb.org> 16 * - Cosmetic changes (dok) 19 * - Toshiba Libretto support, allow modes larger than LCD size if 25 * - Porting over to new fbdev api. (jsimmons) 28 * - got rid of all floating point (dok) 31 * - added module license (dok) 34 * - hardware accelerated clear and move for 2200 and above (dok) 35 * - maximum allowed dotclock is handled now (dok) 38 * - correct panning after X usage (dok) [all …]
|
| /linux/drivers/media/radio/ |
| H A D | radio-cadet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* radio-cadet.c - A video4linux driver for the ADS Cadet AM/FM Radio Card 17 * 2000-04-29 Russell Kroll <rkroll@exploits.org> 20 * 2001-01-10 Russell Kroll <rkroll@exploits.org> 24 * 2002-01-17 Adam Belay <ambx1@neo.rr.com> 27 * 2003-01-31 Alan Cox <alan@lxorguk.ukuu.org.uk> 30 * 2006-07-30 Hans J. Koch <koch@hjk-az.de> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-ioctl.h> 45 #include <media/v4l2-ctrls.h> [all …]
|
| /linux/drivers/power/supply/ |
| H A D | axp288_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * axp288_fuel_gauge.c - Xpower AXP288 PMIC Fuel Gauge Driver 5 * Copyright (C) 2020-2021 Andrejus Basovas <xxx@yyy.tld> 6 * Copyright (C) 2016-2021 Hans de Goede <hdegoede@redhat.com> 162 ret = regmap_read(info->regmap, reg, &val); in fuel_gauge_reg_readb() 164 dev_err(info->dev, "Error reading reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_readb() 175 ret = regmap_write(info->regmap, reg, (unsigned int)val); in fuel_gauge_reg_writeb() 178 dev_err(info->dev, "Error writing reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_writeb() 188 ret = regmap_bulk_read(info->regmap, reg, buf, 2); in fuel_gauge_read_15bit_word() 190 dev_err(info->dev, "Error reading reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_read_15bit_word() [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | oxpec.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Fan control is provided via pwm interface in the range [0-255]. 8 * Old AMD boards use [0-100] as range in the EC, the written value is 11 * like the 2 and X1 are [0-184] and are scaled to 0-255. OrangePi 12 * are [1-244] and scaled to 0-255. 158 DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"), 193 DMI_EXACT_MATCH(DMI_BOARD_NAME, "NEO-01"), 199 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), 206 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), 213 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), [all …]
|
| /linux/drivers/video/fbdev/savage/ |
| H A D | savagefb_driver.c | 2 * linux/drivers/video/savagefb.c -- S3 Savage Framebuffer Driver 4 * Copyright (c) 2001-2002 Denis Oliver Kropp <dok@directfb.org> 5 * Sven Neumann <neo@directfb.org> 15 * 0.4.0 (neo) 16 * - hardware accelerated clear and move 19 * - wait for vertical retrace before writing to cr67 21 * - use synchronization registers cr23 and cr26 24 * - reset 3D engine 25 * - don't return alpha bits for 32bit format 28 * - added WaitIdle functions for all Savage types [all …]
|