| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dbus_usb.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 1999-2016, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 53 #define POSTBOOT_ID 0xA123 /* ID to detect if dongle has boot up */ 55 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 181 /* First, initialize all lower-level functions as default in dbus_usb_probe() 203 * On return, *intf contains this or lower-level DBUS functions to be called by higher 241 if ((g_dbusintf == NULL) || (g_dbusintf->attach == NULL)) in dbus_usb_attach() 247 usb_info = MALLOC(pub->osh, sizeof(usb_info_t)); in dbus_usb_attach() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dbus_usb.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 1999-2016, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 52 #define POSTBOOT_ID 0xA123 /* ID to detect if dongle has boot up */ 54 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 180 /* First, initialize all lower-level functions as default in dbus_usb_probe() 202 * On return, *intf contains this or lower-level DBUS functions to be called by higher 240 if ((g_dbusintf == NULL) || (g_dbusintf->attach == NULL)) in dbus_usb_attach() 246 usb_info = MALLOC(pub->osh, sizeof(usb_info_t)); in dbus_usb_attach() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dbus_usb.c | 4 * Copyright (C) 1999-2016, Broadcom Corporation 25 * <<Broadcom-WL-IPTag/Open:>> 27 * $Id: dbus_usb.c 565557 2015-06-22 19:29:44Z $ 52 #define POSTBOOT_ID 0xA123 /* ID to detect if dongle has boot up */ 54 #define USB_DEV_ISBAD(u) (u->pub->attrib.devid == 0xDEAD) 176 /* First, initialize all lower-level functions as default in dbus_usb_probe() 226 * On return, *intf contains this or lower-level DBUS functions to be called by higher 259 if ((g_dbusintf == NULL) || (g_dbusintf->attach == NULL)) in dbus_usb_attach() 265 usb_info = MALLOC(pub->osh, sizeof(usb_info_t)); in dbus_usb_attach() 271 usb_info->pub = pub; in dbus_usb_attach() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A D | arm,vexpress-juno.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,vexpress-juno.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sudeep Holla <sudeep.holla@arm.com> 11 - Linus Walleij <linus.walleij@linaro.org> 15 multicore Cortex-A class systems. The Versatile Express family contains both 37 further subvariants are released of the core tile, even more fine-granular 45 - description: CoreTile Express A9x4 (V2P-CA9) has 4 Cortex A9 CPU cores 46 in MPCore configuration in a test chip on the core tile. See ARM [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/ |
| H A D | es18xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) by Christian Fischbach <fishbach@pool.informatik.rwth-aachen.de> 5 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org> 10 * - There are pops (we can't delay in trigger function, cause midlevel 13 * - Support for 16 bit DMA seems to be broken. I've no hardware to tune it. 18 * - The chip has one half duplex pcm (with very limited full duplex support). 20 * - Duplex stereophonic sound is impossible. 21 * - Record and playback must share the same frequency rate. 23 * - The driver use dma2 for playback and dma1 for capture. 29 * - there are a first full duplex pcm and a second playback only pcm [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | sis5595.rst | 10 Addresses scanned: ISA in PCI-space encoded address 18 - Kyösti Mälkki <kmalkki@cc.hut.fi>, 19 - Mark D. Studebaker <mdsxyz123@yahoo.com>, 20 - Aurelien Jarno <aurelien@aurel32.net> 2.6 port 22 SiS southbridge has a LM78-like chip integrated on the same IC. 28 Version PCI ID PCI Revision 36 "blacklist" PCI ID and refuse to load. 39 NOT SUPPORTED PCI ID BLACKLIST PCI ID 55 ----------------- 69 ----------- [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | nand_micron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 14 * Special Micron status bit 3 indicates that the block has been 15 * corrected by on-die ECC and should be rewritten. 20 * On chips with 8-bit ECC and additional bit can be used to distinguish 24 * ----- ----- ----- ----------- 27 * 0 1 0 4 - 6 errors corrected, recommend rewrite 29 * 1 0 0 1 - 3 errors corrected 31 * 1 1 0 7 - 8 errors corrected, recommend rewrite 69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry() argument [all …]
|
| H A D | nand_base.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * http://www.linux-mtd.infradead.org/doc/nand.html 11 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 21 * Check, if mtd->ecctype should be set to MTD_ECC_HW 23 * BBT table is not serialized, has to be fixed 52 int lastpage = (mtd->erasesize / mtd->writesize) - 1; in nand_pairing_dist3_get_info() 59 info->group = 0; in nand_pairing_dist3_get_info() 60 info->pair = (page + 1) / 2; in nand_pairing_dist3_get_info() 62 info->group = 1; in nand_pairing_dist3_get_info() 63 info->pair = (page + 1 - dist) / 2; in nand_pairing_dist3_get_info() [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * <linux/gpio.h> - userspace ABI for the GPIO character devices 21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs. 26 * struct gpiochip_info - Information about a certain GPIO chip 27 * @name: the Linux kernel name of this GPIO chip 28 * @label: a functional name for this GPIO chip, such as a product 30 * @lines: number of GPIO lines on this chip 41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits 42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of 54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/sb/ |
| H A D | sb16.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 54 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 55 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 58 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 69 static int mic_agc[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 74 static int seq_ports[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4}; 79 module_param_array(id, charp, NULL, 0444); 80 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard."); 90 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for SB16 driver."); 100 MODULE_PARM_DESC(dma8, "8-bit DMA # for SB16 driver."); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpiolib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * struct gpio_device - internal state container for GPIO devices 23 * @id: numerical ID number for the GPIO chip 29 * @chip: pointer to the corresponding gpiochip, holding static 37 * or name of the IP component in a System on Chip. 38 * @data: per-instance data assigned by the driver 43 * GPIO chip has been removed, if it is still being used from 47 int id; member 52 struct gpio_chip *chip; member 78 struct gpio_chip *chip; member [all …]
|
| H A D | gpio-max732x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 * - Push Pull Output 29 * - Input 30 * - Open Drain I/O 39 * - Group A : by I2C address 0b'110xxxx 40 * - Group B : by I2C address 0b'101xxxx 54 * NOTE: MAX7328/MAX7329 are drop-in replacements for PCF8574/a, so 59 #define PORT_OUTPUT 0x1 /* 'O' Push-Pull, Output Only */ 61 #define PORT_OPENDRAIN 0x3 /* 'P' Open-Drain, I/O */ 73 #define INT_NO_MASK 0x1 /* Has interrupts, no mask */ [all …]
|
| H A D | gpio-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 26 #define PINCTRL_DOUT(p) ((is_imx23_gpio(p) ? 0x0500 : 0x0700) + (p->id) * 0x10) 27 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) 28 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) 29 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) 30 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) 31 #define PINCTRL_IRQLEV(p) ((is_imx23_gpio(p) ? 0x0a00 : 0x1200) + (p->id) * 0x10) 32 #define PINCTRL_IRQPOL(p) ((is_imx23_gpio(p) ? 0x0b00 : 0x1300) + (p->id) * 0x10) 33 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) [all …]
|
| H A D | gpiolib-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include "gpiolib-acpi.h" 24 static int run_edge_events_on_boot = -1; 27 "Run edge _AEI event-handlers at boot: 0=no, 1=yes, -1=auto"); 41 * struct acpi_gpio_event - ACPI GPIO event handler data 43 * @node: list-entry of the events list of the struct acpi_gpio_chip 50 * @irq_requested:True if request_irq() has been done 80 struct gpio_chip *chip; member 90 * for which the acpi_gpiochip_request_irqs() call has been deferred. 98 if (!gc->parent) in acpi_gpiochip_find() [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | rawnand.h | 2 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 6 * SPDX-License-Identifier: GPL-2.0+ 29 /* Get the flash and manufacturer id and lookup if the type is supported. */ 31 struct nand_chip *chip, 53 * is supported now. If you add a chip with bigger oobsize/page 65 /* Select the chip by setting nCE to low */ 104 /* Extended commands for AG-AND device */ 108 * until the remaining sequence of commands has been completed 115 /* multi-bank error status (banks 0-3) */ 123 #define NAND_CMD_NONE -1 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | powernv-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "powernv-cpufreq: " fmt 43 * On an idle system we want the global pstate to ramp-down from max value to 44 * min over a span of ~5 secs. Also we want it to initially ramp-down slowly and 45 * then ramp-down rapidly later on. 60 * struct global_pstate_info - Per policy data structure to maintain history of 93 * indexed by a function of pstate id. 95 * @pstate_id: pstate id for this entry. 131 static struct chip { struct 132 unsigned int id; member [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mux/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define pr_fmt(fmt) "mux-core: " fmt 25 * The idle-as-is "state" is not an actual state that may be selected, it 54 ida_simple_remove(&mux_ida, mux_chip->id); in mux_chip_release() 59 .name = "mux-chip", 64 * mux_chip_alloc() - Allocate a mux-chip. 66 * @controllers: The number of mux controllers to allocate for this chip. 69 * After allocating the mux-chip with the desired number of mux controllers 70 * but before registering the chip, the mux driver is required to configure 71 * the number of valid mux states in the mux_chip->mux[N].states members and [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm_infineon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Sirrix AG - security technologies <tpmdd@sirrix.com> and 10 * Applied Data Security Group, Ruhr-University Bochum, Germany 11 * Project-Homepage: http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ 19 /* maximum number of WTX-packages */ 21 /* msleep-Time for WTX-packages */ 23 /* msleep-Time --> Interval to check status register */ 25 /* gives number of max. msleep()-calls before throwing timeout */ 144 static int empty_fifo(struct tpm_chip *chip, int clear_wrfifo) in empty_fifo() argument 163 this has nothing to say, since the TPM will give its answer in empty_fifo() [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/6fire/ |
| H A D | chip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include "chip.h" 31 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ 32 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for card */ variable 39 module_param_array(id, charp, NULL, 0444); 40 MODULE_PARM_DESC(id, "ID string for the 6fire sound device."); 46 static void usb6fire_chip_abort(struct sfire_chip *chip) in usb6fire_chip_abort() argument 48 if (chip) { in usb6fire_chip_abort() 49 if (chip->pcm) in usb6fire_chip_abort() 50 usb6fire_pcm_abort(chip); in usb6fire_chip_abort() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/tpm/ |
| H A D | tpm_tis_infineon.c | 20 * SPDX-License-Identifier: GPL-2.0 60 * tpm_tis_i2c_read() - read from TPM register 66 * buffer (little-endian format, i.e. first byte is put into buffer[0]). 68 * NOTE: TPM is big-endian for multi-byte values. Multi-byte 71 * Return -EIO on error, 0 on success. 76 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read() local 81 if ((chip->chip_type == SLB9635) || (chip->chip_type == UNKNOWN)) { in tpm_tis_i2c_read() 92 /* After the TPM has successfully received the register address in tpm_tis_i2c_read() 131 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic() local 135 if (chip->chip_type == SLB9635) { in tpm_tis_i2c_write_generic() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | bcmdevs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Broadcom device-specific manifest constants. 5 * Copyright (C) 1999-2017, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: bcmdevs.h 625027 2016-03-15 08:20:18Z $ 46 #define VENDOR_BUFFALO 0x1154 /* Buffalo vendor id */ 94 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 95 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 99 #define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */ 100 #define BCM4311_D11DUAL_ID 0x4312 /* 4311 802.11a/b/g id */ [all …]
|
| /OK3568_Linux_fs/kernel/sound/mips/ |
| H A D | sgio2audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 15 #include <linux/dma-mapping.h> 32 MODULE_AUTHOR("Vivien Chappelier <vivien.chappelier@linux-mips.org>"); 37 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 38 static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ variable 42 module_param(id, charp, 0444); 43 MODULE_PARM_DESC(id, "ID string for SGI O2 soundcard."); 66 #define CHANNEL_RING_MASK (CHANNEL_RING_SIZE - 1) 79 /* definition of the chip-specific record */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/pwm/pwm-pxa.c 7 * 2008-02-13 initial version 27 { "pxa25x-pwm", 0 }, 28 { "pxa27x-pwm", HAS_SECONDARY_PWM }, 29 { "pxa168-pwm", 0 }, 30 { "pxa910-pwm", 0 }, 44 struct pwm_chip chip; member 51 static inline struct pxa_pwm_chip *to_pxa_pwm_chip(struct pwm_chip *chip) in to_pxa_pwm_chip() argument 53 return container_of(chip, struct pxa_pwm_chip, chip); in to_pxa_pwm_chip() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mips/ |
| H A D | mscc.txt | 7 - compatible: "mscc,ocelot" 12 o CPU chip regs: 14 The SoC has a few registers (DEVCPU_GCB:CHIP_REGS) handling miscellaneous 15 functionalities: chip ID, general purpose register for software use, reset 19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon" 20 - reg : Should contain registers location and length 24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; 31 The SoC has a few registers (ICPU_CFG:CPU_SYSTEM_CTRL) handling configuration of 36 - compatible: Should be "mscc,ocelot-cpu-syscon", "syscon" 37 - reg : Should contain registers location and length [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/amlogic/ |
| H A D | amlogic,meson-gx-ao-secure.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Neil Armstrong <narmstrong@baylibre.com> 22 const: amlogic,meson-gx-ao-secure 24 - compatible 29 - const: amlogic,meson-gx-ao-secure 30 - const: syscon 35 amlogic,has-chip-id: [all …]
|