Lines Matching refs:code
131 u16 code; member
312 u32 code; member
318 { .code = MEDIA_BUS_FMT_RGB888_1X24, .datatype = 0x24, .bpp = 24 },
319 { .code = MEDIA_BUS_FMT_UYVY8_1X16, .datatype = 0x1e, .bpp = 16 },
320 { .code = MEDIA_BUS_FMT_YUYV8_1X16, .datatype = 0x1e, .bpp = 16 },
321 { .code = MEDIA_BUS_FMT_UYVY8_2X8, .datatype = 0x1e, .bpp = 16 },
322 { .code = MEDIA_BUS_FMT_YUYV10_2X10, .datatype = 0x1e, .bpp = 20 },
323 { .code = MEDIA_BUS_FMT_Y10_1X10, .datatype = 0x2b, .bpp = 10 },
324 { .code = MEDIA_BUS_FMT_SBGGR8_1X8, .datatype = 0x2a, .bpp = 8 },
325 { .code = MEDIA_BUS_FMT_SGBRG8_1X8, .datatype = 0x2a, .bpp = 8 },
326 { .code = MEDIA_BUS_FMT_SGRBG8_1X8, .datatype = 0x2a, .bpp = 8 },
327 { .code = MEDIA_BUS_FMT_SRGGB8_1X8, .datatype = 0x2a, .bpp = 8 },
328 { .code = MEDIA_BUS_FMT_Y8_1X8, .datatype = 0x2a, .bpp = 8 },
331 static const struct rcar_csi2_format *rcsi2_code_to_fmt(unsigned int code) in rcsi2_code_to_fmt() argument
336 if (rcar_csi2_formats[i].code == code) in rcsi2_code_to_fmt()
562 format = rcsi2_code_to_fmt(priv->mf.code); in rcsi2_start_receiver()
737 if (!rcsi2_code_to_fmt(format->format.code)) in rcsi2_set_pad_format()
738 format->format.code = rcar_csi2_formats[0].code; in rcsi2_set_pad_format()
952 static int rcsi2_phtw_write(struct rcar_csi2 *priv, u16 data, u16 code) in rcsi2_phtw_write() argument
958 PHTW_CWEN | PHTW_TESTDIN_CODE(code)); in rcsi2_phtw_write()
979 for (value = values; value->data || value->code; value++) { in rcsi2_phtw_write_array()
980 ret = rcsi2_phtw_write(priv, value->data, value->code); in rcsi2_phtw_write_array()
989 const struct rcsi2_mbps_reg *values, u16 code) in rcsi2_phtw_write_mbps() argument
1009 return rcsi2_phtw_write(priv, value->reg, code); in rcsi2_phtw_write_mbps()
1016 { .data = 0xcc, .code = 0xe2 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1017 { .data = 0x01, .code = 0xe3 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1018 { .data = 0x11, .code = 0xe4 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1019 { .data = 0x01, .code = 0xe5 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1020 { .data = 0x10, .code = 0x04 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1025 { .data = 0x38, .code = 0x08 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1026 { .data = 0x01, .code = 0x00 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1027 { .data = 0x4b, .code = 0xac }, in __rcsi2_init_phtw_h3_v3h_m3n()
1028 { .data = 0x03, .code = 0x00 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1029 { .data = 0x80, .code = 0x07 }, in __rcsi2_init_phtw_h3_v3h_m3n()
1071 { .data = 0xee, .code = 0x34 }, in rcsi2_phy_post_init_v3m_e3()
1072 { .data = 0xee, .code = 0x44 }, in rcsi2_phy_post_init_v3m_e3()
1073 { .data = 0xee, .code = 0x54 }, in rcsi2_phy_post_init_v3m_e3()
1074 { .data = 0xee, .code = 0x84 }, in rcsi2_phy_post_init_v3m_e3()
1075 { .data = 0xee, .code = 0x94 }, in rcsi2_phy_post_init_v3m_e3()