Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_usb.c225 u8 *usb_reg_buf; in rsi_usb_reg_write() local
231 usb_reg_buf = kmalloc(RSI_USB_CTRL_BUF_SIZE, GFP_KERNEL); in rsi_usb_reg_write()
232 if (!usb_reg_buf) in rsi_usb_reg_write()
235 usb_reg_buf[0] = (cpu_to_le32(value) & 0x00ff); in rsi_usb_reg_write()
236 usb_reg_buf[1] = (cpu_to_le32(value) & 0xff00) >> 8; in rsi_usb_reg_write()
237 usb_reg_buf[2] = (cpu_to_le32(value) & 0x00ff0000) >> 16; in rsi_usb_reg_write()
238 usb_reg_buf[3] = (cpu_to_le32(value) & 0xff000000) >> 24; in rsi_usb_reg_write()
246 (void *)usb_reg_buf, in rsi_usb_reg_write()
254 kfree(usb_reg_buf); in rsi_usb_reg_write()