Searched refs:format_ptr (Results 1 – 2 of 2) sorted by relevance
772 struct uvcg_format_ptr *format_ptr; in uvcg_streaming_header_allow_link() local799 format_ptr = kzalloc(sizeof(*format_ptr), GFP_KERNEL); in uvcg_streaming_header_allow_link()800 if (!format_ptr) { in uvcg_streaming_header_allow_link()805 format_ptr->fmt = target_fmt; in uvcg_streaming_header_allow_link()806 list_add_tail(&format_ptr->entry, &src_hdr->formats); in uvcg_streaming_header_allow_link()823 struct uvcg_format_ptr *format_ptr, *tmp; in uvcg_streaming_header_drop_link() local838 list_for_each_entry_safe(format_ptr, tmp, &src_hdr->formats, entry) in uvcg_streaming_header_drop_link()839 if (format_ptr->fmt == target_fmt) { in uvcg_streaming_header_drop_link()840 list_del(&format_ptr->entry); in uvcg_streaming_header_drop_link()841 kfree(format_ptr); in uvcg_streaming_header_drop_link()
2253 uint32_t __user *format_ptr; in drm_mode_getplane() local2284 format_ptr = (uint32_t __user *)(unsigned long)plane_resp->format_type_ptr; in drm_mode_getplane()2285 if (copy_to_user(format_ptr, in drm_mode_getplane()