Searched refs:gm12u320 (Results 1 – 2 of 2) sorted by relevance
48 DRM_DEV_ERROR(gm12u320->dev.dev, fmt, ##__VA_ARGS__)159 static inline struct usb_device *gm12u320_to_usb_device(struct gm12u320_device *gm12u320) in gm12u320_to_usb_device() argument161 return interface_to_usbdev(to_usb_interface(gm12u320->dev.dev)); in gm12u320_to_usb_device()164 static int gm12u320_usb_alloc(struct gm12u320_device *gm12u320) in gm12u320_usb_alloc() argument169 gm12u320->cmd_buf = drmm_kmalloc(&gm12u320->dev, CMD_SIZE, GFP_KERNEL); in gm12u320_usb_alloc()170 if (!gm12u320->cmd_buf) in gm12u320_usb_alloc()182 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc()184 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc()187 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc()188 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc()[all …]
6 obj-$(CONFIG_DRM_GM12U320) += gm12u320.o