Lines Matching refs:mouse_addr
88 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA) macro
89 #define display_width(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESX)
90 #define display_height(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESY)
91 #define display_depth(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_BITS)
92 #define desktop_info(sp) (mouse_addr(sp) + CONDOR_INPUT_DESKTOP_INFO)
93 #define vnc_status(sp) (mouse_addr(sp) + CONDOR_OUTPUT_VNC_STATUS)
94 #define isr_control(sp) (mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL)
96 #define mouse_interrupt_pending(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS)
97 #define clear_mouse_interrupt(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS)
98 #define enable_mouse_interrupts(sp) writel(1, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL)
99 #define disable_mouse_interrupts(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL)
104 #define get_queue_writer(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_Q_WRITER)
105 #define get_queue_reader(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_Q_READER)
106 #define set_queue_reader(sp, reader) writel(reader, mouse_addr(sp) + CONDOR_MOUSE_Q_READER)
108 #define queue_begin (mouse_addr(sp) + CONDOR_MOUSE_Q_BEGIN)