Home
last modified time | relevance | path

Searched +full:legacy +full:- +full:mode (Results 1 – 25 of 1072) sorted by relevance

12345678910>>...43

/linux/fs/ceph/
H A Dutil.c1 // SPDX-License-Identifier: GPL-2.0
3 * Some non-inline ceph helpers
13 __u32 su = layout->stripe_unit; in ceph_file_layout_is_valid()
14 __u32 sc = layout->stripe_count; in ceph_file_layout_is_valid()
15 __u32 os = layout->object_size; in ceph_file_layout_is_valid()
17 /* stripe unit, object size must be non-zero, 64k increment */ in ceph_file_layout_is_valid()
18 if (!su || (su & (CEPH_MIN_STRIPE_UNIT-1))) in ceph_file_layout_is_valid()
20 if (!os || (os & (CEPH_MIN_STRIPE_UNIT-1))) in ceph_file_layout_is_valid()
25 /* stripe count must be non-zero */ in ceph_file_layout_is_valid()
32 struct ceph_file_layout_legacy *legacy) in ceph_file_layout_from_legacy() argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
10 #include "esw/legacy.h"
25 struct mlx5_core_dev *dev = esw->dev; in esw_create_legacy_vepa_table()
33 return -EOPNOTSUPP; in esw_create_legacy_vepa_table()
46 esw->fdb_table.legacy.vepa_fdb = fdb; in esw_create_legacy_vepa_table()
53 esw_debug(esw->dev, "Destroy FDB Table\n"); in esw_destroy_legacy_fdb_table()
54 if (!esw->fdb_table.legacy.fdb) in esw_destroy_legacy_fdb_table()
57 if (esw->fdb_table.legacy.promisc_grp) in esw_destroy_legacy_fdb_table()
58 mlx5_destroy_flow_group(esw->fdb_table.legacy.promisc_grp); in esw_destroy_legacy_fdb_table()
59 if (esw->fdb_table.legacy.allmulti_grp) in esw_destroy_legacy_fdb_table()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-remote.c1 // SPDX-License-Identifier: GPL-2.0
2 /* dvb-usb-remote.c is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
7 …* This file contains functions for initializing the input-device and for handling remote-control-q…
9 #include "dvb-usb-common.h"
20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index()
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode()
50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode()
[all …]
/linux/arch/x86/kernel/
H A Dtime.c1 // SPDX-License-Identifier: GPL-2.0
39 global_clock_event->event_handler(global_clock_event); in timer_interrupt()
48 * Unconditionally register the legacy timer interrupt; even in setup_default_timer_irq()
49 * without legacy PIC/PIT we need this for the HPET0 in legacy in setup_default_timer_irq()
50 * replacement mode. in setup_default_timer_irq()
53 pr_info("Failed to register legacy timer interrupt\n"); in setup_default_timer_irq()
70 * Before PIT/HPET init, select the interrupt mode. This is required in x86_late_time_init()
75 /* Setup the legacy timers */ in x86_late_time_init()
79 * After PIT/HPET timers init, set up the final interrupt mode for in x86_late_time_init()
103 if (cs->vdso_clock_mode == VDSO_CLOCKMODE_NONE) in clocksource_arch_init()
[all …]
/linux/net/dsa/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
22 tristate "No-op tag driver"
28 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
31 the Atheros AR9331 SoC with built-in switch.
38 tristate "Tag driver for Broadcom switches using in-frame headers"
45 tristate "Tag driver for BCM63xx legacy switches using in-fram
[all...]
/linux/arch/mips/kernel/
H A Dfpu-probe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 1994 - 2006 Ralf Baechle
16 #include <asm/cpu-features.h>
17 #include <asm/cpu-type.h>
22 #include "fpu-probe.h"
53 fcsr = c->fpu_csr31; in cpu_set_fpu_fcsr_mask()
71 c->fpu_msk31 = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
80 if (c->isa_level & (MIPS_CPU_ISA_M32R1 | MIPS_CPU_ISA_M64R1 | in cpu_set_fpu_2008()
109 if (c->isa_level & (MIPS_CPU_ISA_M32R2 | in cpu_set_fpu_2008()
113 * in future, so we only test for R2-R5. in cpu_set_fpu_2008()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dqca,qca7000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Li <Frank.Li@nxp.com>
13 The QCA7000 is a serial-to-powerline bridge with a host interface which could
39 qca,legacy-mode:
42 Set the SPI data transfer of the QCA7000 to legacy mode.
43 In this mode the SPI master must toggle the chip select
44 between each data word. In burst mode these gaps aren't
47 property is missing the driver defaults to burst mode.
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_get_drvinfo()
54 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in mlx5e_ethtool_get_drvinfo()
55 count = snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlx5e_ethtool_get_drvinfo()
57 fw_rev_min(mdev), fw_rev_sub(mdev), mdev->board_id); in mlx5e_ethtool_get_drvinfo()
58 if (count >= sizeof(drvinfo->fw_version)) in mlx5e_ethtool_get_drvinfo()
59 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlx5e_ethtool_get_drvinfo()
63 strscpy(drvinfo->bus_info, dev_name(mdev->device), in mlx5e_ethtool_get_drvinfo()
64 sizeof(drvinfo->bus_info)); in mlx5e_ethtool_get_drvinfo()
[all …]
/linux/Documentation/hwmon/
H A Dw83791d.rst10 Addresses scanned: I2C 0x2c - 0x2f
12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf
22 - Frodo Looijaard <frodol@dds.nl>,
23 - Philip Edelbrock <phil@netroedge.com>,
24 - Mark Studebaker <mdsxyz123@yahoo.com>
28 - Shane Huang (Winbond),
29 - Rudolf Marek <r.marek@assembler.cz>
33 - Sven Anders <anders@anduras.de>
34 - Marc Hulsman <m.hulsman@tudelft.nl>
37 -----------------
[all …]
/linux/drivers/pci/msi/
H A Dapi.c1 // SPDX-License-Identifier: GPL-2.0
3 * PCI MSI/MSI-X — Exported APIs for device drivers
5 * Copyright (C) 2003-2004 Intel
17 * pci_enable_msi() - Enable MSI interrupt mode on device
20 * Legacy device driver API to enable MSI interrupts mode on device and
22 * Linux IRQ will be saved at @dev->irq. The driver must invoke
40 * pci_disable_msi() - Disable MSI interrupt mode on device
43 * Legacy device driver API to disable MSI interrupt mode on device,
45 * The PCI device Linux IRQ (@dev->irq) is restored to its default
46 * pin-assertion IRQ. This is the cleanup pair of pci_enable_msi().
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-intel-iommu85 table entries in debugfs. For legacy mode, it doesn't
87 '-1' and other PASID related fields are invalid.
103 -1 0x0000000000000000:0x0000000000000000:0x0000000000000000
166 * 0 - disable sampling all latency data
168 * 1 - enable sampling IOTLB invalidation latency data
170 * 2 - enable sampling devTLB invalidation latency data
172 * 3 - enable sampling intr entry cache invalidation latency data
192 <0.1us 0.1us-1us 1us-10us 10us-100us 100us-1ms
195 1ms-10ms >=10ms min(us) max(us) average(us)
201 <0.1us 0.1us-1us 1us-10us 10us-100us 100us-1ms
[all …]
/linux/sound/pci/au88x0/
H A Dau88x0_mpu401.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Routines for control of MPU-401 in UART mode
17 /* MPU401 legacy support is only provided as a emergency fallback *
33 int temp, mode; in snd_vortex_midi() local
39 /* Enable Legacy MIDI Interface port. */ in snd_vortex_midi()
42 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) | in snd_vortex_midi()
44 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi()
46 /* Disable Legacy MIDI Interface port. */ in snd_vortex_midi()
48 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) & in snd_vortex_midi()
50 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi()
[all …]
/linux/arch/x86/hyperv/
H A Dhv_vtl.c1 // SPDX-License-Identifier: GPL-2.0
22 #include "../../kernel/fpu/legacy.h"
54 * The only way to restart in the VTL mode is to triple fault as the kernel runs
65 * This function is a no-op if the VTL mode is not enabled. in hv_vtl_init_platform()
69 pr_info("Linux runs in Hyper-V Virtual Trust Level %d\n", ms_hyperv.vtl); in hv_vtl_init_platform()
85 x86_platform.legacy.i8042 = X86_LEGACY_I8042_PLATFORM_ABSENT; in hv_vtl_init_platform()
86 x86_platform.legacy.rtc = 0; in hv_vtl_init_platform()
87 x86_platform.legacy.warm_reset = 0; in hv_vtl_init_platform()
88 x86_platform.legacy.reserve_bios_regions = 0; in hv_vtl_init_platform()
89 x86_platform.legacy.devices.pnpbios = 0; in hv_vtl_init_platform()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c1 // SPDX-License-Identifier: GPL-2.0
4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de)
12 * This file contains all legacy helpers/code that should be removed
23 * nand_read_byte - [DEFAULT] read one byte from the chip
30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte()
34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16()
46 * nand_select_chip - [DEFAULT] control CE line
48 * @chipnr: chipnumber to select, -1 for deselect
55 case -1: in nand_select_chip()
[all …]
/linux/drivers/ata/
H A Dpata_legacy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pata-legacy.c - Legacy port PATA/SATA controller driver.
6 * An ATA driver for the legacy ATA ports.
9 * Opti 82C465/82C611 support: Data sheets at opti-inc.com
19 * QDI65x0 probe code based on drivers/ide/legacy/qd65xx.c
21 * Samuel Thibault <samuel.thibault@ens-lyon.org>
26 * This driver handles legacy (that is "ISA/VLB side") IDE ports found
34 * Support for the Winbond 83759A when operating in advanced mode.
35 * Multichip mode is not currently supported.
39 * Use the jumpers, autospeed and set pio_mask to the mode on the jumpers with
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.c1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2016-2017 Broadcom Limited
37 req->vf_id = cpu_to_le16(vf_idx); in hwrm_cfa_vfr_alloc()
38 sprintf(req->vfr_name, "vfr%d", vf_idx); in hwrm_cfa_vfr_alloc()
43 *tx_cfa_action = le16_to_cpu(resp->tx_cfa_action); in hwrm_cfa_vfr_alloc()
44 *rx_cfa_code = le16_to_cpu(resp->rx_cfa_code); in hwrm_cfa_vfr_alloc()
45 netdev_dbg(bp->dev, "tx_cfa_action=0x%x, rx_cfa_code=0x%x", in hwrm_cfa_vfr_alloc()
51 netdev_info(bp->dev, "%s error rc=%d\n", __func__, rc); in hwrm_cfa_vfr_alloc()
62 sprintf(req->vfr_name, "vfr%d", vf_idx); in hwrm_cfa_vfr_free()
66 netdev_info(bp->dev, "%s error rc=%d\n", __func__, rc); in hwrm_cfa_vfr_free()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)"
18 b43-fwcutter.
23 # Auto-select SSB PCI-HOST support, if possible
31 # Auto-select SSB PCICORE driver, if possible
46 # This config option automatically enables b43 HW-RNG support,
47 # if the HW-RNG core is enabled.
54 bool "Broadcom 43xx-legacy debugging"
70 prompt "Broadcom 43xx-legacy data transfer mode"
80 data transfer modes. The mode actually used is selectable through
/linux/drivers/firmware/
H A Dsysfb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
8 * Simple-Framebuffer support
9 * Create a platform-device for any available boot framebuffer. The
10 * simple-framebuffer platform device is already available on DT systems, so
12 * platform device compatible with the "simple-framebuffer" DT object. If
13 * the framebuffer is incompatible, we instead create a legacy
14 * "vesa-framebuffer", "efi-framebuffer" or "platform-framebuffer" device and
15 * pass the screen_info as platform_data. This allows legacy drivers
16 * to pick these devices up without messing with simple-framebuffer drivers.
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c2 * Copyright 2005-2006 Erik Waling
4 * Copyright 2007-2009 Stuart Bennett
33 #include <linux/io-mapping.h>
43 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg)
69 if (bios->major_version < 5) /* pre BIT */ in clkcmptable()
75 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable()
77 if (bios->major_version < 5) { in clkcmptable()
78 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable()
79 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable()
81 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable()
[all …]
/linux/drivers/acpi/acpica/
H A Devxfevnt.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
6 * Copyright (C) 2000 - 2025, Intel Corp.
28 * DESCRIPTION: Transfers the system into ACPI mode.
44 /* If the Hardware Reduced flag is set, machine is always in acpi mode */ in acpi_enable()
50 /* Check current mode */ in acpi_enable()
54 "System is already in ACPI mode\n")); in acpi_enable()
58 /* Transition to ACPI mode */ in acpi_enable()
63 "Could not transition to ACPI mode")); in acpi_enable()
73 "Platform took > %d00 usec to enter ACPI mode", retry)); in acpi_enable()
[all …]
/linux/drivers/firmware/arm_scmi/transports/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
52 bool "Enable atomic mode support for SCMI SMC transport"
58 mode, avoiding any kind of sleeping behaviour for selected
60 Enabling atomic mode operations allows any SCMI driver using this
62 in atomic context too, at the price of using a number of busy-waiting
66 tristate "SCMI transport based on OP-TEE service"
73 This enables the OP-TEE service based transport for SCMI.
76 transport based on OP-TEE SCMI service, answer Y.
101 with Legacy VirtIO backends and instead support only VirtIO Version 1
104 If you want instead to support also old Legacy VirtIO backends (like
[all …]
/linux/arch/x86/include/asm/
H A Dx86_init.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * struct x86_init_mpparse - platform specific mpparse ops
28 * struct x86_init_resources - platform specific resource related ops
43 * struct x86_init_irqs - platform specific interrupt setup
47 * @intr_mode_select: interrupt delivery mode selection
48 * @intr_mode_init: interrupt delivery mode setup
60 * struct x86_init_oem - oem platform specific customizing functions
70 * struct x86_init_paging - platform specific paging functions
81 * struct x86_init_timers - platform specific timer setup
94 * struct x86_init_iommu - platform specific iommu setup
[all …]
/linux/include/linux/
H A Dvirtio_pci_modern.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * struct virtio_pci_modern_device - info for modern PCI virtio
13 * @device: Device-specific data (non-legacy mode)
14 * @notify_base: Base of vq notifications (non-legacy mode)
17 * @notify_len: So we can sanity-check accesses
18 * @device_len: So we can sanity-check accesses
19 * @notify_map_cap: Capability for when we need to map notifications per-vq
21 * (non-legacy mode).
55 * Type-safe wrappers for io accesses.
59 * method, i.e. 32-bit accesses for 32-bit fields, 16-bit accesses
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright(c) 2003 - 2014, 2023 Intel Corporation. All rights reserved.
12 #include "iwl-config.h"
49 IWL_RATE_COUNT_LEGACY = IWL_RATE_COUNT - 1, /* Excluding 60M */
67 IWL_RATE_INVM_INDEX_TABLE = IWL_RATE_INVM_INDEX - 1,
92 /* uCode API values for legacy bit rates, both OFDM and CCK */
111 /* uCode API values for OFDM high-throughput (HT) bit rates */
159 #define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1)
161 #define IWL_INVALID_VALUE -1
163 #define IWL_MIN_RSSI_VAL -100
[all …]
/linux/drivers/soc/qcom/
H A Dice.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
76 /* In HWKM v1 the ICE legacy mode is controlled from HWKM register space */
96 writel((val), (engine)->base + (reg))
99 readl((engine)->base + (reg))
119 struct device *dev = ice->dev; in qcom_ice_check_supported()
136 ice->hwkm_version = QCOM_ICE_HWKM_V2; in qcom_ice_check_supported()
138 ice->hwkm_version = QCOM_ICE_HWKM_V1; in qcom_ice_check_supported()
140 ice->hwkm_version = 0; in qcom_ice_check_supported()
145 if (ice->hwkm_version) in qcom_ice_check_supported()
[all …]

12345678910>>...43