Lines Matching refs:kernbuffer
345 char *kernbuffer, const char __user *userbuffer, int index, in sisusb_send_bulk_msg() argument
351 int fromkern = (kernbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
397 memcpy(buffer, kernbuffer, passsize); in sisusb_send_bulk_msg()
398 kernbuffer += passsize; in sisusb_send_bulk_msg()
471 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
539 memcpy(kernbuffer, buffer, thispass); in sisusb_recv_bulk_msg()
540 kernbuffer += thispass; in sisusb_recv_bulk_msg()
783 char *kernbuffer, int length, in sisusb_write_mem_bulk() argument
790 u8 swap8, fromkern = kernbuffer ? 1 : 0; in sisusb_write_mem_bulk()
799 kernbuffer = sisusb->obuf[index]; in sisusb_write_mem_bulk()
814 swap8 = kernbuffer[0]; in sisusb_write_mem_bulk()
830 swap16 = *((u16 *)kernbuffer); in sisusb_write_mem_bulk()
857 swap32 = (kernbuffer[0] << 16) | in sisusb_write_mem_bulk()
858 (kernbuffer[1] << 8) | in sisusb_write_mem_bulk()
859 kernbuffer[2]; in sisusb_write_mem_bulk()
861 swap32 = (kernbuffer[2] << 16) | in sisusb_write_mem_bulk()
862 (kernbuffer[1] << 8) | in sisusb_write_mem_bulk()
863 kernbuffer[0]; in sisusb_write_mem_bulk()
881 swap32 = *((u32 *)kernbuffer); in sisusb_write_mem_bulk()
921 kernbuffer, NULL, 0, in sisusb_write_mem_bulk()
923 kernbuffer += (*bytes_written); in sisusb_write_mem_bulk()
930 kernbuffer += ((*bytes_written) & in sisusb_write_mem_bulk()
965 kernbuffer, NULL, 0, in sisusb_write_mem_bulk()
967 kernbuffer += (*bytes_written); in sisusb_write_mem_bulk()
974 kernbuffer += ((*bytes_written) & in sisusb_write_mem_bulk()
1142 char *kernbuffer, int length, in sisusb_read_mem_bulk() argument
1170 kernbuffer[0] = buf[0]; in sisusb_read_mem_bulk()
1185 *((u16 *)kernbuffer) = swap16; in sisusb_read_mem_bulk()
1208 kernbuffer[0] = buf[0]; in sisusb_read_mem_bulk()
1209 kernbuffer[1] = buf[1]; in sisusb_read_mem_bulk()
1210 kernbuffer[2] = buf[2]; in sisusb_read_mem_bulk()
1227 *((u32 *)kernbuffer) = swap32; in sisusb_read_mem_bulk()
1228 kernbuffer += 4; in sisusb_read_mem_bulk()