RTEMS 6.3
Loading...
Searching...
No Matches
drvmgr_bus_ops Struct Reference

#include <drvmgr.h>

Data Fields

int(* init [DRVMGR_LEVEL_MAX])(struct drvmgr_bus *)
int(*) remove (struct drvmgr_bus *)
int(*) unite (struct drvmgr_drv *, struct drvmgr_dev *)
int(*) int_register (struct drvmgr_dev *, int index, const char *info, drvmgr_isr isr, void *arg)
int(*) int_unregister (struct drvmgr_dev *, int index, drvmgr_isr isr, void *arg)
int(*) int_clear (struct drvmgr_dev *, int index)
int(*) int_mask (struct drvmgr_dev *, int index)
int(*) int_unmask (struct drvmgr_dev *, int index)
int(*) get_params (struct drvmgr_dev *, struct drvmgr_bus_params *)
int(*) get_freq (struct drvmgr_dev *, int, unsigned int *)
void(*) get_info_dev (struct drvmgr_dev *, void(*print)(void *p, char *str), void *p)

Detailed Description

Bus operations

Field Documentation

◆ get_info_dev

void(*) drvmgr_bus_ops::get_info_dev(struct drvmgr_dev *, void(*print)(void *p, char *str), void *p)

Function called to request information about a device. The bus driver interpret the bus-specific information about the device.

◆ unite

int(*) drvmgr_bus_ops::unite(struct drvmgr_drv *, struct drvmgr_dev *)

Unite Hardware Device with Driver


The documentation for this struct was generated from the following file: