Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | qdesfmt0 |
struct | qdr |
struct | qib |
struct | slibe |
struct | qaob |
struct | slib |
struct | qdio_buffer_element |
struct | qdio_buffer |
struct | sl_element |
struct | sl |
struct | slsb |
struct | qdio_outbuf_state |
struct | qdio_ssqd_desc |
struct | qdio_initialize |
Typedefs | |
typedef void | qdio_handler_t (struct ccw_device *, unsigned int, int, int, int, unsigned long) |
Functions | |
struct qdesfmt0 | __attribute__ ((packed)) |
struct qdr | __attribute__ ((packed, aligned(4096))) |
struct qib | __attribute__ ((packed, aligned(256))) |
struct slib | __attribute__ ((packed, aligned(2048))) |
struct qdio_buffer_element | __attribute__ ((packed, aligned(16))) |
struct sl | __attribute__ ((packed, aligned(1024))) |
int | qdio_allocate (struct qdio_initialize *) |
int | qdio_establish (struct qdio_initialize *) |
int | qdio_activate (struct ccw_device *) |
void | qdio_release_aob (struct qaob *) |
int | do_QDIO (struct ccw_device *, unsigned int, int, unsigned int, unsigned int) |
int | qdio_start_irq (struct ccw_device *, int) |
int | qdio_stop_irq (struct ccw_device *, int) |
int | qdio_get_next_buffers (struct ccw_device *, int, int *, int *) |
int | qdio_shutdown (struct ccw_device *, int) |
int | qdio_free (struct ccw_device *) |
int | qdio_get_ssqd_desc (struct ccw_device *, struct qdio_ssqd_desc *) |
Variables | |
u64 | sliba |
u64 | sla |
u64 | slsba |
u32 | __pad0__ |
u32 | akey |
u32 | bkey |
u32 | ckey |
u32 | dkey |
u32 | __pad1__ |
u32 | qfmt |
u32 | pfmt |
u32 | ac |
u32 | iqdcnt |
u32 | __pad2__ |
u32 | oqdcnt |
u32 | __pad3__ |
u32 | iqdsz |
u32 | __pad4__ |
u32 | oqdsz |
u32 | res [9] |
u64 | qiba |
u32 | __pad5__ |
u32 | qkey |
u32 | __pad6__ |
struct qdesfmt0 | qdf0 [126] |
u32 | rflags |
u64 | isliba |
u64 | osliba |
u8 | ebcnam [8] |
u8 | parm [QDIO_MAX_BUFFERS_PER_Q] |
struct slibe | __attribute__ |
u64 | res0 [6] |
u8 | res1 |
u8 | res2 |
u8 | res3 |
u8 | aorc |
u8 | flags |
u16 | cbtbs |
u8 | sb_count |
u64 | sba [QDIO_MAX_ELEMENTS_PER_BUFFER] |
u16 | dcount [QDIO_MAX_ELEMENTS_PER_BUFFER] |
u64 | user0 |
u64 | res4 [2] |
u64 | user1 |
u64 | user2 |
u64 | nsliba |
struct slibe | slibe [QDIO_MAX_BUFFERS_PER_Q] |
u8 | eflags |
u8 | scount |
u8 | sflags |
u32 | length |
void * | addr |
struct qdio_buffer_element | element [QDIO_MAX_ELEMENTS_PER_BUFFER] |
unsigned long | sbal |
u8 | val [QDIO_MAX_BUFFERS_PER_Q] |
u16 | sch |
u8 | qdioac1 |
u8 | sch_class |
u8 | pcnt |
u8 | icnt |
u8 | ocnt |
u8 | mbccnt |
u16 | qdioac2 |
u64 | sch_token |
u8 | mro |
u8 | mri |
u16 | qdioac3 |
u8 | mmwc |
#define AC1_AUTOMATIC_SYNC_ON_OUT_PCI 0x04 /* set by hypervisor */ |
#define AC1_AUTOMATIC_SYNC_ON_THININT 0x08 /* set by hypervisor */ |
#define AC1_SC_QEBSM_AVAILABLE 0x02 /* available for subchannel */ |
#define AC1_SC_QEBSM_ENABLED 0x01 /* enabled for subchannel */ |
#define AC1_SIGA_INPUT_NEEDED 0x40 /* process input queues */ |
#define AC1_SIGA_OUTPUT_NEEDED 0x20 /* process output queues */ |
#define AC1_SIGA_SYNC_NEEDED 0x10 /* ask hypervisor to sync */ |
#define QDIO_MAX_BUFFERS_MASK (QDIO_MAX_BUFFERS_PER_Q - 1) |
#define QDIO_STATE_ACTIVE 0x00000008 /* after qdio_activate */ |
#define QDIO_STATE_ESTABLISHED 0x00000004 /* after qdio_establish */ |
#define QDIO_STATE_INACTIVE 0x00000002 /* after qdio_cleanup */ |
#define QDIO_STATE_STOPPED 0x00000010 /* after queues went down */ |
#define SBAL_SFLAGS0_FIRST_SBAL (SBAL_SFLAGS0_MORE_SBALS | SBAL_SFLAGS0_COMMAND) |
#define SBAL_SFLAGS0_MIDDLE_SBAL SBAL_SFLAGS0_MORE_SBALS |
#define SBAL_SFLAGS0_ONLY_SBAL SBAL_SFLAGS0_COMMAND |
|
read |
Definition at line 171 of file esd_usb2.c.
struct qdr __attribute__ | ( | (packed, aligned(4096)) | ) |
struct qib __attribute__ | ( | (packed, aligned(256)) | ) |
struct slib __attribute__ | ( | (packed, aligned(2048)) | ) |
struct qdio_buffer_element __attribute__ | ( | (packed, aligned(16)) | ) |
struct sl __attribute__ | ( | (packed, aligned(1024)) | ) |
int do_QDIO | ( | struct ccw_device * | cdev, |
unsigned int | callflags, | ||
int | q_nr, | ||
unsigned int | bufnr, | ||
unsigned int | count | ||
) |
do_QDIO - process input or output buffers : associated ccw_device for the qdio subchannel : input or output and special flags from the program : queue number : buffer number : how many buffers to process
Definition at line 1676 of file qdio_main.c.
int qdio_activate | ( | struct ccw_device * | cdev | ) |
qdio_activate - activate queues on a qdio subchannel : associated cdev
Definition at line 1477 of file qdio_main.c.
int qdio_allocate | ( | struct qdio_initialize * | init_data | ) |
qdio_allocate - allocate qdio queues and associated data : initialization data
Definition at line 1321 of file qdio_main.c.
int qdio_establish | ( | struct qdio_initialize * | init_data | ) |
qdio_establish - establish queues on a qdio subchannel : initialization data
Definition at line 1401 of file qdio_main.c.
int qdio_free | ( | struct ccw_device * | cdev | ) |
qdio_free - free data structures for a qdio subchannel : associated ccw device
Definition at line 1295 of file qdio_main.c.
qdio_get_next_buffers - process input buffers : associated ccw_device for the qdio subchannel : input queue number : first filled buffer number : buffers are in error state
Return codes < 0 - error = 0 - no new buffers found
0 - number of processed buffers
Definition at line 1762 of file qdio_main.c.
int qdio_get_ssqd_desc | ( | struct ccw_device * | cdev, |
struct qdio_ssqd_desc * | data | ||
) |
Definition at line 29 of file qdio_setup.c.
int qdio_shutdown | ( | struct ccw_device * | cdev, |
int | how | ||
) |
qdio_shutdown - shut down a qdio subchannel : associated ccw device : use halt or clear to shutdown
Definition at line 1221 of file qdio_main.c.
int qdio_start_irq | ( | struct ccw_device * | cdev, |
int | nr | ||
) |
qdio_start_irq - process input buffers : associated ccw_device for the qdio subchannel : input queue number
Return codes 0 - success 1 - irqs not started since new data is available
Definition at line 1715 of file qdio_main.c.
int qdio_stop_irq | ( | struct ccw_device * | cdev, |
int | nr | ||
) |
qdio_stop_irq - disable interrupt processing for the device : associated ccw_device for the qdio subchannel : input queue number
Return codes 0 - interrupts were already disabled 1 - interrupts successfully disabled
Definition at line 1812 of file qdio_main.c.
u16 dcount[QDIO_MAX_ELEMENTS_PER_BUFFER] |
struct qdio_buffer * sbal |
u8 val[QDIO_MAX_BUFFERS_PER_Q] |