| /linux/drivers/usb/gadget/function/ |
| H A D | u_eem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * struct f_eem_opts - EEM function options 22 * @bound: True if the net_device is shared and pre-registered during the 23 * legacy composite driver's bind phase (e.g., multi.c). If false, 25 * bind phase. 27 * bound to, preventing double-registration of the @net device.
|
| H A D | u_gether.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * struct f_gether_opts - subset function options 22 * @bound: True if the net_device is shared and pre-registered during the 23 * legacy composite driver's bind phase (e.g., multi.c). If false, 25 * bind phase. 27 * bound to, preventing double-registration of the @net device.
|
| H A D | u_ecm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * struct f_ecm_opts - ECM function options 22 * @bound: True if the net_device is shared and pre-registered during the 23 * legacy composite driver's bind phase (e.g., multi.c). If false, 25 * bind phase. 27 * bound to, preventing double-registration of the @net device.
|
| H A D | u_rndis.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * struct f_rndis_opts - RNDIS function options 25 * bound to, preventing double-registration of the @net device. 26 * @borrowed_net: True if the net_device is shared and pre-registered during 27 * the legacy composite driver's bind phase (e.g., multi.c). 29 * during its own bind phase.
|
| /linux/drivers/ptp/ |
| H A D | ptp_idt82p33.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 46 * @brief Maximum absolute value for write phase offset in nanoseconds 50 /** @brief Phase offset resolution 52 * DPLL phase offset = 10^15 fs / ( System Clock * 2^13) 64 /* Workaround for TOD-to-output alignment issue */ 67 /* double dco mode */
|
| /linux/drivers/block/ |
| H A D | swim.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * 2004-08-21 (lv) - Initial implementation 12 * 2008-10-30 (lv) - Port to 2.6 18 #include <linux/blk-mq.h> 39 #define DRIVER_VERSION "Version 0.2 (2008-10-30)" 41 #define REG(x) unsigned char x, x ## _pad[0x200 - 1]; 63 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v)) 64 #define swim_read(base, reg) in_8(&(base)->read_##reg) 87 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v)) 88 #define iwm_read(base, reg) in_8(&(base)->reg) [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | dw_mmc-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/mmc/slot-gpio.h> 17 #include "dw_mmc-pltfm.h" 44 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to 49 unsigned long rate = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in rockchip_mmc_get_internal_phase() 54 /* Constant signal, no measurable phase shift */ in rockchip_mmc_get_internal_phase() 81 struct dw_mci_rockchip_priv_data *priv = host->priv; in rockchip_mmc_get_phase() 82 struct clk *clock = sample ? priv->sample_clk : priv->drv_clk; in rockchip_mmc_get_phase() 84 if (priv->internal_phase) in rockchip_mmc_get_phase() 92 unsigned long rate = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in rockchip_mmc_set_internal_phase() [all …]
|
| /linux/tools/mm/ |
| H A D | thp_swap_allocator_test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * can be enabled by "-s". 15 * echo never > /sys/kernel/mm/transparent_hugepage/hugepages-2048kB/enabled 16 * echo always > /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled 20 * w/o "-s". 22 * Author(s): Barry Song <v-songbaohu [all...] |
| /linux/arch/parisc/math-emu/ |
| H A D | fmpyfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 15 * Double Floating-point Multiply Fused Add 16 * Double Floating-point Multiply Negate Fused Add 17 * Single Floating-point Multiply Fused Add 18 * Single Floating-point Multiply Negate Fused Add 41 * Double Floating-point Multiply Fused Add 77 mpy_exponent = Dbl_exponent(opnd1p1) + Dbl_exponent(opnd2p1) - DBL_BIAS; in dbl_fmpyfadd() [all …]
|
| H A D | dfsub.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 15 * Double_subtract: subtract two double precision values. 33 * Double_subtract: subtract two double precision values. 266 diff_exponent = result_exponent - right_exponent; in dbl_fsub() 289 * normalization phase. in dbl_fsub() 313 /* Must have been "x-x" or "x+(-x)". */ in dbl_fsub() 319 result_exponent--; in dbl_fsub() [all …]
|
| H A D | dfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 15 * Double_add: add two double precision values. 33 * Double_add: add two double precision values. 263 diff_exponent = result_exponent - right_exponent; in dbl_fadd() 286 * normalization phase. in dbl_fadd() 310 /* Must have been "x-x" or "x+(-x)". */ in dbl_fadd() 316 result_exponent--; in dbl_fadd() [all …]
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | sfdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define SFDP_DWORD(i) ((i) - 1) 57 * - 000b: Device does not have a QE bit. Device detects 1-1-4 and 1-4-4 59 * instruction phase. 60 * - 001b: QE is bit 1 of status register 2. It is set via Write Status with 63 * Writing only one byte to the status register has the side-effect of 67 * - 010b: QE is bit 6 of status register 1. It is set via Write Status with 70 * - 011b: QE is bit 7 of status register 2. It is set via Write status 74 * - 100b: QE is bit 1 of status register 2. It is set via Write Status with 79 * - 101b: QE is bit 1 of status register 2. Status register 1 is read using [all …]
|
| /linux/tools/testing/selftests/ptp/ |
| H A D | testptp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PTP 1588 clock support - User space test program 35 #define CLOCK_INVALID -1 105 * we simply use double precision math, in order to avoid the in ppb_to_scaled_ppm() 113 return t->sec * NSEC_PER_SEC + t->nsec; in pctns() 120 " -c query the ptp clock's capabilities\n" in usage() 121 " -d name device to open\n" in usage() 122 " -e val read 'val' external time stamp events\n" in usage() 123 " -E val enable rising (1), falling (2), or both (3) edges\n" in usage() 124 " -f val adjust the ptp clock frequency by 'val' ppb\n" in usage() [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 possible slots or ports for multi-slot controllers. 17 "#address-cells": 22 "#size-cells": 29 broken-cd: 34 cd-gpios: [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | srv6_end_next_csid_l3vpn_test.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 12 # two hosts and four routers. Hosts hs-1 and hs-2 are connected through an 13 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using 14 # the NEXT-C-SID flavor. The key components for such VPNs are: 22 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 23 # SRv6 segments within a single 128-bit SID address, referred to as a 24 # Compressed SID (C-SID) container. In this way, the length of the SID 26 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End behavior 27 # which advances the current C-SID (i.e. the Locator-Node Function defined [all …]
|
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 13 # two hosts and four routers. Hosts hs-1 and hs-2 are connected through an 14 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using 15 # the NEXT-C-SID flavor. The key components for such VPNs are: 24 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 25 # SRv6 segments within a single 128-bit SID address, referred to as a 26 # Compressed SID (C-SID) container. In this way, the length of the SID 28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior 29 # which advances the current C-SID (i.e. the Locator-Node Function defined [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 44 on and "double DAC" mode. Actually I could hear separate 4 channels 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | philips.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19 30 * Samsung MPC-C10 31 * Samsung MPC-C30 33 * AME CU-001 34 * Visionite VCS-UM100 35 * Visionite VCS-UC300 46 the latter, since it makes troubleshooting a lot easier. The built-in 50 camera; some programs depend on a particular image-size or -format and 60 Specifies the desired framerate. Is an integer in the range of 4-30. [all …]
|
| /linux/Documentation/RCU/Design/Memory-Ordering/ |
| H A D | Tree-RCU-Memory-Ordering.rst | 2 A Tour Through TREE_RCU's Grace-Period Memory Ordering 13 grace-period memory ordering guarantee is provided. 18 RCU grace periods provide extremely strong memory-ordering guarantees 19 for non-idle non-offline code. 22 period that are within RCU read-side critical sections. 25 of that grace period that are within RCU read-side critical sections. 27 Note well that RCU-sched read-side critical sections include any region 30 an extremely small region of preemption-disabled code, one can think of 36 In the most common use case, phase one removes an element from 37 a linked RCU-protected data structure, and phase two frees that element. [all …]
|
| /linux/tools/perf/pmu-events/arch/powerpc/power9/ |
| H A D | other.json | 65 "BriefDescription": "Read-write data cache collisions" 90 "BriefDescription": "D-cache invalidates sent over the reload bus to the core" 200 "BriefDescription": "Read-write data cache collisions" 210 …phase by either the hardware prefetch mechanism or software prefetch. The sum of this pair subtrac… 280 …double-word boundary, which causes it to require an additional slice than than what normally would… 300 "BriefDescription": "I-cache Invalidates sent over the realod bus to the core" 395 …double-word boundary, which causes it to require an additional slice than than what normally would… 430 "BriefDescription": "TM Load (fav or non-fav) ran into conflict (failed)" 450 …"BriefDescription": "A TM-ineligible instruction tries to execute inside a transaction and the LSU… 455 "BriefDescription": "D-side L2 MRU touch commands sent to the L2" [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | renesas_usbf.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/dma-mapping.h> 131 /* EPn registers offsets from Base + USBF_BASE_EPN(n-1). n=1..15 */ 209 /* AHB-EPC Bridge registers */ 244 /* EPn DMA registers offsets from Base USBF_BASE_DMA_EPN(n-1). n=1..15*/ 339 * datasheet. The buffer type (single/double) and the endpoint type cannot 345 [0] = USBF_EP_INFO("ep0-ctrl", 349 /* ep1: buf @0x0020, 2 buffers 512 bytes -> (512 * 2 / 4) words */ 350 [1] = USBF_EP_INFO("ep1-bulk", 354 /* ep2: buf @0x0120, 2 buffers 512 bytes -> (512 * 2 / 4) words */ [all …]
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 277 return state->fb && !WARN_ON(!state->crtc); in plane_enabled() 282 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_duplicate_state() 283 struct vc4_hvs *hvs = vc4->hvs; in vc4_plane_duplicate_state() 287 if (WARN_ON(!plane->state)) in vc4_plane_duplicate_state() 290 vc4_state = kmemdup(plane->state, sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_duplicate_state() 294 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state() 297 if (vc4_state->upm_handle[i]) in vc4_plane_duplicate_state() 298 refcount_inc(&hvs->upm_refcounts[vc4_state->upm_handle[i]].refcount); in vc4_plane_duplicate_state() 301 vc4_state->dlist_initialized = 0; in vc4_plane_duplicate_state() [all …]
|
| /linux/drivers/net/wan/ |
| H A D | farsync.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards 23 * used with the FarSite T-Series cards (T2P & T4P) running in the high 30 * purpose (FarSite T-series). 117 unsigned char structure; /* unframed, double, crc4, f4, f12, */ 121 unsigned char lineBuildOut; /* 0, -7.5, -15, -22 */ 158 #define FSTVAL_PHASE 0x00000800 /* Clock phase */
|
| /linux/sound/firewire/ |
| H A D | amdtp-stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams 4 * with Common Isochronous Packet (IEC 61883-1) headers 12 #include <linux/firewire-constants.h> 17 #include "amdtp-stream.h" 27 #include "amdtp-stream-trace.h" 83 * amdtp_stream_init - initialize an AMDTP stream structure 87 * @flags: the details of the streaming protocol consist of cip_flags enumeration-constants. 99 return -EINVAL; in amdtp_stream_init() 101 s->protocol = kzalloc(protocol_size, GFP_KERNEL); in amdtp_stream_init() [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-c2c.txt | 1 perf-c2c(1) 5 ---- 6 perf-c2c - Shared Data C2C/HITM Analyzer. 9 -------- 12 'perf c2c record' [<options>] \-- [<record command options>] <command> 16 ----------- 27 required. See linkperf:perf-arm-spe[1] for a setup guide. Due to the 32 - memory address of the access 33 - type of the access (load and store details) 34 - latency (in cycles) of the load access [all …]
|