| /linux/drivers/accel/habanalabs/include/gaudi/ |
| H A D | gaudi_async_ids_map_extended.h | 19 int valid; member 24 { .fc_id = 0, .cpu_id = 0, .valid = 0, .name = "" }, 25 { .fc_id = 1, .cpu_id = 1, .valid = 0, .name = "" }, 26 { .fc_id = 2, .cpu_id = 2, .valid = 0, .name = "" }, 27 { .fc_id = 3, .cpu_id = 3, .valid = 0, .name = "" }, 28 { .fc_id = 4, .cpu_id = 4, .valid = 0, .name = "" }, 29 { .fc_id = 5, .cpu_id = 5, .valid = 0, .name = "" }, 30 { .fc_id = 6, .cpu_id = 6, .valid = 0, .name = "" }, 31 { .fc_id = 7, .cpu_id = 7, .valid = 0, .name = "" }, 32 { .fc_id = 8, .cpu_id = 8, .valid = 0, .name = "" }, [all …]
|
| /linux/drivers/accel/habanalabs/include/gaudi2/ |
| H A D | gaudi2_async_ids_map_extended.h | 25 int valid; member 32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 44 { .fc_id = 6, .cpu_id = 6, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 46 { .fc_id = 7, .cpu_id = 7, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 48 { .fc_id = 8, .cpu_id = 8, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, [all …]
|
| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs.sh | 106 ensure_write_succ "$filter_dir/type" "anon" "valid input" 107 ensure_write_succ "$filter_dir/type" "memcg" "valid input" 108 ensure_write_succ "$filter_dir/type" "addr" "valid input" 109 ensure_write_succ "$filter_dir/type" "target" "valid input" 123 ensure_write_succ "$filters_dir/nr_filters" "1" "valid input" 126 ensure_write_succ "$filters_dir/nr_filters" "2" "valid input" 130 ensure_write_succ "$filters_dir/nr_filters" "0" "valid input" 169 ensure_write_succ "$goals_dir/nr_goals" "1" "valid input" 172 ensure_write_succ "$goals_dir/nr_goals" "2" "valid input" 176 ensure_write_succ "$goals_dir/nr_goals" "0" "valid input" [all …]
|
| /linux/rust/kernel/ |
| H A D | cpumask.rs | 25 /// A [`Cpumask`] instance always corresponds to a valid C `struct cpumask`. 27 /// The callers must ensure that the `struct cpumask` is valid for access and 28 /// remains valid for the lifetime of the returned reference. 40 /// // SAFETY: The `ptr` is valid for writing and remains valid for the lifetime of the 56 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime 61 // INVARIANT: The caller ensures that `ptr` is valid for writing and remains valid for the in from_raw_mut() 70 /// The caller must ensure that `ptr` is valid for reading and remains valid for the lifetime 75 // INVARIANT: The caller ensures that `ptr` is valid for reading and remains valid for the in from_raw() 93 // SAFETY: By the type invariant, `self.as_raw` is a valid argument to `__cpumask_set_cpu`. in set() 104 // SAFETY: By the type invariant, `self.as_raw` is a valid argument to in clear() [all …]
|
| H A D | cpufreq.rs | 60 /// Ensure CPU starts at a valid frequency from the driver's freq-table. 125 /// A [`PolicyData`] instance always corresponds to a valid C `struct cpufreq_policy_data`. 127 /// The callers must ensure that the `struct cpufreq_policy_data` is valid for access and remains 128 /// valid for the lifetime of the returned reference. 137 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime 143 // INVARIANT: The caller ensures that `ptr` is valid for writing and remains valid for the in from_raw_mut() 158 // SAFETY: By the type invariant, the pointer stored in `self` is valid. in generic_verify() 169 /// The index must correspond to a valid entry in the [`Table`] it is used for. 178 /// The caller must ensure that `index` correspond to a valid entry in the [`Table`] it is used 181 // INVARIANT: The caller ensures that `index` correspond to a valid entry in the [`Table`]. in new() [all …]
|
| H A D | pwm.rs | 81 /// Creates a reference to a [`Device`] from a valid C pointer. 85 /// The caller must ensure that `ptr` is valid and remains valid for the lifetime of the in from_raw() 100 // SAFETY: `self.as_raw()` provides a valid pointer for `self`'s lifetime. in chip() 106 // SAFETY: `self.as_raw()` provides a valid pointer. (*self.as_raw()).chip 107 // is assumed to be a valid pointer to `pwm_chip` managed by the kernel. 114 // SAFETY: self.as_raw() provides a valid pointer. in label() 121 // managed by the kernel, valid for the lifetime of the PWM device. in set_waveform() 129 // SAFETY: `self.as_raw()` provides a valid `*mut pwm_device` pointer. in set_waveform() 130 // `&c_wf` is a valid pointe in set_waveform() [all...] |
| H A D | cpu.rs | 18 // SAFETY: `nr_cpu_ids` is a valid global provided by the kernel. in nr_cpu_ids() 39 /// // SAFETY: 0 is always a valid CPU number. 54 /// The caller must ensure that `id` is a valid CPU ID (i.e., `0 <= id < nr_cpu_ids()`). 60 // INVARIANT: The function safety guarantees `id` is a valid CPU id. in from_i32_unchecked() 64 /// Creates a new [`CpuId`] from the given `id`, checking that it is valid. 69 // INVARIANT: `id` has just been checked as a valid CPU ID. in from_i32() 78 /// The caller must ensure that `id` is a valid CPU ID (i.e., `0 <= id < nr_cpu_ids()`). 86 // INVARIANT: The function safety guarantees `id` is a valid CPU id. in from_u32_unchecked() 90 /// Creates a new [`CpuId`] from the given `id`, checking that it is valid. 95 // INVARIANT: `id` has just been checked as a valid CPU ID. in from_u32() [all …]
|
| H A D | platform.rs | 57 // SAFETY: A call to `unregister` for a given instance of `DriverType` is guaranteed to be valid if 84 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`. in register() 89 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`. in unregister() 96 // SAFETY: The platform bus only ever calls the probe callback with a valid pointer to a in probe_callback() 99 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in probe_callback() 112 // SAFETY: The platform bus only ever calls the remove callback with a valid pointer to a in remove_callback() 115 // INVARIANT: `pdev` is valid for the duration of `remove_callback()`. in remove_callback() 253 /// A [`Device`] instance represents a valid `struct platform_device` created by the C portion of 268 // SAFETY: `self.as_raw()` returns a valid pointer to a `struct platform_device`. in resource_by_index() 277 // SAFETY: `resource` is a valid pointer to a `struct resource` as in resource_by_index() [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/ |
| H A D | pipeline.json | 5 "BriefDescription": "This event counts valid cycles of EAGA pipeline." 10 "BriefDescription": "This event counts valid cycles of EAGB pipeline." 15 "BriefDescription": "This event counts valid cycles of PRX pipeline." 20 "BriefDescription": "This event counts valid cycles of EXA pipeline." 25 "BriefDescription": "This event counts valid cycles of EXB pipeline." 30 "BriefDescription": "This event counts valid cycles of EXC pipeline." 35 "BriefDescription": "This event counts valid cycles of EXD pipeline." 40 "BriefDescription": "This event counts valid cycles of FLA pipeline." 45 "BriefDescription": "This event counts valid cycles of FLB pipeline." 50 "BriefDescription": "This event counts valid cycles of STEA pipeline." [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | scsw.h | 391 * valid, zero otherwise. 403 * valid, zero otherwise. 415 * valid, zero otherwise. 427 * valid, zero otherwise. 440 * valid, zero otherwise. 452 * valid, zero otherwise. 464 * valid, zero otherwise. 476 * valid, zero otherwise. 488 * valid, zero otherwise. 500 * valid, zero otherwise. [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-g-ext-ctrls.rst | 62 set ``size`` to a valid value and return an ``ENOSPC`` error code. You 79 control values are valid. 86 values are automatically adjusted to a valid value or if an error is 91 closest valid value or return an ``ERANGE`` error code, whatever seems more 164 - New value or current value. Valid if this control is not of type 169 - New value or current value. Valid if this control is of type 174 - A pointer to a string. Valid if this control is of type 178 - A pointer to a matrix control of unsigned 8-bit values. Valid if 182 - A pointer to a matrix control of unsigned 16-bit values. Valid if 186 - A pointer to a matrix control of unsigned 32-bit values. Valid if [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
| H A D | pipeline.json | 9 "PublicDescription": "This event counts valid cycles of EAGA pipeline.", 12 "BriefDescription": "This event counts valid cycles of EAGA pipeline." 15 "PublicDescription": "This event counts valid cycles of EAGB pipeline.", 18 "BriefDescription": "This event counts valid cycles of EAGB pipeline." 21 "PublicDescription": "This event counts valid cycles of EXA pipeline.", 24 "BriefDescription": "This event counts valid cycles of EXA pipeline." 27 "PublicDescription": "This event counts valid cycles of EXB pipeline.", 30 "BriefDescription": "This event counts valid cycles of EXB pipeline." 33 "PublicDescription": "This event counts valid cycles of FLA pipeline.", 36 "BriefDescription": "This event counts valid cycles of FLA pipeline." [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-uclogic-params.h | 59 * report is equal to "value". Only valid if "value" is not zero. 85 * Only valid, if "desc_ptr" is not NULL. 90 /* The list of subreports, only valid if "id" is not zero */ 92 /* Type of in-range reporting, only valid if "id" is not zero */ 97 * Only valid if "id" is not zero. 103 * Only valid if "id" is not zero. 129 * Only valid, if "desc_ptr" is not NULL. 143 * byte boundary. Zero if not present. Only valid if "id" is not zero. 151 * the latter is valid. Only valid if "id" is not zero. 156 * Zero if not present. If dev_id_byte is also valid and non-zero, [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-power | 10 Valid values: Represented as string 19 Valid values: Represented as string 28 Valid values: Represented as string 37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless" 60 Valid values: Represented in microamps. Negative values are 77 Valid values: Represented in microamps 100 Valid values: Represented in microamps. Negative values are 120 Valid values: Represented in 1/10 Degrees Celsius 144 Valid values: Represented in 1/10 Degrees Celsius 169 Valid values: Represented in 1/10 Degrees Celsius [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen2/ |
| H A D | other.json | 28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 82 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… [all …]
|
| /linux/drivers/firmware/ |
| H A D | ti_sci.h | 748 * field is not valid and will not be used for route set. 750 * 0 - Valid bit for @dst_id 751 * 1 - Valid bit for @dst_host_irq 752 * 2 - Valid bit for @ia_id 753 * 3 - Valid bit for @vint 754 * 4 - Valid bit for @global_event 755 * 5 - Valid bit for @vint_status_bit_index 756 * 31 - Valid bit for @secondary_host 804 * The ring configuration fields are not valid, and will not be used for 805 * ring configuration, if their corresponding valid bit is zero. [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen3/ |
| H A D | other.json | 22 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | ni_routes.h | 47 * @n_route_sets: Number of route sets that are valid for this device. 48 * @routes: List of route sets that are valid for this device. 57 * struct ni_route_tables - Register values and valid routes for a device. 58 * @valid_routes: Pointer to a all valid route sets for a single device. 62 * Link to the valid src->dest routes and the register values used to assign 129 * cases given above; Otherwise, -1 if the specified route is not valid for 142 * without checking whether the route is valid for 148 * Return: -EINVAL if the specified route is not valid for this device family. 155 * is valid for the given NI comedi_device. 160 * Return: True if the route is valid, otherwise false. [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen6/ |
| H A D | decode.json | 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to int… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to loa… 52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to sto… 58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to tak… 64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to flo… 70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una… 76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una… 82 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una… 88 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una… 94 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una… [all …]
|
| /linux/rust/kernel/alloc/ |
| H A D | allocator.rs | 81 /// - it accepts any pointer to a valid memory allocation allocated by this function. 82 /// - memory allocated by this function remains valid until it is passed to this function. 106 // `ptr` is NULL or valid. in call() 107 // - `ptr` is either NULL or valid by the safety requirements of this function. in call() 139 // - memory remains valid until it is explicitly freed, 140 // - passing a pointer to a valid memory allocation is OK, 177 /// // `ptr` is a valid pointer to a `Vmalloc` allocation. 178 /// // `ptr` is valid for the entire lifetime of `page`. 189 /// - `ptr` must be a valid pointer to a [`Vmalloc`] allocation. 190 /// - `ptr` must remain valid for the entire duration of `'a`. [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_reloc_kernel.c | 20 int valid[10]; member 67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel() 70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel() 72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel() 75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel() 78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel() 81 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel() 85 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel() 89 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel() 93 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | hal_rx_desc.h | 234 * Field only valid when for the received frame type the corresponding 238 * Field only valid when for the received frame type the corresponding 302 * Field only valid when AST_based_lookup_valid == 1. 325 * Field only valid when key_type is set to wep_varied_width. 333 * Field only valid when bssid_hit is set. 338 * Field only valid when mpdu_qos_control_valid is set 370 * When set, AST based lookup for this frame has found a valid 395 * When set, the field Mpdu_Frame_control_field has valid information 398 * When set, the field Mpdu_duration_field has valid information 401 * When set, the fields mac_addr_adx_..... have valid information [all …]
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 56 /// `self.dev` is a valid instance of a `struct device`. 105 // - `dev` is valid by its type invarants, in new() 117 // SAFETY: `raw_drm` is a valid pointer to `Self`. in new() 121 // - `raw_data` is a valid pointer to uninitialized memory. in new() 124 // SAFETY: `raw_drm` is a valid pointer to `Self`, given that `__drm_dev_alloc` was in new() 128 // SAFETY: `__drm_dev_alloc()` was successful, hence `drm_dev` must be valid and the in new() 144 /// `ptr` must be a valid pointer to a `struct device` embedded in `Self`. 146 // SAFETY: By the safety requirements of this function `ptr` is a valid pointer to a in from_drm_device() 153 /// `ptr` must be a valid pointer to `Self`. 155 // SAFETY: By the safety requirements of this function, `ptr` is a valid pointer to `Self`. in into_drm_device() [all …]
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 95 // SAFETY: The caller ensures that `inode` is a valid pointer. in writer_open() 101 // * The `data` pointer passed in the third argument is a valid `T` pointer that outlives in writer_open() 110 /// `seq` must point to a live `seq_file` whose private data is a valid pointer to a `T` which may 116 // SAFETY: By caller precondition, this pointer is valid pointer to a `T`, and in writer_act() 160 /// `file` must be a valid pointer to a `file` struct. 161 /// The `private_data` of the file must contain a valid pointer to a `seq_file` whose 163 /// `buf` must be a valid user-space buffer. 206 /// `inode` must be a valid pointer to an `inode` struct. 207 /// `file` must be a valid pointer to a `file` struct. 212 // SAFETY: The caller ensures that `inode` and `file` are valid pointers. in write_only_open() [all …]
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1_vtu.c | 93 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument 109 if (valid) in mv88e6xxx_g1_vtu_vid_read() 110 *valid = !!(val & MV88E6XXX_G1_VTU_VID_VALID); in mv88e6xxx_g1_vtu_vid_read() 116 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument 123 if (valid) in mv88e6xxx_g1_vtu_vid_write() 276 if (!entry->valid) { in mv88e6xxx_g1_vtu_getnext() 286 return mv88e6xxx_g1_vtu_vid_read(chip, &entry->valid, &entry->vid); in mv88e6xxx_g1_vtu_getnext() 299 if (entry->valid) { in mv88e6185_g1_vtu_getnext() 329 if (entry->valid) { in mv88e6352_g1_vtu_getnext() 356 if (entry->valid) { in mv88e6390_g1_vtu_getnext() [all …]
|