Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/winbond/
Dwb35reg.c21 struct wb35_reg_queue *reg_queue = NULL; in Wb35Reg_BurstWrite() local
32 reg_queue = kzalloc(UrbSize, GFP_ATOMIC); in Wb35Reg_BurstWrite()
34 if (urb && reg_queue) { in Wb35Reg_BurstWrite()
35 reg_queue->DIRECT = 2; /* burst write register */ in Wb35Reg_BurstWrite()
36 reg_queue->INDEX = RegisterNo; in Wb35Reg_BurstWrite()
37 reg_queue->pBuffer = (u32 *)((u8 *)reg_queue + sizeof(struct wb35_reg_queue)); in Wb35Reg_BurstWrite()
38 memcpy(reg_queue->pBuffer, pRegisterData, DataSize); in Wb35Reg_BurstWrite()
41 reg_queue->pBuffer[i] = cpu_to_le32(reg_queue->pBuffer[i]); in Wb35Reg_BurstWrite()
43 dr = (struct usb_ctrlrequest *)((u8 *)reg_queue + sizeof(struct wb35_reg_queue) + DataSize); in Wb35Reg_BurstWrite()
49 reg_queue->Next = NULL; in Wb35Reg_BurstWrite()
[all …]