/drivers/media/pci/cx23885/ |
H A D | cx23885-ioctl.c | 24 int cx23885_g_chip_info(struct file *file, void *fh, argument 60 int cx23885_g_register(struct file *file, void *fh, argument 92 int cx23885_s_register(struct file *file, void *fh, argument
|
/drivers/media/v4l2-core/ |
H A D | v4l2-fh.c | 2 * v4l2-fh.c 29 #include <media/v4l2-fh.h> 33 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) argument 35 fh->vdev = vdev; 37 fh->ctrl_handler = vdev->ctrl_handler; 38 INIT_LIST_HEAD(&fh->list); 39 set_bit(V4L2_FL_USES_V4L2_FH, &fh->vdev->flags); 47 fh->prio = V4L2_PRIORITY_UNSET; 48 init_waitqueue_head(&fh->wait); 49 INIT_LIST_HEAD(&fh 55 v4l2_fh_add(struct v4l2_fh *fh) argument 69 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); local 80 v4l2_fh_del(struct v4l2_fh *fh) argument 91 v4l2_fh_exit(struct v4l2_fh *fh) argument 102 struct v4l2_fh *fh = filp->private_data; local 113 v4l2_fh_is_singular(struct v4l2_fh *fh) argument [all...] |
/drivers/scsi/libfc/ |
H A D | fc_elsct.c | 94 struct fc_frame_header *fh; local 113 fh = fc_frame_header_get(fp); 114 switch (fh->fh_type) {
|
/drivers/media/platform/vivid/ |
H A D | vivid-radio-tx.c | 112 int vidioc_g_modulator(struct file *file, void *fh, struct v4l2_modulator *a) argument 131 int vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a) argument
|
H A D | vivid-radio-rx.c | 147 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) argument 159 int vivid_radio_rx_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a) argument 226 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) argument 279 int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) argument
|
H A D | vivid-vbi-out.c | 176 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 188 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 204 int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 208 int ret = vidioc_try_fmt_sliced_vbi_out(file, fh, fmt);
|
H A D | vivid-vbi-cap.c | 295 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 307 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 323 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 327 int ret = vidioc_try_fmt_sliced_vbi_cap(file, fh, fmt); 339 int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) argument
|
/drivers/media/platform/vsp1/ |
H A D | vsp1_rwpf.c | 28 struct v4l2_subdev_fh *fh, 45 struct v4l2_subdev_fh *fh, 51 format = v4l2_subdev_get_try_format(fh, fse->pad); 75 vsp1_rwpf_get_crop(struct vsp1_rwpf *rwpf, struct v4l2_subdev_fh *fh, u32 which) argument 79 return v4l2_subdev_get_try_crop(fh, RWPF_PAD_SINK); 87 int vsp1_rwpf_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 92 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, fh, fmt->pad, 98 int vsp1_rwpf_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 110 format = vsp1_entity_get_pad_format(&rwpf->entity, fh, fmt->pad, 133 crop = vsp1_rwpf_get_crop(rwpf, fh, fm 27 vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 44 vsp1_rwpf_enum_frame_size(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_frame_size_enum *fse) argument 147 vsp1_rwpf_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument 179 vsp1_rwpf_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument [all...] |
H A D | vsp1_entity.c | 66 struct v4l2_subdev_fh *fh, 71 return v4l2_subdev_get_try_format(fh, pad); 82 * @fh: V4L2 subdev file handle 84 * Initialize all pad formats with default values. If fh is not NULL, try 89 struct v4l2_subdev_fh *fh) 98 format.which = fh ? V4L2_SUBDEV_FORMAT_TRY 101 v4l2_subdev_call(subdev, pad, set_fmt, fh, &format); 106 struct v4l2_subdev_fh *fh) 108 vsp1_entity_init_formats(subdev, fh); 65 vsp1_entity_get_pad_format(struct vsp1_entity *entity, struct v4l2_subdev_fh *fh, unsigned int pad, u32 which) argument 88 vsp1_entity_init_formats(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh) argument 105 vsp1_entity_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh) argument
|
H A D | vsp1_hsit.c | 63 struct v4l2_subdev_fh *fh, 81 struct v4l2_subdev_fh *fh, 86 format = v4l2_subdev_get_try_format(fh, fse->pad); 110 struct v4l2_subdev_fh *fh, 115 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, fh, fmt->pad, 122 struct v4l2_subdev_fh *fh, 128 format = vsp1_entity_get_pad_format(&hsit->entity, fh, fmt->pad, 151 format = vsp1_entity_get_pad_format(&hsit->entity, fh, HSIT_PAD_SOURCE, 62 hsit_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 80 hsit_enum_frame_size(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_frame_size_enum *fse) argument 109 hsit_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_format *fmt) argument 121 hsit_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_format *fmt) argument
|
H A D | vsp1_lif.c | 77 struct v4l2_subdev_fh *fh, 99 format = v4l2_subdev_get_try_format(fh, LIF_PAD_SINK); 107 struct v4l2_subdev_fh *fh, 112 format = v4l2_subdev_get_try_format(fh, LIF_PAD_SINK); 132 static int lif_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 137 fmt->format = *vsp1_entity_get_pad_format(&lif->entity, fh, fmt->pad, 143 static int lif_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 154 format = vsp1_entity_get_pad_format(&lif->entity, fh, fmt->pad, 176 format = vsp1_entity_get_pad_format(&lif->entity, fh, LIF_PAD_SOURCE, 76 lif_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 106 lif_enum_frame_size(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_frame_size_enum *fse) argument
|
H A D | vsp1_lut.c | 85 struct v4l2_subdev_fh *fh, 107 format = v4l2_subdev_get_try_format(fh, LUT_PAD_SINK); 115 struct v4l2_subdev_fh *fh, 120 format = v4l2_subdev_get_try_format(fh, fse->pad); 143 static int lut_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 148 fmt->format = *vsp1_entity_get_pad_format(&lut->entity, fh, fmt->pad, 154 static int lut_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 166 format = vsp1_entity_get_pad_format(&lut->entity, fh, fmt->pad, 185 format = vsp1_entity_get_pad_format(&lut->entity, fh, LUT_PAD_SOURCE, 84 lut_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 114 lut_enum_frame_size(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_frame_size_enum *fse) argument
|
H A D | vsp1_bru.c | 186 struct v4l2_subdev_fh *fh, 204 format = v4l2_subdev_get_try_format(fh, BRU_PAD_SINK(0)); 212 struct v4l2_subdev_fh *fh, 231 struct v4l2_subdev_fh *fh, 236 return v4l2_subdev_get_try_crop(fh, pad); 244 static int bru_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 249 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, fh, fmt->pad, 255 static void bru_try_format(struct vsp1_bru *bru, struct v4l2_subdev_fh *fh, argument 271 format = vsp1_entity_get_pad_format(&bru->entity, fh, 283 static int bru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, argument 185 bru_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 211 bru_enum_frame_size(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_frame_size_enum *fse) argument 230 bru_get_compose(struct vsp1_bru *bru, struct v4l2_subdev_fh *fh, unsigned int pad, u32 which) argument 320 bru_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument 346 bru_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_selection *sel) argument [all...] |
/drivers/media/usb/au0828/ |
H A D | au0828-vbi.c | 40 struct au0828_fh *fh = vq->priv_data; local 41 struct au0828_dev *dev = fh->dev; 67 struct au0828_fh *fh = q->priv_data; local 68 struct au0828_dev *dev = fh->dev; 85 struct au0828_fh *fh = q->priv_data; local 86 struct au0828_dev *dev = fh->dev; 119 struct au0828_fh *fh = vq->priv_data; local 120 struct au0828_dev *dev = fh->dev;
|
/drivers/media/pci/cx88/ |
H A D | cx88-vbi.c | 25 struct cx8800_fh *fh = priv; local 26 struct cx8800_dev *dev = fh->dev; 160 struct cx8800_fh *fh = q->priv_data; local 161 struct cx8800_dev *dev = fh->dev; 198 struct cx8800_fh *fh = vq->priv_data; local 199 struct cx8800_dev *dev = fh->dev;
|
/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 221 struct fc_frame_header *fh; local 235 fh = fc_frame_header_get(fp); 236 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) 239 f_ctl = ntoh24(fh->fh_f_ctl); 281 rel_off = ntohl(fh->fh_parm_offset); 283 if (frame_len <= sizeof(*fh)) 285 frame_len -= sizeof(*fh);
|
/drivers/firmware/efi/libstub/ |
H A D | arm-stub.c | 49 efi_file_handle_t *fh; local 61 status = io->open_volume(io, &fh); 65 *__fh = fh; 71 efi_file_handle_t *fh = handle; local 73 return fh->close(handle); 79 efi_file_handle_t *fh = handle; local 81 return fh->read(handle, size, addr); 89 efi_file_handle_t *h, *fh = __fh; local 95 status = fh->open(fh, [all...] |
/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 9 int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit) argument 11 struct saa7146_dev *dev = fh->dev; 14 if (fh->resources & bit) { 29 fh->resources |= bit; 35 void saa7146_res_free(struct saa7146_fh *fh, unsigned int bits) argument 37 struct saa7146_dev *dev = fh->dev; 40 BUG_ON((fh->resources & bits) != bits); 42 fh->resources &= ~bits; 199 struct saa7146_fh *fh = NULL; local 217 fh 263 struct saa7146_fh *fh = file->private_data; local 293 struct saa7146_fh *fh = file->private_data; local 326 struct saa7146_fh *fh = file->private_data; local 376 struct saa7146_fh *fh = file->private_data; local 407 struct saa7146_fh *fh = file->private_data; local [all...] |
H A D | saa7146_vbi.c | 221 struct saa7146_fh *fh = file->private_data; local 222 struct saa7146_dev *dev = fh->dev; 291 struct saa7146_fh *fh = file->private_data; local 292 struct saa7146_dev *dev = fh->dev; 303 struct saa7146_fh *fh = file->private_data; local 304 struct saa7146_dev *dev = fh->dev; 320 static void vbi_stop(struct saa7146_fh *fh, struct file *file) argument 322 struct saa7146_dev *dev = fh->dev; 325 DEB_VBI("dev:%p, fh:%p\n", dev, fh); 354 struct saa7146_fh *fh = file->private_data; local 378 struct saa7146_fh *fh = file->private_data; local 427 struct saa7146_fh *fh = file->private_data; local 458 struct saa7146_fh *fh = file->private_data; local [all...] |
/drivers/media/i2c/ |
H A D | adp1653.c | 351 static int adp1653_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) argument 356 static int adp1653_close(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) argument
|
H A D | s5k6a3.c | 102 struct v4l2_subdev_fh *fh, 126 struct s5k6a3 *sensor, struct v4l2_subdev_fh *fh, 130 return fh ? v4l2_subdev_get_try_format(fh, pad) : NULL; 136 struct v4l2_subdev_fh *fh, 144 mf = __s5k6a3_get_format(sensor, fh, fmt->pad, fmt->which); 155 struct v4l2_subdev_fh *fh, 161 mf = __s5k6a3_get_format(sensor, fh, fmt->pad, fmt->which); 175 static int s5k6a3_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) argument 177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(fh, 101 s5k6a3_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 125 __s5k6a3_get_format( struct s5k6a3 *sensor, struct v4l2_subdev_fh *fh, u32 pad, enum v4l2_subdev_format_whence which) argument 135 s5k6a3_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_format *fmt) argument 154 s5k6a3_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_format *fmt) argument [all...] |
/drivers/media/pci/bt8xx/ |
H A D | bttv-vbi.c | 85 struct bttv_fh *fh = q->priv_data; local 86 struct bttv *btv = fh->btv; 91 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); 94 fh->vbi_fmt.fmt.samples_per_line, 95 fh->vbi_fmt.fmt.start[0], 96 fh->vbi_fmt.fmt.start[1], 97 fh->vbi_fmt.fmt.count[0], 98 fh->vbi_fmt.fmt.count[1]); 107 struct bttv_fh *fh = q->priv_data; local 108 struct bttv *btv = fh 213 struct bttv_fh *fh = q->priv_data; local 228 struct bttv_fh *fh = q->priv_data; local 314 struct bttv_fh *fh = f; local 332 struct bttv_fh *fh = f; local 380 struct bttv_fh *fh = f; local [all...] |
/drivers/media/pci/saa7146/ |
H A D | hexium_gemini.c | 214 static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i) argument 227 static int vidioc_g_input(struct file *file, void *fh, unsigned int *input) argument 229 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; 238 static int vidioc_s_input(struct file *file, void *fh, unsigned int input) argument 240 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev;
|
H A D | hexium_orion.c | 326 static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i) argument 339 static int vidioc_g_input(struct file *file, void *fh, unsigned int *input) argument 341 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; 350 static int vidioc_s_input(struct file *file, void *fh, unsigned int input) argument 352 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev;
|
/drivers/media/platform/s5p-g2d/ |
H A D | g2d.h | 58 struct v4l2_fh fh; member in struct:g2d_ctx
|