MCPcopy Create free account

hub / github.com/diondokter/device-driver / functions

Functions461 in github.com/diondokter/device-driver

↓ 2 callersFunctiontransform_enum_value
(value: &impl Value)
generation/src/manifest/mod.rs:858
↓ 2 callersFunctiontransform_field_conversion
( value: &impl Value, use_try: bool, )
generation/src/manifest/mod.rs:776
↓ 2 callersFunctiontransform_json
(source: &str, driver_name: &str)
generation/src/lib.rs:45
↓ 2 callersFunctiontransform_object_list
( list: dsl_hir::ObjectList, global_config: &mir::GlobalConfig, )
generation/src/dsl_hir/mir_transform.rs:180
↓ 2 callersFunctiontransform_toml
(source: &str, driver_name: &str)
generation/src/lib.rs:91
↓ 2 callersMethodwrite
Write a buffer into this writer, returning how many bytes were written. Mirror function of [embedded_io::Write::write].
device-driver/src/buffer.rs:86
↓ 2 callersMethodwrite_async
Write a buffer into this writer, returning how many bytes were written. Mirror function of [embedded_io_async::Write::write].
device-driver/src/buffer.rs:157
↓ 1 callersFunctionaccept
()
tests/src/main.rs:15
↓ 1 callersMethodaddress
Return the address if it is specified. It's only not specified in ref objects where the user hasn't overridden the address
generation/src/mir/mod.rs:262
↓ 1 callersMethodas_command_mut
(&mut self)
generation/src/mir/mod.rs:252
↓ 1 callersMethodas_null
(&self)
dd-manifest-tree/src/lib.rs:74
↓ 1 callersMethodas_ref_object_mut
(&mut self)
generation/src/mir/mod.rs:291
↓ 1 callersMethodcfg_attr_mut
Get a reference to the cfg of the specific object
generation/src/mir/mod.rs:196
↓ 1 callersFunctioncollect_enums
(device: &mir::Device)
generation/src/mir/lir_transform.rs:486
↓ 1 callersFunctioncompile_output
(output_path: &Path)
tests/src/lib.rs:29
↓ 1 callersMethodconversion_type
(&self)
generation/src/lir/mod.rs:101
↓ 1 callersFunctionfind_best_internal_address_type
(device: &mir::Device)
generation/src/mir/lir_transform.rs:618
↓ 1 callersFunctionfind_refs
( device: &'d mir::Device, source_object: &mir::Object, )
generation/src/mir/lir_transform.rs:650
↓ 1 callersMethodflush
Flush this output stream, blocking until all intermediately buffered contents reach their destination. Mirror function of [embedded_io::Write::flush]
device-driver/src/buffer.rs:109
↓ 1 callersMethodflush_async
Flush this output stream, blocking until all intermediately buffered contents reach their destination. Mirror function of [embedded_io_async::Write::
device-driver/src/buffer.rs:180
↓ 1 callersFunctionformat_code
(input: &str)
generation/src/lib.rs:146
↓ 1 callersMethodgenerate
( &self, manifest_contents: &str, manifest_type: &str, device_name: &str,
cli/src/main.rs:84
↓ 1 callersFunctionget_block_claimed_addresses
( device: &Device, block: &Block, current_address_offset: i64, name_stack: &[String], )
generation/src/lir/passes/addresses_non_overlapping.rs:42
↓ 1 callersMethodget_block_object_list_mut
(&mut self)
generation/src/mir/mod.rs:159
↓ 1 callersFunctionget_method
( object: &mir::Object, blocks: &mut Vec<lir::Block>, global_config: &mir::GlobalConfig, devic
generation/src/mir/lir_transform.rs:107
↓ 1 callersMethodinterface
A reference to the interface used to communicate with the device
tests/cases/basic_register/basic_register.rs:24
↓ 1 callersMethodinterface
A reference to the interface used to communicate with the device
tests/cases/basic_command/basic_command.rs:24
↓ 1 callersMethodinterface
A reference to the interface used to communicate with the device
tests/cases/description_string_escapes/description_string_escapes.rs:24
↓ 1 callersMethodis_bool
(&self)
generation/src/dsl_hir/mod.rs:935
↓ 1 callersMethodis_fallible
(&self)
generation/src/mir/mod.rs:424
↓ 1 callersFunctionis_read
(_: impl embedded_io::Read)
device-driver/tests/basic-buffer.rs:80
↓ 1 callersFunctionis_write
(_: impl embedded_io::Write)
device-driver/tests/basic-buffer.rs:81
↓ 1 callersMethodread
Read the register from the device
device-driver/src/register.rs:130
↓ 1 callersMethodread_all_registers
( &mut self, mut callback: impl FnMut(u16, &'static str, field_sets::FieldSetValue), )
tests/cases/address_types/address_types.rs:42
↓ 1 callersMethodread_async
Read the register from the device
device-driver/src/register.rs:218
↓ 1 callersFunctionrecurse_objects_with_depth_inner
( objects: &'o [Object], f: &mut impl FnMut(&'o Object, usize) -> anyhow::Result<()>,
generation/src/mir/passes/mod.rs:72
↓ 1 callersMethodrepeat
Return the repeat value if it exists
generation/src/mir/mod.rs:277
↓ 1 callersFunctionrun_pass
(device: &mut Device)
generation/src/lir/passes/addresses_non_overlapping.rs:6
↓ 1 callersFunctionrun_pass
Changes all names of all objects, enums and enum variants to either Pascal case or snake case - PascalCase: Object names, enum names, enum variant na
generation/src/mir/passes/names_normalized.rs:11
↓ 1 callersFunctionrun_pass
Checks if all refs are valid
generation/src/mir/passes/refs_validated.rs:10
↓ 1 callersFunctionstrip_compile_error
(mut error: &str)
cli/src/main.rs:64
↓ 1 callersFunctiontransform
(device: dsl_hir::Device)
generation/src/dsl_hir/mir_transform.rs:6
↓ 1 callersFunctiontransform_base_type
(value: &impl Value)
generation/src/manifest/mod.rs:765
↓ 1 callersFunctiontransform_block
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:193
↓ 1 callersFunctiontransform_block
( block: dsl_hir::Block, global_config: &mir::GlobalConfig, )
generation/src/dsl_hir/mir_transform.rs:209
↓ 1 callersFunctiontransform_block_override
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:538
↓ 1 callersFunctiontransform_block_override
( block_override: dsl_hir::Block, )
generation/src/dsl_hir/mir_transform.rs:650
↓ 1 callersFunctiontransform_buffer
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:420
↓ 1 callersFunctiontransform_buffer
( buffer: dsl_hir::Buffer, global_config: &mir::GlobalConfig, )
generation/src/dsl_hir/mir_transform.rs:592
↓ 1 callersFunctiontransform_command
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:339
↓ 1 callersFunctiontransform_command
( command: dsl_hir::Command, global_config: &mir::GlobalConfig, )
generation/src/dsl_hir/mir_transform.rs:368
↓ 1 callersFunctiontransform_command_override
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:626
↓ 1 callersFunctiontransform_command_override
( command_override: dsl_hir::Command, )
generation/src/dsl_hir/mir_transform.rs:807
↓ 1 callersFunctiontransform_enum
( e: &mir::Enum, base_type: mir::BaseType, size_bits: usize, )
generation/src/mir/lir_transform.rs:506
↓ 1 callersFunctiontransform_enum_variant
( (variant_name, variant_value): (&str, &impl Value), )
generation/src/manifest/mod.rs:818
↓ 1 callersFunctiontransform_field
((field_name, field_value): (&str, &impl Value))
generation/src/manifest/mod.rs:689
↓ 1 callersFunctiontransform_field_conversion
( field_description: String, field_conversion: &dsl_hir::FieldConversion, )
generation/src/dsl_hir/mir_transform.rs:547
↓ 1 callersFunctiontransform_field_sets
( device: &mir::Device, mir_enums: impl Iterator<Item = &'a mir::Enum> + Clone, )
generation/src/mir/lir_transform.rs:302
↓ 1 callersFunctiontransform_global_config
(value: &impl Value)
generation/src/manifest/mod.rs:31
↓ 1 callersFunctiontransform_name_word_boundaries
(value: &impl Value)
generation/src/manifest/mod.rs:142
↓ 1 callersFunctiontransform_object_override
( target: &str, override_value: &impl Value, )
generation/src/manifest/mod.rs:506
↓ 1 callersFunctiontransform_ref
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:460
↓ 1 callersFunctiontransform_ref
(ref_object: dsl_hir::RefObject)
generation/src/dsl_hir/mir_transform.rs:616
↓ 1 callersFunctiontransform_register
(name: &str, map: &impl Map)
generation/src/manifest/mod.rs:244
↓ 1 callersFunctiontransform_register
( register: dsl_hir::Register, global_config: &mir::GlobalConfig, )
generation/src/dsl_hir/mir_transform.rs:242
↓ 1 callersFunctiontransform_register_override
( name: &str, map: &impl Map, )
generation/src/manifest/mod.rs:566
↓ 1 callersFunctiontransform_register_override
( register_override: dsl_hir::Register, )
generation/src/dsl_hir/mir_transform.rs:692
↓ 1 callersMethoduse_try
(&self)
generation/src/mir/mod.rs:361
↓ 1 callersMethodvalue
Read the `value` field of the register.
tests/cases/basic_register/basic_register.rs:130
↓ 1 callersMethodvalue
Read the `value` field of the register. \\\"#{ %@&\n
tests/cases/description_string_escapes/description_string_escapes.rs:134
↓ 1 callersMethodwrite_all
Write an entire buffer into this writer. This function calls write() in a loop until exactly buf.len() bytes have been written, blocking if needed.
device-driver/src/buffer.rs:95
Functionand
()
device-driver/tests/bit-ops.rs:23
Methodas_array
(&self)
dd-manifest-tree/src/lib.rs:116
Methodas_float
(&self)
dd-manifest-tree/src/lib.rs:102
Functionasync_compiles
()
device-driver/tests/basic-register-async.rs:44
Functionattribute_eq
()
generation/src/dsl_hir/mod.rs:2352
Functionbad_block_ref
()
generation/src/mir/passes/refs_validated.rs:128
Functionbad_command_ref
()
generation/src/mir/passes/refs_validated.rs:150
Functionbad_register_ref
()
generation/src/mir/passes/refs_validated.rs:106
Functionbig_endian_respected
()
device-driver/tests/endianness-respected.rs:95
Methodbitand
(mut self, rhs: Self)
tests/cases/fieldset_access/fieldset_access.rs:235
Methodbitand
(mut self, rhs: Self)
tests/cases/basic_register/basic_register.rs:170
Methodbitand
(mut self, rhs: Self)
tests/cases/compile_time_explosion/compile_time_explosion.rs:445
Methodbitand
(mut self, rhs: Self)
tests/cases/address_types/address_types.rs:168
Methodbitand
(mut self, rhs: Self)
tests/cases/basic_command/basic_command.rs:160
Methodbitand
(mut self, rhs: Self)
tests/cases/description_string_escapes/description_string_escapes.rs:176
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/fieldset_access/fieldset_access.rs:241
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/basic_register/basic_register.rs:176
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/compile_time_explosion/compile_time_explosion.rs:451
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/address_types/address_types.rs:174
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/basic_command/basic_command.rs:166
Methodbitand_assign
(&mut self, rhs: Self)
tests/cases/description_string_escapes/description_string_escapes.rs:182
Methodbitor
(mut self, rhs: Self)
tests/cases/fieldset_access/fieldset_access.rs:249
Methodbitor
(mut self, rhs: Self)
tests/cases/basic_register/basic_register.rs:184
Methodbitor
(mut self, rhs: Self)
tests/cases/compile_time_explosion/compile_time_explosion.rs:459
Methodbitor
(mut self, rhs: Self)
tests/cases/address_types/address_types.rs:182
Methodbitor
(mut self, rhs: Self)
tests/cases/basic_command/basic_command.rs:174
Methodbitor
(mut self, rhs: Self)
tests/cases/description_string_escapes/description_string_escapes.rs:190
Methodbitor_assign
(&mut self, rhs: Self)
tests/cases/fieldset_access/fieldset_access.rs:255
Methodbitor_assign
(&mut self, rhs: Self)
tests/cases/basic_register/basic_register.rs:190
← previousnext →101–200 of 461, ranked by callers