/DragonOS/kernel/src/driver/net/ |
H A D | sysfs.rs | 9 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 50 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 78 attr: &'static dyn Attribute, in is_visible() argument 92 impl Attribute for AttrAddrAssignType { 119 impl Attribute for AttrAddrLen { 141 impl Attribute for AttrDevId { 163 impl Attribute for AttrIfalias { 189 impl Attribute for AttrIflink { 211 impl Attribute for AttrIfindex { 233 impl Attribute for AttrFeatrues { [all …]
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 8 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 24 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 42 _attr: &'static dyn Attribute, in is_visible() argument 51 impl Attribute for AttrName { 75 impl Attribute for AttrBitsPerPixel { 105 impl Attribute for AttrBlank { 128 impl Attribute for AttrMode { 155 impl Attribute for AttrModes { 182 impl Attribute for AttrPan { 211 impl Attribute for AttrVirtualSize { [all …]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | attr.rs | 10 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 25 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 32 attr: &'static dyn Attribute, in is_visible() argument 41 impl Attribute for Vendor { 72 impl Attribute for DeviceID { 103 impl Attribute for SubsystemVendor { 134 impl Attribute for SubsystemDevice {
|
H A D | subsys.rs | 169 fn attrs(&self) -> &[&'static dyn crate::filesystem::sysfs::Attribute] { in attrs() argument 176 attr: &'static dyn crate::filesystem::sysfs::Attribute, in is_visible() argument
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 102 fn attrs(&self) -> &[&'static dyn Attribute]; in attrs() argument 113 attr: &'static dyn Attribute, in is_visible() argument 127 pub trait Attribute: Debug + Send + Sync { interface 142 pub trait BinAttribute: Attribute { 168 fn support(&self, attr: &dyn Attribute) -> SysFSOpsSupport { in support() 179 attr: &dyn Attribute, in show() argument 186 attr: &dyn Attribute, in store() argument
|
H A D | file.rs | 22 use super::{Attribute, BinAttribute, SysFS, SysFSKernPrivateData}; 26 attribute: Option<&'static dyn Attribute>, 36 attribute: Option<&'static dyn Attribute>, in new() argument 56 pub fn attribute(&self) -> Option<&'static dyn Attribute> { in attribute() argument 108 attr: &'static dyn Attribute, in create_file() argument 118 attr: &'static dyn Attribute, in add_file_with_mode() argument 181 pub fn remove_file(&self, kobj: &Arc<dyn KObject>, attr: &'static dyn Attribute) { in remove_file() argument
|
/DragonOS/kernel/src/exception/ |
H A D | sysfs.rs | 13 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport, 68 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 84 attr: &'static dyn Attribute, in is_visible() argument 138 impl Attribute for AttrChipName { 169 impl Attribute for AttrHardwareIrq { 195 impl Attribute for AttrType { 226 impl Attribute for AttrWakeup { 252 impl Attribute for AttrName { 282 impl Attribute for AttrActions {
|
H A D | msi.rs | 7 filesystem::sysfs::Attribute, 82 sysfs_attribute: Option<&'static dyn Attribute>,
|
/DragonOS/kernel/src/misc/ |
H A D | ksysfs.rs | 4 sysfs::{sysfs_instance, Attribute, AttributeGroup}, 53 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 60 attr: &'static dyn Attribute, in is_visible() argument
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | sysfs.rs | 20 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 273 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 280 attr: &'static dyn Attribute, in is_visible() argument 291 impl Attribute for AttrName { 320 impl Attribute for AttrDate { 344 impl Attribute for AttrTime { 367 impl Attribute for AttrHcToSys {
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 19 sysfs::{Attribute, AttributeGroup}, 134 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 138 fn is_visible(&self, _kobj: Arc<dyn KObject>, _attr: &dyn Attribute) -> Option<ModeType> { in is_visible()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 21 sysfs::{Attribute, AttributeGroup}, 161 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 166 fn is_visible(&self, _kobj: Arc<dyn KObject>, attr: &dyn Attribute) -> Option<ModeType> { in is_visible()
|
/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 11 use crate::filesystem::sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps}; 170 _attr: &dyn Attribute, in show() argument 179 _attr: &dyn Attribute, in store() argument
|
H A D | cpu.rs | 26 use crate::filesystem::sysfs::{Attribute, AttributeGroup, SysFSOpsSupport}; 269 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 275 _attr: &'static dyn Attribute, in is_visible() argument 284 impl Attribute for AttrCpuPossible { 308 impl Attribute for AttrCpuOnline {
|
H A D | kobject.rs | 14 sysfs::{sysfs_instance, Attribute, AttributeGroup, SysFSOps, SysFSOpsSupport}, 138 fn support(&self, attr: &dyn Attribute) -> SysFSOpsSupport { in support() 145 attr: &dyn Attribute, in show() argument 162 attr: &dyn Attribute, in store() argument
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_device.rs | 22 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 209 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 216 attr: &'static dyn Attribute, in is_visible() argument 224 impl Attribute for Hello {
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 24 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 259 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 266 attr: &'static dyn Attribute, in is_visible() argument 275 impl Attribute for AttrRotate { 304 impl Attribute for AttrRotateAll { 327 impl Attribute for AttrCursorBlink {
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 14 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 408 attr: &'static dyn Attribute, in create_file() argument 414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file() argument 596 impl Attribute for BusAttrDriversProbe { 634 impl Attribute for BusAttrDriversAutoprobe { 724 attr: &dyn Attribute, in show() argument 734 attr: &dyn Attribute, in store() argument 744 impl Attribute for DriverAttrUnbind { 788 impl Attribute for DriverAttrBind {
|
H A D | driver.rs | 10 filesystem::sysfs::{sysfs_instance, Attribute, AttributeGroup}, 291 attr: &'static dyn Attribute, in create_attr_file() argument 305 pub fn remove_attr_file(&self, driver: &Arc<dyn Driver>, attr: &'static dyn Attribute) { in remove_attr_file() argument
|
H A D | dd.rs | 11 file::sysfs_emit_str, sysfs_instance, Attribute, SysFSOpsSupport, SYSFS_ATTR_MODE_WO, 591 impl Attribute for DeviceAttrStateSynced { 623 impl Attribute for DeviceAttrCoredump {
|
H A D | mod.rs | 18 file::sysfs_emit_str, sysfs_instance, Attribute, AttributeGroup, SysFSOps, 453 attr: &dyn Attribute, in store() argument 462 attr: &dyn Attribute, in show() argument 808 attr: &'static dyn Attribute, in create_file() argument 918 impl Attribute for DeviceAttrDev {
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | sysfs.rs | 28 file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport, SYSFS_ATTR_MODE_RO, 300 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 308 impl Attribute for AttrDevice { 335 impl Attribute for AttrVendor {
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | sysfs.rs | 8 file::sysfs_emit_str, sysfs_instance, Attribute, BinAttribute, SysFSOpsSupport, 132 impl Attribute for AttrForceRemove { 207 impl Attribute for AttrAcpiTable {
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 32 sysfs::{file::sysfs_emit_str, Attribute, AttributeGroup, SysFSOpsSupport}, 871 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs() argument 872 &[&AnonAttrPhysAddr as &'static dyn Attribute] in attrs() 878 attr: &'static dyn Attribute, in is_visible() argument 887 impl Attribute for AnonAttrPhysAddr {
|