Home
last modified time | relevance | path

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

12345678910>>...16

/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 Dhisi504_nand.c527 chip->legacy.read_buf(chip, chip->oob_poi, mtd->oobsize); in hisi_nand_read_page_hwecc()
575 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in hisi_nand_write_page_hwecc()
769 chip->legacy.cmdfunc = hisi_nfc_cmdfunc; in hisi_nfc_probe()
770 chip->legacy.select_chip = hisi_nfc_select_chip; in hisi_nfc_probe()
771 chip->legacy.read_byte = hisi_nfc_read_byte; in hisi_nfc_probe()
772 chip->legacy.write_buf = hisi_nfc_write_buf; in hisi_nfc_probe()
773 chip->legacy.read_buf = hisi_nfc_read_buf; in hisi_nfc_probe()
774 chip->legacy.chip_delay = HINFC504_CHIP_DELAY; in hisi_nfc_probe()
775 chip->legacy.set_features = nand_get_set_features_notsupp; in hisi_nfc_probe()
776 chip->legacy.get_features = nand_get_set_features_notsupp; in hisi_nfc_probe()
[all …]
H A Dmpc5121_nfc.c696 chip->legacy.dev_ready = mpc5121_nfc_dev_ready; in mpc5121_nfc_probe()
697 chip->legacy.cmdfunc = mpc5121_nfc_command; in mpc5121_nfc_probe()
698 chip->legacy.read_byte = mpc5121_nfc_read_byte; in mpc5121_nfc_probe()
699 chip->legacy.read_buf = mpc5121_nfc_read_buf; in mpc5121_nfc_probe()
700 chip->legacy.write_buf = mpc5121_nfc_write_buf; in mpc5121_nfc_probe()
701 chip->legacy.select_chip = mpc5121_nfc_select_chip; in mpc5121_nfc_probe()
702 chip->legacy.set_features = nand_get_set_features_notsupp; in mpc5121_nfc_probe()
703 chip->legacy.get_features = nand_get_set_features_notsupp; in mpc5121_nfc_probe()
714 chip->legacy.select_chip = ads5121_select_chip; in mpc5121_nfc_probe()
H A Dcafe_nand.c382 chip->legacy.read_buf(chip, chip->oob_poi, mtd->oobsize); in cafe_nand_read_page()
541 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in cafe_nand_write_page_lowlevel()
705 cafe->nand.legacy.cmdfunc = cafe_nand_cmdfunc; in cafe_nand_probe()
706 cafe->nand.legacy.dev_ready = cafe_device_ready; in cafe_nand_probe()
707 cafe->nand.legacy.read_byte = cafe_read_byte; in cafe_nand_probe()
708 cafe->nand.legacy.read_buf = cafe_read_buf; in cafe_nand_probe()
709 cafe->nand.legacy.write_buf = cafe_write_buf; in cafe_nand_probe()
710 cafe->nand.legacy.select_chip = cafe_select_chip; in cafe_nand_probe()
711 cafe->nand.legacy.set_features = nand_get_set_features_notsupp; in cafe_nand_probe()
712 cafe->nand.legacy.get_features = nand_get_set_features_notsupp; in cafe_nand_probe()
[all …]
H A Dtxx9ndfmc.c330 chip->legacy.read_byte = txx9ndfmc_read_byte; in txx9ndfmc_probe()
331 chip->legacy.read_buf = txx9ndfmc_read_buf; in txx9ndfmc_probe()
332 chip->legacy.write_buf = txx9ndfmc_write_buf; in txx9ndfmc_probe()
333 chip->legacy.cmd_ctrl = txx9ndfmc_cmd_ctrl; in txx9ndfmc_probe()
334 chip->legacy.dev_ready = txx9ndfmc_dev_ready; in txx9ndfmc_probe()
335 chip->legacy.chip_delay = 100; in txx9ndfmc_probe()
/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/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/gpu/drm/vmwgfx/
H A Dvmwgfx_cursor_plane.c78 s32 hotspot_x = vps->cursor.legacy.hotspot_x + vps->base.hotspot_x; in vmw_cursor_plane_update_legacy()
79 s32 hotspot_y = vps->cursor.legacy.hotspot_y + vps->base.hotspot_y; in vmw_cursor_plane_update_legacy()
84 if (vps->cursor.legacy.id != surface->snooper.id) { in vmw_cursor_plane_update_legacy()
88 vps->cursor.legacy.id = surface->snooper.id; in vmw_cursor_plane_update_legacy()
127 alpha_header->hotspotX = vps->cursor.legacy.hotspot_x + vps->base.hotspot_x; in vmw_cursor_update_mob()
128 alpha_header->hotspotY = vps->cursor.legacy.hotspot_y + vps->base.hotspot_y; in vmw_cursor_update_mob()
575 if (old_vps->cursor.legacy.hotspot_x != in vmw_cursor_plane_changed()
576 new_vps->cursor.legacy.hotspot_x || in vmw_cursor_plane_changed()
577 old_vps->cursor.legacy.hotspot_y != in vmw_cursor_plane_changed()
578 new_vps->cursor.legacy.hotspot_y) in vmw_cursor_plane_changed()
[all …]
/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 …]
/linux/Documentation/userspace-api/media/dvb/
H A 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.
H A Dfrontend_legacy_dvbv3_api.rst6 Digital TV Frontend legacy API (a. k. a. DVBv3)
11 incomplete information. This is kept only to support legacy
/linux/Documentation/PCI/
H A 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.
/linux/arch/x86/hyperv/
H A Dhv_vtl.c85 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()
/linux/tools/usb/
H A Dffs-test.c224 static size_t descs_to_legacy(void **legacy, const void *descriptors_v2) in descs_to_legacy() argument
301 *legacy = out; in descs_to_legacy()
628 void *legacy; in ep0_init() local
634 goto legacy; in ep0_init()
642 legacy: in ep0_init()
643 len = descs_to_legacy(&legacy, &descriptors); in ep0_init()
645 ret = write(t->fd, legacy, len); in ep0_init()
646 free(legacy); in ep0_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c105 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_1000BASE_CX_SGMII, legacy, in mlx5e_build_ptys2ethtool_map()
107 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_1000BASE_KX, legacy, in mlx5e_build_ptys2ethtool_map()
109 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_10GBASE_CX4, legacy, in mlx5e_build_ptys2ethtool_map()
111 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_10GBASE_KX4, legacy, in mlx5e_build_ptys2ethtool_map()
113 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_10GBASE_KR, legacy, in mlx5e_build_ptys2ethtool_map()
115 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_20GBASE_KR2, legacy, in mlx5e_build_ptys2ethtool_map()
117 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_40GBASE_CR4, legacy, in mlx5e_build_ptys2ethtool_map()
119 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_40GBASE_KR4, legacy, in mlx5e_build_ptys2ethtool_map()
121 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_56GBASE_R4, legacy, in mlx5e_build_ptys2ethtool_map()
123 MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_10GBASE_CR, legacy, in mlx5e_build_ptys2ethtool_map()
[all …]

12345678910>>...16