Home
last modified time | relevance | path

Searched refs:legacy (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/Linux-v6.1/drivers/mtd/nand/raw/
Dnand_legacy.c30 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()
180 if (chip->legacy.dev_ready(chip)) in panic_nand_wait_ready()
[all …]
Dpasemi_nand.c37 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, 0x800); in pasemi_read_buf()
41 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, len); in pasemi_read_buf()
48 memcpy_toio(chip->legacy.IO_ADDR_R, buf, 0x800); in pasemi_write_buf()
52 memcpy_toio(chip->legacy.IO_ADDR_R, buf, len); in pasemi_write_buf()
62 out_8(chip->legacy.IO_ADDR_W + (1 << CLE_PIN_CTL), cmd); in pasemi_hwcontrol()
64 out_8(chip->legacy.IO_ADDR_W + (1 << ALE_PIN_CTL), cmd); in pasemi_hwcontrol()
125 chip->legacy.IO_ADDR_R = of_iomap(np, 0); in pasemi_nand_probe()
126 chip->legacy.IO_ADDR_W = chip->legacy.IO_ADDR_R; in pasemi_nand_probe()
128 if (!chip->legacy.IO_ADDR_R) { in pasemi_nand_probe()
147 chip->legacy.cmd_ctrl = pasemi_hwcontrol; in pasemi_nand_probe()
[all …]
Dplat_nand.c74 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()
Dorion_nand.c49 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()
157 nc->legacy.IO_ADDR_R = nc->legacy.IO_ADDR_W = io_base; in orion_nand_probe()
158 nc->legacy.cmd_ctrl = orion_nand_cmd_ctrl; in orion_nand_probe()
159 nc->legacy.read_buf = orion_nand_read_buf; in orion_nand_probe()
162 nc->legacy.chip_delay = board->chip_delay; in orion_nand_probe()
Dndfc.c139 chip->legacy.IO_ADDR_R = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init()
140 chip->legacy.IO_ADDR_W = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init()
141 chip->legacy.cmd_ctrl = ndfc_hwcontrol; in ndfc_chip_init()
142 chip->legacy.dev_ready = ndfc_ready; in ndfc_chip_init()
143 chip->legacy.select_chip = ndfc_select_chip; in ndfc_chip_init()
144 chip->legacy.chip_delay = 50; in ndfc_chip_init()
146 chip->legacy.read_buf = ndfc_read_buf; in ndfc_chip_init()
147 chip->legacy.write_buf = ndfc_write_buf; in ndfc_chip_init()
Dsocrates_nand.c168 nand_chip->legacy.cmd_ctrl = socrates_nand_cmd_ctrl; in socrates_nand_probe()
169 nand_chip->legacy.read_byte = socrates_nand_read_byte; in socrates_nand_probe()
170 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
171 nand_chip->legacy.read_buf = socrates_nand_read_buf; in socrates_nand_probe()
172 nand_chip->legacy.dev_ready = socrates_nand_device_ready; in socrates_nand_probe()
175 nand_chip->legacy.chip_delay = 20; /* 20us command delay time */ in socrates_nand_probe()
Dxway_nand.c187 data->chip.legacy.cmd_ctrl = xway_cmd_ctrl; in xway_nand_probe()
188 data->chip.legacy.dev_ready = xway_dev_ready; in xway_nand_probe()
189 data->chip.legacy.select_chip = xway_select_chip; in xway_nand_probe()
190 data->chip.legacy.write_buf = xway_write_buf; in xway_nand_probe()
191 data->chip.legacy.read_buf = xway_read_buf; in xway_nand_probe()
192 data->chip.legacy.read_byte = xway_read_byte; in xway_nand_probe()
193 data->chip.legacy.chip_delay = 30; in xway_nand_probe()
Dsharpsl.c73 writeb(cmd, chip->legacy.IO_ADDR_W); in sharpsl_nand_hwcontrol()
174 this->legacy.IO_ADDR_R = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
175 this->legacy.IO_ADDR_W = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
177 this->legacy.cmd_ctrl = sharpsl_nand_hwcontrol; in sharpsl_nand_probe()
178 this->legacy.dev_ready = sharpsl_nand_dev_ready; in sharpsl_nand_probe()
180 this->legacy.chip_delay = 15; in sharpsl_nand_probe()
Dtmio_nand.c159 tmio_iowrite8(cmd, chip->legacy.IO_ADDR_W); in tmio_nand_hwcontrol()
428 nand_chip->legacy.IO_ADDR_R = tmio->fcr; in tmio_probe()
429 nand_chip->legacy.IO_ADDR_W = tmio->fcr; in tmio_probe()
432 nand_chip->legacy.cmd_ctrl = tmio_nand_hwcontrol; in tmio_probe()
433 nand_chip->legacy.dev_ready = tmio_nand_dev_ready; in tmio_probe()
434 nand_chip->legacy.read_byte = tmio_nand_read_byte; in tmio_probe()
435 nand_chip->legacy.write_buf = tmio_nand_write_buf; in tmio_probe()
436 nand_chip->legacy.read_buf = tmio_nand_read_buf; in tmio_probe()
442 nand_chip->legacy.chip_delay = 15; in tmio_probe()
452 nand_chip->legacy.waitfunc = tmio_nand_wait; in tmio_probe()
Ds3c2410.c672 readsb(this->legacy.IO_ADDR_R, buf, len); in s3c2410_nand_read_buf()
694 writesb(this->legacy.IO_ADDR_W, buf, len); in s3c2410_nand_write_buf()
856 chip->legacy.write_buf = s3c2410_nand_write_buf; in s3c2410_nand_init_chip()
857 chip->legacy.read_buf = s3c2410_nand_read_buf; in s3c2410_nand_init_chip()
858 chip->legacy.select_chip = s3c2410_nand_select_chip; in s3c2410_nand_init_chip()
859 chip->legacy.chip_delay = 50; in s3c2410_nand_init_chip()
873 chip->legacy.IO_ADDR_W = regs + S3C2410_NFDATA; in s3c2410_nand_init_chip()
876 chip->legacy.cmd_ctrl = s3c2410_nand_hwcontrol; in s3c2410_nand_init_chip()
877 chip->legacy.dev_ready = s3c2410_nand_devready; in s3c2410_nand_init_chip()
881 chip->legacy.IO_ADDR_W = regs + S3C2440_NFDATA; in s3c2410_nand_init_chip()
[all …]
Doxnas_nand.c130 chip->legacy.cmd_ctrl = oxnas_nand_cmd_ctrl; in oxnas_nand_probe()
131 chip->legacy.read_buf = oxnas_nand_read_buf; in oxnas_nand_probe()
132 chip->legacy.read_byte = oxnas_nand_read_byte; in oxnas_nand_probe()
133 chip->legacy.write_buf = oxnas_nand_write_buf; in oxnas_nand_probe()
134 chip->legacy.chip_delay = 30; in oxnas_nand_probe()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c11 if (vport->ingress.legacy.drop_rule) { in esw_acl_ingress_lgcy_rules_destroy()
12 mlx5_del_flow_rules(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_rules_destroy()
13 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_rules_destroy()
49 vport->ingress.legacy.allow_untagged_spoofchk_grp = g; in esw_acl_ingress_lgcy_groups_create()
65 vport->ingress.legacy.allow_untagged_only_grp = g; in esw_acl_ingress_lgcy_groups_create()
82 vport->ingress.legacy.allow_spoofchk_only_grp = g; in esw_acl_ingress_lgcy_groups_create()
95 vport->ingress.legacy.drop_grp = g; in esw_acl_ingress_lgcy_groups_create()
100 if (!IS_ERR_OR_NULL(vport->ingress.legacy.allow_spoofchk_only_grp)) { in esw_acl_ingress_lgcy_groups_create()
101 mlx5_destroy_flow_group(vport->ingress.legacy.allow_spoofchk_only_grp); in esw_acl_ingress_lgcy_groups_create()
102 vport->ingress.legacy.allow_spoofchk_only_grp = NULL; in esw_acl_ingress_lgcy_groups_create()
[all …]
Degress_lgcy.c12 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_rule)) { in esw_acl_egress_lgcy_rules_destroy()
13 mlx5_del_flow_rules(vport->egress.legacy.drop_rule); in esw_acl_egress_lgcy_rules_destroy()
14 vport->egress.legacy.drop_rule = NULL; in esw_acl_egress_lgcy_rules_destroy()
47 vport->egress.legacy.drop_grp = drop_grp; in esw_acl_egress_lgcy_groups_create()
60 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_grp)) { in esw_acl_egress_lgcy_groups_destroy()
61 mlx5_destroy_flow_group(vport->egress.legacy.drop_grp); in esw_acl_egress_lgcy_groups_destroy()
62 vport->egress.legacy.drop_grp = NULL; in esw_acl_egress_lgcy_groups_destroy()
82 if (vport->egress.legacy.drop_counter) { in esw_acl_egress_lgcy_setup()
83 drop_counter = vport->egress.legacy.drop_counter; in esw_acl_egress_lgcy_setup()
92 vport->egress.legacy.drop_counter = drop_counter; in esw_acl_egress_lgcy_setup()
[all …]
/Linux-v6.1/arch/x86/kernel/
Dplatform-quirks.c10 x86_platform.legacy.i8042 = X86_LEGACY_I8042_EXPECTED_PRESENT; in x86_early_init_platform_quirks()
11 x86_platform.legacy.rtc = 1; in x86_early_init_platform_quirks()
12 x86_platform.legacy.warm_reset = 1; in x86_early_init_platform_quirks()
13 x86_platform.legacy.reserve_bios_regions = 0; in x86_early_init_platform_quirks()
14 x86_platform.legacy.devices.pnpbios = 1; in x86_early_init_platform_quirks()
18 x86_platform.legacy.reserve_bios_regions = 1; in x86_early_init_platform_quirks()
21 x86_platform.legacy.devices.pnpbios = 0; in x86_early_init_platform_quirks()
22 x86_platform.legacy.rtc = 0; in x86_early_init_platform_quirks()
26 x86_platform.legacy.devices.pnpbios = 0; in x86_early_init_platform_quirks()
27 x86_platform.legacy.rtc = 0; in x86_early_init_platform_quirks()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c46 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()
65 esw->fdb_table.legacy.fdb = NULL; in esw_destroy_legacy_fdb_table()
[all …]
/Linux-v6.1/fs/ceph/
Dutil.c32 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-v6.1/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c49 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-v6.1/tools/testing/selftests/bpf/prog_tests/
Dlegacy_printk.c6 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()
Dattach_probe.c36 bool legacy; in test_attach_probe() local
50 legacy = access("/sys/bus/event_source/devices/kprobe/type", F_OK) != 0; in test_attach_probe()
96 if (!legacy) in test_attach_probe()
100 uprobe_opts.ref_ctr_offset = legacy ? 0 : ref_ctr_offset; in test_attach_probe()
110 if (!legacy) in test_attach_probe()
115 uprobe_opts.ref_ctr_offset = legacy ? 0 : ref_ctr_offset; in test_attach_probe()
/Linux-v6.1/drivers/mtd/nand/raw/bcm47xxnflash/
Dops_bcm4706.c226 nand_chip->legacy.cmd_ctrl(nand_chip, command, NAND_CTRL_CLE); in bcm47xxnflash_ops_bcm4706_cmdfunc()
382 nand_chip->legacy.select_chip = bcm47xxnflash_ops_bcm4706_select_chip; in bcm47xxnflash_ops_bcm4706_init()
383 nand_chip->legacy.cmd_ctrl = bcm47xxnflash_ops_bcm4706_cmd_ctrl; in bcm47xxnflash_ops_bcm4706_init()
384 nand_chip->legacy.dev_ready = bcm47xxnflash_ops_bcm4706_dev_ready; in bcm47xxnflash_ops_bcm4706_init()
385 b47n->nand_chip.legacy.cmdfunc = bcm47xxnflash_ops_bcm4706_cmdfunc; in bcm47xxnflash_ops_bcm4706_init()
386 b47n->nand_chip.legacy.read_byte = bcm47xxnflash_ops_bcm4706_read_byte; in bcm47xxnflash_ops_bcm4706_init()
387 b47n->nand_chip.legacy.read_buf = bcm47xxnflash_ops_bcm4706_read_buf; in bcm47xxnflash_ops_bcm4706_init()
388 b47n->nand_chip.legacy.write_buf = bcm47xxnflash_ops_bcm4706_write_buf; in bcm47xxnflash_ops_bcm4706_init()
389 b47n->nand_chip.legacy.set_features = nand_get_set_features_notsupp; in bcm47xxnflash_ops_bcm4706_init()
390 b47n->nand_chip.legacy.get_features = nand_get_set_features_notsupp; in bcm47xxnflash_ops_bcm4706_init()
[all …]
/Linux-v6.1/drivers/reset/
Dreset-intel-gw.c25 bool legacy; member
57 if (data->soc_data->legacy) in id_to_reg_and_bit_offsets()
62 if (data->soc_data->legacy && *rst_req == RCU_RST_REQ) in id_to_reg_and_bit_offsets()
147 if (data->soc_data->legacy) { in intel_reset_xlate()
216 if (data->soc_data->legacy) in intel_reset_probe()
227 .legacy = true,
232 .legacy = false,
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_bios.c551 (bios->legacy.lvds_single_a_script_ptr & 1) ? in nouveau_bios_parse_lvds_table()
1187 bios->legacy.mem_init_tbl_ptr = ROM16(bmp[24]); in parse_bmp_structure()
1188 bios->legacy.sdr_seq_tbl_ptr = ROM16(bmp[26]); in parse_bmp_structure()
1189 bios->legacy.ddr_seq_tbl_ptr = ROM16(bmp[28]); in parse_bmp_structure()
1195 bios->legacy.i2c_indices.crt = bios->data[legacy_i2c_offset]; in parse_bmp_structure()
1196 bios->legacy.i2c_indices.tv = bios->data[legacy_i2c_offset + 1]; in parse_bmp_structure()
1197 bios->legacy.i2c_indices.panel = bios->data[legacy_i2c_offset + 2]; in parse_bmp_structure()
1213 bios->legacy.lvds_single_a_script_ptr = ROM16(bmp[95]); in parse_bmp_structure()
1772 bios->legacy.i2c_indices.crt, 1, 1); in fabricate_dcb_encoder_table()
1774 if (nv04_tv_identify(dev, bios->legacy.i2c_indices.tv) >= 0) in fabricate_dcb_encoder_table()
[all …]
/Linux-v6.1/sound/soc/amd/acp/
DMakefile19 snd-acp-legacy-mach-objs := acp-legacy-mach.o
31 obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
/Linux-v6.1/Documentation/userspace-api/media/dvb/
Dfe-dishnetwork-send-legacy-cmd.rst35 This is a very obscure legacy command, used only at stv0299
39 frontend, for Dish Network legacy switches.
42 dishes were already legacy in 2004.
/Linux-v6.1/Documentation/PCI/
Dboot-interrupts.rst14 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
151 If you have any legacy PCI interrupt questions that aren't answered, email me.

12345678910>>...21