/linux/drivers/mtd/nand/raw/ |
H A D | nand_legacy.c | 12 * This file contains all legacy helpers/code that should be removed 30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte() 42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16() 56 chip->legacy.cmd_ctrl(chip, NAND_CMD_NONE, in nand_select_chip() 76 chip->legacy.write_buf(chip, &byte, 1); in nand_write_byte() 106 chip->legacy.write_buf(chip, (uint8_t *)&word, 2); in nand_write_byte16() 119 iowrite8_rep(chip->legacy.IO_ADDR_W, buf, len); in nand_write_buf() 132 ioread8_rep(chip->legacy.IO_ADDR_R, buf, len); in nand_read_buf() 148 iowrite16_rep(chip->legacy.IO_ADDR_W, p, len >> 1); in nand_write_buf16() 163 ioread16_rep(chip->legacy.IO_ADDR_R, p, len >> 1); in nand_read_buf16() [all …]
|
H A D | pasemi_nand.c | 40 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, 0x800); in pasemi_read_buf() 44 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, len); in pasemi_read_buf() 51 memcpy_toio(chip->legacy.IO_ADDR_R, buf, 0x800); in pasemi_write_buf() 55 memcpy_toio(chip->legacy.IO_ADDR_R, buf, len); in pasemi_write_buf() 67 out_8(chip->legacy.IO_ADDR_W + (1 << CLE_PIN_CTL), cmd); in pasemi_hwcontrol() 69 out_8(chip->legacy.IO_ADDR_W + (1 << ALE_PIN_CTL), cmd); in pasemi_hwcontrol() 134 chip->legacy.IO_ADDR_R = of_iomap(np, 0); in pasemi_nand_probe() 135 chip->legacy.IO_ADDR_W = chip->legacy.IO_ADDR_R; in pasemi_nand_probe() 137 if (!chip->legacy.IO_ADDR_R) { in pasemi_nand_probe() 156 chip->legacy.cmd_ctrl = pasemi_hwcontrol; in pasemi_nand_probe() [all …]
|
H A D | plat_nand.c | 74 data->chip.legacy.IO_ADDR_R = data->io_base; in plat_nand_probe() 75 data->chip.legacy.IO_ADDR_W = data->io_base; in plat_nand_probe() 76 data->chip.legacy.cmd_ctrl = pdata->ctrl.cmd_ctrl; in plat_nand_probe() 77 data->chip.legacy.dev_ready = pdata->ctrl.dev_ready; in plat_nand_probe() 78 data->chip.legacy.select_chip = pdata->ctrl.select_chip; in plat_nand_probe() 79 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe() 80 data->chip.legacy.read_buf = pdata->ctrl.read_buf; in plat_nand_probe() 81 data->chip.legacy.chip_delay = pdata->chip.chip_delay; in plat_nand_probe()
|
H A D | orion_nand.c | 49 writeb(cmd, nc->legacy.IO_ADDR_W + offs); in orion_nand_cmd_ctrl() 54 void __iomem *io_base = chip->legacy.IO_ADDR_R; in orion_nand_read_buf() 155 nc->legacy.IO_ADDR_R = nc->legacy.IO_ADDR_W = io_base; in orion_nand_probe() 156 nc->legacy.cmd_ctrl = orion_nand_cmd_ctrl; in orion_nand_probe() 157 nc->legacy.read_buf = orion_nand_read_buf; in orion_nand_probe() 160 nc->legacy.chip_delay = board->chip_delay; in orion_nand_probe()
|
H A D | ndfc.c | 140 chip->legacy.IO_ADDR_R = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init() 141 chip->legacy.IO_ADDR_W = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init() 142 chip->legacy.cmd_ctrl = ndfc_hwcontrol; in ndfc_chip_init() 143 chip->legacy.dev_ready = ndfc_ready; in ndfc_chip_init() 144 chip->legacy.select_chip = ndfc_select_chip; in ndfc_chip_init() 145 chip->legacy.chip_delay = 50; in ndfc_chip_init() 147 chip->legacy.read_buf = ndfc_read_buf; in ndfc_chip_init() 148 chip->legacy.write_buf = ndfc_write_buf; in ndfc_chip_init()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | legacy.c | 10 #include "esw/legacy.h" 46 esw->fdb_table.legacy.vepa_fdb = fdb; in esw_create_legacy_vepa_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() 60 mlx5_destroy_flow_group(esw->fdb_table.legacy.allmulti_grp); in esw_destroy_legacy_fdb_table() 61 if (esw->fdb_table.legacy.addr_grp) in esw_destroy_legacy_fdb_table() 62 mlx5_destroy_flow_group(esw->fdb_table.legacy.addr_grp); in esw_destroy_legacy_fdb_table() 63 mlx5_destroy_flow_table(esw->fdb_table.legacy.fdb); in esw_destroy_legacy_fdb_table() [all …]
|
/linux/arch/x86/kernel/ |
H A D | platform-quirks.c | 11 x86_platform.legacy.i8042 = X86_LEGACY_I8042_EXPECTED_PRESENT; in x86_early_init_platform_quirks() 12 x86_platform.legacy.rtc = 1; in x86_early_init_platform_quirks() 13 x86_platform.legacy.warm_reset = 1; in x86_early_init_platform_quirks() 14 x86_platform.legacy.reserve_bios_regions = 0; in x86_early_init_platform_quirks() 15 x86_platform.legacy.devices.pnpbios = 1; in x86_early_init_platform_quirks() 19 x86_platform.legacy.reserve_bios_regions = 1; in x86_early_init_platform_quirks() 22 x86_platform.legacy.devices.pnpbios = 0; in x86_early_init_platform_quirks() 23 x86_platform.legacy.rtc = 0; in x86_early_init_platform_quirks() 27 x86_platform.legacy.devices.pnpbios = 0; in x86_early_init_platform_quirks() 28 x86_platform.legacy.rtc = 0; in x86_early_init_platform_quirks() [all …]
|
H A D | time.c | 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() 53 pr_info("Failed to register legacy timer interrupt\n"); in setup_default_timer_irq() 75 /* Setup the legacy timers */ in x86_late_time_init()
|
/linux/drivers/virtio/ |
H A D | virtio_pci_legacy_dev.c | 10 * vp_legacy_probe: probe the legacy virtio pci device, note that the 12 * @ldev: the legacy virtio-pci device 43 rc = pci_request_region(pci_dev, 0, "virtio-pci-legacy"); in vp_legacy_probe() 66 * vp_legacy_probe: remove and cleanup the legacy virtio pci device 67 * @ldev: the legacy virtio-pci device 80 * @ldev: the legacy virtio-pci device 93 * @ldev: the legacy virtio-pci device 105 * @ldev: the legacy virtio-pci device 117 * @ldev: the legacy virtio-pci device 129 * @ldev: the legacy virtio-pci device [all …]
|
/linux/drivers/clk/sunxi/ |
H A D | Kconfig | 3 bool "Legacy clock support for Allwinner SoCs" 10 bool "Legacy clock drivers" 13 Legacy clock drivers being used on older (A10, A13, A20, 21 bool "Legacy A31 PRCM driver" 24 Legacy clock driver for the A31 PRCM clocks. Those are 28 bool "Legacy sun8i PRCM driver" 31 Legacy clock driver for the sun8i family PRCM clocks. 36 bool "Legacy A80 PRCM driver" 39 Legacy clock driver for the A80 PRCM clocks. Those are
|
/linux/include/xen/interface/ |
H A D | elfnote.h | 22 * LEGACY indicated the fields in the legacy __xen_guest string which 25 * String values (for non-legacy) are NULL terminated ASCII, also known 39 * LEGACY: VIRT_ENTRY 45 * LEGACY: HYPERCALL_PAGE. (n.b. legacy value is a physical page 54 * LEGACY: VIRT_BASE 66 * LEGACY: ELF_PADDR_OFFSET. (n.b. legacy default is VIRT_BASE) 73 * LEGACY: XEN_VER 80 * LEGACY: GUEST_OS 87 * LEGACY: GUEST_VER 94 * LEGACY: LOADER [all …]
|
/linux/fs/ceph/ |
H A D | util.c | 32 struct ceph_file_layout_legacy *legacy) in ceph_file_layout_from_legacy() argument 34 fl->stripe_unit = le32_to_cpu(legacy->fl_stripe_unit); in ceph_file_layout_from_legacy() 35 fl->stripe_count = le32_to_cpu(legacy->fl_stripe_count); in ceph_file_layout_from_legacy() 36 fl->object_size = le32_to_cpu(legacy->fl_object_size); in ceph_file_layout_from_legacy() 37 fl->pool_id = le32_to_cpu(legacy->fl_pg_pool); in ceph_file_layout_from_legacy() 44 struct ceph_file_layout_legacy *legacy) in ceph_file_layout_to_legacy() argument 46 legacy->fl_stripe_unit = cpu_to_le32(fl->stripe_unit); in ceph_file_layout_to_legacy() 47 legacy->fl_stripe_count = cpu_to_le32(fl->stripe_count); in ceph_file_layout_to_legacy() 48 legacy->fl_object_size = cpu_to_le32(fl->object_size); in ceph_file_layout_to_legacy() 50 legacy->fl_pg_pool = cpu_to_le32(fl->pool_id); in ceph_file_layout_to_legacy() [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-remote.c | 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() 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() 73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode() 123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control() 187 schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); in legacy_dvb_usb_read_remote_control() 211 deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); in legacy_dvb_usb_remote_init() 212 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { in legacy_dvb_usb_remote_init() 214 d->props.rc.legacy.rc_map_table[i].keycode, i); in legacy_dvb_usb_remote_init() 215 set_bit(d->props.rc.legacy.rc_map_table[i].keycode, input_dev->keybit); in legacy_dvb_usb_remote_init() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | legacy_printk.c | 6 static int execute_one_variant(bool legacy) in execute_one_variant() argument 15 bpf_program__set_autoload(skel->progs.handle_legacy, legacy); in execute_one_variant() 16 bpf_program__set_autoload(skel->progs.handle_modern, !legacy); in execute_one_variant() 23 if (legacy) { in execute_one_variant() 39 if (legacy) { in execute_one_variant() 60 /* legacy variant should work everywhere */ in test_legacy_printk() 61 ASSERT_OK(execute_one_variant(true /* legacy */), "legacy_case"); in test_legacy_printk()
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-eswitch-attr.rst | 7 Devlink E-Switch supports two modes of operation: legacy and switchdev. 8 Legacy mode operates based on traditional MAC/VLAN steering rules. Switching 38 * ``legacy`` operates based on traditional MAC/VLAN steering 46 matching and steering. Support for both switchdev mode and legacy mode. 55 and legacy mode. The mode can be one of the following: 75 # enable encap-mode with legacy mode 76 $ devlink dev eswitch set pci/0000:08:00.0 mode legacy inline-mode none encap-mode basic
|
/linux/Documentation/leds/ |
H A D | well-known-leds.txt | 13 Legacy names are listed, too; in case you are writing application that 15 but then try the legacy ones, too. 38 Legacy: "shift-key-light" (Motorola Droid 4, capslock) 42 Legacy: "tpacpi::thinklight" (IBM/Lenovo Thinkpads) 43 Legacy: "lp5523:kb{1,2,3,4,5,6}" (Nokia N900) 47 Legacy: "button-backlight" (Motorola Droid 4) 62 Legacy: "status-led:{red,green,blue}" (Motorola Droid 4) 63 Legacy: "lp5523:{r,g,b}" (Nokia N900)
|
/linux/arch/riscv/include/asm/ |
H A D | arch_hweight.h | 23 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in __arch_hweight32() 25 : : : : legacy); in __arch_hweight32() 35 legacy: in __arch_hweight32() 54 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in __arch_hweight64() 56 : : : : legacy); in __arch_hweight64() 66 legacy: in __arch_hweight64()
|
H A D | bitops.h | 50 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable__ffs() 52 : : : : legacy); in variable__ffs() 62 legacy: in variable__ffs() 79 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable__fls() 81 : : : : legacy); in variable__fls() 91 legacy: in variable__fls() 108 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable_ffs() 110 : : : : legacy); in variable_ffs() 123 legacy: in variable_ffs() 140 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable_fls() [all …]
|
/linux/Documentation/PCI/ |
H A D | boot-interrupts.rst | 14 given Core IO converts the legacy interrupt messages from PCI Express to 16 IO-APIC table entries), the messages are routed to the legacy PCH. This 20 protocol describes this in-band legacy wire-interrupt INTx mechanism for 29 When in-band legacy INTx messages are forwarded to the PCH, they in turn 74 The legacy interrupt forwarding mechanism exists today in a number of 104 Intel® Quick Data DMA/PCI Express ports are not routed to legacy 113 disabled, the Linux kernel will reroute the valid interrupt to its legacy 127 There is an overview of the legacy interrupt handling in several datasheets 147 2.15.2 PCI Express Legacy INTx Support and Boot Interrupt 151 If you have any legacy PCI interrupt questions that aren't answered, email me.
|
/linux/kernel/printk/ |
H A D | internal.h | 20 (con->flags & CON_NBCON) ? "" : "legacy ", \ 25 * Identify if legacy printing is forced in a dedicated kthread. If 27 * legacy printer thread. The only exception is on panic, after the 137 * via the legacy loop when the printer threads are not in console_is_usable() 220 * @legacy_direct: Call the legacy loop in this context 221 * @legacy_offload: Offload the legacy loop into IRQ or legacy thread 223 * Note that the legacy loop also flushes the nbcon consoles. 249 /* Legacy consoles are flushed directly when possible. */ in printk_get_console_flush_type() 262 /* Legacy consoles are flushed directly when possible. */ in printk_get_console_flush_type() 285 * legacy consoles anyway, even if unsafe. in printk_get_console_flush_type() [all …]
|
/linux/Documentation/netlink/ |
H A D | genetlink-legacy.yaml | 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 40 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim 61 # Start genetlink-legacy 71 # End genetlink-legacy 128 # Start genetlink-legacy 161 # End genetlink-legacy 279 # Start genetlink-legacy 283 # End genetlink-legacy 336 # Start genetlink-legacy 343 # End genetlink-legacy [all …]
|
H A D | netlink-raw.yaml | 63 # Start genetlink-legacy 69 # End genetlink-legacy 123 # Start genetlink-legacy 178 # End genetlink-legacy 294 # Start genetlink-legacy 298 # End genetlink-legacy 399 # Start genetlink-legacy 406 # End genetlink-legacy 439 # Start genetlink-legacy 441 # End genetlink-legacy [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | rockchip-dw-pcie.yaml | 42 legacy-interrupt-controller: 43 description: Interrupt controller node for handling legacy PCI interrupts. 57 - description: combined legacy interrupt 104 - const: legacy 117 - const: legacy 154 interrupt-names = "sys", "pmc", "msg", "legacy", "err"; 169 legacy-interrupt-controller {
|
/linux/drivers/usb/gadget/function/ |
H A D | u_uvc.h | 38 * uvc_ss_control_cls arrays respectively. Legacy gadgets must 47 * for configfs-based gadgets. Legacy gadgets must initialize them in 63 * descriptors. Used by configfs only, must not be touched by legacy 77 * Used by configfs only, must not be touched by legacy gadgets. The 103 * Only for legacy gadget. Shall be NULL for configfs-composed gadgets,
|
/linux/arch/mips/kernel/ |
H A D | fpu-probe.c | 147 static enum { STRICT, EMULATED, LEGACY, STD2008, RELAXED } ieee754 = STRICT; enumerator 153 * allows 2008-NaN binaries even for legacy processors. 174 case LEGACY: in cpu_set_nofpu_2008() 200 case LEGACY: in cpu_set_nan_2008() 224 * legacy: only accept legacy-NaN binaries 236 else if (!strcmp(s, "legacy")) in ieee754_setup() 237 ieee754 = LEGACY; in ieee754_setup()
|