Linux Kernel
3.7.1
|
#include <ap_bus.h>
Data Fields | |
unsigned int | queue_empty: 1 |
unsigned int | replies_waiting: 1 |
unsigned int | queue_full: 1 |
unsigned int | pad1: 4 |
unsigned int | int_enabled: 1 |
unsigned int | response_code: 8 |
unsigned int | pad2: 16 |
structy ap_queue_status - Holds the AP queue status. : Shows if queue is empty : Waiting replies : Is 1 if the queue is full : A 4 bit pad : Shows if interrupts are enabled for the AP : Holds the 8 bit response code : A 16 bit pad
The ap queue status word is returned by all three AP functions (PQAP, NQAP and DQAP). There's a set of flags in the first byte, followed by a 1 byte response code.