| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/firmware/ |
| D | arm,scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sudeep Holla <sudeep.holla@arm.com> 31 - description: SCMI compliant firmware with mailbox transport 33 - const: arm,scmi 34 - description: SCMI compliant firmware with ARM SMC/HVC transport 36 - const: arm,scmi-smc 37 - description: SCMI compliant firmware with ARM SMC/HVC transport 38 with shmem address(4KB-page, offset) as parameters [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * period, and updates a per-cpu timestamp and a "pending" cpumask. This is 41 * The local soft-NMI, and the SMP checker. 43 * The soft-NMI checker can detect lockups on the local CPU. When interrupts 44 * are disabled with local_irq_disable(), platforms that use soft-masking 50 * The soft-NMI checker will compare the heartbeat timestamp for this CPU 52 * watchdog threshold. 54 * The limitation of the soft-NMI watchdog is that it does not work when 66 * not been updated for a period exceeding the watchdog threshold, then it 131 hard_irq_disable(); /* Make it soft-NMI safe */ in wd_smp_lock() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
| D | atl2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atl2.h -- atl2 driver definitions 9 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 15 #include <linux/atomic.h> 39 ((a)->hw_addr + (reg)))) 41 #define ATL2_WRITE_FLUSH(a) (ioread32((a)->hw_addr)) 43 #define ATL2_READ_REG(a, reg) (ioread32((a)->hw_addr + (reg))) 46 ((a)->hw_addr + (reg)))) 48 #define ATL2_READ_REGB(a, reg) (ioread8((a)->hw_addr + (reg))) 51 ((a)->hw_addr + (reg)))) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atlx/ |
| D | atl2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atl2.h -- atl2 driver definitions 9 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 15 #include <linux/atomic.h> 39 ((a)->hw_addr + (reg)))) 41 #define ATL2_WRITE_FLUSH(a) (ioread32((a)->hw_addr)) 43 #define ATL2_READ_REG(a, reg) (ioread32((a)->hw_addr + (reg))) 46 ((a)->hw_addr + (reg)))) 48 #define ATL2_READ_REGB(a, reg) (ioread8((a)->hw_addr + (reg))) 51 ((a)->hw_addr + (reg)))) [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/ |
| D | xfs_log_priv.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 63 * By covering, we mean changing the h_tail_lsn in the last on-disk 64 * log write such that no allocation transactions will be re-done during 65 * recovery after a system crash. Recovery starts at the last on-disk 69 * space allocation transactions which can undo non-transactional changes 82 * non-dummy transaction. The first dummy changes the h_tail_lsn to 91 * IDLE -- no logging has been done on the file system or 93 * NEED -- logging has occurred and we need a dummy transaction 95 * DONE -- we were in the NEED state and have committed a dummy [all …]
|
| /kernel/linux/linux-6.6/fs/xfs/ |
| D | xfs_log_priv.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 74 * By covering, we mean changing the h_tail_lsn in the last on-disk 75 * log write such that no allocation transactions will be re-done during 76 * recovery after a system crash. Recovery starts at the last on-disk 80 * space allocation transactions which can undo non-transactional changes 93 * non-dummy transaction. The first dummy changes the h_tail_lsn to 102 * IDLE -- no logging has been done on the file system or 104 * NEED -- logging has occurred and we need a dummy transaction 106 * DONE -- we were in the NEED state and have committed a dummy [all …]
|
| D | xfs_log_cil.c | 1 // SPDX-License-Identifier: GPL-2.0 27 * We don't reserve any space for the ticket - we are going to steal whatever 45 tic->t_curr_res = 0; in xlog_cil_ticket_alloc() 46 tic->t_iclog_hdrs = 0; in xlog_cil_ticket_alloc() 53 struct xlog *log = cil->xc_log; in xlog_cil_set_iclog_hdr_count() 55 atomic_set(&cil->xc_iclog_hdrs, in xlog_cil_set_iclog_hdr_count() 57 (log->l_iclog_size - log->l_iclog_hsize))); in xlog_cil_set_iclog_hdr_count() 65 * Note: for this to be used in a non-racy manner, it has to be called with 74 if (test_bit(XLOG_CIL_EMPTY, &cil->xc_flags)) in xlog_item_in_current_chkpt() 82 return lip->li_seq == READ_ONCE(cil->xc_current_sequence); in xlog_item_in_current_chkpt() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 69 #define MTK_HW_LRO_TIMER_UNIT 1 /* 20 us */ 71 #define MTK_HW_LRO_AGG_TIME 10 /* 200us */ 134 /* Unicast Filter MAC Address Register - Low */ [all …]
|
| /kernel/linux/linux-5.10/net/rds/ |
| D | send.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 70 if (cp->cp_xmit_rm) { in rds_send_path_reset() 71 rm = cp->cp_xmit_rm; in rds_send_path_reset() 72 cp->cp_xmit_rm = NULL; in rds_send_path_reset() 81 cp->cp_xmit_sg = 0; in rds_send_path_reset() 82 cp->cp_xmit_hdr_off = 0; in rds_send_path_reset() 83 cp->cp_xmit_data_off = 0; in rds_send_path_reset() 84 cp->cp_xmit_atomic_sent = 0; in rds_send_path_reset() 85 cp->cp_xmit_rdma_sent = 0; in rds_send_path_reset() [all …]
|
| /kernel/linux/linux-6.6/net/rds/ |
| D | send.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 70 if (cp->cp_xmit_rm) { in rds_send_path_reset() 71 rm = cp->cp_xmit_rm; in rds_send_path_reset() 72 cp->cp_xmit_rm = NULL; in rds_send_path_reset() 81 cp->cp_xmit_sg = 0; in rds_send_path_reset() 82 cp->cp_xmit_hdr_off = 0; in rds_send_path_reset() 83 cp->cp_xmit_data_off = 0; in rds_send_path_reset() 84 cp->cp_xmit_atomic_sent = 0; in rds_send_path_reset() 85 cp->cp_xmit_rdma_sent = 0; in rds_send_path_reset() [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2002 Motorola GSG-China 28 #include <linux/dma-mapping.h> 46 #include <linux/platform_data/i2c-imx.h> 53 #define DRIVER_NAME "imx-i2c" 58 * Enable DMA if transfer byte size is bigger than this threshold. 107 * - write zero to clear(w0c) INT flag on i.MX, 108 * - but write one to clear(w1c) INT flag on Vybrid. 110 * - set I2CR_IEN bit enable the module on i.MX, 111 * - but clear I2CR_IEN bit enable the module on Vybrid. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_fbc.c | 32 * variation-less patterns. It comes from keeping the memory footprint small 52 * write to the PLANE_SIZE register. For BDW-, the hardware looks at the value 59 *width = cache->plane.src_w; in intel_fbc_get_plane_source_size() 61 *height = cache->plane.src_h; in intel_fbc_get_plane_source_size() 76 return lines * cache->fb.stride; in intel_fbc_calculate_cfb_size() 94 drm_dbg_kms(&dev_priv->drm, "FBC idle timed out\n"); in i8xx_fbc_deactivate() 101 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in i8xx_fbc_activate() 106 /* Note: fbc.threshold == 1 for i8xx */ in i8xx_fbc_activate() 107 cfb_pitch = params->cfb_size / FBC_LL_SIZE; in i8xx_fbc_activate() 108 if (params->fb.stride < cfb_pitch) in i8xx_fbc_activate() [all …]
|
| /kernel/linux/linux-6.6/net/batman-adv/ |
| D | bat_v.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/atomic.h> 38 #include "hard-interface.h" 46 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() 60 if (hard_iface->if_status == BATADV_IF_TO_BE_ACTIVATED) in batadv_v_iface_activate() 61 hard_iface->if_status = BATADV_IF_ACTIVE; in batadv_v_iface_activate() 92 * batadv_v_iface_update_mac() - react to hard-interface MAC address change 100 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() 115 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() 119 * batadv_v_neigh_dump_neigh() - Dump a neighbour into a message [all …]
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 27 are atomic and recoverable. For reasons of space and time efficiency, the 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 35 changes logged. Long running atomic modifications have individual changes 60 commit boundaries, whilst "one shot" transactions are for a single atomic 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 44 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 51 #define MTK_HW_LRO_TIMER_UNIT 1 /* 20 us */ 53 #define MTK_HW_LRO_AGG_TIME 10 /* 200us */ 90 /* Unicast Filter MAC Address Register - Low */ 93 /* Unicast Filter MAC Address Register - High */ [all …]
|
| /kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
| D | driver.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * provides a mechanism for inter-processor communication between SCP's 14 * Copyright (C) 2018-2021 ARM Ltd. 25 #include <linux/io-64-nonatomic-hi-lo.h> 60 * struct scmi_xfers_info - Structure to manage transfer information 68 * a number of xfers equal to the maximum allowed in-flight 71 * currently in-flight messages. 82 * struct scmi_protocol_instance - Describe an initialized protocol instance. 85 * @gid: A reference for per-protocol devres management. 106 * struct scmi_debug_info - Debug common info [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | vmstat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Copyright (C) 2008-2014 Christoph Lameter 34 #define NUMA_STATS_THRESHOLD (U16_MAX - 2) 45 atomic_long_set(&zone->vm_numa_stat[item], 0); in zero_zone_numa_counters() 47 per_cpu_ptr(zone->pageset, cpu)->vm_numa_stat_diff[item] in zero_zone_numa_counters() 122 ret[i] += this->event[i]; in sum_vm_events() 128 * The result is unavoidably approximate - it can change 151 count_vm_events(i, fold_state->event[i]); in vm_events_fold_cpu() 152 fold_state->event[i] = 0; in vm_events_fold_cpu() 174 int threshold; in calculate_pressure_threshold() local [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | vmstat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Copyright (C) 2008-2014 Christoph Lameter 43 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters() 45 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters() 121 ret[i] += this->event[i]; in sum_vm_events() 127 * The result is unavoidably approximate - it can change 150 count_vm_events(i, fold_state->event[i]); in vm_events_fold_cpu() 151 fold_state->event[i] = 0; in vm_events_fold_cpu() 178 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in fold_vm_zone_numa_events() 180 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 245 USHORT GetDisplaySurfaceSize; //Atomic Table, Used by Bios when enabling HW ICON 246 …USHORT ASIC_RegistersInit; //Atomic Table, indirectly used by various SW comp… 247 USHORT VRAM_BlockVenderDetection; //Atomic Table, used only by Bios 249 …USHORT MemoryControllerInit; //Atomic Table, indirectly used by various SW comp… 251 …USHORT MemoryParamAdjust; //Atomic Table, indirectly used by various SW components,cal… 253 USHORT GPIOPinControl; //Atomic Table, only used by Bios 257 …USHORT EnableDispPowerGating; //Atomic Table, indirectly used by various SW comp… 258 …USHORT ResetMemoryDLL; //Atomic Table, indirectly used by various SW comp… [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 245 USHORT GetDisplaySurfaceSize; //Atomic Table, Used by Bios when enabling HW ICON 246 …USHORT ASIC_RegistersInit; //Atomic Table, indirectly used by various SW comp… 247 USHORT VRAM_BlockVenderDetection; //Atomic Table, used only by Bios 249 …USHORT MemoryControllerInit; //Atomic Table, indirectly used by various SW comp… 251 …USHORT MemoryParamAdjust; //Atomic Table, indirectly used by various SW components,cal… 253 USHORT GPIOPinControl; //Atomic Table, only used by Bios 257 …USHORT EnableDispPowerGating; //Atomic Table, indirectly used by various SW comp… 258 …USHORT ResetMemoryDLL; //Atomic Table, indirectly used by various SW comp… [all …]
|
| /kernel/linux/linux-5.10/net/batman-adv/ |
| D | bat_v.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: 10 #include <linux/atomic.h> 39 #include "hard-interface.h" 47 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() 61 if (hard_iface->if_status == BATADV_IF_TO_BE_ACTIVATED) in batadv_v_iface_activate() 62 hard_iface->if_status = BATADV_IF_ACTIVE; in batadv_v_iface_activate() 93 * batadv_v_iface_update_mac() - react to hard-interface MAC address change 101 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() 117 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 274 USHORT GetDisplaySurfaceSize; //Atomic Table, Used by Bios when enabling HW ICON 275 …USHORT ASIC_RegistersInit; //Atomic Table, indirectly used by various SW comp… 276 USHORT VRAM_BlockVenderDetection; //Atomic Table, used only by Bios 278 …USHORT MemoryControllerInit; //Atomic Table, indirectly used by various SW comp… [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 274 USHORT GetDisplaySurfaceSize; //Atomic Table, Used by Bios when enabling HW ICON 275 …USHORT ASIC_RegistersInit; //Atomic Table, indirectly used by various SW comp… 276 USHORT VRAM_BlockVenderDetection; //Atomic Table, used only by Bios 278 …USHORT MemoryControllerInit; //Atomic Table, indirectly used by various SW comp… [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mm_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #include <linux/page-flags-layout.h> 37 * a page, though if it is a pagecache page, rmap structures can tell us 45 * page->mapping, you must restore it to NULL before freeing the page. 62 * double-word aligned. We align all struct pages to double-word 73 unsigned long flags; /* Atomic flags, some possibly 79 * avoid collision and false-positive PageTail(). 85 * pgdat->lru_lock. Sometimes used as a generic list 89 /* See page-flags.h for PAGE_MAPPING_FLAGS */ 93 * @private: Mapping-private opaque data. [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2002 Motorola GSG-China 27 #include <linux/dma-mapping.h> 44 #include <linux/platform_data/i2c-imx.h> 51 #define DRIVER_NAME "imx-i2c" 54 * Enable DMA if transfer byte size is bigger than this threshold. 97 * - write zero to clear(w0c) INT flag on i.MX, 98 * - but write one to clear(w1c) INT flag on Vybrid. 100 * - set I2CR_IEN bit enable the module on i.MX, 101 * - but clear I2CR_IEN bit enable the module on Vybrid. [all …]
|