Home
last modified time | relevance | path

Searched full:scheme (Results 1 – 25 of 1286) sorted by relevance

12345678910>>...52

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c24 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c51 /* Select Scheme Value Register */
83 /* Scheme Registers bit field masks */
160 /* Scheme Configuration RAM Registers */
173 /* 0x140: KeyGen Scheme Entry Statistic Packet Counter */
174 u32 kgse_dv0; /* 0x144: KeyGen Scheme Entry Default Value 0 */
175 u32 kgse_dv1; /* 0x148: KeyGen Scheme Entry Default Value 1 */
177 /* 0x14C: KeyGen Scheme Entry Coarse Classification Bit*/
178 u32 kgse_mv; /* 0x150: KeyGen Scheme Entry Match vector */
179 u32 kgse_om; /* 0x154: KeyGen Scheme Entry Operation Mode bits */
181 /* 0x158: KeyGen Scheme Entry Virtual Storage Profile */
[all …]
/kernel/linux/linux-6.6/mm/damon/
Dsysfs-schemes.c13 * scheme region directory
113 * scheme regions directory
780 * scheme/weights directory
1121 * scheme directory
1150 struct damon_sysfs_scheme *scheme = kmalloc(sizeof(*scheme), in damon_sysfs_scheme_alloc() local
1153 if (!scheme) in damon_sysfs_scheme_alloc()
1155 scheme->kobj = (struct kobject){}; in damon_sysfs_scheme_alloc()
1156 scheme->action = action; in damon_sysfs_scheme_alloc()
1157 return scheme; in damon_sysfs_scheme_alloc()
1161 struct damon_sysfs_scheme *scheme) in damon_sysfs_scheme_set_access_pattern() argument
[all …]
Dpaddr.c217 static bool damos_pa_filter_out(struct damos *scheme, struct folio *folio) in damos_pa_filter_out() argument
221 damos_for_each_filter(filter, scheme) { in damos_pa_filter_out()
297 struct damos *scheme) in damon_pa_apply_scheme() argument
299 switch (scheme->action) { in damon_pa_apply_scheme()
301 return damon_pa_pageout(r, scheme); in damon_pa_apply_scheme()
303 return damon_pa_mark_accessed(r, scheme); in damon_pa_apply_scheme()
305 return damon_pa_deactivate_pages(r, scheme); in damon_pa_apply_scheme()
317 struct damos *scheme) in damon_pa_scheme_score() argument
319 switch (scheme->action) { in damon_pa_scheme_score()
321 return damon_cold_score(context, r, scheme); in damon_pa_scheme_score()
[all …]
Dcore.c320 struct damos *scheme; in damon_new_scheme() local
322 scheme = kmalloc(sizeof(*scheme), GFP_KERNEL); in damon_new_scheme()
323 if (!scheme) in damon_new_scheme()
325 scheme->pattern = *pattern; in damon_new_scheme()
326 scheme->action = action; in damon_new_scheme()
327 scheme->apply_interval_us = apply_interval_us; in damon_new_scheme()
333 scheme->next_apply_sis = 0; in damon_new_scheme()
334 INIT_LIST_HEAD(&scheme->filters); in damon_new_scheme()
335 scheme->stat = (struct damos_stat){}; in damon_new_scheme()
336 INIT_LIST_HEAD(&scheme->list); in damon_new_scheme()
[all …]
Dreclaim.c166 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()
Dlru_sort.c169 /* 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()
/kernel/linux/linux-6.6/include/linux/
Ddamon.h83 * Operation Scheme.
114 * struct damos_quota - Controls the aggressiveness of the given scheme.
115 * @ms: Maximum milliseconds that the scheme can use.
132 * throughput of the scheme's action. DAMON then compares it against &sz and
135 * For selecting regions within the quota, DAMON prioritizes current scheme's
171 * @DAMOS_WMARK_NONE: Ignore the watermarks of the given scheme.
182 * struct damos_watermarks - Controls when a given scheme should be activated.
189 * If &metric is &DAMOS_WMARK_NONE, the scheme is always active. Being active
190 * means DAMON does monitoring and applying the action of the scheme to
194 * If &metric is higher than &high, the scheme is inactivated. If &metric is
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon31 contents of 'tried_regions' directory of every scheme directory
145 directories for controlling each DAMON-based operation scheme
152 of the scheme.
158 size of the scheme's target regions in bytes.
164 size of the scheme's target regions in bytes.
170 'nr_accesses' of the scheme's target regions.
176 'nr_accesses' of the scheme's target regions.
182 'age' of the scheme's target regions.
188 'age' of the scheme's target regions.
194 quota of the scheme in milliseconds.
[all …]
Dsysfs-bus-iio-light-isl290189 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
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-light-isl290189 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
/kernel/linux/linux-6.6/Documentation/admin-guide/mm/damon/
Dusage.rst129 for each DAMON-based operation scheme of the kdamond. For details of the
133 DAMON-based operation scheme action tried regions directory for each
134 DAMON-based operation scheme of the kdamond. Writing
138 operating scheme action tried regions directory for each DAMON-based operation
139 scheme of the kdamond. For details of the DAMON-based operation scheme action
267 to ``N-1``. Each directory represents each DAMON-based operation scheme.
272 In each scheme directory, five directories (``access_pattern``, ``quotas``,
276 The ``action`` file is for setting and getting the scheme's :ref:`action
304 <damon_design_damos_access_pattern>` of the given DAMON-based operation scheme.
308 exist. You can set and get the access pattern for the given scheme by writing
[all …]
/kernel/linux/linux-6.6/drivers/atm/
Dfore200e.c288 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 …]
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.c291 int scheme, magn, nbr; in fore200e_free_rx_buf() local
294 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_free_rx_buf()
297 if ((buffer = fore200e->host_bsq[ scheme ][ magn ].buffer) != NULL) { in fore200e_free_rx_buf()
299 for (nbr = 0; nbr < fore200e_rx_buf_nbr[ scheme ][ magn ]; nbr++) { in fore200e_free_rx_buf()
315 int scheme, magn; in fore200e_uninit_bs_queue() local
317 for (scheme = 0; scheme < BUFFER_SCHEME_NBR; scheme++) { in fore200e_uninit_bs_queue()
320 struct chunk* status = &fore200e->host_bsq[ scheme ][ magn ].status; in fore200e_uninit_bs_queue()
321 struct chunk* rbd_block = &fore200e->host_bsq[ scheme ][ magn ].rbd_block; in fore200e_uninit_bs_queue()
862 int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) in bsq_audit() argument
872 where, scheme, magn, buffer->index); in bsq_audit()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Dgpmc-nand.txt35 Refer below "How to select correct ECC scheme for your device ?"
105 How to select correct ECC scheme for your device ?
107 Higher ECC scheme usually means better protection against bit-flips and
108 increased system lifetime. However, selection of ECC scheme is dependent
120 Other factor which governs the selection of ecc-scheme is oob-size.
137 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
144 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
147 (OOBSIZE=128). So this device can use BCH16 ecc-scheme.
/kernel/linux/linux-6.6/tools/testing/selftests/damon/
Dsysfs_update_removed_scheme_dir.sh23 # 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
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.h111 /* 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
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.h111 /* 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
/kernel/linux/linux-5.10/Documentation/filesystems/
Dmandatory-locking.rst47 "advisory" locking scheme. However, the world isn't perfect, and there's
51 with a "mandatory" locking scheme, whereby the operating system kernel would
56 The System V mandatory locking scheme was intended to have as little impact as
57 possible on existing user code. The scheme is based on marking individual files
69 2. POSIX.1 does not specify any scheme for mandatory locking, despite
70 borrowing the fcntl() locking scheme from System V. The mandatory locking
71 scheme is defined by the System V Interface Definition (SVID) Version 3.
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dbtcoex.c120 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dbtcoex.c120 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()
/kernel/linux/linux-5.10/drivers/iio/light/
Disl29018.c224 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 …]
/kernel/linux/linux-6.6/drivers/iio/light/
Disl29018.c224 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 …]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
Domap_hwmod_common_data.c24 * 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.
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap_hwmod_common_data.c24 * 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.

12345678910>>...52