/drivers/misc/ibmasm/ |
H A D | remote.c | 84 static const unsigned short xlate[XLATE_SIZE] = { variable 179 key = xlate[code]; 248 if (xlate[i]) 249 set_bit(xlate[i], keybd_dev->keybit);
|
/drivers/staging/speakup/ |
H A D | varhandlers.c | 360 char *xlate(char *s) function
|
/drivers/infiniband/hw/nes/ |
H A D | nes_utils.c | 906 char xlate[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', local 942 hex_buf[num_hex++] = xlate[((*ptr & 0xf0) >> 4)]; 943 hex_buf[num_hex++] = xlate[*ptr & 0x0f];
|
/drivers/media/video/ |
H A D | mx1_camera.c | 570 const struct soc_camera_format_xlate *xlate; local 575 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); 576 if (!xlate) { 582 buswidth = xlate->host_fmt->bits_per_sample; 594 mf.code = xlate->code; 600 if (mf.code != xlate->code) 607 icd->current_fmt = xlate; 616 const struct soc_camera_format_xlate *xlate; local 622 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); 623 if (!xlate) { [all...] |
H A D | atmel-isi.c | 538 const struct soc_camera_format_xlate *xlate; local 543 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); 544 if (!xlate) { 557 mf.code = xlate->code; 563 if (mf.code != xlate->code) 566 ret = configure_geometry(isi, pix->width, pix->height, xlate->code); 574 icd->current_fmt = xlate; 586 const struct soc_camera_format_xlate *xlate; local 592 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); 593 if (pixfmt && !xlate) { 693 isi_camera_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument [all...] |
H A D | mx3_camera.c | 209 const struct soc_camera_format_xlate *xlate = soc_camera_xlate_by_fourcc(icd, local 211 if (!xlate) 214 xlate->host_fmt); 665 struct soc_camera_format_xlate *xlate) 693 if (xlate) { 694 xlate->host_fmt = &mx3_camera_formats[0]; 695 xlate->code = code; 696 xlate++; 703 if (xlate) { 704 xlate 664 mx3_camera_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument 856 const struct soc_camera_format_xlate *xlate; local 914 const struct soc_camera_format_xlate *xlate; local 997 const struct soc_camera_format_xlate *xlate; local [all...] |
H A D | soc_camera.c | 182 const struct soc_camera_format_xlate *xlate; local 184 xlate = soc_camera_xlate_by_fourcc(icd, pix->pixelformat); 185 if (!xlate) 189 xlate->host_fmt); 1252 const struct soc_camera_format_xlate *xlate; local 1256 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt); 1257 if (!xlate) 1259 /* map xlate-code to pixel_format, sensor only handle xlate-code*/ 1260 fsize_mbus.pixel_format = xlate [all...] |
H A D | omap1_camera.c | 1070 unsigned int idx, struct soc_camera_format_xlate *xlate) 1104 if (xlate) { 1105 xlate->host_fmt = soc_mbus_find_fmtdesc(code, 1108 xlate->code = code; 1109 xlate++; 1112 __func__, xlate->host_fmt->name, code); 1115 if (xlate) 1121 if (xlate) { 1122 xlate->host_fmt = fmt; 1123 xlate 1069 omap1_cam_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument 1186 set_mbus_format(struct omap1_cam_dev *pcdev, struct device *dev, struct soc_camera_device *icd, struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf, const struct soc_camera_format_xlate *xlate) argument 1223 const struct soc_camera_format_xlate *xlate = icd->current_fmt; local 1272 const struct soc_camera_format_xlate *xlate; local 1321 const struct soc_camera_format_xlate *xlate; local 1446 const struct soc_camera_format_xlate *xlate; local [all...] |
H A D | sh_mobile_ceu_camera.c | 217 const struct soc_camera_format_xlate *xlate = soc_camera_xlate_by_fourcc(icd, local 219 if (!xlate) 222 xlate->host_fmt); 1035 struct soc_camera_format_xlate *xlate) 1157 for (k = 0; xlate && k < n; k++) { 1158 xlate->host_fmt = &sh_mobile_ceu_formats[k]; 1159 xlate->code = code; 1160 xlate++; 1172 if (xlate) { 1173 xlate 1034 sh_mobile_ceu_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument 1732 const struct soc_camera_format_xlate *xlate; local 1853 const struct soc_camera_format_xlate *xlate; local [all...] |
H A D | mx2_camera.c | 1102 struct soc_camera_format_xlate *xlate) 1123 if (xlate) { 1128 xlate->host_fmt = 1130 xlate->code = code; 1132 xlate->host_fmt->name, code); 1133 xlate++; 1139 if (xlate) { 1140 xlate->host_fmt = fmt; 1141 xlate->code = code; 1142 xlate 1100 mx2_camera_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument 1270 const struct soc_camera_format_xlate *xlate; local 1330 const struct soc_camera_format_xlate *xlate; local [all...] |
H A D | pxa_camera.c | 1261 struct soc_camera_format_xlate *xlate) 1299 if (xlate) { 1300 xlate->host_fmt = &pxa_camera_formats[0]; 1301 xlate->code = code; 1302 xlate++; 1311 if (xlate) 1318 if (xlate) 1326 if (xlate) { 1327 xlate->host_fmt = fmt; 1328 xlate 1260 pxa_camera_get_formats(struct soc_camera_device *icd, unsigned int idx, struct soc_camera_format_xlate *xlate) argument 1427 const struct soc_camera_format_xlate *xlate = NULL; local 1494 const struct soc_camera_format_xlate *xlate; local [all...] |