/linux-6.8/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 24 /* Select Scheme Value Register */ 56 /* Scheme Registers bit field masks */ 133 /* Scheme Configuration RAM Registers */ 146 /* 0x140: KeyGen Scheme Entry Statistic Packet Counter */ 147 u32 kgse_dv0; /* 0x144: KeyGen Scheme Entry Default Value 0 */ 148 u32 kgse_dv1; /* 0x148: KeyGen Scheme Entry Default Value 1 */ 150 /* 0x14C: KeyGen Scheme Entry Coarse Classification Bit*/ 151 u32 kgse_mv; /* 0x150: KeyGen Scheme Entry Match vector */ 152 u32 kgse_om; /* 0x154: KeyGen Scheme Entry Operation Mode bits */ 154 /* 0x158: KeyGen Scheme Entry Virtual Storage Profile */ [all …]
|
/linux-6.8/mm/damon/ |
D | sysfs-schemes.c | 13 * scheme region directory 113 * scheme regions directory 123 * Each DAMON-based operation scheme (&struct damos) has its own apply 124 * interval, and we need to expose the scheme tried regions based on only 126 * scheme. The status becomes 'idle' at the beginning. 136 * is called only after the scheme is completely applied 147 * apply intervals of the scheme is passed while the state is 'idle'. 1021 * scheme/weights directory 1383 * scheme directory 1413 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local [all …]
|
D | paddr.c | 216 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out() argument 220 damos_for_each_filter(filter, scheme) { in damos_pa_filter_out() 296 struct damos *scheme) in damon_pa_apply_scheme() argument 298 switch (scheme->action) { in damon_pa_apply_scheme() 300 return damon_pa_pageout(r, scheme); in damon_pa_apply_scheme() 302 return damon_pa_mark_accessed(r, scheme); in damon_pa_apply_scheme() 304 return damon_pa_deactivate_pages(r, scheme); in damon_pa_apply_scheme() 316 struct damos *scheme) in damon_pa_scheme_score() argument 318 switch (scheme->action) { in damon_pa_scheme_score() 320 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score() [all …]
|
D | core.c | 321 struct damos *scheme; in damon_new_scheme() local 323 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme() 324 if (!scheme) in damon_new_scheme() 326 scheme->pattern = *pattern; in damon_new_scheme() 327 scheme->action = action; in damon_new_scheme() 328 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme() 334 scheme->next_apply_sis = 0; in damon_new_scheme() 335 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme() 336 scheme->stat = (struct damos_stat){}; in damon_new_scheme() 337 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme() [all …]
|
D | reclaim.c | 166 struct damos *scheme, *old_scheme; in damon_reclaim_apply_parameters() local 175 scheme = damon_reclaim_new_scheme(); in damon_reclaim_apply_parameters() 176 if (!scheme) in damon_reclaim_apply_parameters() 180 damon_reclaim_copy_quota_status(&scheme->quota, in damon_reclaim_apply_parameters() 187 damon_destroy_scheme(scheme); in damon_reclaim_apply_parameters() 190 damos_add_filter(scheme, filter); in damon_reclaim_apply_parameters() 192 damon_set_schemes(ctx, &scheme, 1); in damon_reclaim_apply_parameters()
|
D | lru_sort.c | 169 /* Create a DAMON-based operation scheme for hot memory regions */ 178 /* Create a DAMON-based operation scheme for cold memory regions */ 201 struct damos *scheme, *hot_scheme, *cold_scheme; in damon_lru_sort_apply_parameters() local 210 damon_for_each_scheme(scheme, ctx) { in damon_lru_sort_apply_parameters() 212 old_hot_scheme = scheme; in damon_lru_sort_apply_parameters() 215 old_cold_scheme = scheme; in damon_lru_sort_apply_parameters()
|
/linux-6.8/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 33 'tried_regions' directory of every scheme directory of this 147 directories for controlling each DAMON-based operation scheme 154 of the scheme. 160 the scheme in microseconds. Reading this file returns the 167 size of the scheme's target regions in bytes. 173 size of the scheme's target regions in bytes. 179 'nr_accesses' of the scheme's target regions. 185 'nr_accesses' of the scheme's target regions. 191 'age' of the scheme's target regions. 197 'age' of the scheme's target regions. [all …]
|
D | sysfs-bus-iio-light-isl29018 | 9 Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity 10 detection. The range of Scheme 0 proximity count is from 0 to 11 2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15) 13 range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1). 15 Scheme 0 has wider dynamic range, Scheme 1 proximity detection
|
/linux-6.8/include/linux/ |
D | damon.h | 99 * Operation Scheme. 130 * struct damos_quota - Controls the aggressiveness of the given scheme. 131 * @ms: Maximum milliseconds that the scheme can use. 151 * throughput of the scheme's action. DAMON then compares it against &sz and 154 * For selecting regions within the quota, DAMON prioritizes current scheme's 207 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme. 218 * struct damos_watermarks - Controls when a given scheme should be activated. 225 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active 226 * means DAMON does monitoring and applying the action of the scheme to 230 * If &metric is higher than &high, the scheme is inactivated. If &metric is [all …]
|
/linux-6.8/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 144 DAMON-based operation scheme of the kdamond. For details of the stats, 146 - ``update_schemes_tried_regions``: Update the DAMON-based operation scheme 147 action tried regions directory for each DAMON-based operation scheme of the 148 kdamond. For details of the DAMON-based operation scheme action tried 153 - ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme 154 action tried regions directory for each DAMON-based operation scheme of the 292 to ``N-1``. Each directory represents each DAMON-based operation scheme. 299 In each scheme directory, five directories (``access_pattern``, ``quotas``, 303 The ``action`` file is for setting and getting the scheme's :ref:`action 327 The ``apply_interval_us`` file is for setting and getting the scheme's [all …]
|
/linux-6.8/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 30 scheme = None variable in DamosAccessPattern 45 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern') 84 self.access_pattern.scheme = self 210 for idx, scheme in enumerate(self.schemes): 211 scheme.idx = idx 212 scheme.context = self 248 for scheme in self.schemes: 249 err = scheme.stage() 294 for scheme in context.schemes: 295 content, err = read_file(os.path.join(scheme.sysfs_dir(), [all …]
|
D | sysfs_update_removed_scheme_dir.sh | 23 # start DAMON with a scheme 37 # remove scheme sysfs dir 40 # try to update stat of already removed scheme sysfs dir 49 # try to update tried regions of already removed scheme sysfs dir
|
/linux-6.8/drivers/atm/ |
D | fore200e.c | 288 int scheme, magn, nbr; in fore200e_free_rx_buf() local 291 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_free_rx_buf() 294 if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) { in fore200e_free_rx_buf() 296 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) { in fore200e_free_rx_buf() 312 int scheme, magn; in fore200e_uninit_bs_queue() local 314 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_uninit_bs_queue() 317 struct chunk* status = &fore200e->host_bsq[ scheme ][ magn ].status; in fore200e_uninit_bs_queue() 318 struct chunk* rbd_block = &fore200e->host_bsq[ scheme ][ magn ].rbd_block; in fore200e_uninit_bs_queue() 860 int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) in bsq_audit() argument 870 where, scheme, magn, buffer->index); in bsq_audit() [all …]
|
D | fore200e.h | 19 #define BUFFER_S1_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 1 */ 20 #define BUFFER_L1_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 1 */ 22 #define BUFFER_S2_SIZE SMALL_BUFFER_SIZE /* size of small buffers, scheme 2 */ 23 #define BUFFER_L2_SIZE LARGE_BUFFER_SIZE /* size of large buffers, scheme 2 */ 168 /* buffer scheme */ 284 enum buffer_scheme scheme : 8, /* buffer scheme */ 580 enum buffer_scheme scheme; /* buffer scheme */ member 655 /* receive buffer supply queues scheme specification */ 878 enum buffer_scheme scheme; /* rx buffer scheme */ member
|
/linux-6.8/drivers/media/usb/pvrusb2/ |
D | pvrusb2-devattr.h | 111 /* Signal routing scheme used by device, contains one of 113 encounter them. This is an arbitrary integer scheme id; its 119 /* Indicates scheme for controlling device's LED (if any). The 124 /* Control scheme to use if there is a digital tuner. This 126 integer scheme id; its meaning is contained entirely within the 155 /* Indicate IR scheme of hardware. If not set, then it is assumed
|
/linux-6.8/Documentation/mm/damon/ |
D | design.rst | 185 This scheme, however, cannot preserve the quality of the output if the 312 regions that the scheme is having an interest in. 322 region having the access pattern of interest is found, applying the scheme's 346 scheme action. In contrast, the colder regions would be deprioritized for huge 347 page collapse scheme action. Hence, the prioritization mechanisms for each 368 for the scheme is achieved as feedback. DAMOS then automatically tunes the 369 aggressiveness (the quota) of the corresponding scheme. For example, if DAMOS 381 memory is guaranteed, running a scheme for proactive reclamation would only 389 high watermark or below the low watermark, the scheme is deactivated. If the 390 metric becomes below the mid watermark but above the low watermark, the scheme [all …]
|
/linux-6.8/drivers/net/wireless/ath/ath9k/ |
D | btcoex.c | 120 if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE && in ath9k_hw_btcoex_pin_init() 121 btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE) in ath9k_hw_btcoex_pin_init() 124 /* bt priority GPIO will be ignored by 2 wire scheme */ in ath9k_hw_btcoex_pin_init() 146 btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE; in ath9k_hw_btcoex_init_scheme() 151 btcoex_hw->scheme = ATH_BTCOEX_CFG_MCI; in ath9k_hw_btcoex_init_scheme() 153 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme() 160 btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; in ath9k_hw_btcoex_init_scheme() 162 btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE; in ath9k_hw_btcoex_init_scheme() 434 if (btcoex_hw->scheme == ATH_BTCOEX_CFG_3WIRE) { in ath9k_hw_btcoex_disable()
|
/linux-6.8/drivers/iio/light/ |
D | isl29018.c | 224 static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme, in isl29018_read_proximity_ir() argument 232 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir() 235 scheme << ISL29018_CMD2_SCHEME_SHIFT); in isl29018_read_proximity_ir() 246 if (scheme == 1) { in isl29018_read_proximity_ir() 307 * Proximity Sensing Scheme: Bit 7. This bit programs the function 308 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes 310 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit, 311 * Scheme 1, makes n-1 (3, 7, 11, 15) bits (2's complementary) 312 * proximity_less_ambient detection. The range of Scheme 1 314 * for resolutions less than 16. While Scheme 0 has wider dynamic [all …]
|
/linux-6.8/arch/arm/mach-omap2/ |
D | omap_hwmod_common_data.c | 24 * struct omap_hwmod_sysc_type1 - TYPE1 sysconfig scheme. 40 * struct omap_hwmod_sysc_type2 - TYPE2 sysconfig scheme. 54 * struct omap_hwmod_sysc_type3 - TYPE3 sysconfig scheme.
|
/linux-6.8/Documentation/filesystems/ext4/ |
D | ifork.rst | 36 Note that with this block mapping scheme, it is necessary to fill out a 38 led to the creation of the extent mapping scheme, discussed below. 40 Notice also that a file using this mapping scheme cannot be placed 47 tree. Under the old scheme, allocating a contiguous run of 1,000 blocks
|
/linux-6.8/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 427 用戶可以通過讀取和寫入 ``scheme`` debugfs文件來獲得和設置這些方案。讀取該文件還可以顯示每個 514 # scheme="4096 8192 0 5 10 20 2" # target access pattern and action 515 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas 516 # scheme+=" 0 0 100" # prioritization weights 517 # scheme+=" 1 5000000 600 500 300" # watermarks 518 # echo "$scheme" > schemes
|
/linux-6.8/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 427 用户可以通过读取和写入 ``scheme`` debugfs文件来获得和设置这些方案。读取该文件还可以显示每个 514 # scheme="4096 8192 0 5 10 20 2" # target access pattern and action 515 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas 516 # scheme+=" 0 0 100" # prioritization weights 517 # scheme+=" 1 5000000 600 500 300" # watermarks 518 # echo "$scheme" > schemes
|
/linux-6.8/Documentation/scsi/ |
D | aha152x.rst | 126 The BIOS uses a cylinder/head/sector addressing scheme (C/H/S) 127 scheme instead. DOS expects a BIOS or driver that understands this 135 geometry just to be able to support that addressing scheme. The geometry 145 Moreover there are certain limitations to the C/H/S addressing scheme,
|
/linux-6.8/drivers/staging/media/atomisp/pci/ |
D | ia_css_input_port.h | 38 IA_CSS_CSI2_COMPRESSION_TYPE_1, /** Compression scheme 1 */ 39 IA_CSS_CSI2_COMPRESSION_TYPE_2 /** Compression scheme 2 */
|
/linux-6.8/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | phy.h | 184 * @scheme: only for v2: scheme that trigger the CT Kill (0-SW, 1-HW) 189 u8 scheme; member
|