/linux/drivers/hid/usbhid/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 30 Say Y here if you have a PID-compliant device and wish to enable force 55 to use the generic HID driver for your USB keyboard and prefer 58 This is almost certainly not what you want. This is mostly 71 to use the generic HID driver for your USB mouse and prefer 74 This is almost certainly not what you want. This is mostly
|
/linux/kernel/irq/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 # Enable the generic irq autoprobe mechanism 17 # Use the generic /proc/interrupts implementation 34 # Support for generic irq migrating off cpu before the cpu is offline. 50 # Generic configurable interrupt chip implementation 55 # Generic irq_domain hw <--> linux irq number translation 70 # Support for obsolete non-mapping irq domains 79 # Generic IRQ IPI support 85 # Generic IRQ IPI Mux support 90 # Generic MSI hierarchical interrupt domain support [all …]
|
/linux/Documentation/driver-api/ |
H A D | eisa.rst | 5 :Author: Marc Zyngier <maz@wild-wind.fr.eu.org> 16 drivers to the new infrastructure is not an easy task (mostly because 23 - The bus code implements most of the generic code. It is shared 29 - The bus root driver implements the glue between the bus hardware 30 and the generic bus code. It is responsible for discovering the 37 - The driver offers the bus a list of devices that it manages, and 102 optionally be paired with a driver-dependent value 105 driver a generic driver, such as described in 106 Documentation/driver-api/driver-model/driver.rst. Only .name, 144 struct device dev; /* generic device */ [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | ppc44x_simple.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic PowerPC 44x platform support 8 * mostly used for eval boards or other simple and "generic" 44x boards. If 14 #include <asm/pci-bridge.h> 27 { .compatible = "simple-bus", },
|
/linux/Documentation/usb/ |
H A D | gadget_serial.rst | 7 (updated 8-May-2008 for v2.3) 11 ---------------------- 25 MA 02111-1307 USA. 35 ------------- 55 -------- 62 or a generic USB serial driver running on a host PC:: 65 -------------------------------------- 66 | Host-Side CDC ACM USB Host | 68 | System | Generic USB | Driver |-------- 71 -------------------------------------- | [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | nvidia,tegra20-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/nvidia,tegra20-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Thierry Reding <thierry.reding@gmail.com> 9 - Jon Hunter <jonathanh@nvidia.com> 16 - description: Tegra20 has 4 generic I2C controller. This can support 17 master and slave mode of I2C communication. The i2c-tegra driver 19 controller is only compatible with "nvidia,tegra20-i2c". 20 const: nvidia,tegra20-i2c [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Generic video config states 15 Enables the V4L2 sub-device pad-level userspace API used to configure 18 This API is mostly used by camera interfaces in embedded platforms. 28 bool "Enable old-style fixed minor ranges on drivers/video devices" 30 Say Y here to enable the old-style fixed-range minor assignments. 39 # Used by drivers that need v4l2-jpeg.ko 43 # Used by drivers that need v4l2-h264.ko 47 # Used by drivers that need v4l2-vp9.ko 51 # Used by drivers that need v4l2-mem2mem.ko
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic PCI host controller 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: [all …]
|
/linux/Documentation/process/ |
H A D | botching-up-ioctls.rst | 5 From: https://blog.ffwll.ch/2013/11/botching-up-ioctls.html 13 Which is nice, since there's no more insanity in the form of fake-generic, but 19 only cover technicalities and not the big-picture issues like what the command 25 ------------- 28 will need to add a 32-bit compat layer: 33 * Align everything to the natural size and use explicit padding. 32-bit 34 platforms don't necessarily align 64-bit values to 64-bit boundaries, but 35 64-bit platforms do. So we always need padding to the natural size to get 38 * Pad the entire struct to a multiple of 64-bits if the structure contains 39 64-bit types - the structure size will otherwise differ on 32-bit versus [all …]
|
/linux/kernel/time/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 # The generic clock events infrastructure 28 # Architecture can handle broadcast in a driver-agnostic way 47 # Generic update of CMOS clock 64 lack support for the generic clockevent framework. 65 New platforms should use generic clockevents instead. 113 will only trigger on an as-needed basis when the system is idle. 135 the task mostly runs in userspace and has few kernel activity. 139 the expense of some overhead in user <-> kernel transitions: 163 The major pre-requirement for full dynticks to work is to [all …]
|
/linux/arch/openrisc/kernel/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 41 /* Read 32-bit counter value, add delta, mask off the low 28 bits. in openrisc_timer_set_next() 43 * generic timekeeping code ensures that for us. in openrisc_timer_set_next() 63 * As the timer is being used as a continuous clock-source (required for HR 65 * one-shot events, so no problem. 79 evt->broadcast = tick_broadcast; in openrisc_clockevent_init() 81 evt->name = "openrisc_timer_clockevent", in openrisc_clockevent_init() 82 evt->features = CLOCK_EVT_FEAT_ONESHOT, in openrisc_clockevent_init() 83 evt->rating = 300, in openrisc_clockevent_init() [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | ti-sysc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/ti-sysc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 13 Texas Instruments SoCs can have a generic interconnect target module 16 is mostly used for interaction between module and Power, Reset and Clock 18 than that it is mostly independent of the interconnect. 31 pattern: "^target-module(@[0-9a-f]+)?$" 35 - items: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | microchip,sama7g5-i2smcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-i2smcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip I2S Multi-Channel Controller 10 - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 13 The I2SMCC complies with the Inter-IC Sound (I2S) bus specification and 15 multi-channel audio codecs. It consists of a receiver, a transmitter and a 19 multi-channel is supported by using multiple data pins, output and 23 "#sound-dai-cells": [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_vlan.sh |
|
/linux/drivers/firmware/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 19 provides a mechanism for inter-processor communication between SCP 61 bool "Add firmware-provided memory map to sysfs" if EXPERT 64 Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap. 68 See also Documentation/ABI/testing/sysfs-firmware-memmap. 77 DMI-based module auto-loading. 187 bool "Mark VGA/VBE/EFI FB as generic system framebuffer" 192 bootloader or kernel can show basic video-output during boot for 193 user-guidance and debugging. Historically, x86 used the VESA BIOS [all …]
|
/linux/drivers/bus/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus 42 bool "Baikal-T1 APB-bus driver" 46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs. 53 errors counter. The counter and the APB-bus operations timeout can be 57 bool "Baikal-T1 AXI-bus driver" 61 AXI3-bus is the main communication bus connecting all high-speed 62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on 63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI 120 cores. This bus is for per-CPU tightly coupled devices such as the [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * big-endian system because, unlike little endian, the number of each 22 * There are a few little-endian macros used mostly for filesystem 24 * byte-oriented: 27 * The main difference is that bit 3-5 (64b) or 3-4 (32b) in the bit 28 * number field needs to be reversed compared to the big-endian bit 42 #include <asm/asm-compat.h> 46 #define PPC_BITLSHIFT(be) (BITS_PER_LONG - 1 - (be)) 48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) 54 #define PPC_BITLSHIFT32(be) (32 - 1 - (be)) [all …]
|
/linux/Documentation/i2c/ |
H A D | dma-considerations.rst | 5 Given that I2C is a low-speed bus, over which the majority of messages 13 rarely used. However, it is recommended to use a DMA-safe buffer if your 15 around 8 bytes (as of today, this is mostly an educated guess, however). For 22 ------- 40 ------- 43 the I2C core. One gives you a DMA-safe buffer for a given i2c_msg as long as a 48 If a buffer is returned, it is either msg->buf for the I2C_M_DMA_SAFE case or a 62 The bounce buffer handling from the core is generic and simple. It will always 64 reusing pre-allocated buffers), you are free to implement your own. 66 Please also check the in-kernel documentation for details. The i2c-sh_mobile
|
/linux/Documentation/hid/ |
H A D | hid-transport.rst | 8 Bluetooth, I2C and user-space I/O drivers. 14 devices and register them with the HID bus. HID core then loads generic device 17 report-parsing, report interpretation and the user-space API. Device specifics 22 +-----------+ +-----------+ +-----------+ +-----------+ 24 +-----------+ +-----------+ +-----------+ +-----------+ 26 +------------+ +------------+ 28 +------------+ +------------+ 30 +------------------+ +------------------+ 32 +------------------+ +------------------+ 35 +----------------+ [all …]
|
/linux/net/core/ |
H A D | stream.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Generic stream handling routines. These are generic for most 6 * protocols. Even IP. Tonight 8-). 7 * This is used because TCP, LLC (others too) layer all have mostly 13 * Alan Cox <alan@lxorguk.ukuu.org.uk> (Borrowed comments 8-)) 25 * sk_stream_write_space - stream socket write_space callback. 36 struct socket *sock = sk->sk_socket; in sk_stream_write_space() 40 clear_bit(SOCK_NOSPACE, &sock->flags); in sk_stream_write_space() 43 wq = rcu_dereference(sk->sk_wq); in sk_stream_write_space() 45 wake_up_interruptible_poll(&wq->wait, EPOLLOUT | in sk_stream_write_space() [all …]
|
/linux/sound/usb/ |
H A D | usbaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* handling of USB vendor/product ID pairs as 32-bit numbers */ 56 struct list_head ep_list; /* list of audio-related endpoints */ 80 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L) 83 dev_err(&(chip)->dev->dev, fmt, ##args) 85 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args) 87 dev_warn(&(chip)->dev->dev, fmt, ##args) 89 dev_info(&(chip)->dev->dev, fmt, ##args) 91 dev_dbg(&(chip)->dev->dev, fmt, ##args) 98 #define QUIRK_NODEV_INTERFACE -3 /* return -ENODEV */ [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | cmdhdr.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 55 * should be defined in the appropriate fw-api header files 60 * struct iwl_cmd_header - (short) command header format 80 * when sending the response to each driver-originated command, so 92 * 0:7 tfd index - position within TX queue 95 * 15 unsolicited RX or uCode-originated notification 125 * struct iwl_calib_res_notif_phy_db - Receive phy db chunk after calibrations [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | dma.rst | 12 though they still must provide DMA-ready buffers (see 13 Documentation/core-api/dma-api-howto.rst). That's how they've worked through 14 the 2.4 (and earlier) kernels, or they can now be DMA-aware. 16 DMA-aware usb drivers: 18 - New calls enable DMA-aware drivers, letting them allocate dma buffers and 19 manage dma mappings for existing dma-ready buffers (see below). 21 - URBs have an additional "transfer_dma" field, as well as a transfer_flags 25 - "usbcore" will map this DMA address, if a DMA-aware driver didn't do 29 - There's a new "generic DMA API", parts of which are usable by USB device 37 and effects like cache-trashing can impose subtle penalties. [all …]
|
/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | basic_qos.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # The script is mostly generic, with the exception of the 6 # ethtool per-TC counter names ("rx_green_prio_${tc}") 55 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \ 56 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 74 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \ 75 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 165 ping_do ${if_name} $H2_IPV4 "-Q ${tos}" 168 if [ $((${ipv4_after} - ${ipv4_before})) -lt ${PING_COUNT} ]; then 176 ping_do ${if_name} $H2_IPV6 "-Q ${tos}" [all …]
|
/linux/include/linux/ |
H A D | nubus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 Hacked to death by C. Scott Ananian and David Huggins-Daines. 38 /* Only 9-E actually exist, though 0-8 are also theoretically 70 /* These are mostly here for convenience; we could always read 92 /* Generic NuBus interface functions, modelled after the PCI interface */ 129 for_each_func_rsrc(f) if (f->board != b) {} else 131 /* These are somewhat more NuBus-specific. They all return 0 for 132 success and -1 for failure, as you'd expect. */ 173 dev_set_drvdata(&board->dev, data); in nubus_set_drvdata() 178 return dev_get_drvdata(&board->dev); in nubus_get_drvdata()
|