Home
last modified time | relevance | path

Searched full:bindings (Results 1 – 25 of 4662) sorted by relevance

12345678910>>...187

/linux/rust/kernel/
H A Dfirmware.rs7 use crate::{bindings, device::Device, error::Error, error::Result, str::CStr};
12 /// One of the following: `bindings::request_firmware`, `bindings::firmware_request_nowarn`,
13 /// `bindings::firmware_request_platform`, `bindings::request_firmware_direct`.
15 unsafe extern "C" fn(*mut *const bindings::firmware, *const i8, *mut bindings::device) -> i32,
20 Self(bindings::request_firmware) in request()
24 Self(bindings::firmware_request_nowarn) in request_nowarn()
55 pub struct Firmware(NonNull<bindings::firmware>);
59 let mut fw: *mut bindings::firmware = core::ptr::null_mut(); in request_internal()
60 let pfw: *mut *mut bindings::firmware = &mut fw; in request_internal()
62 // SAFETY: `pfw` is a valid pointer to a NULL initialized `bindings::firmware` pointer. in request_internal()
[all …]
H A Dsizes.rs8 pub const SZ_1K: usize = bindings::SZ_1K as usize;
10 pub const SZ_2K: usize = bindings::SZ_2K as usize;
12 pub const SZ_4K: usize = bindings::SZ_4K as usize;
14 pub const SZ_8K: usize = bindings::SZ_8K as usize;
16 pub const SZ_16K: usize = bindings::SZ_16K as usize;
18 pub const SZ_32K: usize = bindings::SZ_32K as usize;
20 pub const SZ_64K: usize = bindings::SZ_64K as usize;
22 pub const SZ_128K: usize = bindings::SZ_128K as usize;
24 pub const SZ_256K: usize = bindings::SZ_256K as usize;
26 pub const SZ_512K: usize = bindings::SZ_512K as usize;
H A Dkunit.rs20 bindings::_printk( in err()
36 bindings::_printk( in info()
64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
87 struct Location($crate::bindings::kunit_loc);
90 struct UnaryAssert($crate::bindings::kunit_unary_assert);
100 static LOCATION: Location = Location($crate::bindings::kunit_loc {
104 static ASSERTION: UnaryAssert = UnaryAssert($crate::bindings::kunit_unary_assert {
105 assert: $crate::bindings::kunit_assert {},
129 $crate::bindings::__kunit_do_failed_assertion(
132 $crate::bindings::kunit_assert_type_KUNIT_ASSERTION,
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dqcom,sc7280-lpasscorecc.yaml17 include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
18 include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
130 #include <dt-bindings/clock/qcom,rpmh.h>
131 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
132 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
133 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
148 #include <dt-bindings/clock/qcom,rpmh.h>
149 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
150 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
151 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
[all …]
H A Dqcom,gpucc.yaml17 include/dt-bindings/clock/qcom,gpucc-sdm845.h
18 include/dt-bindings/clock/qcom,gpucc-sa8775p.h
19 include/dt-bindings/clock/qcom,gpucc-sc7180.h
20 include/dt-bindings/clock/qcom,gpucc-sc7280.h
21 include/dt-bindings/clock/qcom,gpucc-sc8280xp.h
22 include/dt-bindings/clock/qcom,gpucc-sm6350.h
23 include/dt-bindings/clock/qcom,gpucc-sm8150.h
24 include/dt-bindings/clock/qcom,gpucc-sm8250.h
25 include/dt-bindings/clock/qcom,gpucc-sm8350.h
78 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
[all …]
H A Dqcom,sm8450-gpucc.yaml17 include/dt-bindings/clock/qcom,sar2130p-gpucc.h
18 include/dt-bindings/clock/qcom,sm4450-gpucc.h
19 include/dt-bindings/clock/qcom,sm8450-gpucc.h
20 include/dt-bindings/clock/qcom,sm8550-gpucc.h
21 include/dt-bindings/reset/qcom,sm8450-gpucc.h
22 include/dt-bindings/reset/qcom,sm8650-gpucc.h
23 include/dt-bindings/reset/qcom,x1e80100-gpucc.h
54 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
55 #include <dt-bindings/clock/qcom,rpmh.h>
H A Dmaxim,max77686.txt3 This is a part of device tree bindings of MAX77686/MAX77802/MAX77620
6 bindings/mfd/max77686.txt for MAX77686 and
7 bindings/mfd/max77802.txt for MAX77802 and
8 bindings/mfd/max77620.txt for MAX77620.
12 dt-bindings/clock/maxim,max77686.h.
17 dt-bindings/clock/maxim,max77802.h.
21 dt-bindings/clock/maxim,max77620.h.
45 #include <dt-bindings/clock/maxim,max77686.h>
70 #include <dt-bindings/clock/maxim,max77802.h>
96 #include <dt-bindings/clock/maxim,max77620.h>
H A Dqcom,sm8450-camcc.yaml18 include/dt-bindings/clock/qcom,sc8280xp-camcc.h
19 include/dt-bindings/clock/qcom,sm8450-camcc.h
20 include/dt-bindings/clock/qcom,sm8550-camcc.h
21 include/dt-bindings/clock/qcom,sm8650-camcc.h
22 include/dt-bindings/clock/qcom,x1e80100-camcc.h
78 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
79 #include <dt-bindings/clock/qcom,rpmh.h>
80 #include <dt-bindings/power/qcom,rpmhpd.h>
/linux/rust/kernel/block/mq/
H A Doperations.rs8 bindings,
44 /// A `bindings::blk_mq_ops` vtable is constructed from pointers to the `extern
65 /// - `(*bd).rq` must point to an initialized and live `bindings:request`.
70 /// `bindings::blk_mq_end_request` for the request.
72 _hctx: *mut bindings::blk_mq_hw_ctx, in queue_rq_callback()
73 bd: *const bindings::blk_mq_queue_data, in queue_rq_callback()
74 ) -> bindings::blk_status_t { in queue_rq_callback()
103 bindings::BLK_STS_OK as _ in queue_rq_callback()
113 unsafe extern "C" fn commit_rqs_callback(_hctx: *mut bindings::blk_mq_hw_ctx) { in commit_rqs_callback()
123 unsafe extern "C" fn complete_callback(_rq: *mut bindings
[all...]
H A Dgen_disk.rs9 use crate::{bindings, error::from_err_ptr, error::Result, sync::Arc};
27 logical_block_size: bindings::PAGE_SIZE as u32, in default()
28 physical_block_size: bindings::PAGE_SIZE as u32, in default()
49 if !(512..=bindings::PAGE_SIZE as u32).contains(&size) || !size.is_power_of_two() { in validate_block_size()
96 // SAFETY: `bindings::queue_limits` contain only fields that are valid when zeroed. in build()
97 let mut lim: bindings::queue_limits = unsafe { core::mem::zeroed() }; in build()
102 lim.features = bindings::BLK_FEAT_ROTATIONAL; in build()
107 bindings::__blk_mq_alloc_disk( in build()
115 const TABLE: bindings::block_device_operations = bindings::block_device_operations { in build()
154 unsafe { bindings::set_capacity(gendisk, self.capacity_sectors) }; in build()
[all …]
H A Dtag_set.rs10 bindings,
31 inner: Opaque<bindings::blk_mq_tag_set>,
44 let tag_set: bindings::blk_mq_tag_set = unsafe { core::mem::zeroed() }; in new()
48 bindings::blk_mq_tag_set { in new()
52 numa_node: bindings::NUMA_NO_NODE, in new()
55 flags: bindings::BLK_MQ_F_SHOULD_MERGE, in new()
67 error::to_result( unsafe { bindings::blk_mq_alloc_tag_set(tag_set.get())}) in new()
74 pub(crate) fn raw_tag_set(&self) -> *mut bindings::blk_mq_tag_set { in raw_tag_set()
84 unsafe { bindings::blk_mq_free_tag_set(self.inner.get()) }; in drop()
/linux/Documentation/devicetree/bindings/power/
H A Drockchip,power-controller.yaml20 Documentation/devicetree/bindings/power/power-domain.yaml.
113 "include/dt-bindings/power/px30-power.h"
114 "include/dt-bindings/power/rk3036-power.h"
115 "include/dt-bindings/power/rk3066-power.h"
116 "include/dt-bindings/power/rk3128-power.h"
117 "include/dt-bindings/power/rk3188-power.h"
118 "include/dt-bindings/power/rk3228-power.h"
119 "include/dt-bindings/power/rk3288-power.h"
120 "include/dt-bindings/power/rk3328-power.h"
121 "include/dt-bindings/power/rk3366-power.h"
[all …]
H A Dwakeup-source.txt24 1. "gpio-key,wakeup" Documentation/devicetree/bindings/input/gpio-keys{,-polled}.txt
25 2. "has-tpo" Documentation/devicetree/bindings/rtc/rtc-opal.txt
26 3. "linux,wakeup" Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
27 Documentation/devicetree/bindings/mfd/tc3589x.txt
28 Documentation/devicetree/bindings/input/touchscreen/ti,ads7843.yaml
29 4. "linux,keypad-wakeup" Documentation/devicetree/bindings/input/qcom,pm8921-keypad.yaml
30 5. "linux,input-wakeup" Documentation/devicetree/bindings/input/samsung,s3c6410-keypad.yaml
31 6. "nvidia,wakeup-source" Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
/linux/Documentation/devicetree/bindings/mmc/
H A Dsdhci-st.txt4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties
14 See: Documentation/devicetree/bindings/resource-names.txt
16 See: Documentation/devicetree/bindings/clock/clock-bindings.txt
23 See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
36 See: Documentation/devicetree/bindings/mmc/mmc.txt.
39 See: Documentation/devicetree/bindings/mmc/mmc.txt.
43 See: Documentation/devicetree/bindings/mmc/mmc.txt.
46 See: Documentation/devicetree/bindings/reset/reset.txt
52 See: Documentation/devicetree/bindings/mmc/mmc.txt.
55 See: Documentation/devicetree/bindings/mmc/mmc.txt.
[all …]
/linux/rust/kernel/net/
H A Dphy.rs74 pub struct Device(Opaque<bindings::phy_device>);
86 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw()
87 // CAST: `Self` is a `repr(transparent)` wrapper around `bindings::phy_device`. in from_raw()
111 bindings::phy_state_PHY_DOWN => DeviceState::Down, in state()
112 bindings::phy_state_PHY_READY => DeviceState::Ready, in state()
113 bindings::phy_state_PHY_HALTED => DeviceState::Halted, in state()
114 bindings::phy_state_PHY_ERROR => DeviceState::Error, in state()
115 bindings::phy_state_PHY_UP => DeviceState::Up, in state()
116 bindings::phy_state_PHY_RUNNING => DeviceState::Running, in state()
117 bindings::phy_state_PHY_NOLINK => DeviceState::NoLink, in state()
[all …]
/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,wdma.yaml18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
37 description: A phandle and PM domain specifier as defined by bindings of
39 Documentation/devicetree/bindings/power/power-domain.yaml for details.
48 see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
54 defined in the header include/dt-bindings/gce/<chip>-gce.h.
70 #include <dt-bindings/interrupt-controller/arm-gic.h>
71 #include <dt-bindings/clock/mt8173-clk.h>
72 #include <dt-bindings/power/mt8173-power.h>
73 #include <dt-bindings/gce/mt8173-gce.h>
74 #include <dt-bindings/memory/mt8173-larb-port.h>
/linux/Documentation/devicetree/bindings/
H A Dsubmitting-patches.rst13 1) The Documentation/ and include/dt-bindings/ portion of the patch should
16 "dt-bindings: <binding dir>: ..."
21 "<binding dir>: dt-bindings: ..."
24 use "Documentation" or "doc" because that is implied. All bindings are
33 See Documentation/devicetree/bindings/writing-schema.rst for more details
51 in Documentation/devicetree/bindings. This rule applies even if
61 8) Bindings are actively used by multiple projects other than the Linux
63 to existing bindings.
72 2) For driver (not subsystem) bindings: If you are comfortable with the
76 For subsystem bindings (anything affecting more than a single device),
[all …]
/linux/Documentation/devicetree/bindings/serial/
H A Datmel,at91-usart.yaml73 <AT91_USART_MODE_SERIAL> for USART (found in dt-bindings/mfd/at91-usart.h).
134 #include <dt-bindings/gpio/gpio.h>
135 #include <dt-bindings/interrupt-controller/irq.h>
136 #include <dt-bindings/mfd/at91-usart.h>
137 #include <dt-bindings/dma/at91.h>
158 #include <dt-bindings/gpio/gpio.h>
159 #include <dt-bindings/interrupt-controller/irq.h>
160 #include <dt-bindings/mfd/at91-usart.h>
161 #include <dt-bindings/dma/at91.h>
180 #include <dt-bindings/gpio/gpio.h>
[all …]
/linux/
H A DMAINTAINERS190 F: Documentation/devicetree/bindings/power/supply/*ab8500*
445 F: Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
469 F: Documentation/devicetree/bindings/iio/adc/adi,ad7944.yaml
477 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml
490 F: Documentation/devicetree/bindings/net/ieee802154/adf7242.txt
516 F: Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml
541 F: Documentation/devicetree/bindings/*/adi,adp5585*.yaml
552 F: Documentation/devicetree/bindings/input/adi,adp5588.yaml
591 F: Documentation/devicetree/bindings/iio/accel/adi,adxl313.yaml
599 F: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
[all …]
/linux/rust/
H A DMakefile17 always-$(CONFIG_RUST) += bindings/bindings_generated.rs bindings/bindings_helpers_generated.rs
18 obj-$(CONFIG_RUST) += bindings.o kernel.o
113 --extern bindings --extern uapi
116 $(obj)/bindings.o FORCE
142 --extern bindings --extern uapi
144 rusttestlib-bindings rusttestlib-uapi rusttestlib-build_error \
145 $(obj)/libmacros.so $(obj)/bindings.o FORCE
148 rusttestlib-bindings: private rustc_target_flags = --extern ffi
149 rusttestlib-bindings: $(src)/bindings/lib.rs rusttestlib-ffi FORCE
175 --extern bindings --extern uapi \
[all …]
/linux/Documentation/rust/
H A Dgeneral-information.rst67 Abstractions vs. bindings
72 In order to use functions and types from the C side, bindings are created.
73 Bindings are the declarations for Rust of those functions and types from
77 a ``struct mutex`` from the C side and calls its functions through the bindings.
81 (e.g. drivers) should not use the C bindings directly. Instead, subsystems
86 rust/bindings/
96 | my_foo | -----> | | foo | | bar | | -------> | Bindings | <-+ |
98 +---------+ | |system| |system| | | bindings | <-----+
114 Bindings section in Abstractions vs. bindings
118 ``rust/bindings/bindings_helper.h``, the ``bindgen`` tool will auto-generate the
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmotorola-cpcap.txt19 - Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml
20 - Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml
21 - Documentation/devicetree/bindings/regulator/cpcap-regulator.txt
22 - Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
23 - Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
24 - Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
25 - Documentation/devicetree/bindings/leds/leds-cpcap.txt
26 - Documentation/devicetree/bindings/iio/adc/motorola,cpcap-adc.yaml
/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-st.txt16 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
17 See: Documentation/devicetree/bindings/reset/reset.txt
23 See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
26 See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
34 Documentation/devicetree/bindings/usb/snps,dwc3.yaml
40 [1] Documentation/devicetree/bindings/usb/usb-drd.yaml
/linux/Documentation/devicetree/bindings/soc/mediatek/
H A Dmediatek,mutex.yaml21 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
49 description: A phandle and PM domain specifier as defined by bindings of
51 Documentation/devicetree/bindings/power/power-domain.yaml for details.
61 include/dt-bindings/gce/<chip>-gce.h of each chips.
74 a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
105 #include <dt-bindings/interrupt-controller/arm-gic.h>
106 #include <dt-bindings/clock/mt8173-clk.h>
107 #include <dt-bindings/power/mt8173-power.h>
108 #include <dt-bindings/gce/mt8173-gce.h>
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl-rk805.txt5 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt>
6 for details of the common pinctrl bindings used by client devices,
13 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>.
15 <pinctrl-bindings.txt>.
30 Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
35 <pinctrl-bindings.txt>. Absence of properties will leave the configuration

12345678910>>...187