Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Duvc_configfs.c597 struct uvcg_control_header *target_hdr; in uvcg_control_class_allow_link() local
619 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_allow_link()
620 ++target_hdr->linked; in uvcg_control_class_allow_link()
621 class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc; in uvcg_control_class_allow_link()
639 struct uvcg_control_header *target_hdr; in uvcg_control_class_drop_link() local
656 target_hdr = to_uvcg_control_header(target); in uvcg_control_class_drop_link()
657 --target_hdr->linked; in uvcg_control_class_drop_link()
2499 struct uvcg_streaming_header *target_hdr; in uvcg_streaming_class_allow_link() local
2521 target_hdr = to_uvcg_streaming_header(target); in uvcg_streaming_class_allow_link()
2522 ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm); in uvcg_streaming_class_allow_link()
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb1ops.c280 coalesce_t2(char *second_buf, struct smb_hdr *target_hdr) in coalesce_t2() argument
283 struct smb_t2_rsp *pSMBt = (struct smb_t2_rsp *)target_hdr; in coalesce_t2()
337 byte_count = get_bcc(target_hdr); in coalesce_t2()
344 put_bcc(byte_count, target_hdr); in coalesce_t2()
346 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
354 target_hdr->smb_buf_length = cpu_to_be32(byte_count); in coalesce_t2()