| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | serial.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Serial Converter stuff 5 * Copyright (C) 1999 - 2012 6 * Greg Kroah-Hartman (greg@kroah.com) 19 #include <linux/serial.h> 22 /* The maximum number of ports one device can grab at once */ 25 /* USB serial flags */ 31 * @serial: pointer back to the struct usb_serial owner of this port. 34 * @minor: the minor number of the port 35 * @port_number: the struct usb_serial port number of this port (starts at 0) [all …]
|
| H A D | iowarrior.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 /* the serial number of our chip (if a serial-number is not available 24 __u8 serial[9]; member 25 /* revision number of the chip */ 27 /* USB-speed of the device (0=UNKNOWN, 1=LOW, 2=FULL 3=HIGH) */ 31 /* the number of the endpoint */ 33 /* size of the data-packets on this interface */ 38 Get some device-information (product-id , serial-number etc.)
|
| /OK3568_Linux_fs/kernel/drivers/staging/fwserial/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 This enables TTY over IEEE 1394, providing high-speed serial 8 ad-hoc transport protocol and is currently limited to 9 Linux-to-Linux communication. 12 be called firewire-serial. 17 int "Maximum number of serial ports supported" 20 Set this to the maximum number of serial ports you want the 21 firewire-serial driver to support. 24 int "Maximum number of serial ports supported per adapter" 28 Set this to the maximum number of serial ports each firewire [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/devlink/ |
| H A D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | smsc_lpc47m.h | 4 * SPDX-License-Identifier: GPL-2.0+ 13 /* Logical device number */ 15 #define LPC47M_SP2 2 /* Serial Port 2 */ 17 #define LPC47M_SP1 4 /* Serial Port 1 */ 22 * Configure the base I/O port of the specified serial device and enable the 23 * serial device. 25 * @dev: high 8 bits = super I/O port, low 8 bits = logical device number 26 * @iobase: processor I/O port address to assign to this serial device 27 * @irq: processor IRQ number to assign to this serial device 35 * @dev: high 8 bits = Super I/O port, low 8 bits = logical device number [all …]
|
| H A D | smsc_sio1007.h | 4 * SPDX-License-Identifier: GPL-2.0+ 11 * The I/O base address of SIO1007 at power-up is determined by the SYSOPT0 56 /* Number of serial ports supported */ 59 /* Number of gpio pins supported */ 65 * Configure the I/O port address of the specified serial device and 66 * enable the serial device. 69 * @num: serial device number (0 or 1) 70 * @iobase: processor I/O port address to assign to this serial device 71 * @irq: processor IRQ number to assign to this serial device 88 * @gpio: GPIO number (0-7 for GP10-GP17, 8-15 for GP30-GP37) [all …]
|
| H A D | winbond_w83627.h | 4 * SPDX-License-Identifier: GPL-2.0+ 13 /* Logical device number */ 19 #define W83627DHG_SPI 6 /* Serial peripheral interface */ 26 * Configure the base I/O port of the specified serial device and enable the 27 * serial device. 29 * @dev: high 8 bits = super I/O port, low 8 bits = logical device number 30 * @iobase: processor I/O port address to assign to this serial device 31 * @irq: processor IRQ number to assign to this serial device
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 2 0 = reserved as null device number 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 13 8 = /dev/random Nondeterministic random number gen. 14 9 = /dev/urandom Faster, less secure random number gen. 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and 44 These are the old-style (BSD) PTY devices; Unix98 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Serial device configuration 6 menu "Serial drivers" 14 the console before standard serial driver is probed. The console is 17 source "drivers/tty/serial/8250/Kconfig" 19 comment "Non-8250 serial port support" 22 tristate "ARM AMBA PL010 serial port support" 33 bool "Support for console on AMBA serial port" 49 tristate "ARM AMBA PL011 serial port support" 60 bool "Support for console on AMBA serial port" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | visor.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1999 - 2004 7 * Greg Kroah-Hartman (greg@kroah.com) 9 * See Documentation/usb/usb-serial.rst for more information on using this 25 #include <linux/usb/serial.h> 32 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" 38 static int visor_probe(struct usb_serial *serial, 40 static int visor_calc_num_ports(struct usb_serial *serial, 42 static int clie_5_calc_num_ports(struct usb_serial *serial, 45 static int clie_3_5_startup(struct usb_serial *serial); [all …]
|
| H A D | io_edgeport.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 14 #define MAX_RS232_PORTS 8 /* Max # of RS-232 ports per device */ 32 /* The following table is used to map the USBx port number to 33 * the device serial number (or physical USB path), */ 37 char SerialNumber[MAX_SERIALNUMBER_LEN+1]; /* Serial number/usb path */ 38 int numPorts; /* Number of ports */ 80 __u8 NumPorts; /* Number of ports on edgeport */ 84 __u32 IsRS232 :1; /* Set if RS-232 ports exist */ 85 __u32 IsRS422 :1; /* Set if RS-422 ports exist */ 86 __u32 IsRS485 :1; /* Set if RS-485 ports exist */ [all …]
|
| H A D | mos7720.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Controls the Moschip 7720 usb to dual port serial converter 14 * Greg Kroah-Hartman <gregkh@suse.de> 16 * Originally based on drivers/usb/serial/io_edgeport.c which is: 18 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 28 #include <linux/serial.h> 31 #include <linux/usb/serial.h> 36 #define DRIVER_DESC "Moschip USB Serial Driver" 55 /* This structure holds all of the local serial port information */ 93 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */ [all …]
|
| /OK3568_Linux_fs/u-boot/board/rockchip/gva_rk3229/ |
| H A D | gva_rk3229.c | 4 * SPDX-License-Identifier: GPL-2.0+ 22 * are valid when executing 'env_set("serial#", value)'. 30 * First obtain the serial number from vendor partition, 32 * a default serial number according to CPU Id. 43 /* Read serial number from vendor storage part */ in set_serialno() 46 ret = vendor_storage_read(VENDOR_SN_ID, serialno_str, (VENDOR_SN_MAX-1)); in set_serialno() 48 env_set("serial#", serialno_str); in set_serialno() 66 /* Generate the serial number based on CPU ID */ in set_serialno() 75 env_set("serial#", serialno_str); in set_serialno() 95 u64 serial = 0; in get_board_serial() local [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | padata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * padata.h - header for the padata parallelization interface 25 * struct padata_priv - Represents one job 30 * @seq_nr: Sequence number of the parallelized data object. 31 * @info: Used to pass information from the parallel to the serial function. 33 * @serial: Serial complete function. 42 void (*serial)(struct padata_priv *padata); member 46 * struct padata_list - one per work type per CPU 57 * struct padata_serial_queue - The percpu padata serial queue 59 * @serial: List to wait for serialization after reordering. [all …]
|
| H A D | qcom-geni-se.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 11 /* Transfer mode supported by GENI Serial Engines */ 18 /* Protocols supported by GENI Serial Engines */ 42 * struct geni_se - GENI Serial Engine 43 * @base: Base Address of the Serial Engine's register block 44 * @dev: Pointer to the Serial Engine device 46 * @clk: Handle to the core serial engine clock 47 * @num_clk_levels: Number of valid clock levels in clk_perf_tbl 48 * @clk_perf_tbl: Table of clock frequency input to serial engine clock [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | qnx6.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 ------ 39 --------------- 42 Each qnx6fs got two superblocks, each one having a 64bit serial number. 43 That serial number is used to identify the "active" superblock. 45 serial of the new master superblock is increased (old superblock serial + 1) 48 update of the serial number. Before updating that serial, all modifications 65 Unused block pointers are always set to ~0 - regardless of root node, 75 information (total number of filesystem blocks) or by taking the highest 79 0x1000 is the size reserved for each superblock - regardless of the [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 TTY is required for any text terminals or serial port 24 one can be used for a text-mode user session, and a third could run 26 is done with certain key combinations, usually Alt-<function key>. 39 memory; the only way to log into such a system is then via a serial 43 shiny Linux system :-) 63 the kernel messages be output only to a serial port (in which case 64 you should say Y to "Console on serial port", below). 96 See <file:Documentation/driver-api/console.rst> for more 111 Linux has traditionally used the BSD-like names /dev/ptyxx for [all …]
|
| /OK3568_Linux_fs/u-boot/board/toradex/common/ |
| H A D | tdx-common.c | 4 * SPDX-License-Identifier: GPL-2.0+ 11 #include "tdx-cfg-block.h" 13 #include "tdx-common.h" 36 unsigned int serial = tdx_serial; in get_board_serial() local 39 serialnr->low = 0; in get_board_serial() 40 serialnr->high = 0; in get_board_serial() 43 if (serial) { in get_board_serial() 45 * Convert to Linux serial number format (hexadecimal coded in get_board_serial() 49 while (serial) { in get_board_serial() 50 array[i--] = serial % 10; in get_board_serial() [all …]
|
| /OK3568_Linux_fs/kernel/net/rxrpc/ |
| H A D | protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 typedef u32 rxrpc_seq_t; /* Rx message sequence number */ 12 typedef u32 rxrpc_serial_t; /* Rx message serial number */ 13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */ 14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */ 18 * on-the-wire Rx packet header 19 * - all multibyte fields should be in network byte order 23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 32 __be32 callNumber; /* call ID (0 for connection-level packets) */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/auxdisplay/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 41 and built-in as well (Y). 96 If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series, 100 check Documentation/admin-guide/auxdisplay/cfag12864b.rst 172 Say Y here if you have an HD44780 or KS-0074 LCD connected to your 173 parallel port. This driver also features 4 and 6-key keypads. The LCD 182 int "Default parallel port number (0=LPT1)" 193 int "Default panel profile (0-5, 0=custom)" 204 2 = 2x16 serial LCD (KS-0074), new keypad [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/ |
| H A D | struct_stat.h | 2 Copyright (C) 2020-2021 Free Software Foundation, Inc. 34 __ino_t st_ino; /* File serial number. */ 36 __ino_t __st_ino; /* 32bit file serial number. */ 42 __dev_t st_rdev; /* Device number, if device. */ 52 __blkcnt_t st_blocks; /* Number 512-byte blocks allocated. */ 54 __blkcnt64_t st_blocks; /* Number 512-byte blocks allocated. */ 62 standard-compliant sources special. */ 81 __ino64_t st_ino; /* File serial number. */ 91 __ino_t __st_ino; /* 32bit file serial number. */ 96 __dev_t st_rdev; /* Device number, if device. */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_fru_eeprom.c | 41 struct atom_context *atom_ctx = adev->mode_info.atom_context; in is_fru_eeprom_supported() 43 /* VBIOS is of the format ###-DXXXYY-##. For SKU identification, in is_fru_eeprom_supported() 49 switch (adev->asic_type) { in is_fru_eeprom_supported() 52 if (strnstr(atom_ctx->vbios_version, "D161", in is_fru_eeprom_supported() 53 sizeof(atom_ctx->vbios_version)) || in is_fru_eeprom_supported() 54 strnstr(atom_ctx->vbios_version, "D163", in is_fru_eeprom_supported() 55 sizeof(atom_ctx->vbios_version))) in is_fru_eeprom_supported() 76 ret = i2c_transfer(&adev->pm.smu_i2c, &msg, 1); in amdgpu_fru_read_eeprom() 86 size = buff[2] - I2C_PRODUCT_INFO_OFFSET; in amdgpu_fru_read_eeprom() 91 ret = i2c_transfer(&adev->pm.smu_i2c, &msg, 1); in amdgpu_fru_read_eeprom() [all …]
|
| /OK3568_Linux_fs/u-boot/board/ti/common/ |
| H A D | board_detect.h | 4 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com 6 * SPDX-License-Identifier: GPL-2.0+ 24 * struct ti_am_eeprom - This structure holds data read in from the 26 * @header: This holds the magic number 29 * @serial: Board serial number 36 * TI boards with a single MLO and u-boot. 42 char serial[TI_EEPROM_HDR_SERIAL_LEN]; member 53 * struct dra7_eeprom - This structure holds data read in from the DRA7 EVM 55 * @header: This holds the magic number 66 * DRA7 boards with a single MLO and u-boot. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # The 8250/16550 serial drivers. You shouldn't be in this list unless 8 tristate "8250/16550 and compatible serial support" 14 serial ports. The standard answer is Y. People who might say N 17 serial mouse and don't intend to use their machine's standard serial 18 port for anything. (Note that the Cyclades multi serial port driver 24 non-standard serial ports, since the configuration information will 28 BTW1: If you have a mouseman serial mouse which is not recognized by 35 Most people will say Y or M here, so that they can use serial mice, 36 modems and similar devices connecting to the standard serial ports. [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | Kconfig | 14 Normally, IDs are defined in bootstage.h but a small number of 25 Enable recording of boot time in SPL. To make this visible to U-Boot 27 information when SPL finishes and load it when U-Boot proper starts 35 This shows how long it took U-Boot to go through each stage of the 50 int "Number of boot ID numbers available for user use" 53 This is the number of available user bootstage records. 59 int "Number of boot stage records to store" 63 number of bootstage records that can be recorded. 126 Enabling this will make a U-Boot binary that is capable of being 135 Enabling this will make a U-Boot binary that is capable of being [all …]
|