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

12

/drivers/media/video/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.c580 int cx18_s_input(struct file *file, void *fh, unsigned int inp) argument
585 if (inp >= cx->nof_inputs)
588 if (inp == cx->active_input) {
594 cx->active_input, inp);
596 cx->active_input = inp;
598 cx->audio_input = cx->card->video_inputs[inp].audio_index;
/drivers/media/video/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.c983 int ivtv_s_input(struct file *file, void *fh, unsigned int inp) argument
987 if (inp < 0 || inp >= itv->nof_inputs)
990 if (inp == itv->active_input) {
1000 itv->active_input, inp);
1002 itv->active_input = inp;
1005 itv->audio_input = itv->card->video_inputs[inp].audio_index;
/drivers/net/fddi/skfp/h/
H A Dtypes.h32 #define inp(p) ioread8(p) macro
/drivers/staging/media/go7007/
H A Dwis-uda1342.c40 int *inp = arg; local
42 switch (*inp) {
51 *inp);
H A Dgo7007-v4l2.c1177 struct v4l2_input *inp)
1181 if (inp->index >= go->board_info->num_inputs)
1184 strncpy(inp->name, go->board_info->inputs[inp->index].name,
1185 sizeof(inp->name));
1189 inp->index == go->board_info->num_inputs - 1)
1190 inp->type = V4L2_INPUT_TYPE_TUNER;
1192 inp->type = V4L2_INPUT_TYPE_CAMERA;
1194 inp->audioset = 0;
1195 inp
1176 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
[all...]
/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_cex2a.c98 unsigned char *mod, *exp, *inp; local
112 inp = meb1->message + sizeof(meb1->message) - mod_len;
122 inp = meb2->message + sizeof(meb2->message) - mod_len;
133 inp = meb3->message + sizeof(meb3->message) - mod_len;
138 copy_from_user(inp, mex->inputdata, mod_len))
157 unsigned char *p, *q, *dp, *dq, *u, *inp; local
199 inp = crb1->message + sizeof(crb1->message) - mod_len;
212 inp = crb2->message + sizeof(crb2->message) - mod_len;
226 inp = crb3->message + sizeof(crb3->message) - mod_len;
234 copy_from_user(inp, cr
[all...]
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))
/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/video/
H A Darv.c423 static int ar_g_input(struct file *file, void *fh, unsigned int *inp) argument
425 *inp = 0;
429 static int ar_s_input(struct file *file, void *fh, unsigned int inp) argument
431 return inp ? -EINVAL : 0;
H A Dtimblogiw.c362 struct v4l2_input *inp)
369 if (inp->index != 0)
372 inp->index = 0;
374 strncpy(inp->name, "Timb input 1", sizeof(inp->name) - 1);
375 inp->type = V4L2_INPUT_TYPE_CAMERA;
377 inp->std = 0;
379 inp->std |= timblogiw_tvnorms[i].std;
361 timblogiw_enuminput(struct file *file, void *priv, struct v4l2_input *inp) argument
H A Dbw-qcam.c666 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) argument
668 *inp = 0;
672 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) argument
674 return (inp > 0) ? -EINVAL : 0;
H A Dc-qcam.c536 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) argument
538 *inp = 0;
542 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) argument
544 return (inp > 0) ? -EINVAL : 0;
H A Domap24xxcam.c1217 struct v4l2_input *inp)
1219 if (inp->index > 0)
1222 strlcpy(inp->name, "camera", sizeof(inp->name));
1223 inp->type = V4L2_INPUT_TYPE_CAMERA;
1216 vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *inp) argument
H A Dpms.c704 static int pms_g_input(struct file *file, void *fh, unsigned int *inp) argument
708 *inp = dev->input;
712 static int pms_s_input(struct file *file, void *fh, unsigned int inp) argument
716 if (inp > 3)
720 dev->input = inp;
721 pms_videosource(dev, inp & 1);
722 pms_vcrinput(dev, inp >> 1);
H A Dsoc_camera.c216 struct v4l2_input *inp)
218 if (inp->index != 0)
222 inp->type = V4L2_INPUT_TYPE_CAMERA;
223 inp->std = V4L2_STD_UNKNOWN;
224 strcpy(inp->name, "Camera");
215 soc_camera_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
H A Dw9966.c587 static int cam_g_input(struct file *file, void *fh, unsigned int *inp) argument
589 *inp = 0;
593 static int cam_s_input(struct file *file, void *fh, unsigned int inp) argument
595 return (inp > 0) ? -EINVAL : 0;
H A Dfsl-viu.c981 struct v4l2_input *inp)
985 if (inp->index != 0)
988 inp->type = V4L2_INPUT_TYPE_CAMERA;
989 inp->std = fh->dev->vdev->tvnorms;
990 strcpy(inp->name, "Camera");
980 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
H A Dvivi.c969 struct v4l2_input *inp)
971 if (inp->index >= NUM_INPUTS)
974 inp->type = V4L2_INPUT_TYPE_CAMERA;
975 inp->std = V4L2_STD_525_60;
976 sprintf(inp->name, "Camera %u", inp->index);
968 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/video/davinci/
H A Dvpfe_capture.c1079 struct v4l2_input *inp)
1090 inp->index) < 0) {
1096 memcpy(inp, &sdinfo->inputs[index], sizeof(struct v4l2_input));
1078 vpfe_enum_input(struct file *file, void *priv, struct v4l2_input *inp) argument
/drivers/media/video/zoran/
H A Dzoran_driver.c2442 struct v4l2_input *inp)
2447 if (inp->index >= zr->card.inputs)
2450 strncpy(inp->name, zr->card.input[inp->index].name,
2451 sizeof(inp->name) - 1);
2452 inp->type = V4L2_INPUT_TYPE_CAMERA;
2453 inp->std = V4L2_STD_ALL;
2457 decoder_call(zr, video, g_input_status, &inp->status);
2441 zoran_enum_input(struct file *file, void *__fh, struct v4l2_input *inp) argument
/drivers/scsi/lpfc/
H A Dlpfc_ct.c303 struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp,
333 geniocb->context1 = (uint8_t *) inp;
748 struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *) cmdiocb->context1; local
755 did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId;
868 struct lpfc_dmabuf *inp; local
883 inp = (struct lpfc_dmabuf *) cmdiocb->context1;
887 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)->
1297 struct lpfc_dmabuf *inp = cmdiocb->context1; local
1300 struct lpfc_sli_ct_request *CTcmd = inp->virt;
302 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/comedi/drivers/
H A Dvmk80xx.c766 int inp; local
791 inp = (((rx_buf[reg] >> 4) & 0x03) |
795 inp = rx_buf[reg];
797 data[n] = (inp >> chan) & 1;

Completed in 482 milliseconds

12