/linux/drivers/s390/char/ |
H A D | sclp_diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 * struct sclp_diag_ftp - Diagnostic Test FTP Service model-dependent data 45 * @fident: file name (ASCII, zero-terminated) 65 * struct sclp_diag_evbuf - Diagnostic Test (ET7) Event Buffer 68 * @mdd: model-dependent data (@route dependent) 80 * struct sclp_diag_sccb - Diagnostic Test (ET7) SCCB
|
/linux/arch/m68k/include/asm/ |
H A D | machdep.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 /* machine dependent irq functions */ 18 extern void (*mach_get_model) (char *model); 20 /* machine dependent timer functions */
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #define PDC_BAD_PROC -1 /* Called non-existent procedure*/ 15 #define PDC_BAD_OPTION -2 /* Called with non-existent option */ 16 #define PDC_ERROR -3 /* Call could not complete without an error */ 17 #define PDC_NE_MOD -5 /* Module not found */ 18 #define PDC_NE_CELL_MOD -7 /* Cell module not found */ 19 #define PDC_NE_BOOTDEV -9 /* Cannot locate a console device or boot device */ 20 #define PDC_INVALID_ARG -10 /* Called with an invalid argument */ 21 #define PDC_BUS_POW_WARN -12 /* Call could not complete in allowed power budget */ 22 #define PDC_NOT_NARROW -17 /* Narrow mode not supported */ [all …]
|
/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-input.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #define MODULE_NAME "cx231xx-input" 23 dev_dbg(&ir->rc->dev, "%s\n", __func__); in get_key_isdbt() 26 rc = i2c_master_recv(ir->c, &cmd, 1); in get_key_isdbt() 30 return -EIO; in get_key_isdbt() 41 dev_dbg(&ir->rc->dev, "cmd %02x, scan = %02x\n", cmd, scancode); in get_key_isdbt() 54 dev_dbg(dev->dev, "%s\n", __func__); in cx231xx_ir_init() 57 if (!cx231xx_boards[dev->model].rc_map_name) in cx231xx_ir_init() 58 return -ENODEV; in cx231xx_ir_init() 60 request_module("ir-kbd-i2c"); in cx231xx_ir_init() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-cdc_ncm | 10 as-is, without any padding, and are terminated with a 14 back-to-back without any interleaving short USB 50 The actual limits are device dependent. See 66 The actual limits are device dependent. See 82 The following read-only attributes all represent fields of the 85 Control Model Devices" (CDC NCM), Revision 1.0 (Errata 1), November 87 quoted from table 6-3 of CDC NCM: "NTB Parameter Structure". 94 - Bit 0: 16-bit NTB supported (set to 1) 95 - Bit 1: 32-bit NTB supported 96 - Bits 2 – 15: reserved (reset to zero; must be ignored by host)
|
/linux/include/uapi/sound/ |
H A D | firewire.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 30 unsigned int notification; /* DICE-specific bits */ 33 #define SND_EFW_TRANSACTION_USER_SEQNUM_MAX ((__u32)((__u16)~0) - 1) 51 __u32 message; /* Digi00x-specific message */ 56 __u32 message; /* MOTU-specific bits. */ 77 * struct snd_firewire_event_ff400_message - the container for message from Fireface 400 when 139 * Returns -EBUSY if the driver is already streaming. 150 * - 828mk2 151 * - 896hd 152 * - Traveler [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-eb-11mp-ctrevb.dts | 23 #include "arm-realview-eb-11mp.dts" 26 model = "ARM RealView Emulation Baseboard with ARM11MPCore Rev B"; 31 * append a specific compatible-string. 34 compatible = "arm,realview-eb11mp-revb-syscon", "arm,realview-eb-syscon", "syscon", "simple-mfd"; 60 * controller, as a result, some peripherals that are dependent
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | renesas,shmobile-lcdc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/renesas,shmobile-lcdc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas SH-Mobile LCD Controller (LCDC) 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 16 - renesas,r8a7740-lcdc # R-Mobile A1 17 - renesas,sh73a0-lcdc # SH-Mobile AG5 30 Some of the optional clocks are model-dependent (e.g. "video" (a.k.a. [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | sme.rst | 14 model. To aid understanding, a minimal description of relevant programmer's 15 model features for SME is included in Appendix A. 19 ----------- 26 instructions and registers, and the Linux-specific system interfaces 31 the SME2 instructions and ZT0, and the Linux-specific system interfaces 58 cpu-feature-registers.txt for details. 69 vectors from 0 to VL/8-1 stored in the same endianness invariant format as is 76 ------------------ 85 ------------------------- 106 ------------------- [all …]
|
/linux/arch/m68k/ |
H A D | Kconfig.devices | 1 # SPDX-License-Identifier: GPL-2.0 15 Use the power-on LED on your machine as a load meter. The exact 16 behavior is platform-dependent, but normally the flash frequency is 17 a hyperbolic function of the 5-minute load average. 19 # We have a dedicated heartbeat LED. :-) 26 including the model, CPU, MMU, clock speed, BogoMIPS rating, 102 If you want to use your Amiga's built-in serial port in Linux,
|
/linux/Documentation/arch/s390/ |
H A D | pci.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 - Pierre Morel 17 ----------------------- 28 --------------- 36 - /sys/kernel/debug/s390dbf/pci_msg/sprintf 56 - /sys/bus/pci/slots/XXXXXXXX/power 64 - function_id 67 - function_handle 68 Low-level identifier used for a configured PCI function. 71 - pchid [all …]
|
/linux/drivers/iio/pressure/ |
H A D | abp060mg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2016 - Marcin Malagowski <mrc@bourne.st> 18 #define ABP060MG_NUM_COUNTS (ABP060MG_MAX_COUNTS - ABP060MG_MIN_COUNTS) 52 [ABP006KD] = { .min = -6000, .max = 6000 }, 53 [ABP010KD] = { .min = -10000, .max = 10000 }, 54 [ABP016KD] = { .min = -16000, .max = 16000 }, 55 [ABP025KD] = { .min = -25000, .max = 25000 }, 56 [ABP040KD] = { .min = -40000, .max = 40000 }, 57 [ABP060KD] = { .min = -60000, .max = 60000 }, 58 [ABP100KD] = { .min = -100000, .max = 100000 }, [all …]
|
/linux/include/uapi/linux/usb/ |
H A D | cdc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 40 /*-------------------------------------------------------------------------*/ 43 * Class-Specific descriptors ... there are a couple dozen of them 147 /* "Telephone Control Model Functional Descriptor" from CDC WMC spec 6.3..3 */ 177 /* "OBEX Control Model Functional Descriptor" */ 186 /* "NCM Control Model Functional Descriptor" */ 196 /* "MBIM Control Model Functional Descriptor" */ 210 /* "MBIM Extended Functional Descriptor" from CDC MBIM spec 1.0 errata-1 */ 221 /*-------------------------------------------------------------------------*/ 224 * Class-Specific Control Requests (6.2) [all …]
|
/linux/include/linux/hsi/ |
H A D | hsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 36 HSI_ARB_RR, /* Round-robin arbitration */ 58 * struct hsi_channel - channel resource used by the hsi clients 68 * struct hsi_config - Configuration for RX/TX HSI modules 90 * struct hsi_board_info - HSI client board info 97 * @archdata: Architecture-dependent device data 121 * struct hsi_client - HSI client attached to an HSI port 122 * @device: Driver model representation of the device 140 dev_set_drvdata(&cl->device, data); in hsi_client_set_drvdata() 145 return dev_get_drvdata(&cl->device); in hsi_client_drvdata() [all …]
|
/linux/drivers/net/usb/ |
H A D | cdc_eem.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 * Model" (EEM) specification, which encapsulates Ethernet frames 26 * for transport over USB using a simpler USB device model than the 27 * previous CDC "Ethernet Control Model" (ECM, or "CDC Ethernet"). 34 * build on 23-April-2009 39 /*-------------------------------------------------------------------------*/ 43 dev_kfree_skb(urb->context); in eem_linkcmd_complete() 56 usb_fill_bulk_urb(urb, dev->udev, dev->out, in eem_linkcmd() 57 skb->data, skb->len, eem_linkcmd_complete, skb); in eem_linkcmd() 64 netdev_warn(dev->net, "link cmd failure\n"); in eem_linkcmd() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-radxa-e25.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3568-radxa-cm3i.dtsi" 7 model = "Radxa E25 Carrier Board"; 14 pwm-leds { 15 compatible = "pwm-leds-multicolor"; 17 multi-led { 20 max-brightness = <255>; 22 led-red { 27 led-green { [all …]
|
/linux/drivers/target/ |
H A D | target_core_configfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * (c) Copyright 2008-2013 Datera, Inc. 46 struct config_item_type *cit = &tb->tb_##_name##_cit; \ 48 cit->ct_item_ops = _item_ops; \ 49 cit->ct_group_ops = _group_ops; \ 50 cit->ct_attrs = _attrs; \ 51 cit->ct_owner = tb->ops->owner; \ 58 struct config_item_type *cit = &tb->tb_##_name##_cit; \ 60 cit->ct_item_ops = _item_ops; \ 61 cit->ct_group_ops = _group_ops; \ [all …]
|
/linux/Documentation/locking/ |
H A D | preempt-locking.rst | 2 Proper Locking Under a Preemptible Kernel: Keeping Kernel Code Preempt-Safe 14 kernel model leverages existing SMP locking mechanisms. Thus, the kernel 21 RULE #1: Per-CPU data structures need explicit protection 32 First, since the data is per-CPU, it may not have explicit SMP locking, but 44 Under preemption, the state of the CPU must be protected. This is arch- 45 dependent, but includes CPU structures and state not preserved over a context 48 if the kernel is executing a floating-point instruction and is then preempted. 84 n-times in a code path, and preemption will not be reenabled until the n-th 93 disabling preemption - any cond_resched() or cond_resched_lock() might trigger 95 reschedule. So use this implicit preemption-disabling property only if you [all …]
|
/linux/drivers/power/supply/ |
H A D | ds2780_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 1-wire client/driver for the Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC 7 * Author: Clifton Barnes <cabarnes@indesign-llc.com> 23 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */ 25 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */ 28 #define DS2780_USER_EEPROM_SIZE (DS2780_EEPROM_BLOCK0_END - \ 31 #define DS2780_PARAM_EEPROM_SIZE (DS2780_EEPROM_BLOCK1_END - \ 46 static const char model[] = "DS2780"; variable 58 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io() 108 ret = ds2780_store_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom() [all …]
|
H A D | ds2781_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 1-wire client/driver for the Maxim/Dallas DS2781 Stand-Alone Fuel Gauge IC 21 /* Current unit measurement in uA for a 1 milli-ohm sense resistor */ 23 /* Charge unit measurement in uAh for a 1 milli-ohm sense resistor */ 26 #define DS2781_USER_EEPROM_SIZE (DS2781_EEPROM_BLOCK0_END - \ 29 #define DS2781_PARAM_EEPROM_SIZE (DS2781_EEPROM_BLOCK1_END - \ 44 static const char model[] = "DS2781"; variable 56 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); in ds2781_battery_io() 112 ret = ds2781_store_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() 116 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() [all …]
|
/linux/Documentation/trace/ |
H A D | mmiotrace.rst | 2 In-kernel memory-mapped I/O tracing 11 Injection Test Harness. In Dec 2006 - Jan 2007, using the code from Intel, 15 Mmiotrace was built for reverse engineering any memory-mapped IO device with 19 Out-of-tree mmiotrace was originally modified for mainline inclusion and 24 ----------- 29 is on-line, therefore mmiotrace takes all but one CPU off-line during run-time 30 activation. You can re-enable CPUs by hand, but you have been warned, there 35 --------------------- 38 $ mount -t debugfs debugfs /sys/kernel/debug 48 ----- [all …]
|
/linux/sound/firewire/motu/ |
H A D | motu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * motu.h - a part of driver for MOTU FireWire series 5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp> 13 #include <linux/firewire-constants.h> 30 #include "../amdtp-stream.h" 31 #include "../iso-resources.h" 57 /* Model dependent information. */ 123 // The combination of snd_motu_spec_flags enumeration-constants. 220 if (motu->spec->protocol_version == SND_MOTU_PROTOCOL_V2) in snd_motu_protocol_get_clock_rate() 222 else if (motu->spec->protocol_version == SND_MOTU_PROTOCOL_V3) in snd_motu_protocol_get_clock_rate() [all …]
|
/linux/arch/powerpc/platforms/ |
H A D | Kconfig.cputype | 1 # SPDX-License-Identifier: GPL-2.0 7 bool "64-bit kernel" 10 This option selects whether a 32-bit or a 64-bit kernel 267 default "-mtune=power10" if $(cc-option,-mtune=power10) 268 default "-mtune=power9" if $(cc-option,-mtune=power9) 269 default "-mtune=power8" if $(cc-option,-mtune=power8) 346 This option enables kernel support for larger than 32-bit physical 351 is platform-dependent. 367 any affect on a non-altivec cpu (it does, however add code to the 383 VSX (P7 and above), but does not have any affect on a non-VSX [all …]
|
/linux/drivers/atm/ |
H A D | fore200e.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 52 #define RSD_REQUIRED (((MAX_PDU_SIZE - SMALL_BUFFER_SIZE + LARGE_BUFFER_SIZE) / LARGE_BUFFER_SIZE)… 56 /* RSD_REQUIRED receive segment descriptors are enough to describe a max-sized PDU, 61 #define RSD_EXTENSION ((RSD_REQUIRED - RSD_FIXED) + 1) 65 #define FORE200E_DEV(d) ((struct fore200e*)((d)->dev_data)) 66 #define FORE200E_VCC(d) ((struct fore200e_vcc*)((d)->dev_data)) 256 OPCODE_SET_OC3, /* set OC-3 registers */ 257 OPCODE_GET_OC3, /* get OC-3 registers */ 318 /* OC-3 registers */ 321 u32 reg[ 128 ]; /* see the PMC Sierra PC5346 S/UNI-155-Lite [all …]
|
/linux/include/target/ |
H A D | target_core_base.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/dma-direction.h> /* enum dma_data_direction */ 8 #include <linux/percpu-refcount.h> 73 /* Use a model alias based on the configfs backend device name */ 79 /* Emulation for Thin Provisioning UNMAP using block/blk-lib.c:blkdev_issue_discard() */ 83 * block/blk-lib.c:blkdev_issue_discard() 98 /* Force SPC-3 PR Activate Persistence across Target Power Loss */ 102 /* By default don't report non-rotating (solid state) medium */ 120 /* struct se_hba->hba_flags */ 126 /* Special transport agnostic struct se_cmd->t_states */ [all …]
|