/linux/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) 14 #include <linux/serial.h> 17 /* The maximum number of ports one device can grab at once */ 20 /* USB serial flags */ 26 * @serial 67 struct usb_serial *serial; global() member 164 usb_get_serial_data(struct usb_serial * serial) usb_get_serial_data() argument 169 usb_set_serial_data(struct usb_serial * serial,void * data) usb_set_serial_data() argument 333 usb_serial_console_disconnect(struct usb_serial * serial) usb_serial_console_disconnect() argument [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 o [all...] |
/linux/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 por [all...] |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 18 #include <linux/serial.h> 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membas [all...] |
H A D | sh-sci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 SCSMR, /* Serial Mode Register */ 17 SCSCR, /* Serial Control Register */ 18 SCxSR, /* Serial Status Register */ 26 SCSPTR, /* Serial Port Register */ 28 SCPCR, /* Serial Port Control Register */ 29 SCPDR, /* Serial Port Data Register */ 34 SEMR, /* Serial extende [all...] |
/linux/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-independen [all...] |
/linux/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, 308 palm_os_3_probe(struct usb_serial * serial,const struct usb_device_id * id) palm_os_3_probe() argument 404 palm_os_4_probe(struct usb_serial * serial,const struct usb_device_id * id) palm_os_4_probe() argument 432 visor_probe(struct usb_serial * serial,const struct usb_device_id * id) visor_probe() argument 464 visor_calc_num_ports(struct usb_serial * serial,struct usb_serial_endpoints * epds) visor_calc_num_ports() argument 499 clie_5_calc_num_ports(struct usb_serial * serial,struct usb_serial_endpoints * epds) clie_5_calc_num_ports() argument 518 clie_3_5_startup(struct usb_serial * serial) clie_3_5_startup() argument [all...] |
H A D | sierra.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #include <linux/usb/serial.h> 41 #define MAX_TRANSFER (PAGE_SIZE - 512) 43 allocations > PAGE_SIZE and the number of packets in a page 50 size_t count; /* number of elements in array */ 84 static int sierra_calc_num_ports(struct usb_serial *serial, in sierra_calc_num_ports() argument 90 ifnum = serial->interfac in sierra_calc_num_ports() 118 sierra_interface_num(struct usb_serial * serial) sierra_interface_num() argument 123 sierra_probe(struct usb_serial * serial,const struct usb_device_id * id) sierra_probe() argument 290 struct usb_serial *serial = port->serial; sierra_send_setup() local 420 struct usb_serial *serial = port->serial; sierra_write() local 565 struct usb_serial *serial = port->serial; sierra_instat_callback() local 697 sierra_setup_urb(struct usb_serial * serial,int endpoint,int dir,void * ctx,int len,gfp_t mem_flags,usb_complete_t callback) sierra_setup_urb() argument 729 struct usb_serial *serial = port->serial; sierra_close() local 772 struct usb_serial *serial = port->serial; sierra_open() local 827 sierra_startup(struct usb_serial * serial) sierra_startup() argument 849 sierra_release(struct usb_serial * serial) sierra_release() argument 859 struct usb_serial *serial = port->serial; sierra_port_probe() local 913 stop_read_write_urbs(struct usb_serial * serial) stop_read_write_urbs() argument 930 sierra_suspend(struct usb_serial * serial,pm_message_t message) sierra_suspend() argument 989 sierra_resume(struct usb_serial * serial) sierra_resume() argument [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 94 struct usb_serial *serial; /* back to containing struct */ global() member 183 write_mos_reg(struct usb_serial * serial,unsigned int serial_portnum,enum mos_regs reg,__u8 data) write_mos_reg() argument 205 read_mos_reg(struct usb_serial * serial,unsigned int serial_portnum,enum mos_regs reg,__u8 * data) read_mos_reg() argument 553 mos7715_parport_init(struct usb_serial * serial) mos7715_parport_init() argument 820 mos77xx_calc_num_ports(struct usb_serial * serial,struct usb_serial_endpoints * epds) mos77xx_calc_num_ports() argument 844 struct usb_serial *serial; mos7720_open() local 967 struct usb_serial *serial; mos7720_close() local 1003 struct usb_serial *serial; mos7720_break() local 1055 struct usb_serial *serial; mos7720_write() local 1184 struct usb_serial *serial; set_higher_rates() local 1316 struct usb_serial *serial; send_cmd_write_baud_rate() local 1319 unsigned char number; send_cmd_write_baud_rate() local 1363 struct usb_serial *serial; change_port_settings() local 1628 mos7720_startup(struct usb_serial * serial) mos7720_startup() argument 1663 mos7720_release(struct usb_serial * serial) mos7720_release() argument [all...] |
H A D | io_ti.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Edgeport USB Serial Converter driver 5 * Copyright (C) 2000-2002 Inside Out Networks, All rights reserved. 6 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 26 #include <linux/serial.h> 33 #include <linux/usb/serial.h> 39 #define DRIVER_AUTHOR "Greg Kroah-Hartma 122 struct usb_serial *serial; global() member 381 read_boot_mem(struct edgeport_serial * serial,int start_address,int length,u8 * buffer) read_boot_mem() argument 407 write_boot_mem(struct edgeport_serial * serial,int start_address,int length,u8 * buffer) write_boot_mem() argument 441 write_i2c_mem(struct edgeport_serial * serial,int start_address,int length,u8 address_type,u8 * buffer) write_i2c_mem() argument 598 read_rom(struct edgeport_serial * serial,int start_address,int length,u8 * buffer) read_rom() argument 616 write_rom(struct edgeport_serial * serial,int start_address,int length,u8 * buffer) write_rom() argument 630 get_descriptor_addr(struct edgeport_serial * serial,int desc_type,struct ti_i2c_desc * rom_desc) get_descriptor_addr() argument 674 check_i2c_image(struct edgeport_serial * serial) check_i2c_image() argument 754 get_manuf_info(struct edgeport_serial * serial,u8 * buffer) get_manuf_info() argument 865 i2c_type_bootmode(struct edgeport_serial * serial) i2c_type_bootmode() argument 909 bulk_xfer(struct usb_serial * serial,void * buffer,int length,int * num_sent) bulk_xfer() argument 922 download_code(struct edgeport_serial * serial,u8 * image,int image_length) download_code() argument 960 check_fw_sanity(struct edgeport_serial * serial,const struct firmware * fw) check_fw_sanity() argument 1001 download_fw(struct edgeport_serial * serial) download_fw() argument 1068 do_download_mode(struct edgeport_serial * serial,const struct firmware * fw) do_download_mode() argument 1380 do_boot_mode(struct edgeport_serial * serial,const struct firmware * fw) do_boot_mode() argument 2455 struct edgeport_serial *serial; edge_heartbeat_work() local 2474 edge_calc_num_ports(struct usb_serial * serial,struct usb_serial_endpoints * epds) edge_calc_num_ports() argument 2493 edge_startup(struct usb_serial * serial) edge_startup() argument 2534 edge_disconnect(struct usb_serial * serial) edge_disconnect() argument 2541 edge_release(struct usb_serial * serial) edge_release() argument 2652 edge_suspend(struct usb_serial * serial,pm_message_t message) edge_suspend() argument 2661 edge_resume(struct usb_serial * serial) edge_resume() argument [all...] |
H A D | whiteheat.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * Greg Kroah-Hartman (greg@kroah.com) 11 * See Documentation/usb/usb-serial.rst for more information on using this 56 __u8 port; /* port number (1 to N) */ 89 __u8 port; /* port number (1 to N) */ 90 __le32 baud; /* any value 7 - 460800, firmware calculates 116 __u8 port; /* port number ( [all...] |
/linux/include/linux/ |
H A D | padata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * padata.h - header for the padata parallelization interface 26 * struct padata_priv - Represents one job 31 * @seq_nr: Sequence number of the parallelized data object. 32 * @info: Used to pass information from the parallel to the serial function. 34 * @serial: Serial complet 43 void (*serial)(struct padata_priv *padata); global() member 65 struct padata_list serial; global() member [all...] |
/linux/drivers/tty/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 TTY is required for any text terminals or serial port 23 one can be used for a text-mode user session, and a third could run 25 is done with certain key combinations, usually Alt-<function key>. 38 memory; the only way to log into such a system is then via a serial 42 shiny Linux system :-) 62 the kernel messages be output only to a serial port (in which case 63 you should say Y to "Console on serial por [all...] |
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | kontron,sl28-vpd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# 5 $schema: http://devicetree.org/meta-schema [all...] |
/linux/sound/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 tristate "PC-Speaker support (READ HELP!)" 60 You can compile this as a module which will be called snd-pcsp. 65 pc-speaker a default sound device. Which is likely not 69 options snd-pcsp index=2 71 You don't need this driver if you only want your pc-speaker to beep. 90 will be called snd-dumm [all...] |
/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 2 Serial UART 16450/16550 MIDI driver 7 * 0 - Roland Soundcanvas support (default) 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 11 * 4 - Generic device with multiple input support (4) 13 For the Midiator MS-12 [all...] |
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | microchip,sparx5-sgpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpi [all...] |
/linux/arch/parisc/include/asm/ |
H A D | superio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define SIO_SP1BAR 0x94 /* Serial 1 BAR */ 13 #define SIO_SP2BAR 0x98 /* Serial 2 BAR */ 20 #define CFG_IR_SER 0x69 /* Serial 1 [0:3] and Serial 2 [4:7] */ 34 #define OCW2_EOI 0x20 /* Non-specific EOI */ 42 #define SP1_IRQ 3 /* Serial port 1 */ 43 #define SP2_IRQ 4 /* Serial por [all...] |
/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-device-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 MEDIA_IOC_DEVICE_INFO - Query device information 44 .. flat-table:: struct media_device_info 45 :header-row [all...] |
/linux/drivers/auxdisplay/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 25 This is the base system for character-based LCD displays. 67 Say Y here if you have an HD44780 or KS-0074 LCD connected to your 68 parallel port. This driver also features 4 and 6-key keypads. The LCD 77 int "Default parallel port number (0=LPT1)" 88 int "Default panel profile (0-5, 0=custom)" 99 2 = 2x16 serial LC [all...] |
/linux/Documentation/devicetree/bindings/serial/ |
H A D | xlnx,opb-uartlite.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/xlnx,opb-uartlit [all...] |
/linux/arch/um/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 bool "Virtual serial line" 14 The User-Mode Linux environment allows you to create virtual serial 18 See <http://user-mode-linux.sourceforge.net/old/input.html> for more 26 This option enables support for attaching UML consoles and serial 33 This option enables support for attaching UML consoles and serial [all...] |
/linux/drivers/char/ |
H A D | applicom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 the board doesn't correctly handle word accesses - only 92 static unsigned int irq; /* interrupt number IRQ */ 100 static unsigned int numboards; /* number of installed boards */ 103 static unsigned int WriteErrorCount; /* number of write error */ 104 static unsigned int ReadErrorCount; /* number of read error */ 105 static unsigned int DeviceErrorCount; /* number o 308 int serial; applicom_init() local 795 int serial; ac_ioctl() local [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-vhu [all...] |
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fru_eeprom.c | 42 struct atom_context *atom_ctx = adev->mode_info.atom_context; in is_fru_eeprom_supported() 48 if (amdgpu_sriov_vf(adev) || (adev->flags & AMD_IS_APU)) in is_fru_eeprom_supported() 56 /* VBIOS is of the format ###-DXXXYYYY-##. For SKU identification, in is_fru_eeprom_supported() 64 switch (adev->asic_type) { in is_fru_eeprom_supported() 67 if (atom_ctx && (strnstr(atom_ctx->vbios_pn, "D161", in is_fru_eeprom_supported() 68 sizeof(atom_ctx->vbios_pn)) || in is_fru_eeprom_supported() 69 strnstr(atom_ctx->vbios_pn, "D163", in is_fru_eeprom_supported() 70 sizeof(atom_ctx->vbios_pn)))) { in is_fru_eeprom_supported() 82 if (atom_ctx && strnstr(atom_ctx->vbios_p in is_fru_eeprom_supported() [all...] |