#include <pcpsdrvr.h>
#include <amccdefs.h>
#include <pci_asic.h>
Go to the source code of this file.
◆ _mbg_inp32_to_cpu_ex
#define _mbg_inp32_to_cpu_ex |
( |
|
_d, |
|
|
|
_i, |
|
|
|
_p, |
|
|
|
_r |
|
) |
| |
Value: _mbg_mmrd32_to_cpu( &(_d)->mm_asic_addr->control_status.ul ) : \
)
#define _pcps_ddev_access_mode_mm(_p)
#define _mbg_inp32_to_cpu(_dev, _rsrc_idx, _port_addr)
Definition at line 121 of file pcpsirq.h.
◆ _mbg_outp32_to_mbg_ex
#define _mbg_outp32_to_mbg_ex |
( |
|
_d, |
|
|
|
_i, |
|
|
|
_p, |
|
|
|
_r, |
|
|
|
_v |
|
) |
| |
Value:do \
{ \
_mbg_mmwr32_to_mbg( &(_d)->mm_asic_addr->control_status.ul, (_v) );
\ } while ( 0 )
#define _pcps_ddev_access_mode_mm(_p)
#define _mbg_outp32_to_mbg(_dev, _rsrc_idx, _port_addr, _val)
Definition at line 127 of file pcpsirq.h.
◆ _pcps_ddev_ack_irq
#define _pcps_ddev_ack_irq |
( |
|
_d | ) |
|
◆ _pcps_ddev_ack_irq_mca
◆ _pcps_ddev_ack_irq_pci
#define _pcps_ddev_ack_irq_pci |
( |
|
_d | ) |
|
Value:if ( (_d)->irq_ack_mask ) \
{ \
(_d)->irq_ack_mask ); \
}
#define _pcps_ddev_io_base_mapped(_p, _n)
#define _mbg_outp32_to_mbg_ex(_d, _i, _p, _r, _v)
#define _pcps_ddev_is_pci_amcc(_p)
Definition at line 150 of file pcpsirq.h.
◆ _pcps_ddev_disb_irq
#define _pcps_ddev_disb_irq |
( |
|
_d | ) |
|
Value:{ \
_pcps_sem_inc( _d ); \
_pcps_ddev_disb_irq_mca( _d ); \
_pcps_ddev_disb_irq_pci( _d ); \
_pcps_sem_dec( _d ); \
}
#define PCPS_IRQ_NONE
(-w) Disable IRQs
Definition at line 242 of file pcpsirq.h.
Referenced by mbgdrvr_disable_cyclic().
◆ _pcps_ddev_disb_irq_mca
◆ _pcps_ddev_disb_irq_pci
#define _pcps_ddev_disb_irq_pci |
( |
|
_d | ) |
|
Value:if ( (_d)->irq_disb_mask ) \
{ \
(_d)->irq_enb_disb_port, control_status ); \
_mbg_outp32_to_mbg_ex( (_d), 0, (_d)->irq_enb_disb_port, control_status, \
intcsr & ~(_d)->irq_disb_mask ); \
}
#define _mbg_inp32_to_cpu_ex(_d, _i, _p, _r)
Definition at line 174 of file pcpsirq.h.
◆ _pcps_ddev_enb_irq
#define _pcps_ddev_enb_irq |
( |
|
_d, |
|
|
|
_cmd |
|
) |
| |
Value:{ \
_pcps_sem_inc( _d ); \
_pcps_ddev_enb_irq_mca( _d ); \
_pcps_ddev_enb_irq_pci( _d ); \
_pcps_write_byte( _d, _cmd ); \
_pcps_sem_dec( _d ); \
}
Definition at line 227 of file pcpsirq.h.
Referenced by mbgdrvr_enable_cyclic().
◆ _pcps_ddev_enb_irq_mca
◆ _pcps_ddev_enb_irq_pci
#define _pcps_ddev_enb_irq_pci |
( |
|
_d | ) |
|
Value:if ( (_d)->irq_enb_mask ) \
{ \
(_d)->irq_enb_disb_port, control_status ); \
_mbg_outp32_to_mbg_ex( (_d), 0, (_d)->irq_enb_disb_port, control_status, \
intcsr | (_d)->irq_enb_mask ); \
}
#define _mbg_inp32_to_cpu_ex(_d, _i, _p, _r)
Definition at line 163 of file pcpsirq.h.
◆ _pcps_ddev_has_gen_irq
#define _pcps_ddev_has_gen_irq |
( |
|
_d | ) |
|
Value:( ( (_d)->irq_flag_mask ) ? \
)
static __mbg_inline uint8_t _pcps_ddev_read_status_port(const PCPS_DDEV *pddev)
#define _mbg_inp32_to_cpu_ex(_d, _i, _p, _r)
#define PCPS_ST_IRQF
the clock has generated an IRQ on the PC bus (ISA cards only)
Definition at line 198 of file pcpsirq.h.
Referenced by mbgclock_irq_handler().