Home
last modified time | relevance | path

Searched refs:inp (Results 1 – 25 of 34) sorted by relevance

12

/drivers/s390/crypto/
Dzcrypt_msgtype50.c186 unsigned char *mod, *exp, *inp; in ICAMEX_msg_to_type50MEX_msg() local
200 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
210 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
221 inp = meb3->message + sizeof(meb3->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
226 copy_from_user(inp, mex->inputdata, mod_len)) in ICAMEX_msg_to_type50MEX_msg()
245 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local
268 inp = crb1->message + sizeof(crb1->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
281 inp = crb2->message + sizeof(crb2->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
295 inp = crb3->message + sizeof(crb3->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
308 copy_from_user(inp, crt->inputdata, mod_len)) in ICACRT_msg_to_type50CRT_msg()
Dzcrypt_pcica.c134 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type4CRT_msg() local
154 inp = scr->message + sizeof(scr->message) - mod_len; in ICACRT_msg_to_type4CRT_msg()
168 inp = lcr->message + sizeof(lcr->message) - mod_len; in ICACRT_msg_to_type4CRT_msg()
176 copy_from_user(inp, crt->inputdata, mod_len)) in ICACRT_msg_to_type4CRT_msg()
/drivers/net/fddi/skfp/
Ddrvfbi.c109 i = (int) inp(ADDR(B0_CTRL)) ; /* do dummy read */ in card_start()
134 rev_id = inp(PCI_C(PCI_REV_ID)) ; in card_start()
293 bitrev8(inp(ADDR(B2_MAC_0+i))); in read_address()
297 ConnectorType = inp(ADDR(B2_CONN_TYP)) ; in read_address()
298 PmdType = inp(ADDR(B2_PMD_TYP)) ; in read_address()
328 if (!(inp(ADDR(B0_DAS)) & DAS_AVAIL)) in init_board()
333 if (!(inp(ADDR(B0_DAS)) & DAS_BYP_ST)) in init_board()
369 return (inp(ADDR(B0_DAS)) & DAS_BYP_ST) ? TRUE : FALSE; in sm_pm_bypass_present()
/drivers/input/misc/
Dgpio_matrix.c79 int out, in, inp; in remove_phantom_keys() local
86 inp = -1; in remove_phantom_keys()
90 if (inp == -1) { in remove_phantom_keys()
91 inp = in; in remove_phantom_keys()
94 if (inp >= 0) { in remove_phantom_keys()
96 inp)) in remove_phantom_keys()
98 clear_phantom_key(kp, out, inp); in remove_phantom_keys()
99 inp = -2; in remove_phantom_keys()
/drivers/media/pci/ivtv/
Divtv-routing.c64 int inp = itv->active_input; in ivtv_video_set_io() local
69 itv->card->video_inputs[inp].video_input, 0, 0); in ivtv_video_set_io()
71 type = itv->card->video_inputs[inp].video_type; in ivtv_video_set_io()
Divtv-ioctl.h33 int ivtv_s_input(struct file *file, void *fh, unsigned int inp);
Divtv-ioctl.c993 int ivtv_s_input(struct file *file, void *fh, unsigned int inp) in ivtv_s_input() argument
999 if (inp >= itv->nof_inputs) in ivtv_s_input()
1002 if (inp == itv->active_input) { in ivtv_s_input()
1012 itv->active_input, inp); in ivtv_s_input()
1014 itv->active_input = inp; in ivtv_s_input()
1017 itv->audio_input = itv->card->video_inputs[inp].audio_index; in ivtv_s_input()
1019 if (itv->card->video_inputs[inp].video_type == IVTV_CARD_INPUT_VID_TUNER) in ivtv_s_input()
/drivers/media/pci/cx18/
Dcx18-video.c28 int inp = cx->active_input; in cx18_video_set_io() local
31 cx->card->video_inputs[inp].video_input, 0, 0); in cx18_video_set_io()
Dcx18-ioctl.h31 int cx18_s_input(struct file *file, void *fh, unsigned int inp);
Dcx18-ioctl.c568 int cx18_s_input(struct file *file, void *fh, unsigned int inp) in cx18_s_input() argument
573 if (inp >= cx->nof_inputs) in cx18_s_input()
576 if (inp == cx->active_input) { in cx18_s_input()
582 cx->active_input, inp); in cx18_s_input()
584 cx->active_input = inp; in cx18_s_input()
586 cx->audio_input = cx->card->video_inputs[inp].audio_index; in cx18_s_input()
/drivers/staging/media/go7007/
Dgo7007-v4l2.c695 struct v4l2_input *inp) in vidioc_enum_input() argument
699 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
702 strncpy(inp->name, go->board_info->inputs[inp->index].name, in vidioc_enum_input()
703 sizeof(inp->name)); in vidioc_enum_input()
707 inp->index == 0) in vidioc_enum_input()
708 inp->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input()
710 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
713 inp->audioset = (1 << go->board_info->num_aud_inputs) - 1; in vidioc_enum_input()
715 inp->audioset = 0; in vidioc_enum_input()
716 inp->tuner = 0; in vidioc_enum_input()
[all …]
/drivers/media/platform/
Dtimblogiw.c362 struct v4l2_input *inp) in timblogiw_enuminput() argument
369 if (inp->index != 0) in timblogiw_enuminput()
372 inp->index = 0; in timblogiw_enuminput()
374 strncpy(inp->name, "Timb input 1", sizeof(inp->name) - 1); in timblogiw_enuminput()
375 inp->type = V4L2_INPUT_TYPE_CAMERA; in timblogiw_enuminput()
377 inp->std = 0; in timblogiw_enuminput()
379 inp->std |= timblogiw_tvnorms[i].std; in timblogiw_enuminput()
Darv.c425 static int ar_g_input(struct file *file, void *fh, unsigned int *inp) in ar_g_input() argument
427 *inp = 0; in ar_g_input()
431 static int ar_s_input(struct file *file, void *fh, unsigned int inp) in ar_s_input() argument
433 return inp ? -EINVAL : 0; in ar_s_input()
Dvivi.c1067 struct v4l2_input *inp) in vidioc_enum_input() argument
1069 if (inp->index >= NUM_INPUTS) in vidioc_enum_input()
1072 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
1073 sprintf(inp->name, "Camera %u", inp->index); in vidioc_enum_input()
Domap24xxcam.c1217 struct v4l2_input *inp) in vidioc_enum_input() argument
1219 if (inp->index > 0) in vidioc_enum_input()
1222 strlcpy(inp->name, "camera", sizeof(inp->name)); in vidioc_enum_input()
1223 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
/drivers/media/parport/
Dpms.c709 static int pms_g_input(struct file *file, void *fh, unsigned int *inp) in pms_g_input() argument
713 *inp = dev->input; in pms_g_input()
717 static int pms_s_input(struct file *file, void *fh, unsigned int inp) in pms_s_input() argument
721 if (inp > 3) in pms_s_input()
724 dev->input = inp; in pms_s_input()
725 pms_videosource(dev, inp & 1); in pms_s_input()
726 pms_vcrinput(dev, inp >> 1); in pms_s_input()
Dw9966.c592 static int cam_g_input(struct file *file, void *fh, unsigned int *inp) in cam_g_input() argument
594 *inp = 0; in cam_g_input()
598 static int cam_s_input(struct file *file, void *fh, unsigned int inp) in cam_s_input() argument
600 return (inp > 0) ? -EINVAL : 0; in cam_s_input()
Dc-qcam.c540 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) in qcam_g_input() argument
542 *inp = 0; in qcam_g_input()
546 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) in qcam_s_input() argument
548 return (inp > 0) ? -EINVAL : 0; in qcam_s_input()
Dbw-qcam.c735 static int qcam_g_input(struct file *file, void *fh, unsigned int *inp) in qcam_g_input() argument
737 *inp = 0; in qcam_g_input()
741 static int qcam_s_input(struct file *file, void *fh, unsigned int inp) in qcam_s_input() argument
743 return (inp > 0) ? -EINVAL : 0; in qcam_s_input()
/drivers/net/fddi/skfp/h/
Dtypes.h32 #define inp(p) ioread8(p) macro
/drivers/media/pci/sta2x11/
Dsta2x11_vip.c509 struct v4l2_input *inp) in vidioc_enum_input() argument
511 if (inp->index > 1) in vidioc_enum_input()
514 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
515 inp->std = V4L2_STD_ALL; in vidioc_enum_input()
516 sprintf(inp->name, "Camera %u", inp->index); in vidioc_enum_input()
/drivers/s390/block/
Ddasd_eer.c532 static int dasd_eer_open(struct inode *inp, struct file *filp) in dasd_eer_open() argument
567 return nonseekable_open(inp,filp); in dasd_eer_open()
570 static int dasd_eer_close(struct inode *inp, struct file *filp) in dasd_eer_close() argument
/drivers/scsi/lpfc/
Dlpfc_ct.c291 struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, in lpfc_gen_req() argument
321 geniocb->context1 = (uint8_t *) inp; in lpfc_gen_req()
737 struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *) cmdiocb->context1; in lpfc_cmpl_ct_cmd_gff_id() local
744 did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId; in lpfc_cmpl_ct_cmd_gff_id()
859 struct lpfc_dmabuf *inp; in lpfc_cmpl_ct() local
874 inp = (struct lpfc_dmabuf *) cmdiocb->context1; in lpfc_cmpl_ct()
878 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> in lpfc_cmpl_ct()
1290 struct lpfc_dmabuf *inp = cmdiocb->context1; in lpfc_cmpl_ct_cmd_fdmi() local
1293 struct lpfc_sli_ct_request *CTcmd = inp->virt; in lpfc_cmpl_ct_cmd_fdmi()
/drivers/media/usb/s2255/
Ds2255drv.c1364 struct v4l2_input *inp) in vidioc_enum_input() argument
1370 if (inp->index != 0) in vidioc_enum_input()
1372 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
1373 inp->std = S2255_NORMS; in vidioc_enum_input()
1374 inp->status = 0; in vidioc_enum_input()
1380 inp->status = (status & 0x01) ? 0 in vidioc_enum_input()
1386 strlcpy(inp->name, "Composite", sizeof(inp->name)); in vidioc_enum_input()
1389 strlcpy(inp->name, (channel->idx < 2) ? "Composite" : "S-Video", in vidioc_enum_input()
1390 sizeof(inp->name)); in vidioc_enum_input()
/drivers/media/platform/soc_camera/
Dsoc_camera.c231 struct v4l2_input *inp) in soc_camera_enum_input() argument
233 if (inp->index != 0) in soc_camera_enum_input()
237 inp->type = V4L2_INPUT_TYPE_CAMERA; in soc_camera_enum_input()
238 inp->std = V4L2_STD_UNKNOWN; in soc_camera_enum_input()
239 strcpy(inp->name, "Camera"); in soc_camera_enum_input()

12