Searched defs:code (Results 351 - 375 of 390) sorted by relevance

<<111213141516

/drivers/staging/panel/
H A Dpanel.c10 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad)
1124 * and '7', representing the numerical ASCII code of the
2108 static int panel_notify_sys(struct notifier_block *this, unsigned long code, argument
2112 switch (code) {
/drivers/staging/speakup/
H A Dmain.c252 unsigned long code, void *param);
259 unsigned long code, void *param);
2158 unsigned long code, void *_param)
2181 switch (code) {
2224 unsigned long code, void *_param)
2229 switch (code) {
2157 keyboard_notifier_call(struct notifier_block *nb, unsigned long code, void *_param) argument
2223 vt_notifier_call(struct notifier_block *nb, unsigned long code, void *_param) argument
/drivers/usb/core/
H A Dhub.c750 * Return: 0 if successful. A negative error code otherwise.
784 * Return: 0 if successful. A negative error code otherwise.
995 * Return: 0 if successful. A negative error code otherwise.
1827 hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data) argument
1833 switch (code) {
2225 * Return: 0 if successful. A negative error code otherwise.
2294 * Return: 0 if successful. A negative error code otherwise.
2399 * sysfs or other filesystem code.
3812 "error code %i\n", usb3_lpm_names[state],
5298 * flagged for logical disconnection, or some other negative error code
[all...]
/drivers/usb/gadget/function/
H A Df_fs.c557 static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value) argument
565 if (code == FUNCTIONFS_INTERFACE_REVMAP) {
569 ret = gadget->ops->ioctl(gadget, code, value);
805 * In order to keep the code clean from warnings, data_len is
1035 static long ffs_epfile_ioctl(struct file *file, unsigned code, argument
1048 switch (code) {
1403 /* ffs_data and ffs_function construction and destruction code **************/
/drivers/block/drbd/
H A Ddrbd_main.c226 /* first some paranoia code */
563 * word aligned on 64-bit architectures. (The bitmap send and receive code
1064 static void dcbp_set_code(struct p_compressed_bm *p, enum drbd_bitmap_code code) argument
1066 BUG_ON(code & ~0xf);
1067 p->encoding = (p->encoding & ~0xf) | code;
1105 bitstream_init(&bs, p->code, size, 0);
1106 memset(p->code, 0, size);
1107 /* plain bits covered in this code string */
1157 len = bs.cur.b - p->code + !!bs.cur.bit;
1182 * code upo
[all...]
/drivers/gpu/drm/i915/
H A Dintel_dp.c472 * That also means that in order to use pps_pipe the code needs to
512 static int edp_notify_handler(struct notifier_block *this, unsigned long code, argument
522 if (!is_edp(intel_dp) || code != SYS_RESTART)
3692 * attached. For paranoia keep the code around for a
4837 * hard to tell without seeing the user of this function of this code.
/drivers/media/i2c/
H A Ds5k5baf.c251 enum v4l2_mbus_pixelcode code; member in struct:s5k5baf_pixfmt
617 /* CIS sensor tuning, based on undocumented android driver code */
746 if (mf->code == s5k5baf_formats[i].code)
1204 struct v4l2_subdev_mbus_code_enum *code)
1206 if (code->pad == PAD_CIS) {
1207 if (code->index > 0)
1209 code->code = V4L2_MBUS_FMT_FIXED;
1213 if (code
1202 s5k5baf_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 Dov772x.c379 enum v4l2_mbus_pixelcode code; member in struct:ov772x_color_format
411 .code = V4L2_MBUS_FMT_YUYV8_2X8,
419 .code = V4L2_MBUS_FMT_YVYU8_2X8,
427 .code = V4L2_MBUS_FMT_UYVY8_2X8,
435 .code = V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE,
443 .code = V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE,
451 .code = V4L2_MBUS_FMT_RGB565_2X8_LE,
459 .code = V4L2_MBUS_FMT_RGB565_2X8_BE,
471 .code = V4L2_MBUS_FMT_SBGGR10_1X10,
569 priv->cfmt->code, pri
992 ov772x_enum_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument
[all...]
/drivers/message/fusion/
H A Dmptbase.c2941 printk(MYIOC_s_WARN_FMT " FAULT code = %04xh\n",
3647 * mpt_downloadboot - DownloadBoot code
8100 u32 code:8; member in struct:loginfo_type::__anon2522
8120 if (sas_loginfo.dw.code <
8122 code_desc = iop_code_str[sas_loginfo.dw.code];
8125 if (sas_loginfo.dw.code <
8127 code_desc = pl_code_str[sas_loginfo.dw.code];
8130 if (sas_loginfo.dw.code >=
8133 code_desc = ir_code_str[sas_loginfo.dw.code];
8137 if (sas_loginfo.dw.code
[all...]
/drivers/net/ethernet/alteon/
H A Dacenic.h26 * The addressing code is derived from Pete Wyckoff's work, but
318 u32 code:12; member in struct:event
322 u32 code:12;
364 u32 code:12; member in struct:cmd
368 u32 code:12;
631 * struct to help the compiler generate better/shorter code.
/drivers/net/wireless/b43/
H A Dphy_n.c1744 static void b43_nphy_rssi_select_rev19(struct b43_wldev *dev, u8 code, argument
1750 static void b43_nphy_rev3_rssi_select(struct b43_wldev *dev, u8 code, argument
1756 if (code == 0) {
1767 if ((code == 1 && i == 1) || (code == 2 && !i))
1839 static void b43_nphy_rev2_rssi_select(struct b43_wldev *dev, u8 code, argument
1873 if (code == 0) {
1896 code << B43_NPHY_RFCTL_CMD_CORESEL_SHIFT));
1911 static void b43_nphy_rssi_select(struct b43_wldev *dev, u8 code, argument
1915 b43_nphy_rssi_select_rev19(dev, code, typ
2307 u8 code, val; local
2591 u8 code; local
[all...]
/drivers/nfc/
H A Dpn533.c96 /* Half start code (3), LEN (4) should be 0xffff for extended frame */
397 u8 code; member in struct:pn533_cmd
615 /* Standard frame code */
702 PN533_CMD_RESPONSE(dev->cmd->code));
927 cmd->code = cmd_code;
1039 cmd->code = cmd_code;
1574 0xff, 0xff}; /* System code */
/drivers/scsi/be2iscsi/
H A Dbe_main.c1638 switch (pdpdu_cqe->dw[offsetof(struct amap_i_t_dpdu_cqe, code) / 32]
1654 "BM_%d : Unexpected code=%d\n",
1656 code) / 32] & PDUCQE_CODE_MASK);
2078 unsigned short code = 0, cid = 0; local
2093 code = (sol->dw[offsetof(struct amap_sol_cqe, code) /
2100 if ((code == DRIVERMSG_NOTIFY) ||
2101 (code == UNSOL_HDR_NOTIFY) ||
2102 (code == UNSOL_DATA_NOTIFY))
2135 switch (code) {
[all...]
H A Dbe_cmds.h130 u32 code; member in struct:be_async_event_trailer
140 * When the event code of an async trailer is link-state, the mcc_compl
896 u8 code[6]; /* dword 2 */ member in struct:amap_sol_cqe
912 u8 code[6]; /* dword 2 */ member in struct:amap_sol_cqe_ring
925 u8 code[6]; /* dword 2 */ member in struct:amap_sol_cqe_v2
954 u8 code[6]; /* DWORD 2 */ member in struct:amap_it_dmsg_cqe
965 u8 code[6]; /* DWORD 2 */ member in struct:amap_it_dmsg_cqe_v2
H A Dbe_main.h669 u8 code[6]; member in struct:amap_i_t_dpdu_cqe
682 u8 code[6]; /* DWORD 2 */ member in struct:amap_i_t_dpdu_cqe_v2
/drivers/scsi/qla4xxx/
H A Dql4_nx.c3222 static void qla4_8xxx_uevent_emit(struct scsi_qla_host *ha, u32 code) argument
3227 switch (code) {
3772 "end=0x%x size=0x%x.\n", le32_to_cpu(region->code), start,
3775 switch (le32_to_cpu(region->code) & 0xff) {
/drivers/staging/android/
H A Dbinder.c344 uint32_t return_error; /* Write failed, return error code in read buf */
345 uint32_t return_error2; /* Write failed, return error code in read */
364 unsigned int code; member in struct:binder_transaction
1211 pr_err("reply failed, target thread, %d:%d, has error code %d already\n",
1478 t->code = tr->code;
2393 tr.code = t->code;
2454 BINDER_LOOPER_STATE_ENTERED)) /* the user-space code fails to */
3226 "%s %d: %p from %d:%d to %d:%d code
[all...]
/drivers/usb/atm/
H A Dueagle-atm.c17 * 1. Redistributions of source code must retain the above copyright
52 * HISTORY : some part of the code was base on ueagle 1.3 BSD driver,
53 * Damien Bergamini agree to put his code under a DUAL GPL/BSD license.
55 * The rest of the code was was rewritten from scratch.
396 u8 code[0]; member in struct:l1_code
763 * Make sure that the DSP code provided is safe to use.
820 unsigned int sum = p->code - dsp;
/drivers/video/fbdev/aty/
H A Datyfb_base.c934 * This code has been tested on a laptop with it's 1400x1050 LCD
2392 #if 0 /* dead code */
3915 unsigned long code, void *unused)
3919 if (code != SYS_RESTART)
3914 atyfb_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused) argument
/drivers/block/
H A Dskd_main.c1752 sksgio->skspcl->req.err_info.code = 0x44;
1988 u8 code, u8 qual, u8 fruc)
1992 && (code == 0x04) && (qual == 0x06)) {
1995 skd_name(skdev), key, code, qual, fruc);
2022 skd_log_check_status(skdev, status, skerr->key, skerr->code,
2328 skd_name(skdev), skerr->key, skerr->code, skerr->qual,
2333 skerr->key, skerr->code, skerr->qual, skerr->fruc);
2353 if (skerr->code != sns->asc)
2364 skerr->code, skerr->qual);
2504 skerr->key == ILLEGAL_REQUEST && skerr->code
1987 skd_log_check_status(struct skd_device *skdev, u8 status, u8 key, u8 code, u8 qual, u8 fruc) argument
[all...]
/drivers/isdn/hardware/eicon/
H A Dmessage.c66 protocol code supports this && xdi supports this
134 static void add_s(PLCI *plci, byte code, API_PARSE *p);
135 static void add_ss(PLCI *plci, byte code, API_PARSE *p);
136 static void add_ie(PLCI *plci, byte code, byte *p, word p_length);
2918 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = 0;
3861 If new protocol code and new XDI is used then CAPI should work
3876 return code with Id set to zero arrives.
3976 return code with Id set to zero arrives.
4006 same callback. Also if new XDI and protocol code used then jump
6635 data++; /* indication code */
7348 add_p(PLCI *plci, byte code, byte *p) argument
7360 add_s(PLCI *plci, byte code, API_PARSE *p) argument
7368 add_ss(PLCI *plci, byte code, API_PARSE *p) argument
7403 add_ie(PLCI *plci, byte code, byte *p, word p_length) argument
8937 word code; local
9508 byte code; member in struct:__anon1854
[all...]
/drivers/md/
H A Dmd.c5 completely rewritten, based on the MD driver code from Marc Zyngier
18 RAID code (such as request based resynchronization):
22 - persistent bitmap code
221 * Any code which breaks out of this loop while own
8343 unsigned long code, void *x)
8342 md_notify_reboot(struct notifier_block *this, unsigned long code, void *x) argument
/drivers/net/ethernet/broadcom/
H A Dbnx2.c2537 pr_err("fw sync timeout, reset code = %x\n", msg_data);
3796 u32 loc, code; local
3800 code = be32_to_cpu(*(rv2p_code + loc - 1));
3801 BNX2_WR(bp, BNX2_RV2P_INSTR_HIGH, code);
3802 code = be32_to_cpu(*(rv2p_code + loc));
3803 code = rv2p_fw_fixup(rv2p_proc, i, loc, code);
3804 BNX2_WR(bp, BNX2_RV2P_INSTR_LOW, code);
/drivers/net/hippi/
H A Drrunner.h360 u8 code; member in struct:event
362 u8 code;
461 u8 code; member in struct:cmd
463 u8 code;
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_sdio.c1896 int ret; /* Return code from calls */
3954 const struct firmware *code,
3968 err = brcmf_sdio_download_firmware(bus, code, nvram, nvram_len);
3953 brcmf_sdio_firmware_callback(struct device *dev, const struct firmware *code, void *nvram, u32 nvram_len) argument

Completed in 798 milliseconds

<<111213141516