| /linux/drivers/scsi/isci/ |
| H A D | remote_device.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 9 * This program is free software; you can redistribute it and/or modify 11 * published by the Free Software Foundation. 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. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 74 * isci_remote_device - isci representation of a sas expander / end point 76 * @connection_rate: per-taskcontext connection rate for this device 116 kref_get(&idev->kref); in isci_get_device() 122 struct isci_remote_device *idev = dev->lldd_dev; in isci_lookup_device() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | snapshot.rst | 2 Device-mapper snapshot support 5 Device-mapper allows you, without massive data copying: 7 - To create snapshots of any block device i.e. mountable, saved states of 10 - To create device "forks", i.e. multiple different versions of the 12 - To merge a snapshot of a block device back into the snapshot's origin 16 changed and uses a separate copy-on-write (COW) block device for 24 snapshot, snapshot-origin, and snapshot-merge. 26 - snapshot-origin <origin> 34 - snapshot <origin> <COW device> <persistent?> <chunksize> 43 the amount of free space and expand the <COW device> before it fills up. [all …]
|
| /linux/sound/soc/google/ |
| H A D | chv3-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * The I2S interface consists of two ring buffers - one for RX and one for 11 * on which way the data is flowing, either the software or the hardware 25 * busy-waiting, which would keep stalling the kernel for quite a long time. 30 * are wait-free. 70 .name = "chv3-i2s", 103 writel(val, i2s->iobase + offset); in chv3_i2s_wr() 108 return readl(i2s->iobase + offset); in chv3_i2s_rd() 116 reg = readl(i2s->iobase_irq + I2S_IRQ_CLR); in chv3_i2s_isr() 121 snd_pcm_period_elapsed(i2s->rx_substream); in chv3_i2s_isr() [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | ibmvmc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 21 https://openpowerfoundation.org/wp-content/uploads/2016/05/LoPAPR_DRAFT_v11_24March2016_cmt1.pdf 27 Console (HMC) - based system management. 31 packaged as an external tower or rack-mounted personal computer. In a 33 processor-based systems. 36 ---------------------- 44 POWER8 or newer processor-based server that is virtualized by PowerVM. 57 - Logical Partitioning Configuration 58 - Start, and stop actions for individual partitions 59 - Display of partition status [all …]
|
| /linux/Documentation/driver-api/media/ |
| H A D | mc-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 11 on the kernel-side implementation of the media framework. 24 in a System-on-Chip image processing pipeline), DMA channels or physical 32 A link is a point-to-point oriented connection between two pads, either 40 instance, defined in ``include/media/media-device.h``. 42 embedding the :c:type:`media_device` instance in a larger driver-specific 60 instance, defined in ``include/media/media-entity.h``. The structure is usually 61 embedded into a higher-level structure, such as 78 ``include/media/media-entity.h``. Currently, only one type of interface is [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * In-Memory Collection (IMC) Performance Monitor counter support. 13 #include <asm/imc-pmu.h> 22 * Used to avoid races in counting the nest-pmu units during hotplug 51 * core and trace-imc 61 return container_of(event->pmu, struct imc_pmu, pmu); in imc_event_to_pmu() 64 PMU_FORMAT_ATTR(event, "config:0-61"); 65 PMU_FORMAT_ATTR(offset, "config:0-31"); 67 PMU_FORMAT_ATTR(mode, "config:33-40"); 81 /* Format attribute for imc trace-mode */ [all …]
|
| /linux/net/bridge/ |
| H A D | br_if.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 if (!strncmp(dev->name, "lec", 3)) in port_cost() 65 if (!strncmp(dev->name, "plip", 4)) in port_cost() 75 struct net_device *dev = p->dev; in br_port_carrier_check() 76 struct net_bridge *br = p->br; in br_port_carrier_check() 78 if (!(p->flags & BR_ADMIN_COST) && in br_port_carrier_check() 80 p->path_cost = port_cost(dev); in br_port_carrier_check() 83 if (!netif_running(br->dev)) in br_port_carrier_check() 86 spin_lock_bh(&br->lock); in br_port_carrier_check() 88 if (p->state == BR_STATE_DISABLED) { in br_port_carrier_check() [all …]
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright 2011-2014 Autronica Fire and Security AS 5 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se 22 /* seq_nr_after(a, b) - return true if a is after (higher in sequence than) b, 30 if ((int)b - a == 32768) in seq_nr_after() 33 return (((s16)(b - a)) < 0); in seq_nr_after() 42 if (!hsr->redbox || !is_valid_ether_addr(hsr->macaddress_redbox)) in hsr_addr_is_redbox() 45 return ether_addr_equal(addr, hsr->macaddress_redbox); in hsr_addr_is_redbox() 54 sn = rcu_dereference(hsr->self_node); in hsr_addr_is_self() 60 if (ether_addr_equal(addr, sn->macaddress_A) || in hsr_addr_is_self() [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | dsa.rst | 22 An Ethernet switch typically comprises multiple front-panel ports and one 27 gateways, or even top-of-rack switches. This host Ethernet controller will 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 46 - what port is this frame coming from 47 - what was the reason why this frame got forwarded 48 - how to send CPU originated traffic to specific ports 52 on Port-based VLAN IDs). 57 - the "cpu" port is the Ethernet switch facing side of the management 61 - the "dsa" port(s) are just conduits between two or more switches, and as such [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | uncore-cache.json | 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 111 "BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_c_tor_inserts.miss_opcode", 214 "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.", 227 "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)", 233 "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.", 244 "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.; Read transactions", 254 "PublicDescription": "Counts the number of times the LLC was accessed - thi [all...] |
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | uncore-cache.json | 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 111 "BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_c_tor_inserts.miss_opcode", 214 "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.", 227 "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)", 233 "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.", 244 "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.; Read transactions", 254 "PublicDescription": "Counts the number of times the LLC was accessed - thi [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.", 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 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.; Read transactions", 61 "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.; Qualify one of the other subevents by the Target NID. The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid. In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system.", 71 "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.; Read transactions", 81 "PublicDescription": "Counts the number of times the LLC was accessed - thi [all...] |
| /linux/drivers/tty/vt/ |
| H A D | ucs_width_table.h_shipped | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * ucs_width_table.h - Unicode character width 5 * Auto-generated by gen_ucs_width_table.py 10 /* Zero-width character ranges (BMP - Basic Multilingual Plane, U+0000 to U+FFFF) */ 13 { 0x0300, 0x036F }, /* COMBINING GRAVE ACCENT - COMBINING LATIN SMALL LETTER X */ 14 { 0x0483, 0x0489 }, /* COMBINING CYRILLIC TITLO - COMBINING CYRILLIC MILLIONS SIGN */ 15 { 0x0591, 0x05BD }, /* HEBREW ACCENT ETNAHTA - HEBREW POINT METEG */ 17 { 0x05C1, 0x05C2 }, /* HEBREW POINT SHIN DOT - HEBREW POINT SIN DOT */ 18 { 0x05C4, 0x05C5 }, /* HEBREW MARK UPPER DOT - HEBREW MARK LOWER DOT */ 20 { 0x0600, 0x0605 }, /* ARABIC NUMBER SIGN - ARABIC NUMBER MARK ABOVE */ [all …]
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | notify.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 ARM Ltd. 36 * All users provided callbacks and allocated notification-chains are stored in 44 * hash-keys. 54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further 59 * queued items into the proper notification-chain: notifications processing can 65 * conveyed, converted into a custom per-event report struct, as the void *data 73 #define dev_fmt(fmt) "SCMI Notifications - " fmt 74 #define pr_fmt(fmt) "SCMI Notifications - " fmt 102 #define NOTIF_UNSUPP -1 [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-cache.json | 15 …ed in Counter 0. The filtering available is found in the control register - threshold, invert an… 24 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 34 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 44 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 54 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 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 …T -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP directio… 234 …T -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP directio… [all …]
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009 - 2018 Intel Corporation. */ 31 "Copyright (c) 2009 - 2012 Intel Corporation."; 34 static int debug = -1; 63 * igbvf_desc_unused - calculate if we have unused descriptors 68 if (ring->next_to_clean > ring->next_to_use) in igbvf_desc_unused() 69 return ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 71 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 75 * igbvf_receive_skb - helper function to handle Rx indications 91 if ((adapter->flags & IGBVF_FLAG_RX_LB_VLAN_BSWAP) && in igbvf_receive_skb() [all …]
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 15 * fm10k_pci_tbl - PCI Device ID Table 35 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() 38 if (FM10K_REMOVED(hw->hw_addr)) in fm10k_read_pci_cfg_word() 41 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word() 50 u32 __iomem *hw_addr = READ_ONCE(hw->hw_addr); in fm10k_read_reg() 58 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() 59 struct net_device *netdev = interface->netdev; in fm10k_read_reg() 61 hw->hw_addr = NULL; in fm10k_read_reg() [all …]
|
| H A D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() 17 fifo->tail = 0; in fm10k_fifo_init() 21 * fm10k_fifo_used - Retrieve used space in FIFO 28 return fifo->tail - fifo->head; in fm10k_fifo_used() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 14 * atl1e_pci_tbl - PCI Device ID Table 76 * atl1e_irq_enable - Enable default interrupt generation settings 81 if (likely(atomic_dec_and_test(&adapter->irq_sem))) { in atl1e_irq_enable() 82 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_enable() 83 AT_WRITE_REG(&adapter->hw, REG_IMR, IMR_NORMAL_MASK); in atl1e_irq_enable() 84 AT_WRITE_FLUSH(&adapter->hw); in atl1e_irq_enable() 89 * atl1e_irq_disable - Mask off interrupt generation on the NIC 94 atomic_inc(&adapter->irq_sem); in atl1e_irq_disable() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved. 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 14 * atl1c_pci_tbl - PCI Device ID Table 98 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_pcie_patch() 108 if (hw->nic_type == athr_l2c_b && hw->revision_id == L2CB_V10) { in atl1c_pcie_patch() 121 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l1d) { in atl1c_pcie_patch() 133 * atl1c_init_pcie - init PCIE module 139 struct pci_dev *pdev = hw->adapter->pdev; in atl1c_reset_pcie() 153 /* wol sts read-clear */ in atl1c_reset_pcie() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2024 Intel Corporation. */ 5 Copyright (c)2006 - 2007 Myricom, Inc. for some LRO specific code 42 "Copyright (c) 2009 - 2024 Intel Corporation."; 58 /* ixgbevf_pci_tbl - PCI Device ID Table 88 static int debug = -1; 96 if (!test_bit(__IXGBEVF_DOWN, &adapter->state) && in ixgbevf_service_event_schedule() 97 !test_bit(__IXGBEVF_REMOVING, &adapter->state) && in ixgbevf_service_event_schedule() 98 !test_and_set_bit(__IXGBEVF_SERVICE_SCHED, &adapter->state)) in ixgbevf_service_event_schedule() 99 queue_work(ixgbevf_wq, &adapter->service_task); in ixgbevf_service_event_schedule() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_timing_generator.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 48 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 49 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 51 /* Flowing register offsets are same in files of 69 if (timing->flags.INTERLACE == 1) { in dce110_timing_generator_apply_front_porch_workaround() 70 if (timing->v_front_porch < 2) in dce110_timing_generator_apply_front_porch_workaround() 71 timing->v_front_porch = 2; in dce110_timing_generator_apply_front_porch_workaround() 73 if (timing->v_front_porch < 1) in dce110_timing_generator_apply_front_porch_workaround() 74 timing->v_front_porch = 1; in dce110_timing_generator_apply_front_porch_workaround() [all …]
|
| /linux/include/net/ |
| H A D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 201 7050 void (*free)(void *priv); global() member [all...] |
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 56 "Copyright (c) 2007-2014 Intel Corporation."; 208 static int debug = -1; 253 /* igb_regdump - register printout routine */ 260 switch (reginfo->ofs) { in igb_regdump() 310 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump() 314 snprintf(rname, 16, "%s%s", reginfo->name, "[0-3]"); in igb_regdump() 315 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump() 319 /* igb_dump - Print registers, Tx-rings and Rx-rings */ [all …]
|
| /linux/drivers/net/ethernet/neterion/ |
| H A D | s2io.c | 2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC 3 * Copyright(c) 2002-2010 Exar Corp. 47 * Default is '2' - which means disable in promisc mode 48 * and enable in non-promiscuous mode. 60 #include <linux/dma-mapping.h> 78 #include <linux/io-64-nonatomic-lo-hi.h> 89 #include "s2io-regs.h" 104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT() 105 (GET_RXD_MARKER(rxdp->Control_2) != THE_RXD_MARK)); in RXD_IS_UP2DT() 125 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up() [all …]
|