Home
last modified time | relevance | path

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

/Linux-v5.10/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.h153 extern int sisusb_setreg(struct sisusb_usb_data *sisusb, u32 port, u8 data);
154 extern int sisusb_getreg(struct sisusb_usb_data *sisusb, u32 port, u8 * data);
155 extern int sisusb_setidxreg(struct sisusb_usb_data *sisusb, u32 port,
157 extern int sisusb_getidxreg(struct sisusb_usb_data *sisusb, u32 port,
159 extern int sisusb_setidxregandor(struct sisusb_usb_data *sisusb, u32 port,
161 extern int sisusb_setidxregor(struct sisusb_usb_data *sisusb, u32 port,
163 extern int sisusb_setidxregand(struct sisusb_usb_data *sisusb, u32 port,
167 int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data);
168 int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 * data);
169 int sisusb_copy_memory(struct sisusb_usb_data *sisusb, u8 *src,
[all …]
Dsisusb_init.c75 sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); in SiS_SetReg()
82 sisusb_setreg(SiS_Pr->sisusb, port, data); in SiS_SetRegByte()
90 sisusb_getidxreg(SiS_Pr->sisusb, port, index, &data); in SiS_GetReg()
100 sisusb_getreg(SiS_Pr->sisusb, port, &data); in SiS_GetRegByte()
110 sisusb_setidxregandor(SiS_Pr->sisusb, port, index, DataAND, DataOR); in SiS_SetRegANDOR()
117 sisusb_setidxregand(SiS_Pr->sisusb, port, index, DataAND); in SiS_SetRegAND()
124 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.10/Documentation/userspace-api/ioctl/
Dioctl-number.rst360 0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development)