Searched refs:format_ptr (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 880 struct uvcg_format_ptr *format_ptr; in uvcg_streaming_header_allow_link() local 921 format_ptr = kzalloc(sizeof(*format_ptr), GFP_KERNEL); in uvcg_streaming_header_allow_link() 922 if (!format_ptr) { in uvcg_streaming_header_allow_link() 927 format_ptr->fmt = target_fmt; in uvcg_streaming_header_allow_link() 928 list_add_tail(&format_ptr->entry, &src_hdr->formats); in uvcg_streaming_header_allow_link() 946 struct uvcg_format_ptr *format_ptr, *tmp; in uvcg_streaming_header_drop_link() local 960 list_for_each_entry_safe(format_ptr, tmp, &src_hdr->formats, entry) in uvcg_streaming_header_drop_link() 961 if (format_ptr->fmt == target_fmt) { in uvcg_streaming_header_drop_link() 962 list_del(&format_ptr->entry); in uvcg_streaming_header_drop_link() 963 kfree(format_ptr); in uvcg_streaming_header_drop_link()
|
/drivers/gpu/drm/ |
D | drm_plane.c | 527 uint32_t __user *format_ptr; in drm_mode_getplane() local 564 format_ptr = (uint32_t __user *)(unsigned long)plane_resp->format_type_ptr; in drm_mode_getplane() 565 if (copy_to_user(format_ptr, in drm_mode_getplane()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 6386 struct mcp_trace_format *format_ptr = &meta->formats[i]; in qed_mcp_trace_alloc_meta_data() local 6389 format_ptr->data = qed_read_dword_from_buf(meta_buf_bytes, in qed_mcp_trace_alloc_meta_data() 6391 format_len = GET_MFW_FIELD(format_ptr->data, in qed_mcp_trace_alloc_meta_data() 6393 format_ptr->format_str = kzalloc(format_len, GFP_KERNEL); in qed_mcp_trace_alloc_meta_data() 6394 if (!format_ptr->format_str) { in qed_mcp_trace_alloc_meta_data() 6402 format_len, format_ptr->format_str); in qed_mcp_trace_alloc_meta_data() 6443 struct mcp_trace_format *format_ptr; in qed_parse_mcp_trace_buf() local 6473 format_ptr = &meta->formats[format_idx]; in qed_parse_mcp_trace_buf() 6482 u8 param_size = (u8)((format_ptr->data & param_mask) >> in qed_parse_mcp_trace_buf() 6507 format_level = (u8)GET_MFW_FIELD(format_ptr->data, in qed_parse_mcp_trace_buf() [all …]
|