/openbmc/linux/drivers/tty/serial/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 config SERIAL_EARLYCON 19 comment "Non-8250 serial port support" 21 config SERIAL_AMBA_PL010 22 tristate "ARM AMBA PL010 serial port support" 32 config SERIAL_AMBA_PL010_CONSOLE 33 bool "Support for console on AMBA serial port" 48 config SERIAL_AMBA_PL011 49 tristate "ARM AMBA PL011 serial port support" 59 config SERIAL_AMBA_PL011_CONSOLE [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 64 return -1; in __cvmx_pko_int() 77 union cvmx_pko_mem_iqueue_ptrs config; in __cvmx_pko_iport_config() local 81 config.u64 = 0; in __cvmx_pko_iport_config() 82 config.s.index = queue; in __cvmx_pko_iport_config() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, in lan966x_phylink_mac_select() argument 14 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_select() local 16 return &port->phylink_pcs; in lan966x_phylink_mac_select() 19 static void lan966x_phylink_mac_config(struct phylink_config *config, in lan966x_phylink_mac_config() argument 25 static int lan966x_phylink_mac_prepare(struct phylink_config *config, in lan966x_phylink_mac_prepare() argument 29 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_prepare() local 33 if (port->serdes) { in lan966x_phylink_mac_prepare() 34 err = phy_set_mode_ext(port->serdes, PHY_MODE_ETHERNET, in lan966x_phylink_mac_prepare() 37 netdev_err(to_net_dev(config->dev), in lan966x_phylink_mac_prepare() [all …]
|
H A D | lan966x_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 value = (MULTIPLIER_BIT - 1); in lan966x_wm_enc() 25 static void lan966x_port_link_down(struct lan966x_port *port) in lan966x_port_link_down() argument 27 struct lan966x *lan966x = port->lan966x; in lan966x_port_link_down() 35 lan966x, AFI_PORT_CFG(port->chip_port)); in lan966x_port_link_down() 37 /* wait for reg afi_port_frm_out to become 0 for the port */ in lan966x_port_link_down() 39 val = lan_rd(lan966x, AFI_PORT_FRM_OUT(port->chip_port)); in lan966x_port_link_down() 46 pr_err("AFI timeout chip port %u", port->chip_port); in lan966x_port_link_down() 56 lan966x, DEV_CLOCK_CFG(port->chip_port)); in lan966x_port_link_down() 61 lan966x, DEV_MAC_ENA_CFG(port->chip_port)); in lan966x_port_link_down() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 14 Please read <file:Documentation/usb/usb-serial.rst> for more 23 config USB_SERIAL_CONSOLE 28 converter port as the system console (the system console is the 31 terminal or printer is connected to that serial port. 42 port, /dev/ttyUSB0, as system console. 46 config USB_SERIAL_GENERIC 50 read <file:Documentation/usb/usb-serial.rst> for more information on 55 config USB_SERIAL_SIMPLE 61 - Suunto ANT+ USB device. [all …]
|
/openbmc/linux/drivers/ata/pata_parport/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 config PATA_PARPORT_ATEN 7 tristate "ATEN EH-100 protocol" 10 This option enables support for the ATEN EH-100 parallel port IDE 12 parallel port kits made in Hong Kong. 14 config PATA_PARPORT_BPCK 19 parallel port Series 5 IDE protocol. (Most BACKPACK drives made 26 config PATA_PARPORT_BPCK6 31 parallel port Series 6 IDE protocol. (Most BACKPACK drives made 39 config PATA_PARPORT_COMM [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 9 config ARCH_MIGHT_HAVE_PC_PARPORT 12 Select this config option from the architecture Kconfig if 13 the architecture might have PC parallel port hardware. 16 tristate "Parallel port support" 19 If you want to use devices connected to your machine's parallel port 24 <file:Documentation/admin-guide/parport.rst> and 25 <file:drivers/parport/BUGS-parport>. 28 to the parallel port see <http://www.torque.net/linux-pp.html> on [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-gpio-mm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO driver for the Diamond Systems GPIO-MM 6 * This driver supports the following Diamond Systems devices: GPIO-MM and 7 * GPIO-MM-12. 19 #include "gpio-i8255.h" 29 MODULE_PARM_DESC(base, "Diamond Systems GPIO-MM base addresses"); 52 "Port 1A0", "Port 1A1", "Port 1A2", "Port 1A3", "Port 1A4", "Port 1A5", 53 "Port 1A6", "Port 1A7", "Port 1B0", "Port 1B1", "Port 1B2", "Port 1B3", 54 "Port 1B4", "Port 1B5", "Port 1B6", "Port 1B7", "Port 1C0", "Port 1C1", 55 "Port 1C2", "Port 1C3", "Port 1C4", "Port 1C5", "Port 1C6", "Port 1C7", [all …]
|
/openbmc/linux/sound/isa/galaxy/ |
H A D | galaxy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 43 module_param_hw_array(port, long, ioport, NULL, 0444); 44 MODULE_PARM_DESC(port, "Port # for " CRD_NAME " driver."); 46 MODULE_PARM_DESC(wss_port, "WSS port # for " CRD_NAME " driver."); 48 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 50 MODULE_PARM_DESC(fm_port, "FM port # for " CRD_NAME " driver."); 54 MODULE_PARM_DESC(mpu_irq, "MPU-401 IRQ # for " CRD_NAME " driver."); 74 static int dsp_get_byte(void __iomem *port, u8 *val) in dsp_get_byte() argument 78 while (!(ioread8(port + DSP_PORT_DATA_AVAIL) & 0x80)) { in dsp_get_byte() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | atmel_pio4.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 static struct atmel_pio4_port *atmel_pio4_port_base(u32 port) in atmel_pio4_port_base() argument 23 switch (port) { in atmel_pio4_port_base() 37 printf("Error: Atmel PIO4: Failed to get PIO base of port#%d!\n", in atmel_pio4_port_base() 38 port); in atmel_pio4_port_base() 45 static int atmel_pio4_config_io_func(u32 port, u32 pin, in atmel_pio4_config_io_func() argument 46 u32 func, u32 config) in atmel_pio4_config_io_func() argument 52 return -EINVAL; in atmel_pio4_config_io_func() 54 port_base = atmel_pio4_port_base(port); in atmel_pio4_config_io_func() 56 return -EINVAL; in atmel_pio4_config_io_func() [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 config IP_SET_MAX 28 config IP_SET_BITMAP_IP 37 config IP_SET_BITMAP_IPMAC 46 config IP_SET_BITMAP_PORT 47 tristate "bitmap:port set support" 50 This option adds the bitmap:port set type support, by which one 51 can store TCP/UDP port numbers from a range. 55 config IP_SET_HASH_IP 65 config IP_SET_HASH_IPMARK [all …]
|
/openbmc/linux/arch/x86/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 3 config EARLY_PRINTK_USB 6 config X86_VERBOSE_BOOTUP 14 config EARLY_PRINTK 19 port. 27 config EARLY_PRINTK_DBGP 28 bool "Early printk via EHCI debug port" 32 Write kernel log output directly into the EHCI debug port. 40 config EARLY_PRINTK_USB_XDBC 41 bool "Early printk via the xHCI debug port" [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 config TYPEC_TCPM 4 tristate "USB Type-C Port Controller Manager" 9 The Type-C Port Controller Manager provides a USB PD and USB Type-C 10 state machine for use with Type-C Port Controllers. 14 config TYPEC_TCPCI 15 tristate "Type-C Port Controller Interface driver" 19 Type-C Port Controller driver for TCPCI-compliant controller. 23 config TYPEC_RT1711H 24 tristate "Richtek RT1711H Type-C chip driver" [all …]
|
/openbmc/linux/drivers/media/radio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 config RADIO_MAXIRADIO 27 <file:Documentation/userspace-api/media/index.rst>. 30 module will be called radio-maxiradio. 32 config RADIO_SAA7706H 44 config RADIO_SHARK 57 <file:Documentation/userspace-api/media/index.rst>. 60 module will be called radio-shark. 62 config RADIO_SHARK2 74 <file:Documentation/userspace-api/media/index.rst>. [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 config SERIAL_8250 18 port for anything. 23 non-standard serial ports, since the configuration information will 37 config SERIAL_8250_DEPRECATED_OPTIONS 51 If you did not notice yet and/or you have userspace from pre-3.7, it 54 config SERIAL_8250_PNP 62 config SERIAL_8250_16550A_VARIANTS 63 bool "Support for variants of the 16550A serial port" 68 serial port. Doing so takes additional time at boot. [all …]
|
/openbmc/linux/drivers/auxdisplay/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 19 config CHARLCD 22 This is the base system for character-based LCD displays. 28 config LINEDISP 31 This is the core support for single-line character displays, to be 34 config HD44780_COMMON 44 config HD44780 55 config KS0108 64 Depends on Parallel Port support. If you say Y at [all …]
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # PCI Express Port Bus Configuration 5 config PCIEPORTBUS 6 bool "PCI Express Port Bus support" 9 This enables PCI Express Port Bus support. Users can then enable 10 support for Native Hot-Plug, Advanced Error Reporting, Power 11 Management Events, and Downstream Port Containment. 16 config HOTPLUG_PCI_PCIE 28 config PCIEAER 33 This enables PCI Express Root Port Advanced Error Reporting [all …]
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 * Authors: Kamil Alkhouri <kamil.alkhouri@hs-offenburg.de> 18 int hellcreek_get_ts_info(struct dsa_switch *ds, int port, in hellcreek_get_ts_info() argument 21 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ts_info() 23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info() 24 ptp_clock_index(hellcreek->ptp_clock) : -1; in hellcreek_get_ts_info() 25 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in hellcreek_get_ts_info() 30 info->tx_types = BIT(HWTSTAMP_TX_ON); in hellcreek_get_ts_info() 33 info->rx_filters = BIT(HWTSTAMP_FILTER_PTP_V2_EVENT); in hellcreek_get_ts_info() 42 static int hellcreek_set_hwtstamp_config(struct hellcreek *hellcreek, int port, in hellcreek_set_hwtstamp_config() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_phylink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 if (a->speed != b->speed || in port_conf_has_changed() 20 a->portmode != b->portmode || in port_conf_has_changed() 21 a->autoneg != b->autoneg || in port_conf_has_changed() 22 a->pause_adv != b->pause_adv || in port_conf_has_changed() 23 a->power_down != b->power_down || in port_conf_has_changed() 24 a->media != b->media) in port_conf_has_changed() 30 sparx5_phylink_mac_select_pcs(struct phylink_config *config, in sparx5_phylink_mac_select_pcs() argument 33 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_select_pcs() local 35 return &port->phylink_pcs; in sparx5_phylink_mac_select_pcs() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | vlv_dsi_pll.c | 40 426, 469, 234, 373, 442, 221, 110, 311, 411, /* 62 - 70 */ 41 461, 486, 243, 377, 188, 350, 175, 343, 427, 213, /* 71 - 80 */ 42 106, 53, 282, 397, 454, 227, 113, 56, 284, 142, /* 81 - 90 */ 43 71, 35, 273, 136, 324, 418, 465, 488, 500, 506 /* 91 - 100 */ 61 struct intel_crtc_state *config, in dsi_calc_mnp() argument 71 drm_err(&dev_priv->drm, "DSI CLK Out of Range\n"); in dsi_calc_mnp() 72 return -ECHRNG; in dsi_calc_mnp() 89 delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); in dsi_calc_mnp() 95 * +/- the required clock in dsi_calc_mnp() 98 int d = abs(target_dsi_clk - calc_dsi_clk); in dsi_calc_mnp() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | tb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Thunderbolt driver - bus logic (NHI independent) 12 #include <linux/nvmem-provider.h> 26 /* Need to keep power on while USB4 port is in redrive mode */ 30 * struct tb_nvm - Structure holding NVM information 37 * @non_active: Non-active portion NVMem device 78 * enum tb_switch_tmu_mode - TMU mode 80 * @TB_SWITCH_TMU_MODE_LOWRES: Uni-directional, normal mode 81 * @TB_SWITCH_TMU_MODE_HIFI_UNI: Uni-directional, HiFi mode 82 * @TB_SWITCH_TMU_MODE_HIFI_BI: Bi-directional, HiFi mode [all …]
|
H A D | test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 res->data = ida; in __ida_init() 26 struct ida *ida = res->data; in __ida_destroy() 47 sw->config.upstream_port_number = upstream_port; in alloc_switch() 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 51 sw->config.enabled = 0; in alloc_switch() 52 sw->config.max_port_number = max_port_number; in alloc_switch() 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 config USB_USS720 12 This driver is for USB parallel port adapters that use the Lucent 13 Technologies USS-720 chip. These cables are plugged into your USB 14 port and provide USB compatibility to peripherals designed with 15 parallel port interfaces. 19 printers may be connected to the USS-720 in this mode. The generic 24 Manual mode is not limited to printers, any parallel port 27 slower than on a PCI/ISA Parallel Port, so timing critical 30 Say Y here if you own an USS-720 USB->Parport cable and intend to [all …]
|
/openbmc/linux/Documentation/admin-guide/perf/ |
H A D | hns3-pmu.rst | 30 The "format" directory describes all formats of the config (events) and 44 config=0x00204 46 config=0x10204 51 The bits 0~15 of config (here 0x0204) are the true hardware event code. If 52 two events have same value of bits 0~15 of config, that means they are 53 event pair. And the bit 16 of config indicates getting counter 0 or 64 filter mode supported: global/port/port-tc/func/func-queue/ 71 ------------------------------------------ 73 …$# perf stat -g -e hns3_pmu_sicl_0/bw_ssu_rpu_byte_num,global=1/ -e hns3_pmu_sicl_0/bw_ssu_rpu_tim… 75 …$# perf stat -g -e hns3_pmu_sicl_0/config=0x00002,global=1/ -e hns3_pmu_sicl_0/config=0x10002,glob… [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 18 config EXTCON_ADC_JACK 24 config EXTCON_AXP288 25 tristate "X-Power AXP288 EXTCON support" 30 and USB MUX switching by X-Power AXP288 PMIC. 32 config EXTCON_FSA9480 40 port accessory detector and switch. The FSA9480 is fully controlled using 42 and UART data to use a common connector port. 44 config EXTCON_GPIO [all …]
|