/kernel/linux/linux-6.6/rust/alloc/ |
H A D | lib.rs | 63 // rustc itself never sets the feature, so this line has no effect there. 64 #![cfg(any(not(feature = "miri-test-libstd"), test, doctest))] 67 #![stable(feature = "alloc", since = "1.36.0")] 76 any(not(feature = "miri-test-libstd"), test, doctest), 98 #![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))] 99 #![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))] 100 #![cfg_attr(test, feature(is_sorted))] 101 #![cfg_attr(test, feature(new_uninit))] 102 #![feature(alloc_layout_extra)] 103 #![feature(allocator_ap [all...] |
H A D | boxed.rs | 149 #![stable(feature = "rust1", since = "1.0.0")] 184 #[unstable(feature = "thin_box", issue = "92791")] 195 #[stable(feature = "rust1", since = "1.0.0")] 201 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global, 216 #[stable(feature = "rust1", since = "1.0.0")] 229 /// #![feature(new_uninit)] 243 #[unstable(feature = "new_uninit", issue = "63291")] 259 /// #![feature(new_uninit)] 270 #[unstable(feature = "new_uninit", issue = "63291")] 284 #[stable(feature [all...] |
H A D | slice.rs | 12 #![stable(feature = "rust1", since = "1.0.0")] 38 #[unstable(feature = "slice_range", issue = "76393")] 40 #[unstable(feature = "array_chunks", issue = "74985")] 42 #[unstable(feature = "array_chunks", issue = "74985")] 44 #[unstable(feature = "array_windows", issue = "75027")] 46 #[stable(feature = "inherent_ascii_escape", since = "1.60.0")] 48 #[stable(feature = "slice_get_slice", since = "1.28.0")] 50 #[stable(feature = "from_ref", since = "1.28.0")] 52 #[unstable(feature = "slice_from_ptr_range", issue = "89792")] 54 #[stable(feature [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | cpu_has_feature.h | 10 static __always_inline bool early_cpu_has_feature(unsigned long feature) in early_cpu_has_feature() argument 12 return !!((CPU_FTRS_ALWAYS & feature) || in early_cpu_has_feature() 13 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); in early_cpu_has_feature() 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument 28 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature() 35 return early_cpu_has_feature(feature); in cpu_has_feature() 39 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature() 42 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature() 45 i = __builtin_ctzl(feature); in cpu_has_feature() 49 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument [all...] |
H A D | mmu.h | 32 * Support for KUEP feature. 128 /* MMU feature bit sets for various CPUs */ 204 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument 206 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 218 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument 223 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature() 230 return early_mmu_has_feature(feature); in mmu_has_feature() 234 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature() 237 i = __builtin_ctzl(feature); in mmu_has_feature() 241 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument 256 mmu_has_feature(unsigned long feature) mmu_has_feature() argument 261 mmu_clear_feature(unsigned long feature) mmu_clear_feature() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | cpu_has_feature.h | 10 static __always_inline bool early_cpu_has_feature(unsigned long feature) in early_cpu_has_feature() argument 12 return !!((CPU_FTRS_ALWAYS & feature) || in early_cpu_has_feature() 13 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); in early_cpu_has_feature() 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument 28 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature() 35 return early_cpu_has_feature(feature); in cpu_has_feature() 39 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature() 42 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature() 45 i = __builtin_ctzl(feature); in cpu_has_feature() 49 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument [all...] |
H A D | mmu.h | 32 * Supports KUAP feature 39 * Supports KUEP feature 126 /* MMU feature bit sets for various CPUs */ 227 static __always_inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument 229 if (MMU_FTRS_ALWAYS & feature) in early_mmu_has_feature() 232 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 244 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument 249 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature() 256 return early_mmu_has_feature(feature); in mmu_has_feature() 260 if (MMU_FTRS_ALWAYS & feature) in mmu_has_feature() 270 mmu_clear_feature(unsigned long feature) mmu_clear_feature() argument 285 mmu_has_feature(unsigned long feature) mmu_has_feature() argument 290 mmu_clear_feature(unsigned long feature) mmu_clear_feature() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nand_macronix.c | 41 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_setup_read_retry() local 48 feature[0] = mode; in macronix_nand_setup_read_retry() 49 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in macronix_nand_setup_read_retry() 54 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_randomizer_check_enable() local 58 feature); in macronix_nand_randomizer_check_enable() 62 if (feature[0]) in macronix_nand_randomizer_check_enable() 63 return feature[0]; in macronix_nand_randomizer_check_enable() 65 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER; in macronix_nand_randomizer_check_enable() 67 feature); in macronix_nand_randomizer_check_enable() 72 feature[ in macronix_nand_randomizer_check_enable() 190 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; mxic_nand_lock() local 206 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; mxic_nand_unlock() local 222 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; macronix_nand_block_protection_support() local [all...] |
/kernel/linux/linux-6.6/rust/alloc/collections/ |
H A D | mod.rs | 5 #![stable(feature = "rust1", since = "1.0.0")] 17 #[stable(feature = "rust1", since = "1.0.0")] 20 #[stable(feature = "rust1", since = "1.0.0")] 25 #[stable(feature = "rust1", since = "1.0.0")] 28 #[stable(feature = "rust1", since = "1.0.0")] 33 #[stable(feature = "rust1", since = "1.0.0")] 38 #[stable(feature = "rust1", since = "1.0.0")] 43 #[stable(feature = "rust1", since = "1.0.0")] 48 #[stable(feature = "rust1", since = "1.0.0")] 53 #[stable(feature [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
H A D | cpuid-deps.c | 8 unsigned int feature; member 77 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument 85 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature() 86 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature() 88 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature() 95 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument 101 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap() 104 clear_feature(c, feature); in do_clear_cpu_cap() 108 __set_bit(feature, disable); in do_clear_cpu_cap() 113 for (d = cpuid_deps; d->feature; in do_clear_cpu_cap() 125 clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) clear_cpu_cap() argument 130 setup_clear_cpu_cap(unsigned int feature) setup_clear_cpu_cap() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
H A D | cpuid-deps.c | 8 unsigned int feature; member 88 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument 96 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature() 97 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature() 99 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature() 106 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument 112 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap() 115 clear_feature(c, feature); in do_clear_cpu_cap() 119 __set_bit(feature, disable); in do_clear_cpu_cap() 124 for (d = cpuid_deps; d->feature; in do_clear_cpu_cap() 136 clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) clear_cpu_cap() argument 141 setup_clear_cpu_cap(unsigned int feature) setup_clear_cpu_cap() argument [all...] |
/kernel/linux/linux-6.6/rust/alloc/vec/ |
H A D | mod.rs | 56 #![stable(feature = "rust1", since = "1.0.0")] 77 #[unstable(feature = "extract_if", reason = "recently added", issue = "43244")] 83 #[stable(feature = "vec_splice", since = "1.21.0")] 89 #[stable(feature = "drain", since = "1.6.0")] 100 #[stable(feature = "rust1", since = "1.0.0")] 396 #[stable(feature = "rust1", since = "1.0.0")] 399 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> { 420 #[rustc_const_stable(feature = "const_vec_new", since = "1.39.0")] 421 #[stable(feature = "rust1", since = "1.0.0")] 479 #[stable(feature [all...] |
H A D | drain.rs | 23 #[stable(feature = "drain", since = "1.6.0")] 27 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator + 'a = Global, 38 #[stable(feature = "collection_debug", since = "1.17.0")] 58 #[stable(feature = "vec_drain_as_slice", since = "1.46.0")] in fmt() 64 #[unstable(feature = "allocator_api", issue = "32838")] in fmt() 76 /// #![feature(drain_keep_rest)] in fmt() 90 #[unstable(feature = "drain_keep_rest", issue = "101122")] in fmt() 141 #[stable(feature = "vec_drain_as_slice", since = "1.46.0")] 148 #[stable(feature = "drain", since = "1.6.0")] 150 #[stable(feature [all...] |
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | dfl.c | 22 * when adding a new feature dev support in DFL framework, it's required to 28 * if the new feature dev needs chardev support, then it's required to add 47 * dfl_dev_info - dfl feature device information. 48 * @name: name string of the feature platform device. 50 * @id: idr id of the feature dev. 69 * dfl_chardev_info - chardev information of dfl feature device 144 * in such list, then other feature devices (e.g. FME), could use the port 354 struct dfl_feature *feature) in dfl_dev_add() 383 ddev->feature_id = feature->id; in dfl_dev_add() 387 parent_res = &pdev->resource[feature in dfl_dev_add() 353 dfl_dev_add(struct dfl_feature_platform_data *pdata, struct dfl_feature *feature) dfl_dev_add() argument 429 struct dfl_feature *feature; dfl_devs_remove() local 441 struct dfl_feature *feature; dfl_devs_add() local 497 struct dfl_feature *feature; dfl_fpga_dev_feature_uinit() local 511 dfl_feature_instance_init(struct platform_device *pdev, struct dfl_feature_platform_data *pdata, struct dfl_feature *feature, struct dfl_feature_driver *drv) dfl_feature_instance_init() argument 543 dfl_feature_drv_match(struct dfl_feature *feature, struct dfl_feature_driver *driver) dfl_feature_drv_match() argument 573 struct dfl_feature *feature; dfl_fpga_dev_feature_init() local 792 struct dfl_feature *feature = &pdata->features[index++]; build_info_commit_dev() local 1727 do_set_irq_trigger(struct dfl_feature *feature, unsigned int idx, int fd) do_set_irq_trigger() argument 1787 dfl_fpga_set_irq_triggers(struct dfl_feature *feature, unsigned int start, unsigned int count, int32_t *fds) dfl_fpga_set_irq_triggers() argument 1824 dfl_feature_ioctl_get_num_irqs(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) dfl_feature_ioctl_get_num_irqs() argument 1840 dfl_feature_ioctl_set_irq(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) dfl_feature_ioctl_set_irq() argument [all...] |
H A D | dfl-fme-main.c | 162 struct dfl_feature *feature, in fme_hdr_ioctl() 216 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local 222 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0; in thermal_hwmon_attrs_visible() 228 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_hwmon_read() local 233 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read() 237 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 241 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 245 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 249 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 253 v = readq(feature in thermal_hwmon_read() 161 fme_hdr_ioctl(struct platform_device *pdev, struct dfl_feature *feature, unsigned int cmd, unsigned long arg) fme_hdr_ioctl() argument 283 struct dfl_feature *feature = dev_get_drvdata(dev); temp1_max_policy_show() local 303 struct dfl_feature *feature = dev_get_drvdata(dev); thermal_extra_attrs_visible() local 314 fme_thermal_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) fme_thermal_mgmt_init() argument 379 struct dfl_feature *feature = dev_get_drvdata(dev); power_hwmon_read() local 414 struct dfl_feature *feature = dev_get_drvdata(dev); power_hwmon_write() local 483 struct dfl_feature *feature = dev_get_drvdata(dev); power1_xeon_limit_show() local 498 struct dfl_feature *feature = dev_get_drvdata(dev); power1_fpga_limit_show() local 513 struct dfl_feature *feature = dev_get_drvdata(dev); power1_ltr_show() local 535 fme_power_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) fme_power_mgmt_init() argument 623 struct dfl_feature *feature; fme_release() local [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | alternative.h | 149 #define ALTINSTR_ENTRY(feature, num) \ 152 " .word " __stringify(feature) "\n" /* feature bit */ \ 156 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ 161 #define ALTERNATIVE(oldinstr, newinstr, feature) \ 164 ALTINSTR_ENTRY(feature, 1) \ 167 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ 181 /* If @feature is set, patch in @newinstr_yes, otherwise @newinstr_no. */ 182 #define ALTERNATIVE_TERNARY(oldinstr, feature, newinstr_yes, newinstr_no) \ 184 newinstr_yes, feature) 336 altinstruction_entry 140b,143f,\\feature,142b-140b,144f-143f global() variable [all...] |
H A D | cpu_device_id.h | 48 .feature = _feature, \ 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ 68 X86_STEPPING_ANY, feature, data) 71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature 75 * @feature: A X86_FEATURE bit 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ 85 X86_MODEL_ANY, feature, data) 88 * X86_MATCH_VENDOR_FEATURE - Macro for matching vendor and CPU feature 91 * @feature: A X86_FEATURE bit 99 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, dat [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nand_macronix.c | 52 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_setup_read_retry() local 59 feature[0] = mode; in macronix_nand_setup_read_retry() 60 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in macronix_nand_setup_read_retry() 65 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_randomizer_check_enable() local 69 feature); in macronix_nand_randomizer_check_enable() 73 if (feature[0]) in macronix_nand_randomizer_check_enable() 74 return feature[0]; in macronix_nand_randomizer_check_enable() 76 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER; in macronix_nand_randomizer_check_enable() 78 feature); in macronix_nand_randomizer_check_enable() 83 feature[ in macronix_nand_randomizer_check_enable() 200 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; mxic_nand_lock() local 216 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; mxic_nand_unlock() local 232 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; macronix_nand_block_protection_support() local [all...] |
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | dfl-fme-main.c | 163 struct dfl_feature *feature, in fme_hdr_ioctl() 217 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local 223 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0; in thermal_hwmon_attrs_visible() 229 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_hwmon_read() local 234 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read() 238 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 242 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 246 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 250 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 254 v = readq(feature in thermal_hwmon_read() 162 fme_hdr_ioctl(struct platform_device *pdev, struct dfl_feature *feature, unsigned int cmd, unsigned long arg) fme_hdr_ioctl() argument 284 struct dfl_feature *feature = dev_get_drvdata(dev); temp1_max_policy_show() local 304 struct dfl_feature *feature = dev_get_drvdata(dev); thermal_extra_attrs_visible() local 315 fme_thermal_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) fme_thermal_mgmt_init() argument 380 struct dfl_feature *feature = dev_get_drvdata(dev); power_hwmon_read() local 415 struct dfl_feature *feature = dev_get_drvdata(dev); power_hwmon_write() local 484 struct dfl_feature *feature = dev_get_drvdata(dev); power1_xeon_limit_show() local 499 struct dfl_feature *feature = dev_get_drvdata(dev); power1_fpga_limit_show() local 514 struct dfl_feature *feature = dev_get_drvdata(dev); power1_ltr_show() local 536 fme_power_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) fme_power_mgmt_init() argument 624 struct dfl_feature *feature; fme_release() local [all...] |
H A D | dfl.c | 24 * when adding a new feature dev support in DFL framework, it's required to 30 * if the new feature dev needs chardev support, then it's required to add 49 * struct dfl_dev_info - dfl feature device information. 50 * @name: name string of the feature platform device. 52 * @id: idr id of the feature dev. 71 * struct dfl_chardev_info - chardev information of dfl feature device 146 * in such list, then other feature devices (e.g. FME), could use the port 355 struct dfl_feature *feature) in dfl_dev_add() 384 ddev->feature_id = feature->id; in dfl_dev_add() 385 ddev->revision = feature in dfl_dev_add() 354 dfl_dev_add(struct dfl_feature_platform_data *pdata, struct dfl_feature *feature) dfl_dev_add() argument 440 struct dfl_feature *feature; dfl_devs_remove() local 452 struct dfl_feature *feature; dfl_devs_add() local 508 struct dfl_feature *feature; dfl_fpga_dev_feature_uinit() local 522 dfl_feature_instance_init(struct platform_device *pdev, struct dfl_feature_platform_data *pdata, struct dfl_feature *feature, struct dfl_feature_driver *drv) dfl_feature_instance_init() argument 554 dfl_feature_drv_match(struct dfl_feature *feature, struct dfl_feature_driver *driver) dfl_feature_drv_match() argument 584 struct dfl_feature *feature; dfl_fpga_dev_feature_init() local 811 struct dfl_feature *feature = &pdata->features[index++]; build_info_commit_dev() local 1879 do_set_irq_trigger(struct dfl_feature *feature, unsigned int idx, int fd) do_set_irq_trigger() argument 1939 dfl_fpga_set_irq_triggers(struct dfl_feature *feature, unsigned int start, unsigned int count, int32_t *fds) dfl_fpga_set_irq_triggers() argument 1976 dfl_feature_ioctl_get_num_irqs(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) dfl_feature_ioctl_get_num_irqs() argument 1992 dfl_feature_ioctl_set_irq(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) dfl_feature_ioctl_set_irq() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | smu_cmn.c | 249 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_supported() local 259 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_supported() 261 mutex_lock(&feature->mutex); in smu_cmn_feature_is_supported() 262 ret = test_bit(feature_id, feature->supported); in smu_cmn_feature_is_supported() 263 mutex_unlock(&feature->mutex); in smu_cmn_feature_is_supported() 271 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_enabled() local 283 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_enabled() 285 mutex_lock(&feature->mutex); in smu_cmn_feature_is_enabled() 286 ret = test_bit(feature_id, feature->enabled); in smu_cmn_feature_is_enabled() 287 mutex_unlock(&feature in smu_cmn_feature_is_enabled() 324 struct smu_feature *feature = &smu->smu_feature; smu_cmn_get_enabled_mask() local 353 struct smu_feature *feature = &smu->smu_feature; smu_cmn_feature_update_enable_state() local 400 struct smu_feature *feature = &smu->smu_feature; smu_cmn_feature_set_enabled() local 422 smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature) smu_get_feature_name() argument [all...] |
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | cap_audit.h | 67 #define DO_CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ 69 if (cap##_##feature(a) != cap##_##feature(b)) { \ 71 pr_info("IOMMU feature %s inconsistent", #feature); \ 75 #define CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ 76 DO_CHECK_FEATURE_MISMATCH((a)->cap, (b)->cap, cap, feature, MASK) 78 #define CHECK_FEATURE_MISMATCH_HOTPLUG(b, cap, feature, MASK) \ 80 if (cap##_##feature(intel_iommu_##cap##_sanity)) \ 82 (b)->cap, cap, feature, MAS [all...] |
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | alternative.h | 15 u16 feature; /* feature bit set for replacement */ member 60 #define ALTINSTR_ENTRY(feature, num) \ 63 " .short " __stringify(feature) "\n" /* feature bit */ \ 67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ 71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ 74 ALTINSTR_ENTRY(feature, 1) \ 77 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ 103 #define alternative(oldinstr, newinstr, feature) \ [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | alternative.h | 15 u16 feature; /* feature bit set for replacement */ member 60 #define ALTINSTR_ENTRY(feature, num) \ 63 " .short " __stringify(feature) "\n" /* feature bit */ \ 67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ 71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ 74 ALTINSTR_ENTRY(feature, 1) \ 77 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ 103 #define alternative(oldinstr, newinstr, feature) \ [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 48 .feature = _feature, \ 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ 68 X86_STEPPING_ANY, feature, data) 71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature 75 * @feature: A X86_FEATURE bit 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ 85 X86_MODEL_ANY, feature, data) 88 * X86_MATCH_VENDOR_FEATURE - Macro for matching vendor and CPU feature 91 * @feature: A X86_FEATURE bit 99 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, dat [all...] |