/linux-6.12.1/drivers/media/usb/go7007/ |
D | go7007-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 17 #include "go7007-priv.h" 19 /********************* Driver for on-board I2C adapter *********************/ 34 /* There is only one I2C port on the TW2804 that feeds all four GO7007 VIPs 35 * on the Adlink PCI-MPG24, so access is shared between all of them. */ 38 static inline void adlink_mpg24_i2c_lock(struct go7007 *go) in adlink_mpg24_i2c_lock() argument 40 /* Bridge the I2C port on this GO7007 to the shared bus */ in adlink_mpg24_i2c_lock() 42 go7007_write_addr(go, 0x3c82, 0x0020); in adlink_mpg24_i2c_lock() 45 static inline void adlink_mpg24_i2c_unlock(struct go7007 *go) in adlink_mpg24_i2c_unlock() argument [all …]
|
D | go7007-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 22 #include <media/v4l2-common.h> 23 #include <media/v4l2-event.h> 25 #include "go7007-priv.h" 28 * Wait for an interrupt to be delivered from the GO7007SB and return 29 * the associated value and data. 31 * Must be called with the hw_lock held. 33 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument 35 go->interrupt_available = 0; in go7007_read_interrupt() [all …]
|
D | go7007-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 22 #include "go7007-priv.h" 29 /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */ 36 * Pipes on EZ-USB interface: 37 * 0 snd - Control 38 * 0 rcv - Control 39 * 2 snd - Download firmware (control) 40 * 4 rcv - Read Interrupt (interrupt) 41 * 6 rcv - Read Video (bulk) [all …]
|
D | go7007-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 20 #include <media/v4l2-common.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/v4l2-subdev.h> 23 #include <media/v4l2-event.h> 24 #include <media/videobuf2-vmalloc.h> 27 #include "go7007-priv.h" 47 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in get_frame_type_flag() 53 switch ((ptr[vb->frame_offset + 4] >> 6) & 0x3) { in get_frame_type_flag() [all …]
|
D | s2250-board.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-common.h> 13 #include <media/v4l2-subdev.h> 14 #include "go7007-priv.h" 21 * Due to the unusual way these are accessed on this device we do not 22 * reuse the i2c drivers, but instead they are implemented in this 23 * driver. It would be nice to improve on this, though. 130 /* from go7007-usb.c which is Copyright (C) 2005-2006 Micronas USA Inc.*/ 131 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 Note that the answer to this question doesn't directly affect the 13 kernel: saying N will just cause the configurator to skip all 14 the questions about Intel cards. If you say Y, you will be asked for 15 your specific card in the following questions. 24 depends on PCI 28 To verify that your adapter is supported, find the board ID number 29 on the adapter. Look for a label that has a barcode and a number 30 in the format 123456-001 (six digits hyphen three digits). 32 Use the above information and the Adapter & Driver ID Guide that [all …]
|
/linux-6.12.1/drivers/s390/char/ |
D | sclp_rw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * driver: reading from and writing to system console on S/390 via SCLP 23 * The room for the SCCB (only for writing) is not equal to a pages size 24 * (as it is specified as the maximum size in the SCLP documentation) 25 * because of the additional data structure described above. 27 #define MAX_SCCB_ROOM (PAGE_SIZE - sizeof(struct sclp_buffer)) 36 * a pointer to a struct sclp_buffer structure that is located at the 37 * end of the input page. This reduces the buffer space by a few 48 * We keep the struct sclp_buffer structure at the end in sclp_make_buffer() 49 * of the sccb page. in sclp_make_buffer() [all …]
|
/linux-6.12.1/drivers/power/reset/ |
D | odroid-go-ultra-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * The Odroid Go Ultra has 2 PMICs: 17 * - RK818 (manages the battery and USB-C power supply) 18 * - RK817 19 * Both PMICs feeds power to the S922X SoC, so they must be powered-off in sequence. 20 * Vendor does power-off the RK817 first, then the RK818 so here we follow this sequence. 31 struct odroid_go_ultra_poweroff_data *poweroff_data = data->cb_data; in odroid_go_ultra_poweroff_prepare() 36 rk817 = dev_get_regmap(poweroff_data->rk817, NULL); in odroid_go_ultra_poweroff_prepare() 38 dev_err(poweroff_data->dev, "failed to get rk817 regmap\n"); in odroid_go_ultra_poweroff_prepare() 39 return notifier_from_errno(-EINVAL); in odroid_go_ultra_poweroff_prepare() [all …]
|
/linux-6.12.1/arch/powerpc/lib/ |
D | checksum_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This file contains assembly-language implementations 4 * of IP-style 1's complement checksum routines. 6 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 18 * Computes the checksum of a memory block at buff, length len, 19 * and adds in "sum" (32-bit). 32 * work to calculate the correct checksum, we ignore that case 33 * and take the potential slowdown of unaligned loads. 35 rldicl. r6,r3,64-1,64-2 /* r6 = (r3 >> 1) & 0x3 */ 51 * We unroll the loop such that each iteration is 64 bytes with an [all …]
|
/linux-6.12.1/Documentation/w1/slaves/ |
D | w1_ds28e17.rst | 7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge 19 ----------- 20 The DS28E17 is a Onewire slave device which acts as an I2C bus master. 23 come and go as the DS28E17 devices come and go. I2C slave devices connected to 24 a DS28E17 can be accessed by the kernel or userspace tools as if they were 28 An udev rule like the following:: 30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \ 31 SYMLINK+="i2c-$attr{name}" 33 may be used to create stable /dev/i2c- entries based on the unique id of the 40 This sets up the default I2C speed a DS28E17 get configured for as soon [all …]
|
/linux-6.12.1/lib/ |
D | Kconfig.kgdb | 1 # SPDX-License-Identifier: GPL-2.0-only 6 # set if architecture has the its kgdb_arch_handle_qxfer_pkt 13 depends on HAVE_ARCH_KGDB 14 depends on DEBUG_KERNEL 16 If you say Y here, it will be possible to remotely debug the 18 you also turn on the kernel config option 20 backtraces in the external debugger. Documentation of 22 as well as in Documentation/dev-tools/kgdb.rst. If 29 depends on HAVE_KPROBES 30 depends on MODULES [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | amc6821.rst | 19 ----------- 21 This driver implements support for the Texas Instruments amc6821 chip. 22 The chip has one on-chip and one remote temperature sensor and one pwm fan 24 The pwm can be controlled either from software or automatically. 26 The driver provides the following sensor accesses in sysfs: 29 temp1_input ro on-chip temperature 57 combination of the on-chip temperature and 58 remote-sensor temperature, 72 temp1_auto_point2_temp rw The low-temperature limit of the proportional 74 pwm1 = pwm1_auto_point2_pwm. It can go from [all …]
|
/linux-6.12.1/Documentation/filesystems/bcachefs/ |
D | CodingStyle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Things don't always have to be perfect - nitpicking often does more harm than 12 good. But appreciate beauty when you see it - and let people know. 14 The code that you are afraid to touch is the code most in need of refactoring. 20 Good code is readable code, where the structure is simple and leaves nowhere 24 the course of writing a patchset you encounter a condition that shouldn't 26 you're not sure if it can happen and not sure how to handle it yet - make it a 27 BUG_ON(). Don't leave undefined or unspecified behavior lurking in the codebase. 29 By the time you finish the patchset, you should understand better which 31 which should be logically impossible. Leave the BUG_ON()s in for the ones which [all …]
|
/linux-6.12.1/arch/m68k/fpsp040/ |
D | gen_except.S | 4 | gen_except --- FPSP routine to detect reportable exceptions 6 | This routine compares the exception enable byte of the 7 | user_fpcr on the stack with the exception status byte 8 | of the user_fpsr. 11 | the stack frame in memory with the exceptional operand(s). 24 | Note: The IEEE standard specifies that inex2 is to be 25 | reported if ovfl occurs and the ovfl enable bit is not 26 | set but the inex2 enable bit is. 32 | For details on the license for this file, please see the 58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame [all …]
|
D | setox.S | 4 | The entry point setox computes the exponential of a value. 5 | setoxd does the same except the input value is a denormalized 6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes 7 | exp(X)-1 for denormalized X. 10 | ----- 11 | Double-extended value in memory location pointed to by address 15 | ------ 16 | exp(X) or exp(X)-1 returned in floating-point register fp0. 19 | ------------------------- 20 | The returned result is within 0.85 ulps in 64 significant bit, i.e. [all …]
|
/linux-6.12.1/Documentation/watchdog/ |
D | convert_drivers_to_kernel_api.rst | 2 Converting old watchdog drivers to the watchdog framework 7 Before the watchdog framework came into the kernel, every driver had to 8 implement the API on its own. Now, as the framework factored out the common 9 components, those drivers can be lightened making it a user of the framework. 10 This document shall guide you for this task. The necessary steps are described 14 Remove the file_operations struct 15 --------------------------------- 18 etc... These are now handled by the framework and just call the driver when 19 needed. So, in general, the 'file_operations' struct and assorted functions can 20 go. Only very few driver-specific details have to be moved to other functions. [all …]
|
/linux-6.12.1/drivers/scsi/isci/ |
D | sas.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 10 * it under the terms of version 2 of the GNU General Public License as 11 * published by the Free Software Foundation. 13 * This program is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 21 * The full GNU General Public License is included in this distribution [all …]
|
/linux-6.12.1/net/wireless/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 depends on CFG80211_WEXT || WIRELESS_EXT 11 depends on PROC_FS 12 depends on WEXT_CORE 21 tristate "cfg80211 - wireless configuration API" 22 depends on RFKILL || !RFKILL 30 cfg80211 is the Linux wireless LAN (802.11) configuration API. 33 For more information refer to documentation on the wireless wiki: 44 The nl80211 testmode command helps implementing things like 50 Debugging tools that are supposed to end up in the hands of [all …]
|
/linux-6.12.1/Documentation/admin-guide/pm/ |
D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 14 space code cannot be executed and the overall system activity is significantly 21 Depending on its configuration and the capabilities of the platform it runs on, 22 the Linux kernel can support up to four system sleep states, including 23 hibernation and up to three variants of system suspend. The sleep states that 24 can be supported by the kernel are listed below. 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also [all …]
|
/linux-6.12.1/arch/x86/entry/vdso/ |
D | vdso2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vdso2c - A vdso image preparation tool 7 * to fully strip the input in here, but, for reasons described below, 9 * equivalent to dropping all non-allocatable sections, but it's 16 * The Go runtime had a couple of bugs: it would read the section 18 * shouldn't have looked at the section table at all) and, if there 20 * uninitialized value for the number of symbols. An empty DYNSYM 22 * keep full performance for old Go programs). This hack is only 23 * needed on x86_64. 25 * The bug was introduced on 2012-08-31 by: [all …]
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | l2cr_6xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 Copyright © 1997-1998 by PowerLogix R & D, Inc. 9 - First public release, contributed by PowerLogix. 12 - Terry: Made sure code disabled interrupts before running. (Previously 14 - Terry: Updated for tentative G4 support. 4MB of memory is now flushed 16 - Terry: Updated for workaround to HID0[DPM] processor bug 20 - Terry: Added isync to correct for an errata. 23 - DanM: Finally added the 7450 patch I've had for the past 24 several months. The L2CR is similar, but I'm going 25 to assume the user of this functions knows what they [all …]
|
/linux-6.12.1/tools/testing/selftests/powerpc/tm/ |
D | tm-trap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Check if thread endianness is flipped inadvertently to BE on trap 9 * The issue can be checked on LE machines simply by zeroing load_fp 10 * and load_vec and then causing a trap in TM. Since the endianness 11 * changes to BE on return from the signal handler, 'nop' is 19 * However, although the issue is also present on BE machines, it's a 20 * bit trickier to check it on BE machines because MSR.LE bit is set 21 * to zero which determines a BE endianness that is the native 22 * endianness on BE machines, so nothing notably critical happens, 24 * from the signal handler (as it happens on LE machines). Thus to test [all …]
|
/linux-6.12.1/drivers/cpuidle/ |
D | cpuidle-ux500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on the work of Rickard Andersson <rickard.andersson@stericsson.com> 14 #include <linux/mfd/dbx500-prcmu.h> 15 #include <linux/platform_data/arm-ux500-pm.h> 31 /* With this lock, we prevent the other cpu to exit and enter in ux500_enter_idle() 32 * this function again and become the master */ in ux500_enter_idle() 36 /* decouple the gic from the A9 cores */ in ux500_enter_idle() 42 /* If an error occur, we will have to recouple the gic in ux500_enter_idle() 46 /* At this state, as the gic is decoupled, if the other in ux500_enter_idle() 47 * cpu is in WFI, we have the guarantee it won't be wake in ux500_enter_idle() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-counter | 3 Contact: linux-iio@vger.kernel.org 5 Indicates the cascading of Counts on Counter X. 11 Contact: linux-iio@vger.kernel.org 13 Selects the external clock pin for phase counting mode of 16 MTCLKA-MTCLKB: 17 MTCLKA and MTCLKB pins are selected for the external 20 MTCLKC-MTCLKD: 21 MTCLKC and MTCLKD pins are selected for the external 26 Contact: linux-iio@vger.kernel.org 28 Discrete set of available values for the respective device [all …]
|
/linux-6.12.1/Documentation/networking/device_drivers/cable/ |
D | sb1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 sb1000 is a module network device driver for the General Instrument (also known 10 It's a one-way downstream-only cable modem, meaning that your upstream net link 19 Support for this device is now a part of the standard Linux kernel. The 23 1. The "cmconfig" program. This is a utility which supplements "ifconfig" 24 to configure the cable modem and network interface (usually called "cm0"); 34 the sb1000 driver can be found at: 36 - http://web.archive.org/web/%2E/http://home.adelphia.net/~siglercm/sb1000.html 37 - http://web.archive.org/web/%2E/http://linuxpower.cx/~cable/ 41 3. The standard isapnp tools. These are necessary to configure your SB1000 [all …]
|