Home
last modified time | relevance | path

Searched refs:IdInfo (Results 1 – 14 of 14) sorted by relevance

/linux/samples/rust/
H A Drust_driver_i2c.rs17 <SampleDriver as i2c::Driver>::IdInfo,
23 <SampleDriver as i2c::Driver>::IdInfo,
29 <SampleDriver as i2c::Driver>::IdInfo,
34 type IdInfo = u32;
37 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE);
38 const I2C_ID_TABLE: Option<i2c::IdTable<Self::IdInfo>> = Some(&I2C_TABLE); typedef
39 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE);
43 info: Option<&'bound Self::IdInfo>,
46 probe( idev: &i2c::I2cClient<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_auxiliary.rs34 <AuxiliaryDriver as auxiliary::Driver>::IdInfo, typedef
39 type IdInfo = (); in probe()
42 const ID_TABLE: auxiliary::IdTable<Self::IdInfo> = &AUX_TABLE; in probe()
46 _info: &'bound Self::IdInfo, in probe()
89 <ParentDriver as pci::Driver>::IdInfo, in connect()
94 type IdInfo = (); in connect()
97 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in connect()
101 _info: Option<&'bound Self::IdInfo>, in connect()
68 type IdInfo = (); global() typedef
H A Drust_i2c_client.rs90 <SampleDriver as platform::Driver>::IdInfo,
96 <SampleDriver as platform::Driver>::IdInfo,
106 type IdInfo = ();
108 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE);
109 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); typedef
113 _info: Option<&'bound Self::IdInfo>, in probe()
115 probe( pdev: &platform::Device<device::Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_platform.rs90 <SampleDriver as platform::Driver>::IdInfo,
96 <SampleDriver as platform::Driver>::IdInfo,
101 type IdInfo = Info;
103 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = Some(&OF_TABLE); in probe()
104 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
108 info: Option<&'bound Self::IdInfo>, in probe()
99 type IdInfo = Info; global() typedef
105 probe( pdev: &platform::Device<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_usb.rs22 <SampleDriver as usb::Driver>::IdInfo,
27 type IdInfo = (); in probe()
29 const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE; in probe()
34 _info: Option<&'bound Self::IdInfo>, in disconnect()
20 type IdInfo = (); global() typedef
26 probe( intf: &usb::Interface<Core>, _id: &usb::DeviceId, _info: &Self::IdInfo, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_debugfs.rs113 <RustDebugFs as platform::Driver>::IdInfo, in probe()
118 type IdInfo = (); in probe()
120 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None; in probe()
121 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = Some(&ACPI_TABLE); in probe()
125 _info: Option<&'bound Self::IdInfo>,
105 type IdInfo = (); global() typedef
111 probe( pdev: &platform::Device<Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_pci.rs77 <SampleDriver as pci::Driver>::IdInfo, in config_space()
139 type IdInfo = TestIndex;
142 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in drop()
146 info: Option<&'bound Self::IdInfo>,
96 type IdInfo = TestIndex; global() typedef
H A Drust_dma.rs64 <DmaSampleDriver as pci::Driver>::IdInfo, in probe()
69 type IdInfo = (); in probe()
71 const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE; in probe()
75 _info: Option<&'bound Self::IdInfo>, in probe()
60 type IdInfo = (); global() typedef
/linux/rust/kernel/
H A Di2c.rs190 fn i2c_id_table() -> Option<IdTable<<Self as driver::Adapter>::IdInfo>> { in i2c_id_table()
197 fn i2c_id_info(dev: &I2cClient) -> Option<&'static <Self as driver::Adapter>::IdInfo> { in i2c_id_info() argument
214 Some(unsafe { id.info_unchecked::<T::IdInfo>() }) in i2c_id_info()
219 type IdInfo = T::IdInfo; typedef
221 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table()
225 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table()
313 type IdInfo: 'static; typedef
319 const I2C_ID_TABLE: Option<IdTable<Self::IdInfo>> = None;
322 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
325 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
[all …]
H A Ddriver.rs18 //! type IdInfo: 'static;
24 //! const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
27 //! const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
32 //! id_info: &'bound Self::IdInfo,
302 type IdInfo: 'static; in acpi_id_info()
305 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>>; in acpi_id_info()
308 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>>; in acpi_id_info()
317 /// The caller must ensure that the `dev` matched data is of type `Self::IdInfo`. in acpi_id_info()
319 unsafe fn id_info(dev: &device::Device) -> Option<&'static Self::IdInfo> { in acpi_id_info()
323 // SAFETY: Per safety requirement, `data` is of type `Self::IdInfo` in acpi_id_info()
289 type IdInfo: 'static; global() typedef
297 acpi_id_info(dev: &device::Device) -> Option<&'static Self::IdInfo> acpi_id_info() argument
331 of_id_info(dev: &device::Device) -> Option<&'static Self::IdInfo> of_id_info() argument
367 id_info(dev: &device::Device) -> Option<&'static Self::IdInfo> id_info() argument
[all...]
H A Dplatform.rs131 type IdInfo = T::IdInfo; typedef
133 fn of_id_table() -> Option<of::IdTable<Self::IdInfo>> { in of_id_table()
137 fn acpi_id_table() -> Option<acpi::IdTable<Self::IdInfo>> { in acpi_id_table()
215 type IdInfo: 'static; typedef
221 const OF_ID_TABLE: Option<of::IdTable<Self::IdInfo>> = None;
224 const ACPI_ID_TABLE: Option<acpi::IdTable<Self::IdInfo>> = None;
232 id_info: Option<&'bound Self::IdInfo>, in probe() argument
H A Dauxiliary.rs98 // SAFETY: `id` comes from `T::ID_TABLE` which is of type `IdArray<_, T::IdInfo>`. in probe_callback()
99 let info = unsafe { id.info_unchecked::<T::IdInfo>() };
196 /// type IdInfo: 'static = ();
197 type IdInfo: 'static;
203 const ID_TABLE: IdTable<Self::IdInfo>;
210 id_info: &'bound Self::IdInfo,
198 type IdInfo: 'static; global() typedef
H A Dpci.rs116 // SAFETY: `id` comes from `T::ID_TABLE` which is of type `IdArray<_, T::IdInfo>` or in probe_callback()
119 let info = unsafe { id.info_unchecked_opt::<T::IdInfo>() }; in probe_callback()
266 /// <MyDriver as pci::Driver>::IdInfo,
276 /// type IdInfo = ();
278 /// const ID_TABLE: pci::IdTable<Self::IdInfo> = &PCI_TABLE;
282 /// _id_info: Option<&'bound Self::IdInfo>,
295 // type IdInfo: 'static = ();
297 type IdInfo: 'static;
303 const ID_TABLE: IdTable<Self::IdInfo>;
311 id_info: Option<&'bound Self::IdInfo>,
301 type IdInfo: 'static; global() typedef
[all...]
H A Dusb.rs89 // SAFETY: `id` comes from `T::ID_TABLE` which is of type `IdArray<_, T::IdInfo>`. It in probe_callback()
92 let info = unsafe { id.info_unchecked_opt::<T::IdInfo>() }; in probe_callback()
262 /// <MyDriver as usb::Driver>::IdInfo,
270 /// type IdInfo = ();
272 /// const ID_TABLE: usb::IdTable<Self::IdInfo> = &USB_TABLE;
277 /// _info: Option<&'bound Self::IdInfo>,
291 type IdInfo: 'static;
297 const ID_TABLE: IdTable<Self::IdInfo>;
306 id_info: Option<&'bound Self::IdInfo>,
307 type IdInfo: 'static; global() typedef
319 probe( interface: &Interface<device::Core>, id: &DeviceId, id_info: &Self::IdInfo, ) -> impl PinInit<Self, Error> probe() argument