Home
last modified time | relevance | path

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

12

/drivers/crypto/vmx/
Daesp8-ppc.pl81 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8));
113 ${UCMP}i $inp,0
114 beq- Lenc_key_abort # if ($inp==0) return -1;
132 neg r9,$inp
133 lvx $in0,0,$inp
134 addi $inp,$inp,15 # 15 is not typo
138 lvx $in1,0,$inp
155 addi $inp,$inp,8
157 addi $inp,$inp,8
219 addi $inp,$out,15 # 15 is not typo
[all …]
Dghashp8-ppc.pl45 my ($Xip,$Htbl,$inp,$len)=map("r$_",(3..6)); # argument block
171 lvx_u $IN,0,$inp
172 addi $inp,$inp,16
186 add $inp,$inp,r0
197 lvx_u $IN,0,$inp
198 addi $inp,$inp,16
/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/s390/crypto/
Dzcrypt_msgtype50.c218 unsigned char *mod, *exp, *inp; in ICAMEX_msg_to_type50MEX_msg() local
232 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
242 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
253 inp = meb3->message + sizeof(meb3->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
258 copy_from_user(inp, mex->inputdata, mod_len)) in ICAMEX_msg_to_type50MEX_msg()
277 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local
300 inp = crb1->message + sizeof(crb1->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
313 inp = crb2->message + sizeof(crb2->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
327 inp = crb3->message + sizeof(crb3->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
340 copy_from_user(inp, crt->inputdata, mod_len)) in ICACRT_msg_to_type50CRT_msg()
/drivers/media/platform/vivid/
Dvivid-vid-cap.c1276 struct v4l2_input *inp) in vidioc_enum_input() argument
1280 if (inp->index >= dev->num_inputs) in vidioc_enum_input()
1283 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
1284 switch (dev->input_type[inp->index]) { in vidioc_enum_input()
1286 snprintf(inp->name, sizeof(inp->name), "Webcam %u", in vidioc_enum_input()
1287 dev->input_name_counter[inp->index]); in vidioc_enum_input()
1288 inp->capabilities = 0; in vidioc_enum_input()
1291 snprintf(inp->name, sizeof(inp->name), "TV %u", in vidioc_enum_input()
1292 dev->input_name_counter[inp->index]); in vidioc_enum_input()
1293 inp->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input()
[all …]
Dvivid-vid-cap.h51 int vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp);
/drivers/input/misc/
Dgpio_matrix.c78 int out, in, inp; in remove_phantom_keys() local
85 inp = -1; in remove_phantom_keys()
89 if (inp == -1) { in remove_phantom_keys()
90 inp = in; in remove_phantom_keys()
93 if (inp >= 0) { in remove_phantom_keys()
95 inp)) in remove_phantom_keys()
97 clear_phantom_key(kp, out, inp); in remove_phantom_keys()
98 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.c998 int ivtv_s_input(struct file *file, void *fh, unsigned int inp) in ivtv_s_input() argument
1004 if (inp >= itv->nof_inputs) in ivtv_s_input()
1007 if (inp == itv->active_input) { in ivtv_s_input()
1017 itv->active_input, inp); in ivtv_s_input()
1019 itv->active_input = inp; in ivtv_s_input()
1022 itv->audio_input = itv->card->video_inputs[inp].audio_index; in ivtv_s_input()
1024 if (itv->card->video_inputs[inp].video_type == IVTV_CARD_INPUT_VID_TUNER) in ivtv_s_input()
/drivers/media/pci/cx18/
Dcx18-video.c23 int inp = cx->active_input; in cx18_video_set_io() local
26 cx->card->video_inputs[inp].video_input, 0, 0); in cx18_video_set_io()
Dcx18-ioctl.h26 int cx18_s_input(struct file *file, void *fh, unsigned int inp);
Dcx18-ioctl.c505 int cx18_s_input(struct file *file, void *fh, unsigned int inp) in cx18_s_input() argument
511 cx->card->video_inputs + inp; in cx18_s_input()
513 if (inp >= cx->nof_inputs) in cx18_s_input()
516 if (inp == cx->active_input) { in cx18_s_input()
522 cx->active_input, inp); in cx18_s_input()
524 cx->active_input = inp; in cx18_s_input()
526 cx->audio_input = cx->card->video_inputs[inp].audio_index; in cx18_s_input()
/drivers/media/usb/go7007/
Dgo7007-v4l2.c630 struct v4l2_input *inp) in vidioc_enum_input() argument
634 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
637 strncpy(inp->name, go->board_info->inputs[inp->index].name, in vidioc_enum_input()
638 sizeof(inp->name)); in vidioc_enum_input()
642 inp->index == 0) in vidioc_enum_input()
643 inp->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input()
645 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
648 inp->audioset = (1 << go->board_info->num_aud_inputs) - 1; in vidioc_enum_input()
650 inp->audioset = 0; in vidioc_enum_input()
651 inp->tuner = 0; in vidioc_enum_input()
[all …]
/drivers/media/pci/cobalt/
Dcobalt-v4l2.c970 struct v4l2_input *inp) in cobalt_enum_input() argument
974 if (inp->index > 1) in cobalt_enum_input()
976 if (inp->index == 0) in cobalt_enum_input()
977 snprintf(inp->name, sizeof(inp->name), in cobalt_enum_input()
980 snprintf(inp->name, sizeof(inp->name), in cobalt_enum_input()
982 inp->type = V4L2_INPUT_TYPE_CAMERA; in cobalt_enum_input()
983 inp->capabilities = V4L2_IN_CAP_DV_TIMINGS; in cobalt_enum_input()
984 if (inp->index == 1) in cobalt_enum_input()
987 video, g_input_status, &inp->status); in cobalt_enum_input()
/drivers/net/fddi/skfp/h/
Dtypes.h32 #define inp(p) ioread8(p) macro
/drivers/media/pci/sta2x11/
Dsta2x11_vip.c500 struct v4l2_input *inp) in vidioc_enum_input() argument
502 if (inp->index > 1) in vidioc_enum_input()
505 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
506 inp->std = V4L2_STD_ALL; in vidioc_enum_input()
507 sprintf(inp->name, "Camera %u", inp->index); in vidioc_enum_input()
/drivers/media/platform/
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()
Dfsl-viu.c934 struct v4l2_input *inp) in vidioc_enum_input() argument
938 if (inp->index != 0) in vidioc_enum_input()
941 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
942 inp->std = fh->dev->vdev->tvnorms; in vidioc_enum_input()
943 strcpy(inp->name, "Camera"); in vidioc_enum_input()
/drivers/scsi/lpfc/
Dlpfc_ct.c317 struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, in lpfc_gen_req() argument
347 geniocb->context1 = (uint8_t *) inp; in lpfc_gen_req()
648 struct lpfc_dmabuf *inp; in lpfc_cmpl_ct_cmd_gid_ft() local
659 inp = (struct lpfc_dmabuf *) cmdiocb->context1; in lpfc_cmpl_ct_cmd_gid_ft()
716 CTreq = (struct lpfc_sli_ct_request *) inp->virt; in lpfc_cmpl_ct_cmd_gid_ft()
818 struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *) cmdiocb->context1; in lpfc_cmpl_ct_cmd_gff_id() local
825 did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId; in lpfc_cmpl_ct_cmd_gff_id()
940 struct lpfc_dmabuf *inp = (struct lpfc_dmabuf *)cmdiocb->context1; in lpfc_cmpl_ct_cmd_gft_id() local
947 did = ((struct lpfc_sli_ct_request *)inp->virt)->un.gft.PortId; in lpfc_cmpl_ct_cmd_gft_id()
995 struct lpfc_dmabuf *inp; in lpfc_cmpl_ct() local
[all …]
/drivers/s390/block/
Ddasd_eer.c546 static int dasd_eer_open(struct inode *inp, struct file *filp) in dasd_eer_open() argument
581 return nonseekable_open(inp,filp); in dasd_eer_open()
584 static int dasd_eer_close(struct inode *inp, struct file *filp) in dasd_eer_close() argument
/drivers/media/usb/s2255/
Ds2255drv.c1182 struct v4l2_input *inp) in vidioc_enum_input() argument
1188 if (inp->index != 0) in vidioc_enum_input()
1190 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input()
1191 inp->std = S2255_NORMS; in vidioc_enum_input()
1192 inp->status = 0; in vidioc_enum_input()
1199 inp->status = (status & 0x01) ? 0 in vidioc_enum_input()
1205 strlcpy(inp->name, "Composite", sizeof(inp->name)); in vidioc_enum_input()
1208 strlcpy(inp->name, (vc->idx < 2) ? "Composite" : "S-Video", in vidioc_enum_input()
1209 sizeof(inp->name)); in vidioc_enum_input()
/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c792 struct v4l2_input *inp) in vpfe_enum_input() argument
800 if (inp->index < sdinfo->num_inputs) { in vpfe_enum_input()
801 memcpy(inp, &sdinfo->inputs[inp->index], in vpfe_enum_input()
/drivers/media/platform/atmel/
Datmel-isc.c1038 struct v4l2_input *inp) in isc_enum_input() argument
1040 if (inp->index != 0) in isc_enum_input()
1043 inp->type = V4L2_INPUT_TYPE_CAMERA; in isc_enum_input()
1044 inp->std = 0; in isc_enum_input()
1045 strcpy(inp->name, "Camera"); in isc_enum_input()
/drivers/media/pci/zoran/
Dzoran_driver.c2295 struct v4l2_input *inp) in zoran_enum_input() argument
2300 if (inp->index >= zr->card.inputs) in zoran_enum_input()
2303 strncpy(inp->name, zr->card.input[inp->index].name, in zoran_enum_input()
2304 sizeof(inp->name) - 1); in zoran_enum_input()
2305 inp->type = V4L2_INPUT_TYPE_CAMERA; in zoran_enum_input()
2306 inp->std = V4L2_STD_ALL; in zoran_enum_input()
2309 decoder_call(zr, video, g_input_status, &inp->status); in zoran_enum_input()

12