Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/misc/sisusbvga/
Dsisusb_con.c86 sisusb_initialize(struct sisusb_usb_data *sisusb) in sisusb_initialize() argument
89 if (sisusb_setidxreg(sisusb, SISCR, 0x0c, 0x00)) in sisusb_initialize()
91 if (sisusb_setidxreg(sisusb, SISCR, 0x0d, 0x00)) in sisusb_initialize()
93 if (sisusb_setidxreg(sisusb, SISCR, 0x0e, 0x00)) in sisusb_initialize()
95 sisusb_setidxreg(sisusb, SISCR, 0x0f, 0x00); in sisusb_initialize()
99 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address() argument
101 sisusb->cur_start_addr = (c->vc_visible_origin - sisusb->scrbuf) / 2; in sisusbcon_set_start_address()
103 sisusb_setidxreg(sisusb, SISCR, 0x0c, (sisusb->cur_start_addr >> 8)); in sisusbcon_set_start_address()
104 sisusb_setidxreg(sisusb, SISCR, 0x0d, (sisusb->cur_start_addr & 0xff)); in sisusbcon_set_start_address()
108 sisusb_set_cursor(struct sisusb_usb_data *sisusb, unsigned int location) in sisusb_set_cursor() argument
[all …]
Dsisusb.c75 static void sisusb_free_buffers(struct sisusb_usb_data *sisusb) in sisusb_free_buffers() argument
80 kfree(sisusb->obuf[i]); in sisusb_free_buffers()
81 sisusb->obuf[i] = NULL; in sisusb_free_buffers()
83 kfree(sisusb->ibuf); in sisusb_free_buffers()
84 sisusb->ibuf = NULL; in sisusb_free_buffers()
87 static void sisusb_free_urbs(struct sisusb_usb_data *sisusb) in sisusb_free_urbs() argument
92 usb_free_urb(sisusb->sisurbout[i]); in sisusb_free_urbs()
93 sisusb->sisurbout[i] = NULL; in sisusb_free_urbs()
95 usb_free_urb(sisusb->sisurbin); in sisusb_free_urbs()
96 sisusb->sisurbin = NULL; in sisusb_free_urbs()
[all …]
Dsisusb_init.h815 extern int sisusb_setreg(struct sisusb_usb_data *sisusb, int port, u8 data);
816 extern int sisusb_getreg(struct sisusb_usb_data *sisusb, int port, u8 * data);
817 extern int sisusb_setidxreg(struct sisusb_usb_data *sisusb, int port,
819 extern int sisusb_getidxreg(struct sisusb_usb_data *sisusb, int port,
821 extern int sisusb_setidxregandor(struct sisusb_usb_data *sisusb, int port,
823 extern int sisusb_setidxregor(struct sisusb_usb_data *sisusb, int port,
825 extern int sisusb_setidxregand(struct sisusb_usb_data *sisusb, int port,
829 int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data);
830 int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 * data);
831 int sisusb_copy_memory(struct sisusb_usb_data *sisusb, char *src,
[all …]
Dsisusb_init.c74 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg()
81 sisusb_setreg(SiS_Pr->sisusb, port, data); in SiS_SetRegByte()
89 sisusb_getidxreg(SiS_Pr->sisusb, port, index, &data); in SiS_GetReg()
99 sisusb_getreg(SiS_Pr->sisusb, port, &data); in SiS_GetRegByte()
109 sisusb_setidxregandor(SiS_Pr->sisusb, port, index, DataAND, DataOR); in SiS_SetRegANDOR()
116 sisusb_setidxregand(SiS_Pr->sisusb, port, index, DataAND); in SiS_SetRegAND()
123 sisusb_setidxregor(SiS_Pr->sisusb, port, index, DataOR); in SiS_SetRegOR()
DMakefile8 sisusbvga-y := sisusb.o
Dsisusb_struct.h128 void *sisusb; member
Dsisusb.h95 struct sisusb_usb_data *sisusb; member
/Linux-v5.4/Documentation/ioctl/
Dioctl-number.rst354 0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development)