| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | qcom_smbb.txt | 1 Qualcomm Switch-Mode Battery Charger and Boost 4 - compatible: 8 - "qcom,pm8941-charger" 10 - reg: 12 Value type: <prop-encoded-array> 15 - interrupts: 17 Value type: <prop-encoded-array> 21 - charge done 22 - charge fast mode 23 - charge trickle mode [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | page_alloc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 50 #include <linux/backing-dev.h> 51 #include <linux/fault-inject.h> 52 #include <linux/page-isolation.h> 85 /* Free Page Internal flags: for internal, non-pcp variants of free_pages(). */ 94 * reporting it and marking it "reported" - it only skips notifying 103 * page shuffling (relevant code - e.g., memory onlining - is expected to 106 * Note: No code should rely on this flag for correctness - it's purely 113 /* prevent >1 _updater_ of zone percpu pageset ->high and ->batch fields */ 135 /* work_structs for global per-cpu drains */ [all …]
|
| D | memcontrol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* memcontrol.c - Memory Controller 19 * Charge lifetime sanitation 35 #include <linux/page-flags.h> 36 #include <linux/backing-dev.h> 107 * Cgroups above their limits are maintained in a RB-Tree, independent of 204 /* for encoding cft->private value on file */ 237 (current->flags & PF_EXITING); in task_is_dying() 245 return &memcg->vmpressure; in memcg_to_vmpressure() 250 return &container_of(vmpr, struct mem_cgroup, vmpressure)->css; in vmpressure_to_css() [all …]
|
| D | rmap.c | 2 * mm/rmap.c - physical to virtual reverse mappings 23 * inode->i_mutex (while writing or truncating, not reading or faulting) 24 * mm->mmap_lock 25 * page->flags PG_locked (lock_page) * (see huegtlbfs below) 27 * mapping->i_mmap_rwsem 29 * anon_vma->rwsem 30 * mm->page_table_lock or pte_lock 31 * pgdat->lru_lock (in mark_page_accessed, isolate_lru_page) 34 * mapping->private_lock (in __set_page_dirty_buffers) 35 * mem_cgroup_{begin,end}_page_stat (memcg->move_lock) [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | memcontrol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* memcontrol.c - Memory Controller 19 * Charge lifetime sanitation 38 #include <linux/page-flags.h> 39 #include <linux/backing-dev.h> 109 * Cgroups above their limits are maintained in a RB-Tree, independent of 206 /* for encoding cft->private value on file */ 236 (current->flags & PF_EXITING); in task_is_dying() 244 return &memcg->vmpressure; in memcg_to_vmpressure() 272 * objcg->nr_charged_bytes can't have an arbitrary byte value. in obj_cgroup_release() [all …]
|
| D | rmap.c | 2 * mm/rmap.c - physical to virtual reverse mappings 23 * inode->i_rwsem (while writing or truncating, not reading or faulting) 24 * mm->mmap_lock 25 * mapping->invalidate_lock (in filemap_fault) 26 * page->flags PG_locked (lock_page) 29 * mapping->i_mmap_rwsem 30 * anon_vma->rwsem 31 * mm->page_table_lock or pte_lock 34 * mapping->private_lock (in block_dirty_folio) 37 * lruvec->lru_lock (in folio_lruvec_lock_irq) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 6 * Permission is hereby granted, free of charge, to any person obtaining a 47 #include <media/cec-notifier.h> 69 /* these are outputs from the chip - integrated only 87 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 103 * create the DMA scatter-gather list for each FB color plane. This sg 115 * in the rotated and remapped GTT view all no-CCS formats (up to 2 206 * state. This must be called _after_ display->get_pipe_config has 207 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 422 * and the bus-specific code. What that means is that HDCP over HDMI differs [all …]
|
| D | intel_display.c | 2 * Copyright © 2006-2007 Intel Corporation 4 * Permission is hereby granted, free of charge, to any person obtaining a 27 #include <linux/dma-resv.h> 148 drm_WARN(&dev_priv->drm, (val & CCK_FREQUENCY_STATUS) != in vlv_get_cck_clock() 162 if (dev_priv->hpll_freq == 0) in vlv_get_cck_clock_hpll() 163 dev_priv->hpll_freq = vlv_get_hpll_vco(dev_priv); in vlv_get_cck_clock_hpll() 165 hpll = vlv_get_cck_clock(dev_priv, name, reg, dev_priv->hpll_freq); in vlv_get_cck_clock_hpll() 177 dev_priv->czclk_freq = vlv_get_cck_clock_hpll(dev_priv, "czclk", in intel_update_czclk() 180 drm_dbg(&dev_priv->drm, "CZ clock rate: %d kHz\n", in intel_update_czclk() 181 dev_priv->czclk_freq); in intel_update_czclk() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 6 * Permission is hereby granted, free of charge, to any person obtaining a 44 #include <media/cec-notifier.h> 56 /* these are outputs from the chip - integrated only 74 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 96 /* for each plane in the rotated GTT view for no-CCS formats */ 185 * state. This must be called _after_ display->get_pipe_config has 186 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 257 * and the bus-specific code. What that means is that HDCP over HDMI differs 262 * - DP AUX vs. DDC [all …]
|
| D | intel_display.c | 2 * Copyright © 2006-2007 Intel Corporation 4 * Permission is hereby granted, free of charge, to any person obtaining a 29 #include <linux/intel-iommu.h> 32 #include <linux/dma-resv.h> 208 drm_WARN(&dev_priv->drm, (val & CCK_FREQUENCY_STATUS) != in vlv_get_cck_clock() 222 if (dev_priv->hpll_freq == 0) in vlv_get_cck_clock_hpll() 223 dev_priv->hpll_freq = vlv_get_hpll_vco(dev_priv); in vlv_get_cck_clock_hpll() 225 hpll = vlv_get_cck_clock(dev_priv, name, reg, dev_priv->hpll_freq); in vlv_get_cck_clock_hpll() 237 dev_priv->czclk_freq = vlv_get_cck_clock_hpll(dev_priv, "czclk", in intel_update_czclk() 240 drm_dbg(&dev_priv->drm, "CZ clock rate: %d kHz\n", in intel_update_czclk() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| D | dcn_calcs.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 40 dc->ctx->logger 50 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 54 * remain as-is as it provides us with a guarantee from HW that it is correct. 70 * slow-slow corner + 10% margin with voltages aligned to FCLK. 257 /* for 4/8/16 high tiles */ in swizzle_mode_to_macro_tile_size() 271 /* For 64bpp 2 high tiles */ in swizzle_mode_to_macro_tile_size() 305 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 308 if (pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in pipe_ctx_to_e2e_pipe_params() 309 pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in pipe_ctx_to_e2e_pipe_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
| D | dcn_calcs.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 40 dc->ctx->logger 50 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 54 * remain as-is as it provides us with a guarantee from HW that it is correct. 70 * slow-slow corner + 10% margin with voltages aligned to FCLK. 256 /* for 4/8/16 high tiles */ in swizzle_mode_to_macro_tile_size() 270 /* For 64bpp 2 high tiles */ in swizzle_mode_to_macro_tile_size() 304 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 307 if (pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in pipe_ctx_to_e2e_pipe_params() 308 pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in pipe_ctx_to_e2e_pipe_params() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
| D | dc.h | 2 * Copyright 2012-2023 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 99 // for example, 1080p -> 8K is 4.0, or 4000 raw value 107 // for example, 8K -> 1080p is 0.25, or 250 raw value 119 * DOC: color-management-caps 124 * abstracted HW. DCE 5-12 had almost no important changes, but starting with 131 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma 147 * struct dpp_color_caps - color pipeline capabilities for display pipe and 152 * just plain 256-entry lookup 161 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 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, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 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, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 4 * Permission is hereby granted, free of charge, to any person obtaining a 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 74 dc->ctx 77 dc->ctx->logger 79 static const char DC_BUILD_ID[] = "production-build"; 84 * DC is the OS-agnostic component of the amdgpu DC driver. 91 * struct dc - The central struct. One per driver. Created on driver load, 94 * struct dc_context - One per driver. 97 * struct dc_link - One per connector (the physical DP, HDMI, miniDP, or eDP 100 * struct dc_sink - One per display. Created on boot or hotplug. 103 * sinks (in the Multi-Stream Transport case) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_resource.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 725 .dwb_fi_phase = -1, // -1 = disable, 758 return &dpp->base; in dcn30_dpp_create() 778 return &opp->base; in dcn30_opp_create() 796 ctx->dc->caps.extended_aux_timeout_support); in dcn30_aux_engine_create() 798 return &aux_engine->base; in dcn30_aux_engine_create() 854 return &mpc30->base; in dcn30_mpc_create() 874 struct dcn20_vmid *vmid = &hubbub3->vmid[i]; in dcn30_hubbub_create() 876 vmid->ctx = ctx; in dcn30_hubbub_create() 878 vmid->regs = &vmid_regs[i]; in dcn30_hubbub_create() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 167 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 186 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() 187 struct drm_connector *connector = &aconnector->base; in update_subconnector_property() 190 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property() 193 if (aconnector->dc_sink) in update_subconnector_property() 196 drm_object_property_set_value(&connector->base, in update_subconnector_property() 197 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property() 240 * struct amdgpu_device *adev - [in] desired amdgpu device 241 * int disp_idx - [in] which CRTC to get the counter from [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_resource.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 1114 return &dpp->base; in dcn20_dpp_create() 1134 return &ipp->base; in dcn20_ipp_create() 1151 return &opp->base; in dcn20_opp_create() 1169 ctx->dc->caps.extended_aux_timeout_support); in dcn20_aux_engine_create() 1171 return &aux_engine->base; in dcn20_aux_engine_create() 1221 return &mpc20->base; in dcn20_mpc_create() 1239 struct dcn20_vmid *vmid = &hubbub->vmid[i]; in dcn20_hubbub_create() 1241 vmid->ctx = ctx; in dcn20_hubbub_create() 1243 vmid->regs = &vmid_regs[i]; in dcn20_hubbub_create() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_reg.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 44 * registers that are defined solely for the use by function-like macros. 52 * should be defined using function-like macros. 58 * with underscore, followed by a function-like macro choosing the right 68 * function-like macros may be used to define bit fields, but do note that the 87 * Try to re-use existing register macro definitions. Only add new macros for 120 * REG_BIT() - Prepare a u32 bit value 121 * @__n: 0-based bit number 133 * REG_GENMASK() - Prepare a continuous u32 bitmask [all …]
|