Lines Matching defs:sp
75 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA) argument
76 #define display_width(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESX) argument
77 #define display_height(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESY) argument
78 #define display_depth(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_BITS) argument
79 #define desktop_info(sp) (mouse_addr(sp) + CONDOR_INPUT_DESKTOP_INFO) argument
80 #define vnc_status(sp) (mouse_addr(sp) + CONDOR_OUTPUT_VNC_STATUS) argument
81 #define isr_control(sp) (mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
83 #define mouse_interrupt_pending(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
84 #define clear_mouse_interrupt(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument
85 #define enable_mouse_interrupts(sp) writel(1, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
86 #define disable_mouse_interrupts(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument
91 #define get_queue_writer(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_Q_WRITER) argument
92 #define get_queue_reader(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_Q_READER) argument
93 #define set_queue_reader(sp, reader) writel(reader, mouse_addr(sp) + CONDOR_MOUSE_Q_READER) argument
97 #define get_queue_entry(sp, read_index) \ argument
100 static inline int advance_queue_reader(struct service_processor *sp, unsigned long reader) in advance_queue_reader()