Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/mtd/nand/raw/
H A 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 …]
H A Dpasemi_nand.c40 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 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()
H A 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()
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 Dndfc.c140 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()
H A Dsocrates_nand.c169 nand_chip->legacy.cmd_ctrl = socrates_nand_cmd_ctrl; in socrates_nand_probe()
170 nand_chip->legacy.read_byte = socrates_nand_read_byte; in socrates_nand_probe()
171 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
172 nand_chip->legacy.read_buf = socrates_nand_read_buf; in socrates_nand_probe()
173 nand_chip->legacy.dev_ready = socrates_nand_device_ready; in socrates_nand_probe()
176 nand_chip->legacy.chip_delay = 20; /* 20us command delay time */ in socrates_nand_probe()
H A 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()
H A 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()
H A Ds3c2410.c665 readsb(this->legacy.IO_ADDR_R, buf, len); in s3c2410_nand_read_buf()
687 writesb(this->legacy.IO_ADDR_W, buf, len); in s3c2410_nand_write_buf()
797 chip->legacy.write_buf = s3c2410_nand_write_buf; in s3c2410_nand_init_chip()
798 chip->legacy.read_buf = s3c2410_nand_read_buf; in s3c2410_nand_init_chip()
799 chip->legacy.select_chip = s3c2410_nand_select_chip; in s3c2410_nand_init_chip()
800 chip->legacy.chip_delay = 50; in s3c2410_nand_init_chip()
814 chip->legacy.IO_ADDR_W = regs + S3C2410_NFDATA; in s3c2410_nand_init_chip()
817 chip->legacy.cmd_ctrl = s3c2410_nand_hwcontrol; in s3c2410_nand_init_chip()
818 chip->legacy.dev_ready = s3c2410_nand_devready; in s3c2410_nand_init_chip()
822 chip->legacy.IO_ADDR_W = regs + S3C2440_NFDATA; in s3c2410_nand_init_chip()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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 …]
H A 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()
84 if (vport->egress.legacy.drop_counter) { in esw_acl_egress_lgcy_setup()
85 drop_counter = vport->egress.legacy.drop_counter; in esw_acl_egress_lgcy_setup()
94 vport->egress.legacy.drop_counter = drop_counter; in esw_acl_egress_lgcy_setup()
[all …]
/linux/arch/x86/kernel/
H A Dplatform-quirks.c11 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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/fs/ceph/
H A 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/drivers/media/usb/dvb-usb/
H A 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/sound/soc/amd/acp/
H A DMakefile11 snd-acp-legacy-common-y := acp-legacy-common.o
23 snd-acp-legacy-mach-y := acp-legacy-mach.o acp3x-es83xx/acp3x-es83xx.o
28 snd-acp-sdw-legacy-mach-y += acp-sdw-legacy-mach.o
33 obj-$(CONFIG_SND_SOC_AMD_ACP_LEGACY_COMMON) += snd-acp-legacy-common.o
43 obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
48 obj-$(CONFIG_SND_SOC_AMD_LEGACY_SDW_MACH) += snd-acp-sdw-legacy-mach.o
/linux/arch/riscv/include/asm/
H A Dbitops.h52 : : : : legacy); in variable__ffs()
62 legacy: in variable__ffs()
81 : : : : legacy); in variable__fls()
91 legacy: in variable__fls()
110 : : : : legacy); in variable_ffs()
123 legacy: in variable_ffs()
142 : : : : legacy); in variable_fls()
155 legacy: in variable_fls()
H A Darch_hweight.h25 : : : : legacy); in __arch_hweight32()
35 legacy: in __arch_hweight32()
56 : : : : legacy); in __arch_hweight64()
66 legacy: in __arch_hweight64()
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A 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/drivers/reset/
H A 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/Documentation/networking/devlink/
H A Ddevlink-eswitch-attr.rst7 Devlink E-Switch supports two modes of operation: legacy and switchdev.
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/drivers/gpu/drm/ci/xfails/
H A Dmsm-sdm845-fails.txt11 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
15 kms_cursor_legacy@cursor-vs-flip-legacy,Fail
20 kms_cursor_legacy@flip-vs-cursor-crc-legacy,Fail
21 kms_cursor_legacy@flip-vs-cursor-legacy,Fail
H A Dvkms-none-fails.txt12 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
14 kms_cursor_legacy@cursor-vs-flip-legacy,Fail
19 kms_cursor_legacy@flip-vs-cursor-crc-legacy,Fail
20 kms_cursor_legacy@flip-vs-cursor-legacy,Fail
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c549 (bios->legacy.lvds_single_a_script_ptr & 1) ? in nouveau_bios_parse_lvds_table()
1185 bios->legacy.mem_init_tbl_ptr = ROM16(bmp[24]); in parse_bmp_structure()
1186 bios->legacy.sdr_seq_tbl_ptr = ROM16(bmp[26]); in parse_bmp_structure()
1187 bios->legacy.ddr_seq_tbl_ptr = ROM16(bmp[28]); in parse_bmp_structure()
1193 bios->legacy.i2c_indices.crt = bios->data[legacy_i2c_offset]; in parse_bmp_structure()
1194 bios->legacy.i2c_indices.tv = bios->data[legacy_i2c_offset + 1]; in parse_bmp_structure()
1195 bios->legacy.i2c_indices.panel = bios->data[legacy_i2c_offset + 2]; in parse_bmp_structure()
1211 bios->legacy.lvds_single_a_script_ptr = ROM16(bmp[95]); in parse_bmp_structure()
1770 bios->legacy.i2c_indices.crt, 1, DCB_OUTPUT_B); in fabricate_dcb_encoder_table()
1772 if (nv04_tv_identify(dev, bios->legacy.i2c_indices.tv) >= 0) in fabricate_dcb_encoder_table()
[all …]

12345678910>>...20