Lines Matching defs:fn
22 /// fn probe_device(pdev: &pci::Device<Core>) -> Result {
58 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
74 pub(super) fn from_raw(class_code: u32) -> Self {
80 pub const fn as_raw(self) -> u32 {
89 const fn to_24bit_class(val: u32) -> u32 {
99 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
107 pub const fn as_raw(self) -> u32 {
115 fn try_from(value: u32) -> Result<Self, Self::Error> {
143 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
159 pub(super) fn from_raw(vendor_id: u16) -> Self {
165 pub const fn as_raw(self) -> u16 {
172 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {