Home
last modified time | relevance | path

Searched refs:sisusb (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/usb/misc/sisusbvga/
Dsisusb_con.c94 sisusb_initialize(struct sisusb_usb_data *sisusb) in sisusb_initialize() argument
97 if (sisusb_setidxreg(sisusb, SISCR, 0x0c, 0x00)) in sisusb_initialize()
99 if (sisusb_setidxreg(sisusb, SISCR, 0x0d, 0x00)) in sisusb_initialize()
101 if (sisusb_setidxreg(sisusb, SISCR, 0x0e, 0x00)) in sisusb_initialize()
103 sisusb_setidxreg(sisusb, SISCR, 0x0f, 0x00); in sisusb_initialize()
107 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address() argument
109 sisusb->cur_start_addr = (c->vc_visible_origin - sisusb->scrbuf) / 2; in sisusbcon_set_start_address()
111 sisusb_setidxreg(sisusb, SISCR, 0x0c, (sisusb->cur_start_addr >> 8)); in sisusbcon_set_start_address()
112 sisusb_setidxreg(sisusb, SISCR, 0x0d, (sisusb->cur_start_addr & 0xff)); in sisusbcon_set_start_address()
116 sisusb_set_cursor(struct sisusb_usb_data *sisusb, unsigned int location) in sisusb_set_cursor() argument
[all …]
Dsisusb.c75 sisusb_free_buffers(struct sisusb_usb_data *sisusb) in sisusb_free_buffers() argument
80 if (sisusb->obuf[i]) { in sisusb_free_buffers()
81 kfree(sisusb->obuf[i]); in sisusb_free_buffers()
82 sisusb->obuf[i] = NULL; in sisusb_free_buffers()
85 if (sisusb->ibuf) { in sisusb_free_buffers()
86 kfree(sisusb->ibuf); in sisusb_free_buffers()
87 sisusb->ibuf = NULL; in sisusb_free_buffers()
92 sisusb_free_urbs(struct sisusb_usb_data *sisusb) in sisusb_free_urbs() argument
97 usb_free_urb(sisusb->sisurbout[i]); in sisusb_free_urbs()
98 sisusb->sisurbout[i] = NULL; in sisusb_free_urbs()
[all …]
Dsisusb_init.h814 extern int sisusb_setreg(struct sisusb_usb_data *sisusb, int port, u8 data);
815 extern int sisusb_getreg(struct sisusb_usb_data *sisusb, int port, u8 * data);
816 extern int sisusb_setidxreg(struct sisusb_usb_data *sisusb, int port,
818 extern int sisusb_getidxreg(struct sisusb_usb_data *sisusb, int port,
820 extern int sisusb_setidxregandor(struct sisusb_usb_data *sisusb, int port,
822 extern int sisusb_setidxregor(struct sisusb_usb_data *sisusb, int port,
824 extern int sisusb_setidxregand(struct sisusb_usb_data *sisusb, int port,
828 int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data);
829 int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 * data);
830 int sisusb_copy_memory(struct sisusb_usb_data *sisusb, char *src,
[all …]
DMakefile7 sisusbvga-y := sisusb.o sisusb_init.o sisusb_con.o
Dsisusb_init.c77 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg()
84 sisusb_setreg(SiS_Pr->sisusb, port, data); in SiS_SetRegByte()
92 sisusb_getidxreg(SiS_Pr->sisusb, port, index, &data); in SiS_GetReg()
102 sisusb_getreg(SiS_Pr->sisusb, port, &data); in SiS_GetRegByte()
112 sisusb_setidxregandor(SiS_Pr->sisusb, port, index, DataAND, DataOR); in SiS_SetRegANDOR()
119 sisusb_setidxregand(SiS_Pr->sisusb, port, index, DataAND); in SiS_SetRegAND()
126 sisusb_setidxregor(SiS_Pr->sisusb, port, index, DataOR); in SiS_SetRegOR()
Dsisusb_struct.h127 void *sisusb; member
Dsisusb.h107 struct sisusb_usb_data *sisusb; member
/linux-2.6.39/Documentation/ioctl/
Dioctl-number.txt315 0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development)