327 const char *device_name,
rtems_status_code rtems_io_register_name(const char *device_name, rtems_device_major_number major, rtems_device_minor_number minor)
Registers the device specified by the device major and minor numbers in the file system under the spe...
Definition: ioman.c:49
rtems_status_code rtems_io_read(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Reads from the device specified by the device major and minor numbers.
Definition: ioread.c:43
rtems_status_code rtems_device_driver
This type shall be used in device driver entry declarations and definitions.
Definition: io.h:90
rtems_device_driver(* rtems_device_driver_entry)(rtems_device_major_number, rtems_device_minor_number, void *)
Device driver entries shall have this type.
Definition: io.h:124
rtems_status_code rtems_io_unregister_driver(rtems_device_major_number major)
Removes a device driver specified by the device major number from the Device Driver Table.
Definition: iounregisterdriver.c:47
rtems_status_code rtems_io_write(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Writes to the device specified by the device major and minor numbers.
Definition: iowrite.c:43
rtems_status_code rtems_io_close(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Closes the device specified by the device major and minor numbers.
Definition: ioclose.c:45
rtems_status_code rtems_io_control(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Controls the device specified by the device major and minor numbers.
Definition: iocontrol.c:43
rtems_status_code rtems_io_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Initializes the device specified by the device major and minor numbers.
Definition: ioinitialize.c:43
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
rtems_status_code rtems_io_register_driver(rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major)
Registers and initializes the device with the specified device driver address table and device major ...
Definition: ioregisterdriver.c:84
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code rtems_io_open(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Opens the device specified by the device major and minor numbers.
Definition: ioopen.c:43
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
This header file provides the status codes of Classic API directives and support functions.
This structure contains the device driver entries.
Definition: io.h:140
rtems_device_driver_entry write_entry
This member is the device driver write entry.
Definition: io.h:174
rtems_device_driver_entry initialization_entry
This member is the device driver initialization entry.
Definition: io.h:146
rtems_device_driver_entry control_entry
This member is the device driver control entry.
Definition: io.h:181
rtems_device_driver_entry open_entry
This member is the device driver open entry.
Definition: io.h:153
rtems_device_driver_entry read_entry
This member is the device driver read entry.
Definition: io.h:167
rtems_device_driver_entry close_entry
This member is the device driver close entry.
Definition: io.h:160