/linux/drivers/media/v4l2-core/ |
H A D | v4l2-fh.c | 3 * v4l2-fh.c 16 #include <media/v4l2-fh.h> 21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init() argument 23 fh->vdev = vdev; in v4l2_fh_init() 25 fh->ctrl_handler = vdev->ctrl_handler; in v4l2_fh_init() 26 INIT_LIST_HEAD(&fh->list); in v4l2_fh_init() 27 set_bit(V4L2_FL_USES_V4L2_FH, &fh->vdev->flags); in v4l2_fh_init() 35 fh->prio = V4L2_PRIORITY_UNSET; in v4l2_fh_init() 36 init_waitqueue_head(&fh->wait); in v4l2_fh_init() 37 INIT_LIST_HEAD(&fh in v4l2_fh_init() 44 v4l2_fh_add(struct v4l2_fh * fh) v4l2_fh_add() argument 58 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); v4l2_fh_open() local 69 v4l2_fh_del(struct v4l2_fh * fh) v4l2_fh_del() argument 80 v4l2_fh_exit(struct v4l2_fh * fh) v4l2_fh_exit() argument 93 struct v4l2_fh *fh = filp->private_data; v4l2_fh_release() local 105 v4l2_fh_is_singular(struct v4l2_fh * fh) v4l2_fh_is_singular() argument [all...] |
H A D | v4l2-event.c | 13 #include <media/v4l2-fh.h> 27 static int __v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event) in __v4l2_event_dequeue() argument 33 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue() 35 if (list_empty(&fh->available)) { in __v4l2_event_dequeue() 36 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue() 40 WARN_ON(fh->navailable == 0); in __v4l2_event_dequeue() 42 kev = list_first_entry(&fh->available, struct v4l2_kevent, list); in __v4l2_event_dequeue() 44 fh->navailable--; in __v4l2_event_dequeue() 46 kev->event.pending = fh->navailable; in __v4l2_event_dequeue() 54 spin_unlock_irqrestore(&fh in __v4l2_event_dequeue() 59 v4l2_event_dequeue(struct v4l2_fh * fh,struct v4l2_event * event,int nonblocking) v4l2_event_dequeue() argument 89 v4l2_event_subscribed(struct v4l2_fh * fh,u32 type,u32 id) v4l2_event_subscribed() argument 102 __v4l2_event_queue_fh(struct v4l2_fh * fh,const struct v4l2_event * ev,u64 ts) __v4l2_event_queue_fh() argument 155 struct v4l2_fh *fh; v4l2_event_queue() local 173 v4l2_event_queue_fh(struct v4l2_fh * fh,const struct v4l2_event * ev) v4l2_event_queue_fh() argument 184 v4l2_event_pending(struct v4l2_fh * fh) v4l2_event_pending() argument 192 struct v4l2_fh *fh; v4l2_event_wake_all() local 209 struct v4l2_fh *fh = sev->fh; __v4l2_event_unsubscribe() local 223 v4l2_event_subscribe(struct v4l2_fh * fh,const struct v4l2_event_subscription * sub,unsigned int elems,const struct v4l2_subscribed_event_ops * ops) v4l2_event_subscribe() argument 277 v4l2_event_unsubscribe_all(struct v4l2_fh * fh) v4l2_event_unsubscribe_all() argument 300 v4l2_event_unsubscribe(struct v4l2_fh * fh,const struct v4l2_event_subscription * sub) v4l2_event_unsubscribe() argument 332 v4l2_event_subdev_unsubscribe(struct v4l2_subdev * sd,struct v4l2_fh * fh,struct v4l2_event_subscription * sub) v4l2_event_subdev_unsubscribe() argument 359 v4l2_src_change_event_subscribe(struct v4l2_fh * fh,const struct v4l2_event_subscription * sub) v4l2_src_change_event_subscribe() argument 369 v4l2_src_change_event_subdev_subscribe(struct v4l2_subdev * sd,struct v4l2_fh * fh,struct v4l2_event_subscription * sub) v4l2_src_change_event_subdev_subscribe() argument [all...] |
/linux/include/media/ |
H A D | v4l2-ioctl.h | 296 int (*vidioc_querycap)(struct file *file, void *fh, 300 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 302 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 304 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 306 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 308 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 310 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 312 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh, 316 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, 318 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all...] |
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_file_handle_test.c | 147 struct file_handle *fh; in TEST_F() local 151 fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in TEST_F() 152 ASSERT_NE(fh, NULL); in TEST_F() 153 memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ); in TEST_F() 154 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F() 156 ASSERT_EQ(name_to_handle_at(self->child_pidfd1, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() 160 pidfd = open_by_handle_at(self->pidfd, fh, 0); in TEST_F() 168 pidfd = open_by_handle_at(self->pidfd, fh, O_CLOEXEC); in TEST_F() 176 pidfd = open_by_handle_at(self->pidfd, fh, O_NONBLOCK); in TEST_F() 184 free(fh); in TEST_F() 194 struct file_handle *fh; TEST_F() local 241 struct file_handle *fh; TEST_F() local 277 struct file_handle *fh; TEST_F() local 316 struct file_handle *fh; TEST_F() local 354 struct file_handle *fh; TEST_F() local 390 struct file_handle *fh; TEST_F() local 435 struct file_handle *fh; TEST_F() local 461 struct file_handle *fh; TEST_F() local 482 struct file_handle *fh; TEST_F() local 509 struct file_handle *fh; TEST_F() local [all...] |
/linux/drivers/media/cec/core/ |
H A D | cec-api.c | 27 struct cec_fh *fh = filp->private_data; in cec_devnode_data() local 29 return &fh->adap->devnode; in cec_devnode_data() 37 struct cec_fh *fh = filp->private_data; in cec_poll() local 38 struct cec_adapter *adap = fh->adap; in cec_poll() 41 poll_wait(filp, &fh->wait, poll); in cec_poll() 48 if (fh->queued_msgs) in cec_poll() 50 if (fh->total_queued_events) in cec_poll() 57 const struct cec_fh *fh) in cec_is_busy() argument 59 bool valid_initiator = adap->cec_initiator && adap->cec_initiator == fh; in cec_is_busy() 60 bool valid_follower = adap->cec_follower && adap->cec_follower == fh; in cec_is_busy() 121 cec_adap_s_phys_addr(struct cec_adapter * adap,struct cec_fh * fh,bool block,__u16 __user * parg) cec_adap_s_phys_addr() argument 167 cec_adap_s_log_addrs(struct cec_adapter * adap,struct cec_fh * fh,bool block,struct cec_log_addrs __user * parg) cec_adap_s_log_addrs() argument 211 cec_transmit(struct cec_adapter * adap,struct cec_fh * fh,bool block,struct cec_msg __user * parg) cec_transmit() argument 240 cec_receive_msg(struct cec_fh * fh,struct cec_msg * msg,bool block) cec_receive_msg() argument 290 cec_receive(struct cec_adapter * adap,struct cec_fh * fh,bool block,struct cec_msg __user * parg) cec_receive() argument 308 cec_dqevent(struct cec_adapter * adap,struct cec_fh * fh,bool block,struct cec_event __user * parg) cec_dqevent() argument 358 cec_g_mode(struct cec_adapter * adap,struct cec_fh * fh,u32 __user * parg) cec_g_mode() argument 368 cec_s_mode(struct cec_adapter * adap,struct cec_fh * fh,u32 __user * parg) cec_s_mode() argument 506 struct cec_fh *fh = filp->private_data; cec_ioctl() local 558 struct cec_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); cec_open() local 632 struct cec_fh *fh = filp->private_data; cec_release() local [all...] |
/linux/net/ipv6/netfilter/ |
H A D | ip6t_frag.c | 38 const struct frag_hdr *fh; in frag_mt6() local 50 fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag); in frag_mt6() 51 if (fh == NULL) { in frag_mt6() 56 pr_debug("INFO %04X ", fh->frag_off); in frag_mt6() 57 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7); in frag_mt6() 58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); in frag_mt6() 59 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF)); in frag_mt6() 60 pr_debug("ID %u %08X\n", ntohl(fh->identification), in frag_mt6() 61 ntohl(fh in frag_mt6() [all...] |
/linux/fs/nfsd/ |
H A D | nfs2acl.c | 36 svc_fh *fh; in nfsacld_proc_getacl() local 38 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getacl() 40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl() 41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl() 45 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl() 53 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl() 100 svc_fh *fh; in nfsacld_proc_setacl() local 103 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl() [all...] |
H A D | nfs3acl.c | 34 svc_fh *fh; in nfsd3_proc_getacl() local 36 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl() 37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl() 41 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl() 92 svc_fh *fh; in nfsd3_proc_setacl() local 95 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl() [all...] |
H A D | nfs3proc.c | 73 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd3_proc_getattr() 75 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 76 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr() 81 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd3_proc_getattr() 101 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr() 103 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 106 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, guardtime); in nfsd3_proc_setattr() 121 SVCFH_fmt(&argp->fh), in nfsd3_proc_lookup() [all...] |
H A D | xdr3.h | 14 struct svc_fh fh; member 21 struct svc_fh fh; member 27 struct svc_fh fh; member 32 struct svc_fh fh; member 38 svc_fh fh; member 47 struct svc_fh fh; member 56 struct svc_fh fh; member 91 struct svc_fh fh; member 98 struct svc_fh fh; member 104 struct svc_fh fh; member 110 struct svc_fh fh; global() member 118 struct svc_fh fh; global() member 126 struct svc_fh fh; global() member 131 struct svc_fh fh; global() member 138 struct svc_fh fh; global() member 145 struct svc_fh fh; global() member 153 struct svc_fh fh; global() member 168 struct svc_fh fh; global() member 174 struct svc_fh fh; global() member 218 struct svc_fh fh; global() member 224 struct svc_fh fh; global() member [all...] |
H A D | nfsproc.c | 50 * N.B. After this call resp->fh needs an fh_put 58 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd_proc_getattr() 60 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 61 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr() 65 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd_proc_getattr() 73 * N.B. After this call resp->fh needs an fh_put 87 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr() 90 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() [all...] |
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 20 #include <media/v4l2-fh.h> 39 struct v4l2_fh fh; member 111 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querycap() local 112 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querycap() 126 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_g_std() local 127 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_std() 139 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_std() local 140 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_std() 151 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querystd() local 152 struct pvr2_hdw *hdw = fh in pvr2_querystd() 164 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_enum_input() local 212 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_input() local 234 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_input() local 289 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_tuner() local 301 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_tuner() local 317 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_frequency() local 352 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_frequency() local 394 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_fmt_vid_cap() local 414 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_try_fmt_vid_cap() local 452 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_fmt_vid_cap() local 469 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_streamon() local 488 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_streamoff() local 503 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_query_ext_ctrl() local 564 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_querymenu() local 580 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_ext_ctrls() local 615 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_ext_ctrls() local 640 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_try_ext_ctrls() local 662 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_pixelaspect() local 678 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_selection() local 729 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_selection() local 761 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_log_status() local 1019 pvr2_v4l2_iosetup(struct pvr2_v4l2_fh * fh) pvr2_v4l2_iosetup() argument 1058 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_v4l2_read() local 1120 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_v4l2_poll() local [all...] |
/linux/scripts/ |
H A D | generate_initcall_order.pl | 25 open(my $fh, "getconf _NPROCESSORS_ONLN 2>/dev/null |") 27 my $procs = <$fh>; 28 close($fh); 59 my ($fh) = @_; 64 my $data = <$fh>; 102 open(my $fh, "\"$nm\" --defined-only \"$file\" 2>/dev/null |") 107 while (<$fh>) { 149 close($fh); 161 foreach my $fh ($select->can_read(0)) { 162 read_results($fh); [all...] |
H A D | leaking_addresses.pl | 161 open my $fh, '>', $output_raw or die "$0: $output_raw: $!\n"; 162 select $fh; 166 open my $fh, '<', $kallsyms_file or die "$0: $kallsyms_file: $!\n"; 167 while (<$fh>) { 181 close $fh; 291 open(my $fh, "<", $file) or return ""; 292 while (my $line = <$fh> ) { 300 close $fh; 479 open my $fh, "<:raw", $file or return; 481 my $bytes = <$fh>; [all...] |
/linux/drivers/staging/most/video/ |
H A D | video.c | 22 #include <media/v4l2-fh.h> 50 struct v4l2_fh fh; member 73 struct comp_fh *fh; in comp_vdev_open() local 82 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in comp_vdev_open() 83 if (!fh) in comp_vdev_open() 92 fh->mdev = mdev; in comp_vdev_open() 93 v4l2_fh_init(&fh->fh, vdev); in comp_vdev_open() 94 filp->private_data = fh; in comp_vdev_open() 118 struct comp_fh *fh = filp->private_data; comp_vdev_close() local 154 struct comp_fh *fh = filp->private_data; comp_vdev_read() local 203 struct comp_fh *fh = filp->private_data; comp_vdev_poll() local 245 struct comp_fh *fh = priv; vidioc_querycap() local 279 struct comp_fh *fh = priv; vidioc_try_fmt_vid_cap() local 288 struct comp_fh *fh = priv; vidioc_s_fmt_vid_cap() local 303 struct comp_fh *fh = priv; vidioc_enum_input() local 320 struct comp_fh *fh = priv; vidioc_g_input() local 328 struct comp_fh *fh = priv; vidioc_s_input() local [all...] |
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_out() argument 311 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_sliced_vbi_out() 331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_cap() argument 333 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_vid_cap() 354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vbi_cap() argument 356 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vbi_cap() 372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_cap() argument 375 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_sliced_vbi_cap() 395 static int ivtv_g_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_out() argument 397 struct ivtv_open_id *id = fh2id(fh); in ivtv_g_fmt_vid_out() 435 ivtv_g_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_g_fmt_vid_out_overlay() argument 457 ivtv_try_fmt_sliced_vbi_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_sliced_vbi_out() argument 462 ivtv_try_fmt_vid_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_cap() argument 485 ivtv_try_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vbi_cap() argument 490 ivtv_try_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_sliced_vbi_cap() argument 511 ivtv_try_fmt_vid_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_out() argument 545 ivtv_try_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_out_overlay() argument 562 ivtv_s_fmt_sliced_vbi_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_sliced_vbi_out() argument 567 ivtv_s_fmt_vid_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_cap() argument 598 ivtv_s_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vbi_cap() argument 610 ivtv_s_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_sliced_vbi_cap() argument 629 ivtv_s_fmt_vid_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_out() argument 674 ivtv_s_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_out_overlay() argument 711 ivtv_g_register(struct file * file,void * fh,struct v4l2_dbg_register * reg) ivtv_g_register() argument 719 ivtv_s_register(struct file * file,void * fh,const struct v4l2_dbg_register * reg) ivtv_s_register() argument 728 ivtv_querycap(struct file * file,void * fh,struct v4l2_capability * vcap) ivtv_querycap() argument 739 ivtv_enumaudio(struct file * file,void * fh,struct v4l2_audio * vin) ivtv_enumaudio() argument 746 ivtv_g_audio(struct file * file,void * fh,struct v4l2_audio * vin) ivtv_g_audio() argument 754 ivtv_s_audio(struct file * file,void * fh,const struct v4l2_audio * vout) ivtv_s_audio() argument 767 ivtv_enumaudout(struct file * file,void * fh,struct v4l2_audioout * vin) ivtv_enumaudout() argument 775 ivtv_g_audout(struct file * file,void * fh,struct v4l2_audioout * vin) ivtv_g_audout() argument 783 ivtv_s_audout(struct file * file,void * fh,const struct v4l2_audioout * vout) ivtv_s_audout() argument 792 ivtv_enum_input(struct file * file,void * fh,struct v4l2_input * vin) ivtv_enum_input() argument 800 ivtv_enum_output(struct file * file,void * fh,struct v4l2_output * vout) ivtv_enum_output() argument 807 ivtv_g_pixelaspect(struct file * file,void * fh,int type,struct v4l2_fract * f) ivtv_g_pixelaspect() argument 825 ivtv_s_selection(struct file * file,void * fh,struct v4l2_selection * sel) ivtv_s_selection() argument 868 ivtv_g_selection(struct file * file,void * fh,struct v4l2_selection * sel) ivtv_g_selection() argument 914 ivtv_enum_fmt_vid_cap(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) ivtv_enum_fmt_vid_cap() argument 941 ivtv_enum_fmt_vid_out(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) ivtv_enum_fmt_vid_out() argument 968 ivtv_g_input(struct file * file,void * fh,unsigned int * i) ivtv_g_input() argument 977 ivtv_s_input(struct file * file,void * fh,unsigned int inp) ivtv_s_input() argument 1020 ivtv_g_output(struct file * file,void * fh,unsigned int * i) ivtv_g_output() argument 1032 ivtv_s_output(struct file * file,void * fh,unsigned int outp) ivtv_s_output() argument 1054 ivtv_g_frequency(struct file * file,void * fh,struct v4l2_frequency * vf) ivtv_g_frequency() argument 1068 ivtv_s_frequency(struct file * file,void * fh,const struct v4l2_frequency * vf) ivtv_s_frequency() argument 1085 ivtv_g_std(struct file * file,void * fh,v4l2_std_id * std) ivtv_g_std() argument 1158 ivtv_s_std(struct file * file,void * fh,v4l2_std_id std) ivtv_s_std() argument 1186 ivtv_s_tuner(struct file * file,void * fh,const struct v4l2_tuner * vt) ivtv_s_tuner() argument 1199 ivtv_g_tuner(struct file * file,void * fh,struct v4l2_tuner * vt) ivtv_g_tuner() argument 1215 ivtv_g_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_sliced_vbi_cap * cap) ivtv_g_sliced_vbi_cap() argument 1250 ivtv_g_enc_index(struct file * file,void * fh,struct v4l2_enc_idx * idx) ivtv_g_enc_index() argument 1276 ivtv_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) ivtv_encoder_cmd() argument 1328 ivtv_try_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) ivtv_try_encoder_cmd() argument 1358 ivtv_g_fbuf(struct file * file,void * fh,struct v4l2_framebuffer * fb) ivtv_g_fbuf() argument 1445 ivtv_s_fbuf(struct file * file,void * fh,const struct v4l2_framebuffer * fb) ivtv_s_fbuf() argument 1466 ivtv_overlay(struct file * file,void * fh,unsigned int on) ivtv_overlay() argument 1482 ivtv_subscribe_event(struct v4l2_fh * fh,const struct v4l2_event_subscription * sub) ivtv_subscribe_event() argument 1493 ivtv_log_status(struct file * file,void * fh) ivtv_log_status() argument 1585 ivtv_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dec) ivtv_decoder_cmd() argument 1594 ivtv_try_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dec) ivtv_try_decoder_cmd() argument 1645 ivtv_default(struct file * file,void * fh,bool valid_prio,unsigned int cmd,void * arg) ivtv_default() argument [all...] |
/linux/fs/gfs2/ |
H A D | export.c | 31 __be32 *fh = (__force __be32 *)p; in gfs2_encode_fh() local 43 fh[0] = cpu_to_be32(ip->i_no_formal_ino >> 32); in gfs2_encode_fh() 44 fh[1] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF); in gfs2_encode_fh() 45 fh[2] = cpu_to_be32(ip->i_no_addr >> 32); in gfs2_encode_fh() 46 fh[3] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF); in gfs2_encode_fh() 54 fh[4] = cpu_to_be32(ip->i_no_formal_ino >> 32); in gfs2_encode_fh() 55 fh[5] = cpu_to_be32(ip->i_no_formal_ino & 0xFFFFFFFF); in gfs2_encode_fh() 56 fh[6] = cpu_to_be32(ip->i_no_addr >> 32); in gfs2_encode_fh() 57 fh[7] = cpu_to_be32(ip->i_no_addr & 0xFFFFFFFF); in gfs2_encode_fh() 148 __be32 *fh in gfs2_fh_to_dentry() local 170 __be32 *fh = (__force __be32 *)fid->raw; gfs2_fh_to_parent() local [all...] |
/linux/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.c | 52 static int cx18_g_fmt_vid_cap(struct file *file, void *fh, in cx18_g_fmt_vid_cap() argument 55 struct cx18_open_id *id = fh2id(fh); in cx18_g_fmt_vid_cap() 76 static int cx18_try_fmt_vid_cap(struct file *file, void *fh, in cx18_try_fmt_vid_cap() argument 79 struct cx18_open_id *id = fh2id(fh); in cx18_try_fmt_vid_cap() 121 static int cx18_s_fmt_vid_cap(struct file *file, void *fh, in cx18_s_fmt_vid_cap() argument 124 struct cx18_open_id *id = fh2id(fh); in cx18_s_fmt_vid_cap() 133 ret = cx18_try_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap() 154 return cx18_g_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap() 261 static int cx18_g_fmt_vbi_cap(struct file *file, void *fh, in cx18_g_fmt_vbi_cap() argument 264 struct cx18 *cx = fh2id(fh) in cx18_g_fmt_vbi_cap() 280 cx18_g_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_g_fmt_sliced_vbi_cap() argument 305 cx18_try_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_try_fmt_vbi_cap() argument 311 cx18_try_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_try_fmt_sliced_vbi_cap() argument 330 cx18_s_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_s_fmt_vbi_cap() argument 360 cx18_s_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) cx18_s_fmt_sliced_vbi_cap() argument 392 cx18_g_register(struct file * file,void * fh,struct v4l2_dbg_register * reg) cx18_g_register() argument 406 cx18_s_register(struct file * file,void * fh,const struct v4l2_dbg_register * reg) cx18_s_register() argument 420 cx18_querycap(struct file * file,void * fh,struct v4l2_capability * vcap) cx18_querycap() argument 432 cx18_enumaudio(struct file * file,void * fh,struct v4l2_audio * vin) cx18_enumaudio() argument 439 cx18_g_audio(struct file * file,void * fh,struct v4l2_audio * vin) cx18_g_audio() argument 447 cx18_s_audio(struct file * file,void * fh,const struct v4l2_audio * vout) cx18_s_audio() argument 458 cx18_enum_input(struct file * file,void * fh,struct v4l2_input * vin) cx18_enum_input() argument 466 cx18_g_pixelaspect(struct file * file,void * fh,int type,struct v4l2_fract * f) cx18_g_pixelaspect() argument 479 cx18_g_selection(struct file * file,void * fh,struct v4l2_selection * sel) cx18_g_selection() argument 499 cx18_enum_fmt_vid_cap(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) cx18_enum_fmt_vid_cap() argument 516 cx18_g_input(struct file * file,void * fh,unsigned int * i) cx18_g_input() argument 524 cx18_s_input(struct file * file,void * fh,unsigned int inp) cx18_s_input() argument 561 cx18_g_frequency(struct file * file,void * fh,struct v4l2_frequency * vf) cx18_g_frequency() argument 573 cx18_s_frequency(struct file * file,void * fh,const struct v4l2_frequency * vf) cx18_s_frequency() argument 588 cx18_g_std(struct file * file,void * fh,v4l2_std_id * std) cx18_g_std() argument 596 cx18_s_std(struct file * file,void * fh,v4l2_std_id std) cx18_s_std() argument 645 cx18_s_tuner(struct file * file,void * fh,const struct v4l2_tuner * vt) cx18_s_tuner() argument 657 cx18_g_tuner(struct file * file,void * fh,struct v4l2_tuner * vt) cx18_g_tuner() argument 673 cx18_g_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_sliced_vbi_cap * cap) cx18_g_sliced_vbi_cap() argument 794 cx18_g_enc_index(struct file * file,void * fh,struct v4l2_enc_idx * idx) cx18_g_enc_index() argument 841 cx18_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) cx18_encoder_cmd() argument 900 cx18_try_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) cx18_try_encoder_cmd() argument 933 cx18_log_status(struct file * file,void * fh) cx18_log_status() argument 976 cx18_default(struct file * file,void * fh,bool valid_prio,unsigned int cmd,void * arg) cx18_default() argument [all...] |
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-sdr-cap.h | 11 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band); 12 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf); 13 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf); 14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt); 16 int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f); 17 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f); 18 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f); 19 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-vbi.c | 147 struct saa7164_vbi_fh *fh = file->private_data; in vidioc_s_std() local 149 return saa7164_s_std(fh->port->enc_port, id); in vidioc_s_std() 154 struct saa7164_encoder_fh *fh = file->private_data; in vidioc_g_std() local 156 return saa7164_g_std(fh->port->enc_port, id); in vidioc_g_std() 161 struct saa7164_vbi_fh *fh = file->private_data; in vidioc_g_input() local 163 return saa7164_g_input(fh->port->enc_port, i); in vidioc_g_input() 168 struct saa7164_vbi_fh *fh = file->private_data; in vidioc_s_input() local 170 return saa7164_s_input(fh->port->enc_port, i); in vidioc_s_input() 176 struct saa7164_vbi_fh *fh = file->private_data; in vidioc_g_frequency() local 178 return saa7164_g_frequency(fh in vidioc_g_frequency() 184 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_frequency() local 195 struct saa7164_vbi_fh *fh = file->private_data; vidioc_querycap() local 414 struct saa7164_vbi_fh *fh; fops_open() local 439 struct saa7164_vbi_fh *fh = file->private_data; fops_release() local 492 struct saa7164_vbi_fh *fh = file->private_data; fops_read() local 599 struct saa7164_vbi_fh *fh = (struct saa7164_vbi_fh *)file->private_data; fops_poll() local [all...] |
/linux/drivers/clk/mediatek/ |
H A D | clk-pllfh.c | 31 struct mtk_fh *fh = to_mtk_fh(hw); in mtk_fhctl_set_rate() local 37 return fh->ops->hopping(fh, pcw, postdiv); in mtk_fhctl_set_rate() 115 static int pllfh_init(struct mtk_fh *fh, struct mtk_pllfh_data *pllfh_data) in pllfh_init() argument 117 struct fh_pll_regs *regs = &fh->regs; in pllfh_init() 138 fh->pllfh_data = pllfh_data; in pllfh_init() 139 fh->lock = &pllfh_lock; in pllfh_init() 141 fh->ops = fhctl_get_ops(); in pllfh_init() 156 struct mtk_fh *fh; in mtk_clk_register_pllfh() local 159 fh in mtk_clk_register_pllfh() 186 struct mtk_fh *fh; mtk_clk_unregister_pllfh() local [all...] |
/linux/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 157 struct fc_frame_header *fh; in fc_fill_hdr() local 162 fh = __fc_frame_header_get(fp); in fc_fill_hdr() 178 fh->fh_r_ctl = r_ctl; in fc_fill_hdr() 179 memcpy(fh->fh_d_id, in_fh->fh_s_id, sizeof(fh->fh_d_id)); in fc_fill_hdr() 180 memcpy(fh->fh_s_id, in_fh->fh_d_id, sizeof(fh->fh_s_id)); in fc_fill_hdr() 181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr() 182 hton24(fh->fh_f_ctl, f_ctl); in fc_fill_hdr() 183 fh in fc_fill_hdr() [all...] |
H A D | fc_exch.c | 265 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr() local 290 hton24(fh->fh_f_ctl, f_ctl | fill); in fc_exch_setup_hdr() 297 /* Initialize remaining fh fields from fc_fill_fc_hdr */ in fc_exch_setup_hdr() 298 fh->fh_ox_id = htons(ep->oxid); in fc_exch_setup_hdr() 299 fh->fh_rx_id = htons(ep->rxid); in fc_exch_setup_hdr() 300 fh->fh_seq_id = ep->seq.id; in fc_exch_setup_hdr() 301 fh->fh_seq_cnt = htons(ep->seq.cnt); in fc_exch_setup_hdr() 467 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_send_locked() local 470 u8 fh_type = fh->fh_type; in fc_seq_send_locked() 481 f_ctl = ntoh24(fh in fc_seq_send_locked() 995 struct fc_frame_header *fh; fc_exch_resp() local 1042 struct fc_frame_header *fh = fc_frame_header_get(fp); fc_seq_lookup_recip() local 1171 struct fc_frame_header *fh = fc_frame_header_get(fp); fc_seq_lookup_orig() local 1279 struct fc_frame_header *fh; fc_seq_send_ack() local 1343 struct fc_frame_header *fh; fc_exch_send_ba_rjt() local 1415 struct fc_frame_header *fh; fc_exch_recv_abts() local 1512 struct fc_frame_header *fh = fc_frame_header_get(fp); fc_exch_recv_req() local 1573 struct fc_frame_header *fh = fc_frame_header_get(fp); fc_exch_recv_seq_resp() local 1689 struct fc_frame_header *fh; fc_exch_abts_resp() local 1766 struct fc_frame_header *fh; fc_exch_recv_bls() local 2185 struct fc_frame_header *fh; fc_exch_seq_send() local 2576 fc_find_ema(u32 f_ctl,struct fc_lport * lport,struct fc_frame_header * fh) fc_find_ema() argument 2604 struct fc_frame_header *fh = fc_frame_header_get(fp); fc_exch_recv() local [all...] |
/linux/arch/s390/pci/ |
H A D | pci_event.c | 24 u32 fh; /* function handle */ member 41 u32 fh; /* function handle */ member 294 u32 fh = 0; in __zpci_event_error() local 297 zpci_dbg(3, "err fid:%x, fh:%x, pec:%x\n", in __zpci_event_error() 298 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_error() 304 rc = clp_refresh_fh(zdev->fid, &fh); in __zpci_event_error() 307 if (!fh || ccdf->fh != fh) { in __zpci_event_error() 309 zpci_dbg(3, "err fid:%x, fh in __zpci_event_error() 352 zpci_event_hard_deconfigured(struct zpci_dev * zdev,u32 fh) zpci_event_hard_deconfigured() argument [all...] |
/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 29 #include <media/v4l2-fh.h> 50 struct v4l2_fh fh; member 77 static inline struct mxc_isi_m2m_ctx *to_isi_m2m_ctx(struct v4l2_fh *fh) in to_isi_m2m_ctx() argument 79 return container_of(fh, struct mxc_isi_m2m_ctx, fh); in to_isi_m2m_ctx() 108 src_vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 109 dst_vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 119 v4l2_m2m_job_finish(m2m->m2m_dev, ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 169 src_vbuf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mxc_isi_m2m_device_run() 170 dst_vbuf = v4l2_m2m_next_dst_buf(ctx->fh in mxc_isi_m2m_device_run() 380 mxc_isi_m2m_querycap(struct file * file,void * fh,struct v4l2_capability * cap) mxc_isi_m2m_querycap() argument 391 mxc_isi_m2m_enum_fmt_vid(struct file * file,void * fh,struct v4l2_fmtdesc * f) mxc_isi_m2m_enum_fmt_vid() argument 424 mxc_isi_m2m_try_fmt_vid(struct file * file,void * fh,struct v4l2_format * f) mxc_isi_m2m_try_fmt_vid() argument 437 mxc_isi_m2m_g_fmt_vid(struct file * file,void * fh,struct v4l2_format * f) mxc_isi_m2m_g_fmt_vid() argument 449 mxc_isi_m2m_s_fmt_vid(struct file * file,void * fh,struct v4l2_format * f) mxc_isi_m2m_s_fmt_vid() argument 484 mxc_isi_m2m_streamon(struct file * file,void * fh,enum v4l2_buf_type type) mxc_isi_m2m_streamon() argument 572 mxc_isi_m2m_streamoff(struct file * file,void * fh,enum v4l2_buf_type type) mxc_isi_m2m_streamoff() argument [all...] |