Home
last modified time | relevance | path

Searched full:safe (Results 1 – 25 of 1969) sorted by relevance

12345678910>>...79

/linux/arch/nios2/include/asm/
H A Dasm-macros.h36 * It is safe to use the same register for reg1 & reg2.
55 * It is safe to use the same register for reg1 & reg2.
75 * It is safe to use the same register for reg1 & reg2.
94 * It is safe to use the same register for reg1 & reg2.
106 * It is safe to use the same register for reg1 & reg2.
118 * It is NOT safe to use the same register for reg1 & reg2.
139 * It is NOT safe to use the same register for reg1 & reg2.
160 * It is NOT safe to use the same register for reg1 & reg2.
182 * It is NOT safe to use the same register for reg1 & reg2.
195 * It is NOT safe to use the same register for reg1 & reg2.
[all …]
/linux/Documentation/i2c/
H A Ddma-considerations.rst11 Therefore, it is *not* mandatory that the buffer of an I2C message is DMA safe.
13 rarely used. However, it is recommended to use a DMA-safe buffer if your
19 safe buffers always, because USB requires it.
24 For clients, if you use a DMA safe buffer in i2c_msg, set the I2C_M_DMA_SAFE
33 SMBus transactions via I2C, the buffers for block transfers are DMA safe. Users
34 of i2c_master_send() and i2c_master_recv() functions can now use DMA safe
36 know their buffers are DMA safe. Users of i2c_transfer() must set the
42 Bus master drivers wishing to implement safe DMA can use helper functions from
43 the I2C core. One gives you a DMA-safe buffer for a given i2c_msg as long as a
/linux/Documentation/devicetree/bindings/power/supply/
H A Dqcom,pm8916-lbc.yaml63 qcom,fast-charge-safe-voltage:
68 Maximum safe battery voltage in uV; May be pre-set by bootloader,
71 qcom,fast-charge-safe-current:
76 Maximum safe battery charge current in uA; May be pre-set by
86 - qcom,fast-charge-safe-voltage
87 - qcom,fast-charge-safe-current
125 qcom,fast-charge-safe-current = <900000>;
126 qcom,fast-charge-safe-voltage = <4300000>;
H A Dqcom,pm8941-charger.yaml66 qcom,fast-charge-safe-voltage:
71 Maximum safe battery voltage in uV; May be pre-set by bootloader, in which case,
75 qcom,fast-charge-safe-current:
80 Maximum safe battery charge current in uA; May pre-set by bootloader, in which case,
/linux/rust/kernel/io/
H A Dresource.rs42 // SAFETY: Safe as per the invariant of `Region`. in deref()
60 // SAFETY: Safe as per the invariant of `Region`. in drop()
65 // SAFETY: `Region` only holds a pointer to a C `struct resource`, which is safe to be used from
70 // safe to be used from any thread.
109 // - Safe as per the invariant of `Resource`. in request_region()
111 // safe as we own it and it will not be dropped until the `Region` is in request_region()
132 // SAFETY: Safe as per the invariants of `Resource`. in size()
139 // SAFETY: Safe as per the invariants of `Resource`. in start()
147 // SAFETY: Safe as per the invariants of `Resource`. in name()
164 // SAFETY: Safe as per the invariants of `Resource`. in flags()
[all …]
/linux/drivers/remoteproc/
H A DKconfig24 It's safe to say N if you don't want to use this interface.
35 It's safe to say N here.
46 It's safe to say N here.
65 It's safe to say N here.
83 It's safe to say N here if you're not interested in multimedia
128 It's safe to say n here if you're not interested in multimedia
138 It's safe to say N here if you're not interested in the Keystone
161 processors on various TI SoCs. It's safe to say N here if you're
339 It's safe to say N here if you're not interested in utilizing
352 It's safe to say N here if you're not interested in utilizing
[all …]
/linux/arch/um/drivers/
H A DKconfig38 It is safe to say 'Y' here.
48 It is safe to say 'Y' here.
57 It is safe to say 'Y' here.
65 It is safe to say 'Y' here.
86 It is safe to leave this unchanged.
96 It is safe to leave this unchanged, although you may wish to change
108 It is safe to leave this unchanged, although you may wish to change
120 It is safe to say 'Y' here.
/linux/drivers/parport/
H A DKconfig32 and it is safe to compile all the corresponding drivers into the
85 is safe to say N.
101 called parport_ip32. If in doubt, saying N is the safe plan.
110 called parport_amiga. If in doubt, saying N is the safe plan.
119 parport_mfc3. If in doubt, saying N is the safe plan.
128 called parport_atari. If in doubt, saying N is the safe plan.
151 appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
/linux/Documentation/trace/rv/
H A Dmonitor_rtapp.rst57 changed). No other method is safe for real-time. For example, threads
66 variables as safe for real-time. As an alternative, the librtpi library
71 real-time-safe. Namely, one of:
82 - Time-critical work waits for something which is not safe for real-time (e.g.
89 sleep in a way that is not safe for real-time. It is debatable whether that is a
125 wakeup is safe for real-time.
131 real-time-safe because preemption is disabled for the duration.
/linux/include/linux/
H A Dpercpu-refcount.h24 * it's safe to drop the initial ref.
35 * and it's then safe to drop the initial ref with percpu_ref_put().
196 * This function is safe to call as long as @ref is between init and exit.
218 * This function is safe to call as long as @ref is between init and exit.
233 * This function is safe to call as long as @ref is between init and exit.
262 * This function is safe to call as long as @ref is between init and exit.
273 * This function is safe to call as long as @ref is between init and exit.
304 * This function is safe to call as long as @ref is between init and exit.
324 * This function is safe to call as long as @ref is between init and exit.
347 * This function is safe to call as long as @ref is between init and exit.
[all …]
/linux/drivers/of/
H A DKconfig43 If unsure, say N here. This option is not safe to enable.
52 If unsure, say N here, but this option is safe to enable.
62 If unsure, say N here, but this option is safe to enable.
81 # Hardly any platforms need this. It is safe to select, but only do so if you
124 If unsure, say N here, but this option is safe to enable.
/linux/drivers/usb/serial/
H A Dsafe_serial.c3 * Safe Encapsulated USB Serial Driver
75 static bool safe = true; variable
79 #define DRIVER_DESC "USB Safe Encapsulated Serial"
85 module_param(safe, bool, 0);
86 MODULE_PARM_DESC(safe, "Turn Safe Encapsulation On/Off");
196 if (!safe) in safe_process_read_urb()
232 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer()
236 if (!safe) in safe_prepare_write_buffer()
/linux/rust/kernel/
H A Dusb.rs40 // SAFETY: It's safe to set the fields of `struct usb_driver` on initialization. in register()
73 // does not add additional invariants, so it's safe to transmute. in probe_callback()
117 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_id()
130 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_ver()
142 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_info()
154 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_interface_info()
167 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_class()
180 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_protocol()
193 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_number()
214 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_and_interface_info()
[all …]
H A Dregulator.rs252 // SAFETY: Safe as per the type invariants of `Regulator`. in set_voltage()
264 // SAFETY: Safe as per the type invariants of `Regulator`. in get_voltage()
272 // SAFETY: It is safe to call `regulator_get()`, on a device pointer in get_internal()
287 // SAFETY: Safe as per the type invariants of `Regulator`. in enable_internal()
292 // SAFETY: Safe as per the type invariants of `Regulator`. in disable_internal()
354 // SAFETY: Safe as per the type invariants of `Regulator`. in is_enabled()
363 // reference on the enabled refcount, so it is safe to relinquish it in drop()
368 // so it is safe to relinquish it now. in drop()
373 // SAFETY: It is safe to send a `Regulator<T>` across threads. In particular, a
377 // SAFETY: It is safe to send a &Regulator<T> across threads because the C side
H A Dfaux.rs30 // - `faux_ops` is safe to leave NULL according to the C API in new()
69 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
74 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
/linux/Documentation/scsi/
H A Ddc395x.rst10 be safe to use. Testing with hard disks has not been done to any
28 safe
31 If safe is set to 1 then the adapter will use conservative
32 ("safe") default settings. This sets:
99 dc395x. (eg "dc395x.safe=1")
/linux/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra124-sor.yaml119 - description: safe reference clock for the SOR clock
131 - const: safe
141 - description: safe reference clock for the SOR clock
152 - const: safe
182 clock-names = "sor", "out", "parent", "dp", "safe";
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_top.h46 * struct dpu_danger_safe_status: danger and safe status signals
113 * @status: Pointer to danger safe status
127 * @get_safe_status: get safe status
129 * @status: Pointer to danger safe status
/linux/Documentation/admin-guide/hw-vuln/
H A Dindirect-target-selection.rst63 added ITS-safe thunks. These safe thunks consists of indirect branch in the
65 a retpoline site is evaluated to be ITS-safe, it is replaced with an inline
70 From a dynamically allocated pool of safe-thunks, each vulnerable site is
90 safe thunks. Unless user requested the RSB-stuffing mitigation.
158 relocated to safe thunks.
/linux/rust/kernel/sync/
H A Dbarrier.rs28 // SAFETY: `smp_mb()` is safe to call. in smp_mb()
42 // SAFETY: `smp_wmb()` is safe to call. in smp_wmb()
56 // SAFETY: `smp_rmb()` is safe to call. in smp_rmb()
/linux/drivers/mfd/
H A Dda9052-i2c.c22 /* I2C safe register check */
52 * This fix is to follow any read or write with a dummy read to a safe
64 /* A dummy read to a safe register address. */ in da9052_i2c_fix()
74 * to a safe place is not required. in da9052_i2c_fix()
/linux/security/apparmor/include/
H A Dcred.h92 * of the label so it is safe to call when inside of locks.
104 * This fn will not update the tasks cred, so it is safe inside of locks
151 * safe to call inside locks
176 * Not safe to call inside locks
/linux/Documentation/devicetree/bindings/dma/
H A Dti-dma-crossbar.txt16 - ti,dma-safe-map: Safe routing value for unused request lines
52 ti,dma-safe-map = <0>;
/linux/tools/include/linux/
H A Dlist.h201 * can only be safe if the only activity that can happen
431 * list_for_each_safe - iterate over a list safe against removal of list entry
441 * list_for_each_prev_safe - iterate over a list backwards safe against removal of list entry
525 * list_for_each_entry_safe - iterate over list of given type safe against removal of list entry
538 * list_for_each_entry_safe_continue - continue list iteration safe against removal
545 * safe against removal of list entry.
554 * list_for_each_entry_safe_from - iterate over list from current point safe against removal
560 * Iterate over list of given type from current point, safe against
569 * list_for_each_entry_safe_reverse - iterate backwards over list safe against removal
575 * Iterate backwards over list of given type, safe against removal
[all …]
/linux/rust/kernel/fs/
H A Dfile.rs108 /// Wraps the kernel's `struct file`. Thread safe.
132 /// files_struct` holds a reference until the fd is closed. This means that it's safe to access the
159 /// To represent files that are not thread safe due to this optimization, the [`LocalFile`] type is
191 // `f_pos_lock` mutex, so it is safe to transfer it between threads.
195 // `f_pos_lock` mutex, so it is safe to access its methods from several threads in parallel.
215 /// Wraps the kernel's `struct file`. Not thread safe.
217 /// This type represents a file that is not known to be safe to transfer across thread boundaries.
218 /// To obtain a thread-safe [`File`], use the [`assume_no_fdget_pos`] conversion.
293 /// This makes it safe to transfer this file to other threads. No checks are performed, and

12345678910>>...79