/linux/include/linux/mtd/ |
H A D | spinand.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2017 Micron Technology, Inc. 17 #include <linux/spi/spi-mem.h> 197 * struct spinand_id - SPI NAND id structure 198 * @data: buffer containing the id bytes. Currently 4 bytes large, but can 200 * @len: ID length 214 * struct spinand_devid - SPI NAND device id structure 215 * @id: device id of current chip 216 * @len: number of bytes in device id 217 * @method: method to read chip id [all …]
|
H A D | onenand.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright © 2005-2009 Samsung Electronics 27 * struct onenand_bufferram - OneNAND BufferRAM Data 35 * struct onenand_chip - OneNAND Private Flash Chip Data 37 * @dies: [INTERN][FLEX-ONENAND] number of dies on chip 38 * @boundary: [INTERN][FLEX-ONENAND] Boundary of the dies 39 * @diesize: [INTERN][FLEX-ONENAND] Size of the dies 41 * FIXME For Flex-OneNAND, chipsize holds maximum possible 43 * @device_id: [INTERN] device ID 45 * @verstion_id: [INTERN] version ID [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | internals.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2018 - Bootlin 17 * NAND Flash Manufacturer ID Codes 38 * struct nand_manufacturer_ops - NAND Manufacturer operations 40 * @init: initialize all vendor specific fields (like the ->read_retry() 42 * @cleanup: the ->init() function may have allocated resources, ->cleanup() 56 * struct nand_manufacturer_desc - NAND Flash Manufacturer descriptor 57 * @name: Manufacturer name 58 * @id: manufacturer ID code of device. 59 * @ops: manufacturer operations [all …]
|
H A D | nand_onfi.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 24 while (len--) { in onfi_crc16() 37 struct nand_device *base = &chip->base; in nand_flash_detect_ext_param_page() 47 len = le16_to_cpu(p->ext_param_page_length) * 16; in nand_flash_detect_ext_param_page() 50 return -ENOMEM; in nand_flash_detect_ext_param_page() 57 sizeof(*p) * p->num_of_param_pages, in nand_flash_detect_ext_param_page() 62 ret = -EINVAL; in nand_flash_detect_ext_param_page() 63 if ((onfi_crc16(ONFI_CRC_BASE, ((uint8_t *)ep) + 2, len - 2) in nand_flash_detect_ext_param_page() 64 != le16_to_cpu(ep->crc))) { in nand_flash_detect_ext_param_page() [all …]
|
H A D | nand_ids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * The chip ID list: 18 * name, device ID, page size, chip size in MiB, eraseblock size, options 21 * extended chip ID. 25 * Some incompatible NAND chips share device ID's and so must be 26 * listed by full ID. We list them first so that we can easily identify 29 {"TC58NVG0S3E 1G 3.3V 8-bit", 30 { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} }, 32 {"TC58NVG2S0F 4G 3.3V 8-bit", 33 { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} }, [all …]
|
/linux/include/uapi/linux/ |
H A D | zorro.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions 5 * Copyright (C) 1995--2003 Geert Uytterhoeven 19 * Each Zorro board has a 32-bit ID of the form 25 * mmmmmmmmmmmmmmmm 16-bit Manufacturer ID (assigned by CBM (sigh)) 26 * pppppppp 8-bit Product ID (assigned by manufacturer) 27 * eeeeeeee 8-bit Extended Product ID (currently only used 32 #define ZORRO_MANUF(id) ((id) >> 16) argument 33 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument 34 #define ZORRO_EPC(id) ((id) & 0xff) argument [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-cdx | 18 Vendor ID for this CDX device, in hexadecimal. Vendor ID is 19 16 bit identifier which is specific to the device manufacturer. 20 Combination of Vendor ID and Device ID identifies a device. 26 Device ID for this CDX device, in hexadecimal. Device ID is 28 of a device manufacturer. 29 Combination of Vendor ID and Device ID identifies a device. 35 Subsystem Vendor ID for this CDX device, in hexadecimal. 36 Subsystem Vendor ID is 16 bit identifier specific to the 37 card manufacturer. 43 Subsystem Device ID for this CDX device, in hexadecimal [all …]
|
H A D | sysfs-devices-platform-ipmi | 4 Contact: openipmi-developer@lists.sourceforge.net 12 Contact: openipmi-developer@lists.sourceforge.net 17 identified by Manufacturer ID. 23 Contact: openipmi-developer@lists.sourceforge.net 33 Contact: openipmi-developer@lists.sourceforge.net 42 Contact: openipmi-developer@lists.sourceforge.net 44 (RO) Device id is specified by the manufacturer identified by 45 the Manufacturer ID field. This field allows controller specific 53 Contact: openipmi-developer@lists.sourceforge.net 63 Contact: openipmi-developer@lists.sourceforge.net [all …]
|
H A D | sysfs-devices-soc | 5 The /sys/devices/ directory contains a sub-directory for each 6 System-on-Chip (SoC) device on a running platform. Information 19 Read-only attribute common to all SoCs. Contains the SoC machine 26 Read-only attribute common to all SoCs. Contains SoC family name 30 this will contain the JEDEC JEP106 manufacturer’s identification 34 This manufacturer’s identification code is defined by one 45 by the manufacturer's identity code. 57 Read-only attribute supported by most SoCs. Contains the SoC's 64 Read-only attribute supported by most SoCs. In the case of 65 ST-Ericsson's chips this contains the SoC serial number. [all …]
|
H A D | sysfs-bus-spi-devices-spi-nor | 1 What: /sys/bus/spi/devices/.../spi-nor/jedec_id 4 Contact: linux-mtd@lists.infradead.org 5 Description: (RO) The JEDEC ID of the SPI NOR flash as reported by the 9 the "Read JEDEC ID" command (9Fh). This is the case for 10 non-JEDEC compliant flashes. 12 What: /sys/bus/spi/devices/.../spi-nor/manufacturer 15 Contact: linux-mtd@lists.infradead.org 16 Description: (RO) Manufacturer of the SPI NOR flash. 22 What: /sys/bus/spi/devices/.../spi-nor/partname 25 Contact: linux-mtd@lists.infradead.org [all …]
|
/linux/drivers/hwmon/pmbus/ |
H A D | ltc4286.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 .R[PSC_CURRENT_OUT] = 3 - 6, 51 .R[PSC_POWER] = 4 - 6, 78 return dev_err_probe(&client->dev, ret, in ltc4286_probe() 79 "Failed to read manufacturer id\n"); in ltc4286_probe() 84 * the manufacturer id is LTC in ltc4286_probe() 88 return dev_err_probe(&client->dev, -ENODEV, in ltc4286_probe() 89 "Manufacturer id mismatch\n"); in ltc4286_probe() 94 return dev_err_probe(&client->dev, ret, in ltc4286_probe() 95 "Failed to read manufacturer model\n"); in ltc4286_probe() [all …]
|
H A D | dps920ab.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 48 return -ENXIO; in dps920ab_read_word_data() 64 return -EACCES; in dps920ab_write_word_data() 92 struct dps920ab_data *priv = s->private; in dps920ab_mfr_id_show() 94 seq_printf(s, "%s\n", priv->mfr_id); in dps920ab_mfr_id_show() 103 struct dps920ab_data *priv = s->private; in dps920ab_mfr_model_show() 105 seq_printf(s, "%s\n", priv->mfr_model); in dps920ab_mfr_model_show() 121 debugfs_dir = debugfs_create_dir(client->name, root); in dps920ab_init_debugfs() 142 data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL); in dps920ab_probe() 144 return -ENOMEM; in dps920ab_probe() [all …]
|
H A D | q54sj108a2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 77 int *idxp = file->private_data; in q54sj108a2_debugfs_read() 86 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_OPERATION); in q54sj108a2_debugfs_read() 93 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_WRITE_PROTECT); in q54sj108a2_debugfs_read() 100 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_VOUT_OV_FAULT_RESPONSE); in q54sj108a2_debugfs_read() 107 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_IOUT_OC_FAULT_RESPONSE); in q54sj108a2_debugfs_read() 114 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_REVISION); in q54sj108a2_debugfs_read() 121 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_ID, data); in q54sj108a2_debugfs_read() 126 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_MODEL, data); in q54sj108a2_debugfs_read() 131 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_REVISION, data); in q54sj108a2_debugfs_read() [all …]
|
/linux/arch/arm/include/asm/ |
H A D | ecard.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * 11-12-1996 RMK Further minor improvements 11 * 12-09-1997 RMK Added interrupt enable/disable for card level 22 * Manufacturer Product ID 89 struct ecard_id { /* Card ID structure */ 90 unsigned short manufacturer; member 95 struct in_ecid { /* Packed card ID information */ 97 unsigned short manufacturer; /* Manufacturer code */ member 98 unsigned char id:4; /* Simple ID */ member 130 #define ecard_resource_start(ec,nr) ((ec)->resource[nr].start) [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 46 aspeed,vhub-generic-endpoints: [all …]
|
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 203 * struct spi_nor_erase_type - Structure to describe a SPI NOR erase type 224 * struct spi_nor_erase_command - Used for non-uniform erases 227 * are run-length encoded. 242 * struct spi_nor_erase_region - Structure to describe a SPI NOR erase region 261 * struct spi_nor_erase_map - Structure to describe the SPI NOR erase map 265 * @uniform_region: a pre-allocated erase region for SPI NOR with a uniform 281 * struct spi_nor_locking_ops - SPI NOR locking methods 293 * struct spi_nor_otp_organization - Structure to describe the SPI NOR OTP regions 308 * struct spi_nor_otp_ops - SPI NOR OTP methods [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | u_midi2.h | 1 // SPDX-License-Identifier: GPL-2.0+ 18 unsigned int direction; /* FB direction: 1-3 */ 19 unsigned int first_group; /* first UMP group: 0-15 */ 20 unsigned int num_groups; /* number of UMP groups: 1-16 */ 23 unsigned int ui_hint; /* UI-hint: 0-3 */ 24 unsigned int midi_ci_version; /* MIDI-CI version: 0-255 */ 25 unsigned int sysex8_streams; /* number of sysex8 streams: 0-255 */ 26 unsigned int is_midi1; /* MIDI 1.0 port: 0-2 */ 33 unsigned int protocol_caps; /* protocol capabilities: 1-3 */ 34 unsigned int protocol; /* default protocol: 1-2 */ [all …]
|
/linux/drivers/usb/storage/ |
H A D | uas-detect.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 return (intf->desc.bInterfaceClass == USB_CLASS_MASS_STORAGE && in uas_is_interface() 9 intf->desc.bInterfaceSubClass == USB_SC_SCSI && in uas_is_interface() 10 intf->desc.bInterfaceProtocol == USB_PR_UAS); in uas_is_interface() 18 for (i = 0; i < intf->num_altsetting; i++) { in uas_find_uas_alt_setting() 19 struct usb_host_interface *alt = &intf->altsetting[i]; in uas_find_uas_alt_setting() 31 struct usb_host_endpoint *endpoint = alt->endpoint; in uas_find_endpoints() 32 unsigned i, n_endpoints = alt->desc.bNumEndpoints; in uas_find_endpoints() 41 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints() 44 len -= extra[0]; in uas_find_endpoints() [all …]
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 15 content is well specified and gives many information about the manufacturer 20 parameters the manufacturer decided to embed. 26 const: onie,tlv-layout 28 product-name: [all …]
|
/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Micron Technology, Inc. 10 #define pr_fmt(fmt) "spi-nand: " fmt 21 #include <linux/spi/spi-mem.h> 26 spinand->scratchbuf); in spinand_read_reg_op() 29 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_read_reg_op() 33 *val = *spinand->scratchbuf; in spinand_read_reg_op() 40 spinand->scratchbuf); in spinand_write_reg_op() 42 *spinand->scratchbuf = val; in spinand_write_reg_op() 43 return spi_mem_exec_op(spinand->spimem, &op); in spinand_write_reg_op() [all …]
|
/linux/arch/mips/include/asm/sgi/ |
H A D | gio.h | 22 * ----- --------- ----------------------- ----- 23 * 0 GFX 0x1f000000 - 0x1f3fffff 4MB 24 * 1 EXP0 0x1f400000 - 0x1f5fffff 2MB 25 * 2 EXP1 0x1f600000 - 0x1f9fffff 4MB 27 * There are un-slotted devices, HPC, I/O and misc devices, which are grouped 29 * - MISC 0x1fb00000 - 0x1fbfffff 1MB 32 * - RESERVED 0x18000000 - 0x1effffff 112MB 37 * read with an "ID" value. IDs are either 8 or 32 bits long. IDs less 41 * 32-bit IDs are divided into 42 * bits 0:6 the product ID; ranges from 0x00 to 0x7F. [all …]
|
/linux/tools/usb/ |
H A D | p9_fwd.py | 2 # SPDX-License-Identifier: GPL-2.0 23 return f"{dev.bus}-{dev_path}" 69 # we have to detach the usb-storage driver from multi gadget since 124 data += self.ep_in.read(size - len(data)) 138 data += self.s.recv(size - len(data)) 158 if (time.monotonic() - self.stats_logged) < interval: 167 with open(f"/sys/bus/usb/devices/{dev.bus}-{dev.address}/{name}") as f: 174 vid, pid = [int(x, 16) for x in args.id.split(":", 1)] 176 print("Bus | Addr | Manufacturer | Product | ID | Path") 177 print("--- | ---- | ---------------- | ---------------- | --------- | ----") [all …]
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | af9015.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DVB USB Linux driver for Afatech AF9015 DVB-T USB2.0 receiver 22 struct usb_interface *intf = d->intf; in af9015_ctrl_msg() 26 mutex_lock(&d->usb_mutex); in af9015_ctrl_msg() 28 state->buf[0] = req->cmd; in af9015_ctrl_msg() 29 state->buf[1] = state->seq++; in af9015_ctrl_msg() 30 state->buf[2] = req->i2c_addr << 1; in af9015_ctrl_msg() 31 state->buf[3] = req->addr >> 8; in af9015_ctrl_msg() 32 state->buf[4] = req->addr & 0xff; in af9015_ctrl_msg() 33 state->buf[5] = req->mbox; in af9015_ctrl_msg() [all …]
|
/linux/drivers/zorro/ |
H A D | names.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999--2000 Geert Uytterhoeven 9 * Copyright 1992--1999 Drew Eckhardt, Frederic Potter, 10 * David Mosberger-Tang, Martin Mares 63 char *name = dev->name; in zorro_name_device() 66 if (manuf_p->manuf == ZORRO_MANUF(dev->id)) in zorro_name_device() 69 } while (--i); in zorro_name_device() 71 /* Couldn't find either the manufacturer nor the product */ in zorro_name_device() 75 struct zorro_prod_info *prod_p = manuf_p->prods; in zorro_name_device() 76 int i = manuf_p->nr; in zorro_name_device() [all …]
|