Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.15/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()
126 chip->legacy.IO_ADDR_R = of_iomap(np, 0); in pasemi_nand_probe()
127 chip->legacy.IO_ADDR_W = chip->legacy.IO_ADDR_R; in pasemi_nand_probe()
129 if (!chip->legacy.IO_ADDR_R) { in pasemi_nand_probe()
148 chip->legacy.cmd_ctrl = pasemi_hwcontrol; in pasemi_nand_probe()
[all …]
Dplat_nand.c77 data->chip.legacy.IO_ADDR_R = data->io_base; in plat_nand_probe()
78 data->chip.legacy.IO_ADDR_W = data->io_base; in plat_nand_probe()
79 data->chip.legacy.cmd_ctrl = pdata->ctrl.cmd_ctrl; in plat_nand_probe()
80 data->chip.legacy.dev_ready = pdata->ctrl.dev_ready; in plat_nand_probe()
81 data->chip.legacy.select_chip = pdata->ctrl.select_chip; in plat_nand_probe()
82 data->chip.legacy.write_buf = pdata->ctrl.write_buf; in plat_nand_probe()
83 data->chip.legacy.read_buf = pdata->ctrl.read_buf; in plat_nand_probe()
84 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()
158 nc->legacy.IO_ADDR_R = nc->legacy.IO_ADDR_W = io_base; in orion_nand_probe()
159 nc->legacy.cmd_ctrl = orion_nand_cmd_ctrl; in orion_nand_probe()
160 nc->legacy.read_buf = orion_nand_read_buf; in orion_nand_probe()
163 nc->legacy.chip_delay = board->chip_delay; in orion_nand_probe()
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()
Dxway_nand.c190 data->chip.legacy.cmd_ctrl = xway_cmd_ctrl; in xway_nand_probe()
191 data->chip.legacy.dev_ready = xway_dev_ready; in xway_nand_probe()
192 data->chip.legacy.select_chip = xway_select_chip; in xway_nand_probe()
193 data->chip.legacy.write_buf = xway_write_buf; in xway_nand_probe()
194 data->chip.legacy.read_buf = xway_read_buf; in xway_nand_probe()
195 data->chip.legacy.read_byte = xway_read_byte; in xway_nand_probe()
196 data->chip.legacy.chip_delay = 30; in xway_nand_probe()
Dndfc.c149 chip->legacy.IO_ADDR_R = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init()
150 chip->legacy.IO_ADDR_W = ndfc->ndfcbase + NDFC_DATA; in ndfc_chip_init()
151 chip->legacy.cmd_ctrl = ndfc_hwcontrol; in ndfc_chip_init()
152 chip->legacy.dev_ready = ndfc_ready; in ndfc_chip_init()
153 chip->legacy.select_chip = ndfc_select_chip; in ndfc_chip_init()
154 chip->legacy.chip_delay = 50; in ndfc_chip_init()
156 chip->legacy.read_buf = ndfc_read_buf; in ndfc_chip_init()
157 chip->legacy.write_buf = ndfc_write_buf; in ndfc_chip_init()
Dsharpsl.c75 writeb(cmd, chip->legacy.IO_ADDR_W); in sharpsl_nand_hwcontrol()
185 this->legacy.IO_ADDR_R = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
186 this->legacy.IO_ADDR_W = sharpsl->io + FLASHIO; in sharpsl_nand_probe()
188 this->legacy.cmd_ctrl = sharpsl_nand_hwcontrol; in sharpsl_nand_probe()
189 this->legacy.dev_ready = sharpsl_nand_dev_ready; in sharpsl_nand_probe()
191 this->legacy.chip_delay = 15; in sharpsl_nand_probe()
Dtmio_nand.c160 tmio_iowrite8(cmd, chip->legacy.IO_ADDR_W); in tmio_nand_hwcontrol()
427 nand_chip->legacy.IO_ADDR_R = tmio->fcr; in tmio_probe()
428 nand_chip->legacy.IO_ADDR_W = tmio->fcr; in tmio_probe()
431 nand_chip->legacy.cmd_ctrl = tmio_nand_hwcontrol; in tmio_probe()
432 nand_chip->legacy.dev_ready = tmio_nand_dev_ready; in tmio_probe()
433 nand_chip->legacy.read_byte = tmio_nand_read_byte; in tmio_probe()
434 nand_chip->legacy.write_buf = tmio_nand_write_buf; in tmio_probe()
435 nand_chip->legacy.read_buf = tmio_nand_read_buf; in tmio_probe()
441 nand_chip->legacy.chip_delay = 15; in tmio_probe()
451 nand_chip->legacy.waitfunc = tmio_nand_wait; in tmio_probe()
Doxnas_nand.c132 chip->legacy.cmd_ctrl = oxnas_nand_cmd_ctrl; in oxnas_nand_probe()
133 chip->legacy.read_buf = oxnas_nand_read_buf; in oxnas_nand_probe()
134 chip->legacy.read_byte = oxnas_nand_read_byte; in oxnas_nand_probe()
135 chip->legacy.write_buf = oxnas_nand_write_buf; in oxnas_nand_probe()
136 chip->legacy.chip_delay = 30; in oxnas_nand_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 …]
Dlpc32xx_slc.c630 chip->legacy.read_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_read_page_syndrome()
671 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome()
672 chip->legacy.read_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_read_page_raw_syndrome()
710 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_syndrome()
728 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_raw_syndrome()
898 chip->legacy.IO_ADDR_R = SLC_DATA(host->io_base); in lpc32xx_nand_probe()
899 chip->legacy.IO_ADDR_W = SLC_DATA(host->io_base); in lpc32xx_nand_probe()
900 chip->legacy.cmd_ctrl = lpc32xx_nand_cmd_ctrl; in lpc32xx_nand_probe()
901 chip->legacy.dev_ready = lpc32xx_nand_device_ready; in lpc32xx_nand_probe()
902 chip->legacy.chip_delay = 20; /* 20us command delay time */ in lpc32xx_nand_probe()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c45 esw->fdb_table.legacy.vepa_fdb = fdb; in esw_create_legacy_vepa_table()
53 if (!esw->fdb_table.legacy.fdb) in esw_destroy_legacy_fdb_table()
56 if (esw->fdb_table.legacy.promisc_grp) in esw_destroy_legacy_fdb_table()
57 mlx5_destroy_flow_group(esw->fdb_table.legacy.promisc_grp); in esw_destroy_legacy_fdb_table()
58 if (esw->fdb_table.legacy.allmulti_grp) in esw_destroy_legacy_fdb_table()
59 mlx5_destroy_flow_group(esw->fdb_table.legacy.allmulti_grp); in esw_destroy_legacy_fdb_table()
60 if (esw->fdb_table.legacy.addr_grp) in esw_destroy_legacy_fdb_table()
61 mlx5_destroy_flow_group(esw->fdb_table.legacy.addr_grp); in esw_destroy_legacy_fdb_table()
62 mlx5_destroy_flow_table(esw->fdb_table.legacy.fdb); in esw_destroy_legacy_fdb_table()
64 esw->fdb_table.legacy.fdb = NULL; in esw_destroy_legacy_fdb_table()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/net/ipa/
Dipa_reg.h489 static inline u32 aggr_byte_limit_fmask(bool legacy) in aggr_byte_limit_fmask() argument
491 return legacy ? GENMASK(9, 5) : GENMASK(10, 5); in aggr_byte_limit_fmask()
495 static inline u32 aggr_time_limit_fmask(bool legacy) in aggr_time_limit_fmask() argument
497 return legacy ? GENMASK(14, 10) : GENMASK(16, 12); in aggr_time_limit_fmask()
501 static inline u32 aggr_pkt_limit_fmask(bool legacy) in aggr_pkt_limit_fmask() argument
503 return legacy ? GENMASK(20, 15) : GENMASK(22, 17); in aggr_pkt_limit_fmask()
507 static inline u32 aggr_sw_eof_active_fmask(bool legacy) in aggr_sw_eof_active_fmask() argument
509 return legacy ? GENMASK(21, 21) : GENMASK(23, 23); in aggr_sw_eof_active_fmask()
513 static inline u32 aggr_force_close_fmask(bool legacy) in aggr_force_close_fmask() argument
515 return legacy ? GENMASK(22, 22) : GENMASK(24, 24); in aggr_force_close_fmask()
[all …]
/Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/pci/
Duniphier-pcie.txt36 - legacy-interrupt-controller: Specifies interrupt controller for legacy PCI
39 Required properties for legacy-interrupt-controller:
44 - interrupts: An interrupt specifier for legacy interrupt.
76 pcie_intc: legacy-interrupt-controller {
/Linux-v5.15/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-v5.15/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>>...20