Searched defs:inp (Results 1 - 25 of 29) sorted by relevance

12

/drivers/media/pci/cx18/
H A Dcx18-video.c28 int inp = cx->active_input; local
31 cx->card->video_inputs[inp].video_input, 0, 0);
H A Dcx18-ioctl.c508 int cx18_s_input(struct file *file, void *fh, unsigned int inp) argument
513 if (inp >= cx->nof_inputs)
516 if (inp == cx->active_input) {
522 cx->active_input, inp);
524 cx->active_input = inp;
526 cx->audio_input = cx->card->video_inputs[inp].audio_index;
/drivers/media/pci/ivtv/
H A Divtv-routing.c64 int inp = itv->active_input; local
69 itv->card->video_inputs[inp].video_input, 0, 0);
71 type = itv->card->video_inputs[inp].video_type;
H A Divtv-ioctl.c959 int ivtv_s_input(struct file *file, void *fh, unsigned int inp) argument
965 if (inp >= itv->nof_inputs)
968 if (inp == itv->active_input) {
978 itv->active_input, inp);
980 itv->active_input = inp;
983 itv->audio_input = itv->card->video_inputs[inp].audio_index;
985 if (itv->card->video_inputs[inp].video_type == IVTV_CARD_INPUT_VID_TUNER)
/drivers/net/fddi/skfp/h/
H A Dtypes.h32 #define inp(p) ioread8(p) macro
/drivers/input/misc/
H A Dgpio_matrix.c79 int out, in, inp; local
86 inp = -1;
90 if (inp == -1) {
91 inp = in;
94 if (inp >= 0) {
96 inp))
98 clear_phantom_key(kp, out, inp);
99 inp = -2;
/drivers/s390/crypto/
H A Dzcrypt_pcica.c137 unsigned char *p, *q, *dp, *dq, *u, *inp; local
157 inp = scr->message + sizeof(scr->message) - mod_len;
171 inp = lcr->message + sizeof(lcr->message) - mod_len;
179 copy_from_user(inp, crt->inputdata, mod_len))
H A Dzcrypt_msgtype50.c189 unsigned char *mod, *exp, *inp; local
203 inp = meb1->message + sizeof(meb1->message) - mod_len;
213 inp = meb2->message + sizeof(meb2->message) - mod_len;
224 inp = meb3->message + sizeof(meb3->message) - mod_len;
229 copy_from_user(inp, mex->inputdata, mod_len))
248 unsigned char *p, *q, *dp, *dq, *u, *inp; local
271 inp = crb1->message + sizeof(crb1->message) - mod_len;
284 inp = crb2->message + sizeof(crb2->message) - mod_len;
298 inp = crb3->message + sizeof(crb3->message) - mod_len;
311 copy_from_user(inp, cr
[all...]
/drivers/s390/block/
H A Ddasd_eer.c532 static int dasd_eer_open(struct inode *inp, struct file *filp) argument
567 return nonseekable_open(inp,filp);
570 static int dasd_eer_close(struct inode *inp, struct file *filp) argument
/drivers/media/platform/
H A Darv.c425 static int ar_g_input(struct file *file, void *fh, unsigned int *inp) argument
427 *inp = 0;
431 static int ar_s_input(struct file *file, void *fh, unsigned int inp) argument
433 return inp ? -EINVAL : 0;
H A Dtimblogiw.c361 struct v4l2_input *inp)
368 if (inp->index != 0)
371 inp->index = 0;
373 strncpy(inp->name, "Timb input 1", sizeof(inp->name) - 1);
374 inp->type = V4L2_INPUT_TYPE_CAMERA;
376 inp->std = 0;
378 inp->std |= timblogiw_tvnorms[i].std;
360 timblogiw_enuminput(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c627 struct v4l2_input *inp)
631 if (inp->index >= go->board_info->num_inputs)
634 strncpy(inp->name, go->board_info->inputs[inp->index].name,
635 sizeof(inp->name));
639 inp->index == 0)
640 inp->type = V4L2_INPUT_TYPE_TUNER;
642 inp->type = V4L2_INPUT_TYPE_CAMERA;
645 inp->audioset = (1 << go->board_info->num_aud_inputs) - 1;
647 inp
626 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
[all...]
/drivers/media/parport/
H A Dbw-qcam.c738 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) argument
740 *inp = 0;
744 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) argument
746 return (inp > 0) ? -EINVAL : 0;
H A Dc-qcam.c540 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) argument
542 *inp = 0;
546 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) argument
548 return (inp > 0) ? -EINVAL : 0;
H A Dpms.c714 static int pms_g_input(struct file *file, void *fh, unsigned int *inp) argument
718 *inp = dev->input;
722 static int pms_s_input(struct file *file, void *fh, unsigned int inp) argument
726 if (inp > 3)
729 dev->input = inp;
730 pms_videosource(dev, inp & 1);
731 pms_vcrinput(dev, inp >> 1);
H A Dw9966.c592 static int cam_g_input(struct file *file, void *fh, unsigned int *inp) argument
594 *inp = 0;
598 static int cam_s_input(struct file *file, void *fh, unsigned int inp) argument
600 return (inp > 0) ? -EINVAL : 0;
/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c507 struct v4l2_input *inp)
509 if (inp->index > 1)
512 inp->type = V4L2_INPUT_TYPE_CAMERA;
513 inp->std = V4L2_STD_ALL;
514 sprintf(inp->name, "Camera %u", inp->index);
506 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/pci/zoran/
H A Dzoran_driver.c2433 struct v4l2_input *inp)
2438 if (inp->index >= zr->card.inputs)
2441 strncpy(inp->name, zr->card.input[inp->index].name,
2442 sizeof(inp->name) - 1);
2443 inp->type = V4L2_INPUT_TYPE_CAMERA;
2444 inp->std = V4L2_STD_ALL;
2448 decoder_call(zr, video, g_input_status, &inp->status);
2432 zoran_enum_input(struct file *file, void *__fh, struct v4l2_input *inp) argument
/drivers/media/platform/davinci/
H A Dvpfe_capture.c1076 struct v4l2_input *inp)
1087 inp->index) < 0) {
1093 memcpy(inp, &sdinfo->inputs[index], sizeof(struct v4l2_input));
1075 vpfe_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/platform/soc_camera/
H A Dsoc_camera.c286 struct v4l2_input *inp)
288 if (inp->index != 0)
292 inp->type = V4L2_INPUT_TYPE_CAMERA;
293 strcpy(inp->name, "Camera");
285 soc_camera_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/platform/vivid/
H A Dvivid-vid-cap.c1207 struct v4l2_input *inp)
1211 if (inp->index >= dev->num_inputs)
1214 inp->type = V4L2_INPUT_TYPE_CAMERA;
1215 switch (dev->input_type[inp->index]) {
1217 snprintf(inp->name, sizeof(inp->name), "Webcam %u",
1218 dev->input_name_counter[inp->index]);
1219 inp->capabilities = 0;
1222 snprintf(inp->name, sizeof(inp
1206 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c292 static int pvr2_s_input(struct file *file, void *priv, unsigned int inp) argument
297 if (inp >= fh->input_cnt)
301 fh->input_map[inp]);
/drivers/scsi/lpfc/
H A Dlpfc_ct.c291 struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp,
321 geniocb->context1 = (uint8_t *) inp;
737 struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *) cmdiocb->context1; local
744 did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId;
859 struct lpfc_dmabuf *inp; local
874 inp = (struct lpfc_dmabuf *) cmdiocb->context1;
878 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)->
1290 struct lpfc_dmabuf *inp = cmdiocb->context1; local
1293 struct lpfc_sli_ct_request *CTcmd = inp->virt;
290 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, struct lpfc_iocbq *), struct lpfc_nodelist *ndlp, uint32_t usr_flg, uint32_t num_entry, uint32_t tmo, uint8_t retry) argument
/drivers/staging/media/davinci_vpfe/
H A Dvpfe_video.c774 struct v4l2_input *inp)
782 if (inp->index < sdinfo->num_inputs) {
783 memcpy(inp, &sdinfo->inputs[inp->index],
773 vpfe_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/staging/media/omap24xx/
H A Domap24xxcam.c1214 struct v4l2_input *inp)
1216 if (inp->index > 0)
1219 strlcpy(inp->name, "camera", sizeof(inp->name));
1220 inp->type = V4L2_INPUT_TYPE_CAMERA;
1213 vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *inp) argument

Completed in 421 milliseconds

12