/drivers/net/wireless/orinoco/ |
H A D | orinoco_usb.c | 27 * Queueing code based on linux-wlan-ng 0.2.1-pre5 42 * NOTE: The original USB Skeleton driver is GPL, but all that code is 95 const u8 *code; member in struct:ez_usb_fw 100 .code = NULL, 804 * the end of the code pointed to by the jump in the beginning 805 * of the firmware. Also, it is read by code located at 0x358. 807 variant_offset = be16_to_cpup((__be16 *) &fw->code[FW_VAR_OFFSET_PTR]); 824 memcpy(fw_buffer, &fw->code[addr], FW_BUF_SIZE); 1666 firmware.code = fw_entry->data; 1668 if (firmware.size && firmware.code) { [all...] |
/drivers/nfc/ |
H A D | port100.c | 451 u8 code; member in struct:port100_cmd 590 return (PORT100_FRAME_CMD(f) == PORT100_CMD_RESPONSE(dev->cmd->code)); 803 cmd->code = cmd_code;
|
/drivers/s390/net/ |
H A D | qeth_l2_main.c | 1403 * @code: event bitmask: high order bit 0x80 value 1 means removal of an 1415 u8 code, struct net_if_token *token, struct mac_addr_lnid *addr_lnid) 1424 (code & IPA_ADDR_CHANGE_CODE_REMOVAL) 1427 if (code & IPA_ADDR_CHANGE_CODE_VLANID) { 1432 if (code & IPA_ADDR_CHANGE_CODE_MACADDR) { 1622 * @setcmd: IPA command code 1641 rc = -ENODEV; /* maybe not the best code here? */ 1932 u8 code; local 1940 code = IPA_ADDR_CHANGE_CODE_MACADDR; 1942 code | 1413 qeth_bridge_emit_host_event(struct qeth_card *card, enum qeth_an_event_type evtype, u8 code, struct net_if_token *token, struct mac_addr_lnid *addr_lnid) argument [all...] |
/drivers/scsi/ |
H A D | 3w-9xxx.c | 71 Serialize reset code. 1985 static char *twa_string_lookup(twa_message_type *table, unsigned int code) argument 1989 for (index = 0; ((code != table[index].code) &&
|
H A D | mesh.c | 10 * Apr. 21 2002 - BenH Rework bus reset code for new error handler 545 * the scsi code will eventually time out and 1158 int i, code; local 1164 code = ms->msgin[0]; 1172 MKWORD(ms->n_msgin, code, ms->msgin[1], ms->msgin[2])); 1179 cmd->SCp.Message = code; 1180 switch (code) { 1227 if (IDENTIFY_BASE <= code && code <= IDENTIFY_BASE + 7) { 1231 } else if (code ! [all...] |
H A D | wd7000.c | 475 * an execution phase code. 505 volatile unchar vue; /* vendor-unique error code */ 515 volatile unchar vue; /* vendor-unique error code */ 525 volatile unchar vue; /* vendor-unique error code */ 536 volatile unchar vue; /* vendor-unique error code */ 543 unchar type; /* diagnostics type code (0-3) */ 547 volatile unchar vue; /* vendor-unique error code */ 564 volatile unchar vue; /* vendor-unique error code */ 572 volatile unchar vue; /* vendor-unique error code */ 605 * END of data/declarations - code follow 1143 wd7000_diagnostics(Adapter * host, int code) argument [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 15 * 1. Redistributions of source code must retain the above copyright 66 * The scsi error recovery code performs its own bus settle 862 printk("%s: Device reset code sleeping\n", ahd_name(ahd)); 1701 u_int target, u_int lun, ac_code code) 1703 switch (code) { 1831 * This code is disabled by default as some 2050 * avoid the conversion so that the DV code has the 2380 printk("%s: Recovery code sleeping\n", ahd_name(ahd)); 2389 printk("Recovery code awake\n"); 1700 ahd_send_async(struct ahd_softc *ahd, char channel, u_int target, u_int lun, ac_code code) argument
|
H A D | aic7xxx_osm.c | 38 * SCB paging, and other rework of the code. 48 * 1. Redistributions of source code must retain the above copyright 110 * 1: Import of the latest FreeBSD sequencer code for this driver 111 * 2: Modification of kernel code to accommodate different sequencer semantics 115 * 5: Changes to printk information and verbosity selection code 138 * The scsi error recovery code performs its own bus settle 1620 u_int target, u_int lun, ac_code code) 1622 switch (code) { 1761 * This code is disabled by default as some 1958 * avoid the conversion so that the DV code ha 1619 ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, ac_code code) argument [all...] |
/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 99 static void fc_fcp_recovery(struct fc_fcp_pkt *, u8 code); 281 * Sets the status code to be FC_ERROR and then calls 858 /* Abuse cdb_status for rsp code */ 1300 /* cdb_status holds the tmf's rsp code */ 1628 static void fc_fcp_recovery(struct fc_fcp_pkt *fsp, u8 code) argument 1630 fsp->status_code = code;
|
/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_base.c | 5 * This code is based on drivers/scsi/mpt2sas/mpt2_base.c 297 * mpt2sas_base_fault_info - verbose translation of firmware FAULT code 299 * @fault_code: fault code 665 u32 code:8; member in struct:loginfo_type::__anon5917 702 "code(0x%02x), sub_code(0x%04x)\n", ioc->name, log_info, 703 originator_str, sas_loginfo.dw.code, 1788 * to this code. 4798 * out all the code associated with NO_SLEEP; its never used. 4799 * That is legacy code from mpt fusion driver, ported over.
|
/drivers/scsi/osd/ |
H A D | osd_initiator.c | 20 * 1. Redistributions of source code must retain the above copyright 447 * TODO: Keep error code in or->async_error. Need to audit all 448 * code paths. 602 act &= cpu_to_be16(~0x0080); /* V1 action code */ 1705 static bool _is_osd_security_code(int code) argument 1707 return (code == osd_security_audit_value_frozen) || 1708 (code == osd_security_working_key_frozen) || 1709 (code == osd_nonce_not_unique) || 1710 (code == osd_nonce_timestamp_out_of_range) || 1711 (code [all...] |
/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 3202 unsigned code, 3200 nbu2ss_gad_ioctl( struct usb_gadget *pgadget, unsigned code, unsigned long param) argument
|
/drivers/staging/fwserial/ |
H A D | fwserial.c | 1614 static inline int mgmt_pkt_expected_len(__be16 code) argument 1618 switch (be16_to_cpu(code)) { 1654 pkt->hdr.code = cpu_to_be16(FWSC_VIRT_CABLE_PLUG); 1655 pkt->hdr.len = cpu_to_be16(mgmt_pkt_expected_len(pkt->hdr.code)); 1662 pkt->hdr.code = cpu_to_be16(FWSC_VIRT_CABLE_PLUG_RSP); 1663 pkt->hdr.len = cpu_to_be16(mgmt_pkt_expected_len(pkt->hdr.code)); 1669 pkt->hdr.code = cpu_to_be16(FWSC_VIRT_CABLE_PLUG_RSP | FWSC_RSP_NACK); 1670 pkt->hdr.len = cpu_to_be16(mgmt_pkt_expected_len(pkt->hdr.code)); 1675 pkt->hdr.code = cpu_to_be16(FWSC_VIRT_CABLE_UNPLUG); 1676 pkt->hdr.len = cpu_to_be16(mgmt_pkt_expected_len(pkt->hdr.code)); [all...] |
/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_ipipe.c | 1455 if (fmt->code == ipipe_input_fmts[i]) 1460 fmt->code = V4L2_MBUS_FMT_SGRBG12_1X12; 1463 if (fmt->code == ipipe_output_fmts[i]) 1468 fmt->code = V4L2_MBUS_FMT_UYVY8_2X8; 1548 format.code = fse->code; 1556 if (format.code != fse->code) 1559 format.code = fse->code; 1577 ipipe_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | dm365_isif.c | 157 if (isif->formats[ISIF_PAD_SINK].code == V4L2_MBUS_FMT_SGRBG12_1X12) { 187 if (isif->formats[ISIF_PAD_SINK].code == V4L2_MBUS_FMT_SGRBG12_1X12) 199 if (isif->formats[ISIF_PAD_SINK].code == V4L2_MBUS_FMT_SGRBG12_1X12) { 217 if (isif->formats[ISIF_PAD_SINK].code == V4L2_MBUS_FMT_SGRBG12_1X12) 293 if (fmt->format.code == isif_fmts[i]) 299 fmt->format.code = V4L2_MBUS_FMT_YUYV8_2X8; 432 if (isif->formats[ISIF_PAD_SINK].code != V4L2_MBUS_FMT_SGRBG12_1X12) 607 if (isif->formats[ISIF_PAD_SINK].code != V4L2_MBUS_FMT_SGRBG12_1X12) 624 * Return 0 on success or a negative error code otherwise. 1100 pix_fmt = isif_get_pix_fmt(format->code); 1519 isif_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/drivers/tty/vt/ |
H A D | keyboard.c | 857 /* decimal input of code, while Alt depressed */ 860 /* hexadecimal input of code, while AltGr depressed */ 1146 int code; local 1188 code = x86_keycodes[keycode]; 1189 if (!code) 1192 if (code & 0x100) 1194 put_queue(vc, (code & 0x7f) | up_flag); 1510 /* Ioctl support code */ 1678 * Return 0 for success or an error code. 1718 * Return 0 for success or an error code [all...] |
/drivers/usb/gadget/function/ |
H A D | f_accessory.c | 712 static long acc_ioctl(struct file *fp, unsigned code, unsigned long value) argument 718 switch (code) {
|
H A D | f_mtp.c | 231 /* vendor code */ 283 /* MTP command code */ 865 static long mtp_ioctl(struct file *fp, unsigned code, unsigned long value) argument 874 switch (code) { 915 if (code == MTP_SEND_FILE_WITH_HEADER) { 920 } else if (code == MTP_SEND_FILE) {
|
/drivers/usb/gadget/legacy/ |
H A D | inode.c | 477 static long ep_ioctl(struct file *fd, unsigned code, unsigned long value) argument 487 switch (code) { 1305 static long dev_ioctl (struct file *fd, unsigned code, unsigned long value) argument 1312 ret = gadget->ops->ioctl (gadget, code, value); 2071 * user mode code can use it for sanity checks, like we do.
|
/drivers/usb/misc/ |
H A D | usbtest.c | 1166 * -: tested code must return this (negative) error code 1167 * +: tested code may return this (negative too) error code 1397 * hcd states and code paths, even with little other system load. 1775 ERROR(dev, "ctrl_out %s failed, code %d, count %d\n", 2020 * User mode code can scan usbfs to find N different devices (maybe on 2033 * it locks out usbcore in certain code paths. Notably, if you disconnect 2041 usbtest_ioctl(struct usb_interface *intf, unsigned int code, void *buf) argument 2057 if (code ! [all...] |
/drivers/usb/serial/ |
H A D | io_edgeport.c | 144 __u8 rxStatusCode; /* the receive status code */ 1807 __u8 code = edge_serial->rxStatusCode; local 1820 if (code == IOSP_EXT_STATUS) { 1848 if (code == IOSP_STATUS_OPEN_RSP) { 1878 switch (code) { 1911 dev_dbg(dev, "%s - Unrecognized IOSP status code %u\n", __func__, code);
|
/drivers/hid/ |
H A D | wacom_wac.c | 4 * USB Wacom tablet support - Wacom specific code 1252 struct hid_field *field, __u8 type, __u16 code, int fuzz) 1260 usage->code = code; 1266 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); 1267 input_abs_set_res(input, code, 1268 hidinput_calc_abs_res(field, code)); 1271 input_set_capability(input, EV_KEY, code); 1274 input_set_capability(input, EV_MSC, code); 1342 input_event(input, usage->type, usage->code, valu 1251 wacom_map_usage(struct wacom *wacom, struct hid_usage *usage, struct hid_field *field, __u8 type, __u16 code, int fuzz) argument [all...] |
/drivers/media/dvb-frontends/ |
H A D | dib9000.c | 468 static int dib9000_firmware_download(struct dib9000_state *state, u8 risc_id, u16 key, const u8 * code, u32 len) argument 483 if (dib9000_write16_noinc(state, 1026 + offs, (u8 *) code, (u16) len) != 0) {
|
/drivers/media/i2c/ |
H A D | adv7604.c | 91 enum v4l2_mbus_pixelcode code; member in struct:adv7604_format_info 822 adv7604_format_info(struct adv7604_state *state, enum v4l2_mbus_pixelcode code) argument 827 if (state->info->formats[i].code == code) 1811 struct v4l2_subdev_mbus_code_enum *code) 1815 if (code->index >= state->info->nformats) 1818 code->code = state->info->formats[code->index].code; 1809 adv7604_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | adv7842.c | 1880 enum v4l2_mbus_pixelcode *code) 1885 *code = V4L2_MBUS_FMT_FIXED; 1896 fmt->code = V4L2_MBUS_FMT_FIXED; 1879 adv7842_enum_mbus_fmt(struct v4l2_subdev *sd, unsigned int index, enum v4l2_mbus_pixelcode *code) argument
|