/drivers/media/i2c/ |
H A D | mt9t001.c | 331 struct v4l2_subdev_mbus_code_enum *code) 333 if (code->index > 0) 336 code->code = V4L2_MBUS_FMT_SGRBG10_1X10; 344 if (fse->index >= 8 || fse->code != V4L2_MBUS_FMT_SGRBG10_1X10) 795 format->code = V4L2_MBUS_FMT_SGRBG10_1X10; 920 mt9t001->format.code = V4L2_MBUS_FMT_SGRBG10_1X10; 329 mt9t001_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument
|
H A D | mt9v032.c | 452 struct v4l2_subdev_mbus_code_enum *code) 454 if (code->index > 0) 457 code->code = V4L2_MBUS_FMT_SGRBG10_1X10; 465 if (fse->index >= 3 || fse->code != V4L2_MBUS_FMT_SGRBG10_1X10) 817 format->code = V4L2_MBUS_FMT_SGRBG10_1X10; 819 format->code = V4L2_MBUS_FMT_Y10_1X10; 969 mt9v032->format.code = V4L2_MBUS_FMT_SGRBG10_1X10; 971 mt9v032->format.code = V4L2_MBUS_FMT_Y10_1X10; 450 mt9v032_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument
|
H A D | s5k4ecgx.c | 154 enum v4l2_mbus_pixelcode code; member in struct:s5k4ecgx_pixfmt 536 struct v4l2_subdev_mbus_code_enum *code) 538 if (code->index >= ARRAY_SIZE(s5k4ecgx_formats)) 540 code->code = s5k4ecgx_formats[code->index].code; 564 mf->code = priv->curr_pixfmt->code; 578 if (mf->code 534 s5k4ecgx_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | sr030pc30.c | 168 enum v4l2_mbus_pixelcode code; member in struct:sr030pc30_format 204 .code = V4L2_MBUS_FMT_YUYV8_2X8, 208 .code = V4L2_MBUS_FMT_YVYU8_2X8, 212 .code = V4L2_MBUS_FMT_VYUY8_2X8, 216 .code = V4L2_MBUS_FMT_UYVY8_2X8, 220 .code = V4L2_MBUS_FMT_RGB565_2X8_BE, 475 enum v4l2_mbus_pixelcode *code) 477 if (!code || index >= ARRAY_SIZE(sr030pc30_formats)) 480 *code = sr030pc30_formats[index].code; 474 sr030pc30_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument [all...] |
/drivers/media/i2c/smiapp/ |
H A D | smiapp-core.c | 823 dev_err(&client->dev, "no supported mbus code found\n"); 1519 struct v4l2_subdev_mbus_code_enum *code) 1530 subdev->name, code->pad, code->index); 1532 if (subdev != &sensor->src->sd || code->pad != SMIAPP_PAD_SRC) { 1533 if (code->index) 1536 code->code = sensor->internal_csi_format->code; 1545 if (idx == code 1517 smiapp_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument 1676 smiapp_validate_csi_data_format(struct smiapp_sensor *sensor, u32 code) argument 1705 u32 code = fmt->format.code; local [all...] |
/drivers/media/i2c/soc_camera/ |
H A D | mt9m111.c | 185 enum v4l2_mbus_pixelcode code; member in struct:mt9m111_datafmt 219 /* Find a data format by a pixel code */ 221 enum v4l2_mbus_pixelcode code) 225 if (mt9m111_colour_fmts[i].code == code) 334 int width, int height, enum v4l2_mbus_pixelcode code) 348 if (code != V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE) { 359 __func__, code, rect->width, rect->height, rect->left, rect->top, 396 if (mt9m111->fmt->code == V4L2_MBUS_FMT_SBGGR8_1X8 || 397 mt9m111->fmt->code 220 mt9m111_find_datafmt(struct mt9m111 *mt9m111, enum v4l2_mbus_pixelcode code) argument 333 mt9m111_setup_geometry(struct mt9m111 *mt9m111, struct v4l2_rect *rect, int width, int height, enum v4l2_mbus_pixelcode code) argument 464 mt9m111_set_pixfmt(struct mt9m111 *mt9m111, enum v4l2_mbus_pixelcode code) argument 842 mt9m111_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument [all...] |
H A D | ov6650.c | 205 enum v4l2_mbus_pixelcode code; member in struct:ov6650 510 mf->code = priv->code; 558 enum v4l2_mbus_pixelcode code = mf->code; local 564 switch (code) { 606 dev_err(&client->dev, "Pixel format not handled: 0x%x\n", code); 609 priv->code = code; 611 if (code 719 ov6650_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument [all...] |
H A D | ov9740.c | 677 enum v4l2_mbus_pixelcode code = mf->code; local 682 switch (code) { 699 mf->code = code; 713 mf->code = V4L2_MBUS_FMT_YUYV8_2X8; 720 enum v4l2_mbus_pixelcode *code) 725 *code = ov9740_codes[index]; 719 ov9740_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument
|
H A D | rj54n1cb0c.c | 114 enum v4l2_mbus_pixelcode code; member in struct:rj54n1_datafmt 118 /* Find a data format by a pixel code in an array */ 120 enum v4l2_mbus_pixelcode code, const struct rj54n1_datafmt *fmt, 125 if (fmt[i].code == code) 489 enum v4l2_mbus_pixelcode *code) 494 *code = rj54n1_colour_fmts[index].code; 606 mf->code = rj54n1->fmt->code; 119 rj54n1_find_datafmt( enum v4l2_mbus_pixelcode code, const struct rj54n1_datafmt *fmt, int n) argument 488 rj54n1_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument [all...] |
H A D | tw9910.c | 708 mf->code = V4L2_MBUS_FMT_UYVY8_2X8; 727 if (mf->code != V4L2_MBUS_FMT_UYVY8_2X8) 754 mf->code = V4L2_MBUS_FMT_UYVY8_2X8; 825 enum v4l2_mbus_pixelcode *code) 830 *code = V4L2_MBUS_FMT_UYVY8_2X8; 824 tw9910_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument
|
/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 141 u32 code; /* raw code under construction */ member in struct:bttv_ir 142 struct timeval base_time; /* time of last seen code */ 143 bool active; /* building raw code */ 248 /* risc code generators - capture */
|
/drivers/media/platform/exynos4-is/ |
H A D | fimc-capture.c | 585 u32 *code, u32 *fourcc, int pad) 597 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && 599 *code = ctx->s_frame.fmt->mbus_code; 607 ffmt = fimc_find_format(fourcc, code, mask, 0); 611 if (code) 612 *code = ffmt->mbus_code; 653 dbg("pad%d: code: 0x%x, %dx%d. dst fmt: %dx%d", 654 pad, code ? *code : 0, *width, *height, 806 ffmt = fimc_find_format(NULL, mf->code ! 583 fimc_capture_try_format(struct fimc_ctx *ctx, u32 *width, u32 *height, u32 *code, u32 *fourcc, int pad) argument 1484 fimc_subdev_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | mipi-csis.c | 235 * @code: corresponding media bus code 241 enum v4l2_mbus_pixelcode code; member in struct:csis_pix_format 248 .code = V4L2_MBUS_FMT_VYUY8_2X8, 252 .code = V4L2_MBUS_FMT_JPEG_1X8, 256 .code = V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8, 260 .code = V4L2_MBUS_FMT_SGRBG8_1X8, 264 .code = V4L2_MBUS_FMT_SGRBG10_1X10, 268 .code = V4L2_MBUS_FMT_SGRBG12_1X12, 288 if (mf->code 542 s5pcsis_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/drivers/media/platform/omap3isp/ |
H A D | ispccdc.c | 269 if ((format->code != V4L2_MBUS_FMT_SGRBG10_1X10) && 270 (format->code != V4L2_MBUS_FMT_SRGGB10_1X10) && 271 (format->code != V4L2_MBUS_FMT_SBGGR10_1X10) && 272 (format->code != V4L2_MBUS_FMT_SGBRG10_1X10)) 618 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); 818 if (!format->code) { 820 * This is indicated by a pixel code set to 0. 837 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); 974 if (format->code == V4L2_MBUS_FMT_YUYV8_2X8 || 975 format->code 2119 ccdc_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | isppreview.c | 965 * @pixelcode: pixel code 1081 if (format->code != V4L2_MBUS_FMT_Y8_1X8 && 1082 format->code != V4L2_MBUS_FMT_Y10_1X10) { 1404 info = omap3isp_video_format_info(format->code); 1441 preview_config_ycpos(prev, format->code); 1771 if (fmt->code == preview_input_fmts[i]) 1777 fmt->code = V4L2_MBUS_FMT_SGRBG10_1X10; 1781 pixelcode = fmt->code; 1787 fmt->code = pixelcode; 1791 fmt->code 1873 preview_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/drivers/media/platform/soc_camera/ |
H A D | omap1_camera.c | 143 enum v4l2_mbus_pixelcode code; member in struct:omap1_cam_buf 264 if (buf->code != icd->current_fmt->code || vb->field != field || 267 buf->code = icd->current_fmt->code; 983 .code = V4L2_MBUS_FMT_UYVY8_2X8, 993 .code = V4L2_MBUS_FMT_VYUY8_2X8, 1003 .code = V4L2_MBUS_FMT_YUYV8_2X8, 1013 .code = V4L2_MBUS_FMT_YVYU8_2X8, 1023 .code 1071 enum v4l2_mbus_pixelcode code; local [all...] |
H A D | rcar_vin.c | 274 switch (icd->current_fmt->code) { 924 enum v4l2_mbus_pixelcode code; local 927 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); 931 fmt = soc_mbus_get_fmtdesc(code); 933 dev_warn(dev, "unsupported format code #%u: %d\n", idx, code); 1012 switch (code) { 1026 xlate->code = code; 1027 dev_dbg(dev, "Providing format %s using code [all...] |
H A D | sh_mobile_ceu_camera.c | 152 enum v4l2_mbus_pixelcode code; member in struct:sh_mobile_ceu_cam 863 switch (cam->code) { 1051 enum v4l2_mbus_pixelcode code; local 1054 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); 1059 fmt = soc_mbus_get_fmtdesc(code); 1061 dev_warn(dev, "unsupported format code #%u: %d\n", idx, code); 1143 switch (code) { 1166 xlate->code = code; [all...] |
/drivers/media/rc/ |
H A D | imon.c | 149 bool release_code; /* some keys send a release code */ 1310 static u32 imon_panel_key_lookup(struct imon_context *ictx, u64 code) argument 1317 if (key_table[i].hw_code == (code | 0xffee)) { 2036 /* panel and/or knob code support */
|
/drivers/net/ethernet/alteon/ |
H A D | acenic.c | 26 * Aman Singla: Nasty race between interrupt handler and tx code dealing 327 * one running the interrupt handler just got the slab code hot in its 1469 * see an interrupt from the NIC, code to handle it is 1672 cmd.code = 0; 1789 cmd.code = 0; 1831 u16 code = ap->evt_ring[evtcsm].code; local 1832 switch (code) { 1854 "state %02x\n", ap->name, code); 1859 switch(ap->evt_ring[evtcsm].code) { [all...] |
/drivers/net/ethernet/octeon/ |
H A D | octeon_mgmt.c | 57 /* The RX error code */ 58 u64 code:7; member in struct:mgmt_port_ring_entry::__anon3671 63 u64 code:7; 401 if (likely(re.s.code == RING_ENTRY_CODE_DONE)) { 419 } else if (re.s.code == RING_ENTRY_CODE_MORE) { 430 if (re2.s.code != RING_ENTRY_CODE_MORE 431 && re2.s.code != RING_ENTRY_CODE_DONE) 445 } while (re2.s.code == RING_ENTRY_CODE_MORE); 459 while (re2.s.code == RING_ENTRY_CODE_MORE) {
|
/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 246 * @evt_code: Last event code 1636 int code = EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA); local 1642 netif_err(efx, hw, efx->net_dev, "PTP error %d\n", code); 1654 int code = EFX_QWORD_FIELD(*ev, MCDI_EVENT_CODE); local 1667 ptp->evt_code = code; 1668 } else if (ptp->evt_code != code) { 1670 "PTP out of sequence event %d\n", code); 1677 switch (code) { 1689 "PTP unknown event %d\n", code);
|
/drivers/net/ethernet/ti/ |
H A D | tlan.c | 448 * 0 on success, error code on error 825 * 0 on success, error code otherwise. 903 * 0 on success, error code otherwise. 949 * 0 on success, error code otherwise 1190 * An error code. 2102 u32 def_tx, crc, code; local 2122 code = inb(dev->base_addr + TLAN_DIO_DATA + 3); 2137 dev->stats.rx_errors += rx_over + crc + code; 2145 dev->stats.rx_frame_errors += code;
|
/drivers/net/wireless/ |
H A D | at76c50x-usb.c | 20 * Some iw_handler code was taken from airo.c, (C) 1999 Benjamin Reed 650 static struct reg_domain const *at76_get_reg_domain(u16 code) argument 665 /* Last entry is fallback for unknown domain code */ 667 if (code == fd_tab[i].code) 1785 /* The following code lines are important when the device is going to
|
/drivers/net/wireless/libertas/ |
H A D | cfg.c | 1229 /* v5 OLPC firmware does return the AP status code if 2101 int code; member in struct:region_code_mapping 2118 if (regmap[i].code == priv->regioncode) {
|