/linux-6.15/rust/kernel/ |
D | kunit.rs | 20 bindings::_printk( in err() 36 bindings::_printk( in info() 66 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() }; 89 struct Location($crate::bindings::kunit_loc); 92 struct UnaryAssert($crate::bindings::kunit_unary_assert); 102 static LOCATION: Location = Location($crate::bindings::kunit_loc { 106 static ASSERTION: UnaryAssert = UnaryAssert($crate::bindings::kunit_unary_assert { 107 assert: $crate::bindings::kunit_assert {}, 131 $crate::bindings::__kunit_do_failed_assertion( 134 $crate::bindings::kunit_assert_type_KUNIT_ASSERTION, [all …]
|
D | sizes.rs | 8 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;
|
D | pci.rs | 9 bindings, device, 33 type RegType = bindings::pci_driver; 50 bindings::__pci_register_driver(pdrv.get(), module.0, name.as_char_ptr()) in register() 56 unsafe { bindings::pci_unregister_driver(pdrv.get()) } in unregister() 62 pdev: *mut bindings::pci_dev, in probe_callback() 63 id: *const bindings::pci_device_id, in probe_callback() 81 unsafe { bindings::pci_set_drvdata(pdev.as_raw(), data.into_foreign() as _) }; in probe_callback() 89 extern "C" fn remove_callback(pdev: *mut bindings::pci_dev) { in remove_callback() 92 let ptr = unsafe { bindings::pci_get_drvdata(pdev) }; in remove_callback() 121 /// Abstraction for bindings::pci_device_id. [all …]
|
D | miscdevice.rs | 12 bindings, 33 pub const fn into_raw<T: MiscDevice>(self) -> bindings::miscdevice { in into_raw() 35 let mut result: bindings::miscdevice = unsafe { MaybeUninit::zeroed().assume_init() }; in into_raw() 36 result.minor = bindings::MISC_DYNAMIC_MINOR as _; in into_raw() 52 inner: Opaque<bindings::miscdevice>, 67 inner <- Opaque::try_ffi_init(move |slot: *mut bindings::miscdevice| { in register() 76 to_result(unsafe { bindings::misc_register(slot) }) in register() 83 pub fn as_raw(&self) -> *mut bindings::miscdevice { in as_raw() 102 unsafe { bindings::misc_deregister(self.inner.get()) }; in drop() 171 unsafe extern "C" fn open(inode: *mut bindings::inode, raw_file: *mut bindings::file) -> c_int { in open() [all …]
|
D | task.rs | 8 bindings, 23 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; 25 pub const TASK_UNINTERRUPTIBLE: c_int = bindings::TASK_UNINTERRUPTIBLE as c_int; 27 pub const TASK_FREEZABLE: c_int = bindings::TASK_FREEZABLE as c_int; 30 pub const TASK_NORMAL: c_uint = bindings::TASK_NORMAL as c_uint; 97 pub struct Task(pub(crate) Opaque<bindings::task_struct>); 111 pub type Pid = bindings::pid_t; 116 kuid: bindings::kuid_t, 124 pub fn current_raw() -> *mut bindings::task_struct { in current_raw() 126 unsafe { bindings::get_current() } in current_raw() [all …]
|
D | firmware.rs | 7 use crate::{bindings, device::Device, error::Error, error::Result, ffi, str::CStr}; 12 /// One of the following: `bindings::request_firmware`, `bindings::firmware_request_nowarn`, 13 /// `bindings::firmware_request_platform`, `bindings::request_firmware_direct`. 16 *mut *const bindings::firmware, 18 *mut bindings::device, 24 Self(bindings::request_firmware) in request() 28 Self(bindings::firmware_request_nowarn) in request_nowarn() 59 pub struct Firmware(NonNull<bindings::firmware>); 63 let mut fw: *mut bindings::firmware = core::ptr::null_mut(); in request_internal() 64 let pfw: *mut *mut bindings::firmware = &mut fw; in request_internal() [all …]
|
/linux-6.15/Documentation/devicetree/bindings/clock/ |
D | qcom,sc7280-lpasscorecc.yaml | 17 include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h 18 include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h 140 #include <dt-bindings/clock/qcom,rpmh.h> 141 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 142 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 143 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> 158 #include <dt-bindings/clock/qcom,rpmh.h> 159 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 160 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 161 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> [all …]
|
D | qcom,gpucc.yaml | 18 include/dt-bindings/clock/qcom,gpucc-sdm845.h 19 include/dt-bindings/clock/qcom,gpucc-sa8775p.h 20 include/dt-bindings/clock/qcom,gpucc-sc7180.h 21 include/dt-bindings/clock/qcom,gpucc-sc7280.h 22 include/dt-bindings/clock/qcom,gpucc-sc8280xp.h 23 include/dt-bindings/clock/qcom,gpucc-sm6350.h 24 include/dt-bindings/clock/qcom,gpucc-sm8150.h 25 include/dt-bindings/clock/qcom,gpucc-sm8250.h 26 include/dt-bindings/clock/qcom,gpucc-sm8350.h 27 include/dt-bindings/clock/qcom,qcs8300-gpucc.h [all …]
|
D | qcom,sm8450-gpucc.yaml | 17 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 55 #include <dt-bindings/clock/qcom,gcc-sm8450.h> 56 #include <dt-bindings/clock/qcom,rpmh.h>
|
D | maxim,max77686.txt | 3 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>
|
/linux-6.15/rust/kernel/block/mq/ |
D | operations.rs | 8 bindings, 45 /// A `bindings::blk_mq_ops` vtable is constructed from pointers to the `extern 66 /// - `(*bd).rq` must point to an initialized and live `bindings:request`. 71 /// `bindings::blk_mq_end_request` for the request. 73 _hctx: *mut bindings::blk_mq_hw_ctx, in queue_rq_callback() 74 bd: *const bindings::blk_mq_queue_data, in queue_rq_callback() 75 ) -> bindings::blk_status_t { in queue_rq_callback() 104 bindings::BLK_STS_OK as _ in queue_rq_callback() 114 unsafe extern "C" fn commit_rqs_callback(_hctx: *mut bindings::blk_mq_hw_ctx) { in commit_rqs_callback() 124 unsafe extern "C" fn complete_callback(_rq: *mut bindings::request) {} in complete_callback() [all …]
|
D | gen_disk.rs | 9 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 …]
|
/linux-6.15/rust/kernel/fs/ |
D | file.rs | 11 bindings, 21 pub const O_APPEND: u32 = bindings::O_APPEND; 24 pub const O_ASYNC: u32 = bindings::FASYNC; 27 pub const O_CLOEXEC: u32 = bindings::O_CLOEXEC; 30 pub const O_CREAT: u32 = bindings::O_CREAT; 33 pub const O_DIRECT: u32 = bindings::O_DIRECT; 36 pub const O_DIRECTORY: u32 = bindings::O_DIRECTORY; 39 pub const O_DSYNC: u32 = bindings::O_DSYNC; 42 pub const O_EXCL: u32 = bindings::O_EXCL; 45 pub const O_LARGEFILE: u32 = bindings::O_LARGEFILE; [all …]
|
/linux-6.15/Documentation/devicetree/bindings/mmc/ |
D | sdhci-st.txt | 4 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-6.15/Documentation/devicetree/bindings/power/ |
D | rockchip,power-controller.yaml | 20 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 …]
|
/linux-6.15/tools/power/cpupower/bindings/python/ |
D | README | 1 This folder contains the necessary files to build the Python bindings for 18 the bindings code: is permissively licensed + the license of libcpupower's .o 19 files. For these bindings that means GPL v2. 51 developing/using the bindings directly 54 You need to add the Python bindings directory to your $PYTHONPATH. 58 PYTHONPATH=~/linux/tools/power/cpupower/bindings/python:$PYTHONPATH 60 This allows you to set a specific repo of the bindings to use. 67 by default. You do not need to install cpupower to use the SWIG bindings. 69 You can install and uninstall the bindings to the site-packages with: 79 Original Bindings Author:
|
/linux-6.15/Documentation/devicetree/bindings/ |
D | submitting-patches.rst | 13 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 58 any DTS patches, regardless whether using existing or new bindings, should 66 bindings submission on the mailing list. 72 9) Bindings are actively used by multiple projects other than the Linux 74 to existing bindings. [all …]
|
/linux-6.15/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,wdma.yaml | 18 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>
|
D | mediatek,ovl-2l.yaml | 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 39 description: A phandle and PM domain specifier as defined by bindings of 41 Documentation/devicetree/bindings/power/power-domain.yaml for details. 50 see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. 56 defined in the header include/dt-bindings/gce/<chip>-gce.h. 94 #include <dt-bindings/interrupt-controller/arm-gic.h> 95 #include <dt-bindings/clock/mt8183-clk.h> 96 #include <dt-bindings/power/mt8183-power.h> 97 #include <dt-bindings/gce/mt8183-gce.h> 98 #include <dt-bindings/memory/mt8183-larb-port.h>
|
D | mediatek,ovl.yaml | 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 59 description: A phandle and PM domain specifier as defined by bindings of 61 Documentation/devicetree/bindings/power/power-domain.yaml for details. 70 see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. 76 defined in the header include/dt-bindings/gce/<chip>-gce.h. 114 #include <dt-bindings/interrupt-controller/arm-gic.h> 115 #include <dt-bindings/clock/mt8173-clk.h> 116 #include <dt-bindings/power/mt8173-power.h> 117 #include <dt-bindings/gce/mt8173-gce.h> 118 #include <dt-bindings/memory/mt8173-larb-port.h>
|
/linux-6.15/rust/kernel/net/ |
D | phy.rs | 74 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-6.15/Documentation/devicetree/bindings/serial/ |
D | atmel,at91-usart.yaml | 73 <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-6.15/ |
D | MAINTAINERS | 199 F: Documentation/devicetree/bindings/power/supply/*ab8500* 454 F: Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml 478 F: Documentation/devicetree/bindings/iio/adc/adi,ad7944.yaml 486 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml 499 F: Documentation/devicetree/bindings/net/ieee802154/adf7242.txt 525 F: Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml 550 F: Documentation/devicetree/bindings/*/adi,adp5585*.yaml 561 F: Documentation/devicetree/bindings/input/adi,adp5588.yaml 600 F: Documentation/devicetree/bindings/iio/accel/adi,adxl313.yaml 608 F: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml [all …]
|
/linux-6.15/Documentation/rust/ |
D | general-information.rst | 67 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-6.15/Documentation/devicetree/bindings/mfd/ |
D | motorola-cpcap.txt | 19 - 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
|