Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | siga_flag |
struct | chsc_ssqd_area |
struct | scssc_area |
struct | qdio_dev_perf_stat |
struct | qdio_queue_perf_stat |
struct | qdio_input_q |
struct | qdio_output_q |
struct | qdio_q |
struct | qdio_irq |
#define add_buf | ( | bufnr, | |
inc | |||
) | ((bufnr + inc) & QDIO_MAX_BUFFERS_MASK) |
#define is_thinint_irq | ( | irq | ) |
#define need_siga_sync | ( | q | ) | (unlikely(q->irq_ptr->siga_flag.sync)) |
#define need_siga_sync_after_ai | ( | q | ) | (unlikely(q->irq_ptr->siga_flag.sync_after_ai)) |
#define need_siga_sync_out_after_pci | ( | q | ) | (unlikely(q->irq_ptr->siga_flag.sync_out_after_pci)) |
#define next_buf | ( | bufnr | ) | ((bufnr + 1) & QDIO_MAX_BUFFERS_MASK) |
#define pci_out_supported | ( | q | ) | (q->irq_ptr->qib.ac & QIB_AC_OUTBOUND_PCI_SUPPORTED) |
#define prev_buf | ( | bufnr | ) | ((bufnr + QDIO_MAX_BUFFERS_MASK) & QDIO_MAX_BUFFERS_MASK) |
#define QDIO_BUSY_BIT_PATIENCE (100 << 12) /* 100 microseconds */ |
#define QDIO_INPUT_THRESHOLD (500 << 12) /* 500 microseconds */ |
#define qperf | ( | __qdev, | |
__attr | |||
) | ((__qdev)->perf_stat.(__attr)) |
#define qperf_inc | ( | __q, | |
__attr | |||
) |
#define queue_irqs_disabled | ( | q | ) | (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) != 0) |
#define queue_irqs_enabled | ( | q | ) | (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) == 0) |
#define SLSB_CU_INPUT_EMPTY (SLSB_OWNER_CU | SLSB_TYPE_INPUT | SLSB_STATE_EMPTY) /* 0x41 */ |
#define SLSB_CU_OUTPUT_PRIMED (SLSB_OWNER_CU | SLSB_TYPE_OUTPUT | SLSB_STATE_PRIMED) /* 0x62 */ |
#define SLSB_P_INPUT_ACK (SLSB_OWNER_PROG | SLSB_TYPE_INPUT | SLSB_STATE_EMPTY) /* 0x81 */ |
#define SLSB_P_INPUT_ERROR (SLSB_OWNER_PROG | SLSB_TYPE_INPUT | SLSB_STATE_ERROR) /* 0x8f */ |
#define SLSB_P_INPUT_HALTED (SLSB_OWNER_PROG | SLSB_TYPE_INPUT | SLSB_STATE_HALTED) /* 0x8e */ |
#define SLSB_P_INPUT_NOT_INIT (SLSB_OWNER_PROG | SLSB_TYPE_INPUT | SLSB_STATE_NOT_INIT) /* 0x80 */ |
#define SLSB_P_INPUT_PRIMED (SLSB_OWNER_PROG | SLSB_TYPE_INPUT | SLSB_STATE_PRIMED) /* 0x82 */ |
#define SLSB_P_OUTPUT_EMPTY (SLSB_OWNER_PROG | SLSB_TYPE_OUTPUT | SLSB_STATE_EMPTY) /* 0xa1 */ |
#define SLSB_P_OUTPUT_ERROR (SLSB_OWNER_PROG | SLSB_TYPE_OUTPUT | SLSB_STATE_ERROR) /* 0xaf */ |
#define SLSB_P_OUTPUT_HALTED (SLSB_OWNER_PROG | SLSB_TYPE_OUTPUT | SLSB_STATE_HALTED) /* 0xae */ |
#define SLSB_P_OUTPUT_NOT_INIT (SLSB_OWNER_PROG | SLSB_TYPE_OUTPUT | SLSB_STATE_NOT_INIT) /* 0xa0 */ |
#define SLSB_P_OUTPUT_PENDING (SLSB_OWNER_PROG | SLSB_TYPE_OUTPUT | SLSB_STATE_PENDING) /* 0xa3 */ |
#define sub_buf | ( | bufnr, | |
dec | |||
) | ((bufnr - dec) & QDIO_MAX_BUFFERS_MASK) |
enum qdio_irq_states |
|
read |
Definition at line 171 of file esd_usb2.c.
struct qdio_q __attribute__ | ( | (aligned(256)) | ) |
Definition at line 114 of file qdio_thinint.c.
Definition at line 398 of file qdio_main.c.
Definition at line 23 of file qdio_setup.c.
Definition at line 107 of file qdio_setup.c.
void qdio_disable_async_operation | ( | struct qdio_output_q * | q | ) |
Definition at line 515 of file qdio_setup.c.
int qdio_enable_async_operation | ( | struct qdio_output_q * | q | ) |
Definition at line 503 of file qdio_setup.c.
Definition at line 289 of file qdio_thinint.c.
Definition at line 778 of file qdio_main.c.
Definition at line 1126 of file qdio_main.c.
Definition at line 946 of file qdio_main.c.
Definition at line 952 of file qdio_main.c.
void qdio_print_subchannel_info | ( | struct qdio_irq * | irq_ptr, |
struct ccw_device * | cdev | ||
) |
Definition at line 480 of file qdio_setup.c.
Definition at line 316 of file qdio_setup.c.
int qdio_setup_create_sysfs | ( | struct ccw_device * | cdev | ) |
void qdio_setup_destroy_sysfs | ( | struct ccw_device * | cdev | ) |
Definition at line 555 of file qdio_setup.c.
int qdio_setup_get_ssqd | ( | struct qdio_irq * | irq_ptr, |
struct subchannel_id * | schid, | ||
struct qdio_ssqd_desc * | data | ||
) |
Definition at line 251 of file qdio_setup.c.
Definition at line 522 of file qdio_setup.c.
int qdio_setup_irq | ( | struct qdio_initialize * | init_data | ) |
Definition at line 416 of file qdio_setup.c.
Definition at line 295 of file qdio_setup.c.
Definition at line 296 of file qdio_thinint.c.
Definition at line 304 of file qdio_thinint.c.
Definition at line 123 of file qdio_thinint.c.
Definition at line 73 of file qdio_thinint.c.
Definition at line 261 of file qdio_thinint.c.
Definition at line 270 of file qdio_thinint.c.
Definition at line 1011 of file qdio_main.c.
Definition at line 275 of file qdio_thinint.c.
Definition at line 82 of file qdio_thinint.c.
Definition at line 314 of file qdio_thinint.c.
enum qdio_irq_states __aligned |
qdio_handler_t* handler |
u64 last_ai_time |
Definition at line 44 of file qdio_thinint.c.
early from the iterator. Returns the last return value of the callback function, which should be 0 for success or anything else to indicate failure; or -EINVAL if the function pointer is null.
and return it. If is not NULL, we use it as the head of the list.
NOTE: we don't return the driver that returns a non-zero value, nor do we leave the reference count incremented for that driver. If the caller needs to know that info, it must set it in the callback. It must also be sure to increment the refcount so it doesn't disappear before returning to the caller.
struct qdio_queue_perf_stat q_stats |
struct qdio_ssqd_desc qdio_ssqd |
struct chsc_header request |
struct subchannel_id schid |
struct tasklet_struct tasklet |
union { ... } u |