| /linux/kernel/ |
| H A D | user.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (C) Copyright 1991-2000 Linus Torvalds 7 * We have a per-user structure to keep track of how many 9 * able to have per-user limits for system resources. 34 * userns count is 1 for root user, 1 for init_uts_ns, 44 .count = 4294967295U, 54 .count = 4294967295U, 64 .count = 4294967295U, 83 * UID task count cache, to get fast user lookup in "alloc_uid" 89 #define UIDHASH_MASK (UIDHASH_SZ - 1) [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-cache.json | 15 … by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in… 24 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 34 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 44 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 54 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 64 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 209 "BriefDescription": "LRU Queue; Non-0 Aged Victim", 214 "PublicDescription": "How often we picked a victim that had a non-zero age", 224 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP direction … 234 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP direction … [all …]
|
| /linux/drivers/net/ethernet/intel/libeth/ |
| H A D | xdp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 spin_lock_init(&lock->lock); in __libeth_xdpsq_get() 23 lock->share = true; in __libeth_xdpsq_get() 41 lock->share = false; in __libeth_xdpsq_put() 45 void __acquires(&lock->lock) 48 spin_lock(&lock->lock); in __libeth_xdpsq_lock() 52 void __releases(&lock->lock) 55 spin_unlock(&lock->lock); in __libeth_xdpsq_unlock() 59 /* XDPSQ clean-up timers */ 62 * libeth_xdpsq_init_timer - initialize an XDPSQ clean-up timer [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_aspeed_vuart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 61 * to the host on the Host <-> BMC LPC bus. It could be different on a 67 return readb(vuart->port->port.membase + reg); in aspeed_vuart_readb() 72 writeb(val, vuart->port->port.membase + reg); in aspeed_vuart_writeb() 90 return -EINVAL; in aspeed_vuart_set_lpc_address() 100 const char *buf, size_t count) in lpc_address_store() argument 111 return err ? : count; in lpc_address_store() 134 return -EINVAL; in aspeed_vuart_set_sirq() 148 const char *buf, size_t count) in sirq_store() argument 159 return err ? : count; in sirq_store() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | uncore-cache.json | 15 … by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in… 31 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 41 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 51 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 61 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 161 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 171 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 176 "BriefDescription": "AD Ring In Use; Up and Even", 181 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 186 "BriefDescription": "AD Ring In Use; Up and Odd", [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | files.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Up until 2.6.12, the file descriptor table has been protected 11 with a lock (files->file_lock) and reference count (files->count). 12 ->file_lock protected accesses to all the file related fields 13 of the table. ->count was used for sharing the file descriptor 19 reference count (->f_count). 21 In the new lock-free model of file descriptor management, 24 elements - the fd sets (open_fds and close_on_exec, the 27 a lock-free reader, all the elements of the file descriptor 28 table are in a separate structure - struct fdtable. [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | uncore-cache.json | 9 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 21 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 33 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 45 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 57 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 69 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 81 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 93 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DR [all...] |
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | uncore-cache.json | 9 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 21 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 33 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 45 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 57 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 69 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 81 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 93 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DR [all...] |
| /linux/drivers/hid/bpf/progs/ |
| H A D | Thrustmaster__TCA-Yoke-Boeing.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * an Input field that shows up as an axis, ABS_MISC in Linux. But it is not possible 19 * to assign an actual physical control to this axis as they're all taken up. There 20 * are 2 vendor-defined inputs where the Input type appears to be defined wrongly. 21 * This bpf attempts to fix this by changing the Inputs so that it doesn't show up in 38 * 0x95, 0x01, // Report Count (1) 23 47 * 0x95, 0x12, // Report Count (18) 41 49 * 0x95, 0x02, // Report Count (2) 45 61 * 0x95, 0x06, // Report Count (6) 72 68 * 0x95, 0x01, // Report Count (1) 88 [all …]
|
| /linux/tools/testing/radix-tree/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/radix-tree.h> 15 void __gang_check(unsigned long middle, long down, long up, int chunk, int hop) in __gang_check() argument 22 for (idx = -down; idx < up; idx++) in __gang_check() 25 item_check_absent(&tree, middle - down - 1); in __gang_check() 26 for (idx = -down; idx < up; idx++) in __gang_check() 28 item_check_absent(&tree, middle + up); in __gang_check() 31 item_gang_check_present(&tree, middle - down, up + down, in __gang_check() 33 item_full_scan(&tree, middle - down, down + up, chunk); in __gang_check() 112 i--; in dynamic_height_check() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-elecom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * - BM084 Bluetooth Mouse 5 * - EX-G Trackballs (M-XT3DRBK, M-XT3URBK, M-XT4DRBK) 6 * - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK) 7 * - HUGE Trackballs (M-HT1DRBK, M-HT1URBK) 8 * - HUGE Plus Trackball (M-HT1MRBK) 14 * Copyright (c) 2017 Tomasz Kramkowski <tk@the-tk.com> 15 * Copyright (c) 2020 YOSHIOKA Takuma <lo48576@hard-wi.red> 26 #include "hid-ids.h" 29 * Certain ELECOM mice misreport their button count meaning that they only work [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_tcp_unreplied.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 if ! nft --version > /dev/null 2>&1;then 14 if ! conntrack --version > /dev/null 2>&1;then 29 echo -n 192.168."$1".2 39 if ! ip netns exec "$ns2" nft list counter inet filter "$name" | grep -q "$expect"; then 54 ip -net "$ns1" link add name veth1 type veth peer name veth2 55 ip -net "$ns1" link set netns "$ns2" dev veth2 57 ip -net "$ns1" link set up dev lo 58 ip -net "$ns2" link set up dev lo 59 ip -net "$ns1" link set up dev veth1 [all …]
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_cbdr.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* Copyright 2017-2019 NXP */ 11 cbdr->bd_base = dma_alloc_coherent(dev, size, &cbdr->bd_dma_base, in enetc_setup_cbdr() 13 if (!cbdr->bd_base) in enetc_setup_cbdr() 14 return -ENOMEM; in enetc_setup_cbdr() 17 if (!IS_ALIGNED(cbdr->bd_dma_base, 128)) { in enetc_setup_cbdr() 18 dma_free_coherent(dev, size, cbdr->bd_base, in enetc_setup_cbdr() 19 cbdr->bd_dma_base); in enetc_setup_cbdr() 20 return -EINVAL; in enetc_setup_cbdr() 23 cbdr->next_to_clean = 0; in enetc_setup_cbdr() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | uncore-cache.json | 23 "PublicDescription": "Since occupancy counts can only be captured in the Cbo's 0 counter, this event allows a user to capture occupancy related information by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in the control register - threshold, invert and edge detect. E.g. setting threshold to 1 can effectively monitor how many cycles the monitored queue has an entry.", 32 "PublicDescription": "Counts the number of cycles either the local distress or incoming distress signals are asserted. Incoming distress includes both up and dn.", 41 "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.; Filters for any transaction originating from the IPQ or IRQ. This does not include lookups originating from the ISMQ.", 51 "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count request [all...] |
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_fdb_learning_limit.sh | 2 # SPDX-License-Identifier: GPL-2.0 45 ip link set dev br0 up 47 ip link set dev "$swp1" up 48 ip link set dev "$swp2" up 49 ip link set dev "$swp3" up 105 ip -d -j link show dev br0 type bridge | \ 113 bridge -j fdb show br br0 | \ 183 if ! ip link help bridge 2>&1 | grep -q "fdb_max_learned"; then 206 [ "$learned" -ne "$is_counted" ] 207 check_fail $? "Inserted FDB type ${type}: Expected the count ${is_counted}, but got ${learned}" [all …]
|
| /linux/arch/arm/mach-s5pv210/ |
| H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2010-2014 Samsung Electronics Co., Ltd. 6 // S5PV210 - Power Management support 8 // Based on arch/arm/mach-s3c2410/pm.c 16 #include <linux/soc/samsung/s3c-pm.h> 22 #include "regs-clock.h" 34 * s3c_pm_do_save() - save a set of registers for restoration on resume. 36 * @count: Size of the ptr array. 41 static void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save() argument 43 for (; count > 0; count--, ptr++) { in s3c_pm_do_save() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | rif_mac_profile_scale.sh | 2 # SPDX-License-Identifier: GPL-2.0 14 local count=$1; shift 18 for ((i = 1; i <= count; i++)); do 22 cat >> $batch_file <<-EOF 29 ip -b $batch_file &> /dev/null 32 rm -f $batch_file 37 local count=$1; shift 40 rif_mac_profiles_create $count $should_fail 42 occ=$(devlink -j resource show $DEVLINK_DEV \ 45 [[ $occ -eq $count ]] [all …]
|
| H A D | rif_mac_profiles_occ.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 # Disable IPv6 on the two interfaces to avoid IPv6 link-local addresses 23 ip link set $h1 up 24 ip link set $h2 up 43 local count=$1; shift 46 for ((i = 1; i <= count; i++)); do 50 cat >> $batch_file <<-EOF 57 ip -b $batch_file &> /dev/null 58 rm -f $batch_file 77 local count=$1; shift [all …]
|
| /linux/drivers/greybus/ |
| H A D | manifest.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2014-2015 Google Inc. 6 * Copyright 2014-2015 Linaro Ltd. 47 list_del(&descriptor->links); in release_manifest_descriptor() 56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors() 66 desc_cport = desc->data; in release_cport_descriptors() 68 if (desc->type != GREYBUS_TYPE_CPORT) in release_cport_descriptors() 71 if (desc_cport->bundle == bundle_id) in release_cport_descriptors() 81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc() 82 if (descriptor->type == GREYBUS_TYPE_BUNDLE) in get_next_bundle_desc() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem.c | 28 #include <linux/dma-buf.h> 35 #include <linux/iosys-map.h> 66 * synchronization and migration strategies, implementing that is left up to 67 * the driver, and all that the general API provides should be generic -- 69 * Even there, platform-dependent optimizations for reading/writing data with 70 * the CPU mean we'll likely hook those out to driver-specific calls. However, 73 * The goal was to have swap-backed object allocation managed through 76 * - Process limits prevent more than 1024 or so being used at a time by 78 * - Inabilit 784 objects_lookup(struct drm_file * filp,u32 * handle,int count,struct drm_gem_object ** objs) objects_lookup() argument 834 drm_gem_objects_lookup(struct drm_file * filp,void __user * bo_handles,int count,struct drm_gem_object *** objs_out) drm_gem_objects_lookup() argument 1496 drm_gem_lock_reservations(struct drm_gem_object ** objs,int count,struct ww_acquire_ctx * acquire_ctx) drm_gem_lock_reservations() argument 1548 drm_gem_unlock_reservations(struct drm_gem_object ** objs,int count,struct ww_acquire_ctx * acquire_ctx) drm_gem_unlock_reservations() argument [all...] |
| /linux/drivers/s390/char/ |
| H A D | con3215.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Aug-2000: Added tab support 72 int residual; /* residual count for read request */ 86 int count; /* number of bytes in output buffer */ member 117 raw3215_freelist = req->next; in raw3215_alloc_req() 129 if (req->type == RAW3215_FREE) in raw3215_free_req() 131 req->type = RAW3215_FREE; in raw3215_free_req() 133 req->next = raw3215_freelist; in raw3215_free_req() 139 * Set up a read request that reads up to 160 byte from the 3215 device. 150 req = raw->queued_read; in raw3215_mk_read_req() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_txrx.c | 1 // SPDX-License-Identifier: GPL-2.0 28 * ice_prgm_fdir_fltr - Program a Flow Director filter 48 return -ENOENT; in ice_prgm_fdir_fltr() 49 tx_ring = vsi->tx_rings[0]; in ice_prgm_fdir_fltr() 50 if (!tx_ring || !tx_ring->desc) in ice_prgm_fdir_fltr() 51 return -ENOENT; in ice_prgm_fdir_fltr() 52 dev = tx_ring->dev; in ice_prgm_fdir_fltr() 55 for (i = ICE_FDIR_CLEAN_DELAY; ICE_DESC_UNUSED(tx_ring) < 2; i--) { in ice_prgm_fdir_fltr() 57 return -EAGAIN; in ice_prgm_fdir_fltr() 65 return -EINVAL; in ice_prgm_fdir_fltr() [all …]
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | arm-cmn.rst | 5 CMN-600 is a configurable mesh interconnect consisting of a rectangular 6 grid of crosspoints (XPs), with each crosspoint supporting up to two 11 counts up to 4 event signals from the connected device nodes and/or the 12 XP itself. Overflow from these local counters is accumulated in up to 8 17 ---------- 20 see /sys/bus/event_source/devices/arm_cmn_0. Multi-chip systems may link 21 more than one CMN together via external CCIX links - in this situation, 26 definitions - "type" selects the respective node type, and "eventid" the 30 * Since RN-D nodes do not have any distinct events from RN-I nodes, they 42 By default each event provides an aggregate count over all nodes of the [all …]
|
| /linux/arch/arm/mach-pxa/ |
| H A D | pxa27x-udc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "pxa-regs.h" 12 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 13 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 15 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 17 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 19 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ 44 #define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */ 45 #define UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */ 46 #define UDCICR1_IERU (1 << 29) /* IntEn - Resume */ [all …]
|
| /linux/fs/netfs/ |
| H A D | iterator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * netfs_extract_user_iter - Extract the pages from a user iterator into a bvec 20 * @new: The iterator to be set up 24 * build up a second iterator that refers to all of those bits. This allows 27 * @extraction_flags can have ITER_ALLOW_P2PDMA set to request peer-to-peer DMA be 47 size_t count = orig_len, offset, len; in netfs_extract_user_iter() local 51 return -EIO; in netfs_extract_user_iter() 57 return -ENOMEM; in netfs_extract_user_iter() 61 * 0->last, we should be fine. in netfs_extract_user_iter() 64 pages = (void *)bv + bv_size - pg_size; in netfs_extract_user_iter() [all …]
|