mbgtools-lx  4.2.8
PCPS_RSRC_INFO Struct Reference

Resource info summary for a device. More...

#include <pcpsdrvr.h>

Data Fields

int num_rsrc_io
 Number of actually assigned I/O address ranges. More...
 
int num_rsrc_mem
 Number of actually assigned memory address ranges. More...
 
int num_rsrc_irq
 Number of actually assigned IRQ numbers. More...
 
MBG_IOPORT_RSRC port [2]
 Info on actually assigned port ranges. More...
 
MBG_IOMEM_RSRC mem [2]
 Info on actually assigned memory ranges. More...
 
MBG_IRQ_RSRC irq
 Info on actually assigned IRQ numbers. More...
 

Detailed Description

Resource info summary for a device.

Definition at line 678 of file pcpsdrvr.h.

Field Documentation

◆ irq

MBG_IRQ_RSRC PCPS_RSRC_INFO::irq

Info on actually assigned IRQ numbers.

Definition at line 685 of file pcpsdrvr.h.

Referenced by pcps_add_rsrc_irq(), and pcps_probe_device().

◆ mem

MBG_IOMEM_RSRC PCPS_RSRC_INFO::mem[2]

Info on actually assigned memory ranges.

Definition at line 684 of file pcpsdrvr.h.

Referenced by mbgclock_mmap(), pcps_add_rsrc_mem(), pcps_probe_device(), and setup_mm_addr().

◆ num_rsrc_io

int PCPS_RSRC_INFO::num_rsrc_io

Number of actually assigned I/O address ranges.

Definition at line 680 of file pcpsdrvr.h.

Referenced by pcps_add_rsrc_io(), pcps_probe_device(), and pcps_release_rsrcs().

◆ num_rsrc_irq

int PCPS_RSRC_INFO::num_rsrc_irq

Number of actually assigned IRQ numbers.

Definition at line 682 of file pcpsdrvr.h.

Referenced by pcps_add_rsrc_irq(), pcps_probe_device(), and report_access_mode().

◆ num_rsrc_mem

int PCPS_RSRC_INFO::num_rsrc_mem

Number of actually assigned memory address ranges.

Definition at line 681 of file pcpsdrvr.h.

Referenced by pcps_add_rsrc_mem(), pcps_cleanup_device(), pcps_probe_device(), and pcps_release_rsrcs().

◆ port

MBG_IOPORT_RSRC PCPS_RSRC_INFO::port[2]

Info on actually assigned port ranges.

Definition at line 683 of file pcpsdrvr.h.

Referenced by pcps_add_rsrc_io(), and pcps_probe_device().


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