| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am642-tqma64xxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 4 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, D-82229 Seefeld, Germany. 7 #include "k3-am642.dtsi" 18 /* 1G RAM - default variant */ 20 bootph-pre-ram; 23 reserved_memory: reserved-memory { 24 #address-cells = <2>; 25 #size-cells = <2>; 31 no-map; [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_nic.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 28 /* Maximum number of 8-byte words can be sent in a NIC control message. 64 #define MAX_UDD_SIZE(nctrl) (sizeof((nctrl)->udd)) 71 * OSI layer passes this as-is to the driver. 114 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full() 115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full() 130 ih2 = (struct octeon_instr_ih2 *)&cmd->cmd2.ih2; in octnet_prepare_pci_cmd_o2() 135 ih2->fsz = LIO_PCICMD_O2; in octnet_prepare_pci_cmd_o2() 137 ih2->tagtype = ORDERED_TAG; in octnet_prepare_pci_cmd_o2() [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 81 systemctl start orangefs-client 85 mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt [all …]
|
| /linux/include/net/nfc/ |
| H A D | nfc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * data_exchange_cb_t - Definition of nfc_data_exchange callback 39 * of the operating field, err is -EIO. 77 #define NFC_TARGET_IDX_ANY -1 83 * struct nfc_target - NFC target description 115 * nfc_se - A structure for NFC accessible secure elements. 132 * nfc_evt_transaction - A struct for NFC secure element event transaction. 211 * nfc_free_device - free nfc device 217 put_device(&dev->dev); in nfc_free_device() 227 * nfc_set_parent_dev - set the parent device [all …]
|
| /linux/Documentation/input/ |
| H A D | gameport-programming.rst | 34 Please also consider enabling the gameport on the card in the ->open() 35 callback if the io is mapped to ISA space - this way it'll occupy the io 37 ->close() callback. You also can select the io address in the ->open() 70 the driver doesn't have to measure them the old way - an ADC is built into 86 return -(mode != GAMEPORT_MODE_COOKED); 97 See analog.c and input.c for handling of fuzz - the fuzz value determines 105 examples 1+2 or 1+3. Gameports can support internal calibration - see below, 107 more than one gameport instance simultaneously, use the ->private member of 147 I/O address for use with raw mode. You have to either set this, or ->read() 191 pre-filled by cooked data by the caller, max[0..3] should be pre-filled with [all …]
|
| /linux/include/uapi/linux/ |
| H A D | fsmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 25 * number of entries filled out during each call. If fmh_count is 35 * contents of fsmap_head.fmh_recs[fsmap_head.fmh_count - 1] should be 44 * fmr_device can be either a 32-bit cookie representing a device, or 45 * a 32-bit dev_t if the FMH_OF_DEV_T flag is set. fmr_physical, 64 __u32 fmh_entries; /* # of entries filled in (output). */ 84 head->fmh_keys[0] = head->fmh_recs[head->fmh_entries - 1]; in fsmap_advance() 87 /* fmh_iflags values - set by FS_IOC_GETFSMAP caller in the header. */ 91 /* fmh_oflags values - returned in the header segment only. */ 94 /* fmr_flags values - returned for each non-header segment */ [all …]
|
| H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 139 * filled by the driver when the transmit completion arrives. 148 /* Offset from desc->addr where checksumming should start. */
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | frontend-stat-properties.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-stat-properties: 27 The number of filled elements are stored at ``dtv_property.stat.len``. 32 - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of 36 - ``scale`` - Scale for the value. It can be: 38 - ``FE_SCALE_NOT_AVAILABLE`` - The parameter is supported by the 42 - ``FE_SCALE_DECIBEL`` - parameter is a signed value, measured in 45 - ``FE_SCALE_RELATIVE`` - parameter is a unsigned value, where 0 48 - ``FE_SCALE_COUNTER`` - parameter is a unsigned value that counts 53 .. _DTV-STAT-SIGNAL-STRENGTH: [all …]
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | mpc8536ds_36b.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MPC8536DS Device Tree Source (36-bit address map) 5 * Copyright 2008-2009, 2011 Freescale Semiconductor, Inc. 8 /include/ "mpc8536si-pre.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 22 next-level-cache = <&L2>; 28 reg = <0 0 0 0>; // Filled by U-Boot 47 clock-frequency = <66666666>; 48 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; [all …]
|
| H A D | mpc8536ds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /include/ "mpc8536si-pre.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 22 next-level-cache = <&L2>; 28 reg = <0 0 0 0>; // Filled by U-Boot 47 clock-frequency = <66666666>; 48 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 49 interrupt-map = < 104 /include/ "mpc8536si-post.dtsi"
|
| H A D | mpc8544ds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /include/ "mpc8544si-pre.dtsi" 16 reg = <0 0 0 0>; // Filled by U-Boot 33 clock-frequency = <66666666>; 34 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 35 interrupt-map = < 99 * for interrupt-map & interrupt-map-mask 102 /include/ "mpc8544si-post.dtsi"
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-array.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "dm-btree.h" 12 /*----------------------------------------------------------------*/ 15 * The dm-array is a persistent version of an array. It packs the data 30 * 'n - 1' will be the last valid index. 41 * pre existing root in your metadata that you wish to use, or you may 79 * info - the structure being filled in. 80 * tm - the transaction manager that should supervise this structure. 81 * vt - describes the leaf values. 90 * info - describes the array [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbcvt.c | 2 * linux/drivers/video/fbcvt.c - VESA(TM) Coordinated Video Timings 75 u32 num = 1000000000/cvt->f_refresh; in fb_cvt_hperiod() 78 if (cvt->flags & FB_CVT_FLAG_REDUCED_BLANK) { in fb_cvt_hperiod() 79 num -= FB_CVT_RB_MIN_VBLANK * 1000; in fb_cvt_hperiod() 80 den = 2 * (cvt->yres/cvt->interlace + 2 * cvt->v_margin); in fb_cvt_hperiod() 82 num -= FB_CVT_MIN_VSYNC_BP * 1000; in fb_cvt_hperiod() 83 den = 2 * (cvt->yres/cvt->interlace + cvt->v_margin * 2 in fb_cvt_hperiod() 84 + FB_CVT_MIN_VPORCH + cvt->interlace/2); in fb_cvt_hperiod() 93 u32 c_prime = (FB_CVT_GTF_C - FB_CVT_GTF_J) * in fb_cvt_ideal_duty_cycle() 96 u32 h_period_est = cvt->hperiod; in fb_cvt_ideal_duty_cycle() [all …]
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal-pagefault.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * In order to avoid pre-faulting the signal stack memory and to force the 14 * the same mechanism used to avoid pre-faulting the signal stack memory. 44 * Data that will be copied into the faulting pages (instead of zero-filled 48 * paged-in it will contain the expected content. 78 uf_mem_offset = (uf_mem_offset + pagesize - 1) & ~(pagesize - 1); in get_uf_mem() 96 if (poll(&pollfd, 1, -1) == -1) { in fault_handler_thread() 107 if (nread == -1) { in fault_handler_thread() 122 uffdio_copy.dst = msg.arg.pagefault.address & ~(pagesize-1); in fault_handler_thread() 124 offset = (char *) uffdio_copy.dst - uf_mem; in fault_handler_thread() [all …]
|
| /linux/Documentation/security/ |
| H A D | siphash.rst | 2 SipHash - a short input PRF 7 SipHash is a cryptographically secure PRF -- a keyed hash function -- that 9 cryptographers Daniel J. Bernstein and Jean-Philippe Aumasson. It is intended 13 SipHash takes a secret key filled with randomly generated numbers and either 49 will constant fold at compile-time and automatically choose one of the 61 get_random_bytes(&table->key, sizeof(table->key)); 66 …return &table->hashtable[siphash(input, sizeof(*input), &table->key) & (HASH_SIZE(table->hashtable… 74 SipHash has a very high security margin, with its 128-bit key. So long as the 79 Linux implements the "2-4" variant of SipHash. 81 Struct-passing Pitfalls [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 139 * filled by the driver when the transmit completion arrives. 148 /* Offset from desc->addr where checksumming should start. */
|
| /linux/include/linux/ |
| H A D | fsnotify.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * include/linux/fsnotify.h - generic hooks for filesystem notification, to 7 * reduce in-source duplication from both dnotify and inotify. 30 return atomic_long_read(&sbinfo->watched_objects[prio]); in fsnotify_sb_has_priority_watchers() 52 if (!fsnotify_sb_has_watchers(dir->i_sb)) in fsnotify_name() 61 fsnotify_name(mask, dentry, FSNOTIFY_EVENT_DENTRY, dir, &dentry->d_name, 0); in fsnotify_dirent() 66 if (!fsnotify_sb_has_watchers(inode->i_sb)) in fsnotify_inode() 69 if (S_ISDIR(inode->i_mode)) in fsnotify_inode() 81 if (!fsnotify_sb_has_watchers(inode->i_sb)) in fsnotify_parent() 84 if (S_ISDIR(inode->i_mode)) { in fsnotify_parent() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | xillybus.rst | 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization 21 -- Pipe attributes [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_vf.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2017 QLogic Corporation 45 /* general tlv header (used for both vf->pf request and pf->vf response) */ 51 /* header of first vf->pf tlv carries the offset used to calculate response 60 /* header of pf->vf tlvs, carries the status of handling the request */ 88 #define VFPF_ACQUIRE_CAP_PRE_FP_HSI BIT(0) /* VF pre-FP hsi version */ 90 /* A requirement for supporting multi-Tx queues on a single queue-zone, 166 * mechanism [version-based] and allow a VF that can't be supported to pass 194 * non-matching versions to shed light in VF about failure. 227 /* Extended queue information - additional index for reference inside qzone. [all …]
|
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | zram.rst | 2 zram: Compressed RAM-based block devices 8 The zram module creates RAM-based block devices named /dev/zram<id> 20 There are several ways to configure and manage zram device(-s): 23 b) using zramctl utility, provided by util-linux (util-linux@vger.kernel.org). 28 In order to get a better idea about zramctl please consult util-linux 29 documentation, zramctl man-page or `zramctl --help`. Please be informed 30 that zram maintainers do not develop/maintain util-linux or zramctl, should 31 you have any questions please contact util-linux@vger.kernel.org 45 -EBUSY an attempt to modify an attribute that cannot be changed once 47 -ENOMEM zram was not able to allocate enough memory to fulfil your [all …]
|
| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-prg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2017 Lucas Stach, Pengutronix 11 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 17 #include <video/imx-ipu-v3.h> 19 #include "ipu-prv.h" 87 struct device_node *prg_node = of_parse_phandle(dev->of_node, in ipu_prg_lookup_by_phandle() 93 if (prg_node == prg->dev->of_node) { in ipu_prg_lookup_by_phandle() 95 device_link_add(dev, prg->dev, in ipu_prg_lookup_by_phandle() 97 prg->id = ipu_id; in ipu_prg_lookup_by_phandle() 117 if (ipu->prg_priv) in ipu_prg_present() [all …]
|
| /linux/fs/netfs/ |
| H A D | buffered_read.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Network filesystem high-level buffered read support. 17 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead() 19 if (cres->ops && cres->ops->expand_readahea in netfs_cache_expand_readahead() [all...] |
| /linux/drivers/net/hyperv/ |
| H A D | netvsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath() 39 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath() 40 struct nvsp_message *init_pkt = &nv_dev->channel_init_pkt; in netvsc_switch_datapath() 45 net_device_ctx->data_path_is_vf = vf; in netvsc_switch_datapath() 48 init_pkt->hdr.msg_type = NVSP_MSG4_TYPE_SWITCH_DATA_PATH; in netvsc_switch_datapath() 50 init_pkt->msg.v4_msg.active_dp.active_datapath = in netvsc_switch_datapath() 53 init_pkt->msg.v4_msg.active_dp.active_datapath = in netvsc_switch_datapath() 59 ret = vmbus_sendpacket(dev->channel, init_pkt, in netvsc_switch_datapath() 68 if (ret != -EAGAIN) { in netvsc_switch_datapath() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | link.c | 20 * TX polling - checks if the TX engine is stuck somewhere 28 if (sc->tx99_state) in ath_tx_complete_check() 32 txq = sc->tx.txq_map[i]; in ath_tx_complete_check() 35 if (txq->axq_depth) { in ath_tx_complete_check() 36 if (txq->axq_tx_inprogress) { in ath_tx_complete_check() 41 txq->axq_tx_inprogress = true; in ath_tx_complete_check() 49 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_check() 59 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_rx_inactive_check() 62 interval = jiffies_to_msecs(jiffies - sc->rx_active_check_time); in ath_hw_rx_inactive_check() 63 count = sc->rx_active_count; in ath_hw_rx_inactive_check() [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_audio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * u_audio.c -- interface to USB gadget "ALSA sound card" utilities 8 * Sound card implementation was cut-and-pasted with changes 66 struct snd_ctl_elem_id snd_kctl_rate_id; /* read-only current rate */ 83 /* pre-calculated values for playback iso completion */ 118 * Full-speed feedback endpoints report frequency in u_audio_set_fback_frequency() 120 * Format is encoded in Q10.10 left-justified in the 24 bits, in u_audio_set_fback_frequency() 128 * High-speed feedback endpoints report frequency in u_audio_set_fback_frequency() 138 * Linux snd-usb-audio detects the applied bit-shift automatically. in u_audio_set_fback_frequency() 140 ep_desc = out_ep->desc; in u_audio_set_fback_frequency() [all …]
|