/drivers/media/i2c/ |
H A D | ov7670.c | 6 * McClelland's ovcamchip code. 903 enum v4l2_mbus_pixelcode *code) 908 *code = ov7670_formats[index].mbus_code; 924 if (ov7670_formats[index].mbus_code == fmt->code) 929 fmt->code = ov7670_formats[0].mbus_code; 902 ov7670_enum_mbus_fmt(struct v4l2_subdev *sd, unsigned index, enum v4l2_mbus_pixelcode *code) argument
|
H A D | ov9650.c | 387 enum v4l2_mbus_pixelcode code; member in struct:ov965x_pixfmt 1065 mf->code = ov965x_formats[0].code; 1071 struct v4l2_subdev_mbus_code_enum *code) 1073 if (code->index >= ARRAY_SIZE(ov965x_formats)) 1076 code->code = ov965x_formats[code->index].code; 1090 if (fse->code 1069 ov965x_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | s5k6aa.c | 194 enum v4l2_mbus_pixelcode code; member in struct:s5k6aa_pixfmt 323 preset->mbus_fmt.code = s5k6aa_formats[0].code; 626 mf->code == s5k6aa_formats[i].code) 1027 struct v4l2_subdev_mbus_code_enum *code) 1029 if (code->index >= ARRAY_SIZE(s5k6aa_formats)) 1032 code->code = s5k6aa_formats[code 1025 s5k6aa_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/drivers/media/i2c/soc_camera/ |
H A D | ov2640.c | 788 enum v4l2_mbus_pixelcode code) 799 switch (code) { 849 priv->cfmt_code = code; 877 mf->code = priv->cfmt_code; 879 switch (mf->code) { 901 switch (mf->code) { 907 mf->code = V4L2_MBUS_FMT_UYVY8_2X8; 913 ret = ov2640_set_params(client, &mf->width, &mf->height, mf->code); 928 switch (mf->code) { 934 mf->code 787 ov2640_set_params(struct i2c_client *client, u32 *width, u32 *height, enum v4l2_mbus_pixelcode code) argument 943 ov2640_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | fimc-core.h | 580 static inline bool fimc_user_defined_mbus_fmt(u32 code) argument 582 return (code == V4L2_MBUS_FMT_JPEG_1X8 || 583 code == V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8);
|
/drivers/media/platform/soc_camera/ |
H A D | mx2_camera.c | 948 enum v4l2_mbus_pixelcode code; local 951 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); 956 fmt = soc_mbus_get_fmtdesc(code); 958 dev_err(dev, "Invalid format code #%u: %d\n", idx, code); 962 if (code == V4L2_MBUS_FMT_YUYV8_2X8 || 963 code == V4L2_MBUS_FMT_UYVY8_2X8) { 972 xlate->code = code; 973 dev_dbg(dev, "Providing host format %s for sensor code [all...] |
H A D | pxa_camera.c | 190 enum v4l2_mbus_pixelcode code; member in struct:pxa_buffer 457 if (buf->code != icd->current_fmt->code || 461 buf->code = icd->current_fmt->code; 1256 enum v4l2_mbus_pixelcode code; local 1259 ret = v4l2_subdev_call(sd, video, enum_mbus_fmt, idx, &code); 1264 fmt = soc_mbus_get_fmtdesc(code); 1266 dev_err(dev, "Invalid format code #%u: %d\n", idx, code); [all...] |
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 310 unsigned code:1; /* received a packet with code error */ member in struct:rx_pkt_status 369 /* op-code */ 381 /* Structure containing variables used by the shared code (atl2_hw.c) */
|
/drivers/net/ethernet/sfc/ |
H A D | farch.c | 1160 unsigned magic, code; local 1163 code = _EFX_CHANNEL_MAGIC_CODE(magic); 1174 } else if (code == _EFX_CHANNEL_MAGIC_TX_DRAIN) { 1257 "channel %d unknown driver event code %d " 1540 * code. Disable them earlier.
|
/drivers/net/ppp/ |
H A D | ppp_generic.c | 18 * Part of the code in this driver was inspired by the old async-only 541 struct sock_filter *code = NULL; local 553 code = memdup_user(uprog.filter, len); 554 if (IS_ERR(code)) 555 return PTR_ERR(code); 557 *p = code; 754 struct sock_filter *code; local 756 err = get_filter(argp, &code); 761 .filter = code, 774 kfree(code); 780 struct sock_filter *code; local 1688 ppp_input_error(struct ppp_channel *chan, int code) argument [all...] |
/drivers/net/wireless/ |
H A D | at76c50x-usb.h | 16 * Although the code was completely re-written, 340 __le32 board_type; /* firmware compatibility code */ 354 u16 code; member in struct:reg_domain
|
/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523_hw.h | 40 __be32 code; member in struct:ar5523_cmd_hdr 136 __be32 code; /* WDCMSG_DATA_AVAIL */ member in struct:ar5523_rx_desc 151 __be32 rate; /* rx rate code */
|
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_eeprom.c | 3116 static void ar9300_comp_hdr_unpack(u8 *best, int *code, int *reference, argument 3125 *code = ((value[0] >> 5) & 0x0007); 3183 int code, 3191 switch (code) { 3223 ath_dbg(common, EEPROM, "unknown compression code %d\n", code); 3274 int code; local 3342 ar9300_comp_hdr_unpack(word, &code, &reference, 3345 "Found block at %x: code=%d ref=%d length=%d major=%d minor=%d\n", 3346 cptr, code, referenc 3181 ar9300_compress_decision(struct ath_hw *ah, int it, int code, int reference, u8 *mptr, u8 *word, int length, int mdata_size) argument [all...] |
/drivers/net/wireless/prism54/ |
H A D | isl_oid.h | 43 u16 code; member in struct:obj_mlme 50 u16 code; member in struct:obj_mlmeex
|
/drivers/pci/host/ |
H A D | pci-tegra.c | 739 u32 code, signature; local 741 code = afi_readl(pcie, AFI_INTR_CODE) & AFI_INTR_CODE_MASK; 745 if (code == AFI_INTR_LEGACY) 748 if (code >= ARRAY_SIZE(err_msg)) 749 code = 0; 755 if (code == AFI_INTR_MASTER_ABORT) 756 dev_dbg(pcie->dev, "%s, signature: %08x\n", err_msg[code], 759 dev_err(pcie->dev, "%s, signature: %08x\n", err_msg[code], 762 if (code == AFI_INTR_TARGET_ABORT || code [all...] |
/drivers/platform/x86/ |
H A D | asus-wmi.c | 1248 static int asus_wmi_backlight_notify(struct asus_wmi *asus, int code) argument 1254 if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX) 1255 new = code - NOTIFY_BRNUP_MIN + 1; 1256 else if (code >= NOTIFY_BRNDOWN_MIN && code <= NOTIFY_BRNDOWN_MAX) 1257 new = code - NOTIFY_BRNDOWN_MIN; 1317 static int is_display_toggle(int code) argument 1320 if ((code >= 0x61 && code < 1335 int code; local [all...] |
/drivers/s390/block/ |
H A D | dasd_eckd.h | 375 __u8 code; member in struct:dasd_rssd_messages 384 __u8 code; member in struct:dasd_cuir_message
|
/drivers/scsi/ |
H A D | 3w-9xxx.h | 55 unsigned int code; member in struct:TAG_twa_message_type
|
H A D | osst.c | 235 /* Convert the result to success code */ 1095 printk(OSST_DEB_MSG "%s:D: Exit read frame from OnStream tape with code %d\n", name, retval); 1259 "%s:D: Exit get logical frame (%d=>%d) from OnStream tape with code %d\n", 3175 printk(OSST_DEB_MSG "%s:D: Exit flush write buffer with code %d\n", name, result); 3904 long code; 3919 code = options & MT_ST_OPTIONS; 3920 if (code == MT_ST_BOOLEANS) { 3939 else if (code == MT_ST_SETBOOLEANS || code == MT_ST_CLEARBOOLEANS) { 3940 value = (code 3900 long code; local [all...] |
H A D | scsi_transport_iscsi.c | 1518 /* return the errno failure code as the only status */ 1943 * the async scanning code (drivers like iscsi_tcp do login and 2488 enum iscsi_host_event_code code, uint32_t data_size, 2499 host_no, code); 2508 ev->r.host_event.code = code; 2487 iscsi_post_host_event(uint32_t host_no, struct iscsi_transport *transport, enum iscsi_host_event_code code, uint32_t data_size, uint8_t *data) argument
|
H A D | st.c | 352 /* Convert the result to success code */ 899 error code. */ 977 < 0 negative error code from errno.h 1151 /* This code is reached when the device is opened for the first time 1840 eof status has changed, and the negative error code in case of a 2006 } else /* Some other extended sense code */ 2221 long code; 2242 code = options & MT_ST_OPTIONS; 2243 if (code == MT_ST_BOOLEANS) { 2262 } else if (code 2211 long code; local [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 124 { IBMVFC_FC_FAILURE, IBMVFC_INVALID_ELS_CMD_CODE, DID_ERROR, 0, 1, "invalid ELS command code" }, 797 * ibmvfc_fail_request - Fail request with specified error code 799 * @error_code: error code to fail request with 821 * @error_code: error code to fail requests with 1193 location = of_get_property(of_node, "ibm,loc-code", NULL); 1835 unsigned int code = job->request->msgcode; local 1844 switch (code) { 2468 * @data: return code 2480 * @data: return code 3298 int code; member in struct:__anon5493 3321 int code = (flags & 0x0f00) >> 8; local [all...] |
/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 5 * This code is based on drivers/scsi/mpt3sas/mpt3sas_base.c 278 * mpt3sas_base_fault_info - verbose translation of firmware FAULT code 280 * @fault_code: fault code 645 u32 code:8; member in struct:loginfo_type::__anon5928 679 "log_info(0x%08x): originator(%s), code(0x%02x), sub_code(0x%04x)\n", 681 originator_str, sas_loginfo.dw.code, 2067 * to this code. 4920 * out all the code associated with NO_SLEEP; its never used. 4921 * That is legacy code from mpt fusion driver, ported over.
|
/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 3889 qla2x00_post_aen_work(struct scsi_qla_host *vha, enum fc_host_event_code code, argument 3898 e->u.aen.code = code; 3943 qla2x00_post_uevent_work(struct scsi_qla_host *vha, u32 code) argument 3951 e->u.uevent.code = code; 3956 qla2x00_uevent_emit(struct scsi_qla_host *vha, u32 code) argument 3961 switch (code) { 4006 e->u.aen.code, e->u.aen.data); 4035 qla2x00_uevent_emit(vha, e->u.uevent.code); [all...] |
H A D | qla_target.c | 4 * based on qla2x00t.c code: 387 * Release the target session for FC Nexus from fabric module code. 833 /* Called by tcm_qla2xxx configfs code */ 905 /* Called by tcm_qla2xxx configfs code */ 1354 /* callback from target fabric module code */ 1816 * Original taken from the XFS code 3237 "qla_target: unknown task code %x, use ORDERED instead\n", 3249 * Process context for I/O path into tcm_qla2xxx code 3726 * this code properly. 4813 void qlt_async_event(uint16_t code, struc argument [all...] |