/linux/arch/m68k/include/uapi/asm/ |
H A D | bootinfo-virt.h | 9 #define BI_VIRT_QEMU_VERSION 0x8000 10 #define BI_VIRT_GF_PIC_BASE 0x8001 11 #define BI_VIRT_GF_RTC_BASE 0x8002 12 #define BI_VIRT_GF_TTY_BASE 0x8003 13 #define BI_VIRT_VIRTIO_BASE 0x8004 14 #define BI_VIRT_CTRL_BASE 0x8005 17 * #define BI_VIRT_RNG_SEED 0x8006 */ 19 #define VIRT_BOOTI_VERSION MK_BI_VERSION(2, 0)
|
H A D | bootinfo-amiga.h | 14 #define BI_AMIGA_MODEL 0x8000 /* model (__be32) */ 15 #define BI_AMIGA_AUTOCON 0x8001 /* AutoConfig device */ 17 #define BI_AMIGA_CHIP_SIZE 0x8002 /* size of Chip RAM (__be32) */ 18 #define BI_AMIGA_VBLANK 0x8003 /* VBLANK frequency (__u8) */ 19 #define BI_AMIGA_PSFREQ 0x8004 /* power supply frequency (__u8) */ 20 #define BI_AMIGA_ECLOCK 0x8005 /* EClock frequency (__be32) */ 21 #define BI_AMIGA_CHIPSET 0x8006 /* native chipset present (__be32) */ 22 #define BI_AMIGA_SERPER 0x8007 /* serial port period (__be16) */ 29 #define AMI_UNKNOWN 0 51 #define CS_STONEAGE 0 [all …]
|
H A D | bootinfo-mac.h | 14 #define BI_MAC_MODEL 0x8000 /* Mac Gestalt ID (model type) */ 15 #define BI_MAC_VADDR 0x8001 /* Mac video base address */ 16 #define BI_MAC_VDEPTH 0x8002 /* Mac video depth */ 17 #define BI_MAC_VROW 0x8003 /* Mac video rowbytes */ 18 #define BI_MAC_VDIM 0x8004 /* Mac video dimensions */ 19 #define BI_MAC_VLOGICAL 0x8005 /* Mac video logical base */ 20 #define BI_MAC_SCCBASE 0x8006 /* Mac SCC base address */ 21 #define BI_MAC_BTIME 0x8007 /* Mac boot time */ 22 #define BI_MAC_GMTBIAS 0x8008 /* Mac GMT timezone offset */ 23 #define BI_MAC_MEMSIZE 0x8009 /* Mac RAM size (sanity check) */ [all …]
|
/linux/include/linux/ |
H A D | crc16.h | 7 * Poly 0x8005 (x^16 + x^15 + x^2 + 1) 8 * Init 0 24 return (crc >> 8) ^ crc16_table[(crc ^ data) & 0xff]; in crc16_byte()
|
/linux/sound/usb/usx2y/ |
H A D | usx2y.h | 12 #define USX2Y_DRIVER_VERSION 0x0100 /* 0.1.0 */ 27 #define USB_ID_US122 0x8007 28 #define USB_ID_US224 0x8005 29 #define USB_ID_US428 0x8001 33 USX2Y_STAT_CHIP_INIT = (1 << 0), /* all operational */
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | nxp,imx95-scmi.yaml | 20 const: 0x81 28 const: 0x84 36 enum: [0, 1, 2, 3, 4, 5, 6, 7, 0x8000, 0x8001, 0x8002, 0x8003, 37 0x8004, 0x8005, 0x8006, 0x8007]
|
/linux/drivers/media/rc/keymaps/ |
H A D | rc-dtt200u.c | 12 { 0x8001, KEY_MUTE }, 13 { 0x8002, KEY_CHANNELDOWN }, 14 { 0x8003, KEY_VOLUMEDOWN }, 15 { 0x8004, KEY_NUMERIC_1 }, 16 { 0x8005, KEY_NUMERIC_2 }, 17 { 0x8006, KEY_NUMERIC_3 }, 18 { 0x8007, KEY_NUMERIC_4 }, 19 { 0x8008, KEY_NUMERIC_5 }, 20 { 0x8009, KEY_NUMERIC_6 }, 21 { 0x800a, KEY_NUMERIC_7 }, [all …]
|
H A D | rc-terratec-slim-2.c | 17 { 0x8001, KEY_MUTE }, /* MUTE */ 18 { 0x8002, KEY_VOLUMEDOWN }, 19 { 0x8003, KEY_CHANNELDOWN }, 20 { 0x8004, KEY_NUMERIC_1 }, 21 { 0x8005, KEY_NUMERIC_2 }, 22 { 0x8006, KEY_NUMERIC_3 }, 23 { 0x8007, KEY_NUMERIC_4 }, 24 { 0x8008, KEY_NUMERIC_5 }, 25 { 0x8009, KEY_NUMERIC_6 }, 26 { 0x800a, KEY_NUMERIC_7 }, [all …]
|
/linux/drivers/gpu/drm/amd/include/asic_reg/vce/ |
H A D | vce_1_0_d.h | 26 #define mmVCE_CLOCK_GATING_A 0x80BE 27 #define mmVCE_CLOCK_GATING_B 0x80BF 28 #define mmVCE_LMI_CACHE_CTRL 0x83BD 29 #define mmVCE_LMI_CTRL 0x83A6 30 #define mmVCE_LMI_CTRL2 0x839D 31 #define mmVCE_LMI_MISC_CTRL 0x83B5 32 #define mmVCE_LMI_STATUS 0x83A7 33 #define mmVCE_LMI_SWAP_CNTL 0x83AD 34 #define mmVCE_LMI_SWAP_CNTL1 0x83AE 35 #define mmVCE_LMI_VCPU_CACHE_40BIT_BAR 0x8397 [all …]
|
H A D | vce_3_0_d.h | 27 #define mmVCE_STATUS 0x8001 28 #define mmVCE_VCPU_CNTL 0x8005 29 #define mmVCE_VCPU_CACHE_OFFSET0 0x8009 30 #define mmVCE_VCPU_CACHE_SIZE0 0x800a 31 #define mmVCE_VCPU_CACHE_OFFSET1 0x800b 32 #define mmVCE_VCPU_CACHE_SIZE1 0x800c 33 #define mmVCE_VCPU_CACHE_OFFSET2 0x800d 34 #define mmVCE_VCPU_CACHE_SIZE2 0x800e 35 #define mmVCE_SOFT_RESET 0x8048 36 #define mmVCE_RB_BASE_LO2 0x805b [all …]
|
H A D | vce_2_0_d.h | 27 #define mmVCE_STATUS 0x8001 28 #define mmVCE_VCPU_CNTL 0x8005 29 #define mmVCE_VCPU_CACHE_OFFSET0 0x8009 30 #define mmVCE_VCPU_CACHE_SIZE0 0x800a 31 #define mmVCE_VCPU_CACHE_OFFSET1 0x800b 32 #define mmVCE_VCPU_CACHE_SIZE1 0x800c 33 #define mmVCE_VCPU_CACHE_OFFSET2 0x800d 34 #define mmVCE_VCPU_CACHE_SIZE2 0x800e 35 #define mmVCE_SOFT_RESET 0x8048 36 #define mmVCE_RB_BASE_LO2 0x805b [all …]
|
/linux/drivers/net/usb/ |
H A D | zaurus.c | 56 skb2 = skb_copy_expand(skb, 0, 4 + padlen, flags); in zaurus_tx_fixup() 62 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup() 65 skb_put_u8(skb, fcs & 0xff); in zaurus_tx_fixup() 66 skb_put_u8(skb, (fcs >> 8) & 0xff); in zaurus_tx_fixup() 67 skb_put_u8(skb, (fcs >> 16) & 0xff); in zaurus_tx_fixup() 68 skb_put_u8(skb, (fcs >> 24) & 0xff); in zaurus_tx_fixup() 86 return 0; in always_connected() 128 0x5d, 0x34, 0xcf, 0x66, 0x11, 0x18, 0x11, 0xd6, 129 0xa2, 0x1a, 0x00, 0x01, 0x02, 0xca, 0x9a, 0x7f, 132 0x74, 0xf0, 0x3d, 0xbd, 0x1e, 0xc1, 0x44, 0x70, [all …]
|
H A D | cdc_ether.c | 28 desc->bInterfaceProtocol == 0xff); in is_rndis() 54 #define is_rndis(desc) 0 55 #define is_activesync(desc) 0 56 #define is_wireless_rndis(desc) 0 57 #define is_novatel_rndis(desc) 0 62 0xa3, 0x17, 0xa8, 0x8b, 0x04, 0x5e, 0x4f, 0x01, 63 0xa6, 0x07, 0xc0, 0xff, 0xcb, 0x7e, 0x39, 0x2a, 83 usb_sndctrlpipe(dev->udev, 0), in usbnet_cdc_update_filter() 89 0, in usbnet_cdc_update_filter() 130 if (len == 0 && dev->udev->actconfig->extralen) { in usbnet_generic_cdc_bind() [all …]
|
/linux/lib/ |
H A D | crc16.c | 10 /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */ 12 0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241, 13 0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440, 14 0xCC01, 0x0CC0, 0x0D80, 0xCD41, 0x0F00, 0xCFC1, 0xCE81, 0x0E40, 15 0x0A00, 0xCAC1, 0xCB81, 0x0B40, 0xC901, 0x09C0, 0x0880, 0xC841, 16 0xD801, 0x18C0, 0x1980, 0xD941, 0x1B00, 0xDBC1, 0xDA81, 0x1A40, 17 0x1E00, 0xDEC1, 0xDF81, 0x1F40, 0xDD01, 0x1DC0, 0x1C80, 0xDC41, 18 0x1400, 0xD4C1, 0xD581, 0x1540, 0xD701, 0x17C0, 0x1680, 0xD641, 19 0xD201, 0x12C0, 0x1380, 0xD341, 0x1100, 0xD1C1, 0xD081, 0x1040, 20 0xF001, 0x30C0, 0x3180, 0xF141, 0x3300, 0xF3C1, 0xF281, 0x3240, [all …]
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-crc16.c | 24 0x0000, 0x8005, 0x800f, 0x000a, 0x801b, 0x001e, 0x0014, 0x8011, 25 0x8033, 0x0036, 0x003c, 0x8039, 0x0028, 0x802d, 0x8027, 0x0022, 26 0x8063, 0x0066, 0x006c, 0x8069, 0x0078, 0x807d, 0x8077, 0x0072, 27 0x0050, 0x8055, 0x805f, 0x005a, 0x804b, 0x004e, 0x0044, 0x8041, 28 0x80c3, 0x00c6, 0x00cc, 0x80c9, 0x00d8, 0x80dd, 0x80d7, 0x00d2, 29 0x00f0, 0x80f5, 0x80ff, 0x00fa, 0x80eb, 0x00ee, 0x00e4, 0x80e1, 30 0x00a0, 0x80a5, 0x80af, 0x00aa, 0x80bb, 0x00be, 0x00b4, 0x80b1, 31 0x8093, 0x0096, 0x009c, 0x8099, 0x0088, 0x808d, 0x8087, 0x0082, 32 0x8183, 0x0186, 0x018c, 0x8189, 0x0198, 0x819d, 0x8197, 0x0192, 33 0x01b0, 0x81b5, 0x81bf, 0x01ba, 0x81ab, 0x01ae, 0x01a4, 0x81a1, [all …]
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 174 #define AIC_OP_OR 0x0 175 #define AIC_OP_AND 0x1 176 #define AIC_OP_XOR 0x2 177 #define AIC_OP_ADD 0x3 178 #define AIC_OP_ADC 0x4 179 #define AIC_OP_ROL 0x5 180 #define AIC_OP_BMOV 0x6 182 #define AIC_OP_MVI16 0x7 184 #define AIC_OP_JMP 0x8 185 #define AIC_OP_JC 0x9 [all …]
|
/linux/tools/usb/usbip/vudc/ |
H A D | vudc_server_example.sh | 45 ID_VENDOR="0x1d6b" 46 ID_PRODUCT="0x0104" 69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1 76 echo "usbip-vudc.0" > UDC 97 # usbipd: info: request 0x8005(6): complete 99 # usbip-vudc.0: Linux Foundation : unknown product (1d6b:0104) 100 # : /sys/devices/platform/usbip-vudc.0 105 # $ usbip attach -r $SERVER_IP -d usbip-vudc.0
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 26 for (i = 0; i < 8; i++) in onfi_crc16() 27 crc = (crc << 1) ^ ((crc & 0x8000) ? 0x8005 : 0); in onfi_crc16() 80 for (i = 0; i < ONFI_EXT_SECTION_MAX; i++) { in nand_flash_detect_ext_param_page() 103 ret = 0; in nand_flash_detect_ext_param_page() 120 for (i = 0; i < bufsize; i++) { in nand_bit_wise_majority() 121 u8 val = 0; in nand_bit_wise_majority() 123 for (j = 0; j < 8; j++) { in nand_bit_wise_majority() 124 unsigned int cnt = 0; in nand_bit_wise_majority() 126 for (k = 0; k < nsrcbufs; k++) { in nand_bit_wise_majority() 142 * Check if the NAND chip is ONFI compliant, returns 1 if it is, 0 otherwise. [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | dibusb-common.c | 20 #define deb_info(args...) dprintk(debug,0x01,args) 28 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { in dibusb_streaming_ctrl() 33 return 0; in dibusb_streaming_ctrl() 42 st->ops.pid_ctrl(adap->fe_adap[0].fe, in dibusb_pid_filter() 45 return 0; in dibusb_pid_filter() 54 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) in dibusb_pid_filter_ctrl() 57 return 0; in dibusb_pid_filter_ctrl() 70 b[0] = DIBUSB_REQ_SET_IOCTL; in dibusb_power_ctrl() 93 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0) in dibusb2_0_streaming_ctrl() 97 b[0] = DIBUSB_REQ_SET_STREAMING_MODE; in dibusb2_0_streaming_ctrl() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_mr.h | 14 #define PCI_DEVICE_ID_QLOGIC_ISPF001 0xF001 18 #define FX00_COMMAND_TYPE_7 0x07 /* Command Type 7 entry for 7XXX */ 53 #define STATUS_TYPE_FX00 0x01 /* Status entry. */ 80 #define MULTI_STATUS_TYPE_FX00 0x0D 91 #define TSK_MGMT_IOCB_TYPE_FX00 0x05 116 #define ABORT_IOCB_TYPE_FX00 0x08 /* Abort IOCB status. */ 136 #define IOCTL_IOSB_TYPE_FX00 0x0C 159 #define STATUS_CONT_TYPE_FX00 0x04 161 #define FX00_IOCB_TYPE 0x0B 203 #define QLAFX00_LINK_STATUS_DOWN 0x10 [all …]
|
/linux/drivers/crypto/ |
H A D | atmel-i2c.c | 28 { 0x01, "CheckMac or Verify miscompare" }, 29 { 0x03, "Parse Error" }, 30 { 0x05, "ECC Fault" }, 31 { 0x0F, "Execution Error" }, 32 { 0xEE, "Watchdog about to expire" }, 33 { 0xFF, "CRC or other communication error" }, 40 * two bytes of the command. CRC polynomial is 0x8005 and the initial register 51 *__crc16 = cpu_to_le16(bitrev16(crc16(0, data, len))); in atmel_i2c_checksum() 75 if (addr < 0 || addr > OTP_ZONE_SIZE) in atmel_i2c_init_read_otp_cmd() 93 return 0; in atmel_i2c_init_read_otp_cmd() [all …]
|
/linux/drivers/scsi/ |
H A D | qlogicpti.h | 11 #define SBUS_CFG1 0x006UL 12 #define SBUS_CTRL 0x008UL 13 #define SBUS_STAT 0x00aUL 14 #define SBUS_SEMAPHORE 0x00cUL 15 #define CMD_DMA_CTRL 0x022UL 16 #define DATA_DMA_CTRL 0x042UL 17 #define MBOX0 0x080UL 18 #define MBOX1 0x082UL 19 #define MBOX2 0x084UL 20 #define MBOX3 0x086UL [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/abi/ |
H A D | guc_actions_abi.h | 19 * | 0 | 31 | ORIGIN = GUC_HXG_ORIGIN_HOST_ | 25 * | | 15:0 | ACTION = _`GUC_ACTION_HOST2GUC_SELF_CFG` = 0x0508 | 29 * | | 15:0 | **KLV_LEN** - KLV length | 34 * | 2 | 31:0 | **VALUE32** - Bits 31-0 of the KLV value | 36 * | 3 | 31:0 | **VALUE64** - Bits 63-32 of the KLV value (**KLV_LEN** = 2) | 42 * | 0 | 31 | ORIGIN = GUC_HXG_ORIGIN_GUC_ | 46 * | | 27:0 | DATA0 = **NUM** - 1 if KLV was parsed, 0 if not recognized | 49 #define GUC_ACTION_HOST2GUC_SELF_CFG 0x0508 53 #define HOST2GUC_SELF_CFG_REQUEST_MSG_1_KLV_KEY (0xffffU << 16) 54 #define HOST2GUC_SELF_CFG_REQUEST_MSG_1_KLV_LEN (0xffff << 0) [all …]
|
/linux/include/uapi/linux/ |
H A D | tipc_config.h | 71 #define TIPC_CMD_NOOP 0x0000 /* tx none, rx none */ 72 #define TIPC_CMD_GET_NODES 0x0001 /* tx net_addr, rx node_info(s) */ 73 #define TIPC_CMD_GET_MEDIA_NAMES 0x0002 /* tx none, rx media_name(s) */ 74 #define TIPC_CMD_GET_BEARER_NAMES 0x0003 /* tx none, rx bearer_name(s) */ 75 #define TIPC_CMD_GET_LINKS 0x0004 /* tx net_addr, rx link_info(s) */ 76 #define TIPC_CMD_SHOW_NAME_TABLE 0x0005 /* tx name_tbl_query, rx ultra_string */ 77 #define TIPC_CMD_SHOW_PORTS 0x0006 /* tx none, rx ultra_string */ 78 #define TIPC_CMD_SHOW_LINK_STATS 0x000B /* tx link_name, rx ultra_string */ 79 #define TIPC_CMD_SHOW_STATS 0x000F /* tx unsigned, rx ultra_string */ 88 #define TIPC_CMD_GET_REMOTE_MNG 0x4003 /* tx none, rx unsigned */ [all …]
|
/linux/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx.c | 36 u8 len = (i2c_data > 0xff) ? 2 : 1; in stv06xx_write_bridge() 38 buf[0] = i2c_data & 0xff; in stv06xx_write_bridge() 39 buf[1] = (i2c_data >> 8) & 0xff; in stv06xx_write_bridge() 41 err = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in stv06xx_write_bridge() 42 0x04, 0x40, address, 0, buf, len, in stv06xx_write_bridge() 45 gspca_dbg(gspca_dev, D_CONF, "Written 0x%x to address 0x%x, status: %d\n", in stv06xx_write_bridge() 48 return (err < 0) ? err : 0; in stv06xx_write_bridge() 58 err = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in stv06xx_read_bridge() 59 0x04, 0xc0, address, 0, buf, 1, in stv06xx_read_bridge() 62 *i2c_data = buf[0]; in stv06xx_read_bridge() [all …]
|