Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_configfs.c881 struct uvcg_format_ptr *format_ptr; in uvcg_streaming_header_allow_link() local
922 format_ptr = kzalloc(sizeof(*format_ptr), GFP_KERNEL); in uvcg_streaming_header_allow_link()
923 if (!format_ptr) { in uvcg_streaming_header_allow_link()
928 format_ptr->fmt = target_fmt; in uvcg_streaming_header_allow_link()
929 list_add_tail(&format_ptr->entry, &src_hdr->formats); in uvcg_streaming_header_allow_link()
947 struct uvcg_format_ptr *format_ptr, *tmp; in uvcg_streaming_header_drop_link() local
961 list_for_each_entry_safe(format_ptr, tmp, &src_hdr->formats, entry) in uvcg_streaming_header_drop_link()
962 if (format_ptr->fmt == target_fmt) { in uvcg_streaming_header_drop_link()
963 list_del(&format_ptr->entry); in uvcg_streaming_header_drop_link()
964 kfree(format_ptr); in uvcg_streaming_header_drop_link()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_plane.c527 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c6386 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 …]