Home
last modified time | relevance | path

Searched +full:tf +full:- +full:a (Results 1 – 25 of 156) sorted by relevance

1234567

/linux/kernel/trace/
H A Dtrace_fprobe.c1 // SPDX-License-Identifier: GPL-2.0
3 * Fprobe-based tracing events
61 struct tracepoint *tpoint = tuser->tpoint; in tracepoint_user_register()
67 tpoint->probestub, NULL, 0); in tracepoint_user_register()
72 if (!tuser->tpoint) in tracepoint_user_unregister()
75 WARN_ON_ONCE(tracepoint_probe_unregister(tuser->tpoint, tuser->tpoint->probestub, NULL)); in tracepoint_user_unregister()
76 tuser->tpoint = NULL; in tracepoint_user_unregister()
81 if (!tuser->tpoint) in tracepoint_user_ip()
84 return (unsigned long)tuser->tpoint->probestub; in tracepoint_user_ip()
91 kfree(tuser->name); in __tracepoint_user_free()
[all …]
/linux/drivers/ata/
H A Dsata_svw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sata_svw.c - ServerWorks / Apple K2 SATA
7 * Please ALWAYS copy linux-ide@vger.kernel.org
14 * This driver probably works with non-Apple versions of the
18 * as Documentation/driver-api/libata.rst
41 /* ap->flags bits */
85 u8 cmnd = qc->scsicmd->cmnd[0]; in k2_sata_check_atapi_dma()
87 if (qc->ap->flags & K2_FLAG_NO_ATAPI_DMA) in k2_sata_check_atapi_dma()
88 return -1; /* ATAPI DMA not supported */ in k2_sata_check_atapi_dma()
100 return -1; in k2_sata_check_atapi_dma()
[all …]
H A Dlibata-acpi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * libata-acpi.c
26 …fermode, 0x2=lock/freeze lock, 0x4=DIPM, 0x8=FPDMA non-zero offset, 0x10=FPDMA DMA Setup FIS auto-
33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */ member
38 kfree(dev->gtf_cache); in ata_acpi_clear_gtf()
39 dev->gtf_cache = NULL; in ata_acpi_clear_gtf()
50 #define ata_hotplug_data(context) (container_of((context), struct ata_acpi_hotplug_context, hp)->da…
53 * ata_dev_acpi_handle - provide the acpi_handle for an ata_device
62 return dev->flags & ATA_DFLAG_ACPI_DISABLED ? in ata_dev_acpi_handle()
63 NULL : ACPI_HANDLE(&dev->tdev); in ata_dev_acpi_handle()
[all …]
H A Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
31 * -- 8 bits no irq, no DMA
32 * -- 16 bits no irq, no DMA
33 * -- 16 bits True IDE mode with DMA, but no irq.
128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
141 * A divisor value of four will overflow the timing fields at in octeon_cf_set_piomode()
150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
154 t2--; in octeon_cf_set_piomode()
158 trh--; in octeon_cf_set_piomode()
160 pause = (int)timing.cycle - (int)timing.active - in octeon_cf_set_piomode()
[all …]
H A Dlibata-sff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-sff.c - helper library for PCI IDE BMDMA
5 * Copyright 2003-2006 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2006 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * http://www.sata-io.org/
53 * ata_sff_check_status - Read device status reg & clear interrupt
56 * Reads ATA taskfile status register for currently-selected device
65 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status()
70 * ata_sff_altstatus - Read device alternate status reg
[all …]
H A Dpata_ns87415.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_ns87415.c - NS87415 (and PARISC SUPERIO 87560) PATA
7 * This is a fairly generic MWDMA controller. It has some limitations
11 * This driver assumes the firmware has left the chip in a valid ST506
39 * ns87415_set_mode - Initialize host controller mode timings
54 struct pci_dev *dev = to_pci_dev(ap->host->dev); in ns87415_set_mode()
55 int unit = 2 * ap->port_no + adev->devno; in ns87415_set_mode()
63 /* Timing register format is 17 - low nybble read timing with in ns87415_set_mode()
64 the high nybble being 16 - x for recovery time in PCI clocks */ in ns87415_set_mode()
66 ata_timing_compute(adev, adev->pio_mode, &t, T, 0); in ns87415_set_mode()
[all …]
H A Dlibata-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-core.c - helper library for ATA
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * http://www.sata-io.org/
16 * http://www.t10.org (SCSI MMC - for ATAPI MMC)
17 * http://www.sata-io.org (SATA)
19 * http://www.qic.org (QIC157 - Tape and DSC)
20 * http://www.ce-ata.org (CE-ATA: not supported)
[all …]
H A Dlibata-sata.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
19 #include "libata-transport.h"
30 * sata_scr_valid - test whether SCRs are accessible
43 struct ata_port *ap = link->ap; in sata_scr_valid()
45 return (ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read; in sata_scr_valid()
50 * sata_scr_read - read SCR register of the specified port
56 * guaranteed to succeed if @link is ap->link, the cable type of
57 * the port is SATA and the port implements ->scr_read.
[all …]
H A Dpata_ep93xx.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * DMA engine support based on spi-ep93xx.c by Mika Westerberg.
21 * Heavily based on the ep93xx-ide.c driver:
51 #define DRV_NAME "ep93xx-ide"
69 * ORed to the IDECTRL register, hence giving directly the A[2:0] and
165 * of HCLK cycles to hold the data bus after a PIO write operation.
199 * Based on delay loop found in mach-pxa/mp900.c.
222 * tA = 35ns after activation of DIOR-/DIOW-. Maximum IORDY pulse in ep93xx_pata_wait_for_iordy()
226 * DIOR-/DIOW-, so we set timeout to (1250 + 35) / 25 - t2 additional in ep93xx_pata_wait_for_iordy()
229 unsigned long start = (1250 + 35) / 25 - t2; in ep93xx_pata_wait_for_iordy()
[all …]
H A Dsata_inic162x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sata_inic162x.c - Driver for Initio 162x SATA controllers
25 * from the documentation and a 2.4 IDE driver posted on a Taiwan
30 * After a while, initio picked the driver up, renamed it to
41 * issues tho. Result Tf is not resported properly, NCQ isn't
46 * Anyways, so, here's finally a working driver for inic162x. Enjoy!
48 * initio: If you guys wanna improve the driver regarding result TF
83 /* registers for ATA TF operation */
255 .max_segment_size = 65536 - 512,
266 struct inic_host_priv *hpriv = ap->host->private_data; in inic_port_base()
[all …]
H A Dsata_rcar.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Renesas R-Car SATA driver
6 * Copyright (C) 2013-2015 Cogent Embedded, Inc.
7 * Copyright (C) 2013-2015 Renesas Solutions Corp.
21 /* SH-Navi2G/ATAPI module compatible control registers */
82 /* Serial-ATA HOST control registers */
155 void __iomem *base = priv->base; in sata_rcar_gen1_phy_preinit()
169 void __iomem *base = priv->base; in sata_rcar_gen1_phy_write()
208 void __iomem *base = priv->base; in sata_rcar_gen2_phy_init()
220 struct sata_rcar_priv *priv = ap->host->private_data; in sata_rcar_freeze()
[all …]
H A Dpata_pdc202xx_old.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_pdc202xx_old.c - Promise PDC202xx PATA for new ATA layer
29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc2026x_cable_detect()
33 if (cis & (1 << (10 + ap->port_no))) in pdc2026x_cable_detect()
39 const struct ata_taskfile *tf) in pdc202xx_exec_command() argument
41 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command()
47 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check()
51 if (ap->port_no) { in pdc202xx_irq_check()
67 * pdc202xx_configure_piomode - set chip PIO timing
73 * so a configure_dmamode call will undo any work we do here and vice
[all …]
H A Dsata_sx4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sata_sx4.c - Promise SATA
6 * Please ALWAYS copy linux-ide@vger.kernel.org
9 * Copyright 2003-2004 Red Hat, Inc.
12 * as Documentation/driver-api/libata.rst
19 -------------------
21 The SX4 (PDC20621) chip features a single Host DMA (HDMA) copy
27 The SX4 behaves like a PATA chip, with no SATA controls or
29 PATA<->SATA bridges exist on SX4 boards, external to the
33 hardware commands (permits a string to transactions to be
[all …]
H A Dlibata-pmp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * libata-pmp.c - libata port multiplier support
14 #include "libata-transport.h"
25 * sata_pmp_read - read PMP register
40 struct ata_port *ap = link->ap; in sata_pmp_read()
41 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_read()
42 struct ata_taskfile tf; in sata_pmp_read() local
45 ata_tf_init(pmp_dev, &tf); in sata_pmp_read()
46 tf.command = ATA_CMD_PMP_READ; in sata_pmp_read()
47 tf.protocol = ATA_PROT_NODATA; in sata_pmp_read()
[all …]
H A Dpata_via.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_via.c - VIA PATA for new ATA layer
4 * (C) 2005-2006 Red Hat Inc
10 * VIA VT82C561 - early design, uses ata_generic currently
11 * VIA VT82C576 - MWDMA, 33Mhz
12 * VIA VT82C586 - MWDMA, 33Mhz
13 * VIA VT82C586a - Added UDMA to 33Mhz
14 * VIA VT82C586b - UDMA33
15 * VIA VT82C596a - Nonfunctional UDMA66
16 * VIA VT82C596b - Working UDMA66
[all …]
/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * (c) Copyright 2010-2013 Datera, Inc.
10 * Nicholas A. Bellinger <nab@linux-iscsi.org>
38 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
40 struct config_item_type *cit = &tf->tf_##_name##_cit; \
42 cit->ct_item_ops = _item_ops; \
43 cit->ct_group_ops = _group_ops; \
44 cit->ct_attrs = _attrs; \
45 cit->ct_owner = tf->tf_ops->module; \
50 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c4 * Permission is hereby granted, free of charge, to any person obtaining a
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
41 __init_waitqueue_head(&fence->wait, name, key); in __onstack_fence_init()
42 atomic_set(&fence->pending, 1); in __onstack_fence_init()
43 fence->error = 0; in __onstack_fence_init()
44 fence->fn = nop_fence_notify; in __onstack_fence_init()
49 if (!fence->fn) in onstack_fence_fini()
58 struct timed_fence *tf = timer_container_of(tf, t, timer); in timed_fence_wake() local
60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
[all …]
/linux/net/mac80211/
H A Dtdls.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2015 - 2016 Intel Deutschland GmbH
9 * Copyright (C) 2019, 2021-2024 Intel Corporation
17 #include "driver-ops.h"
31 local = sdata->local; in ieee80211_tdls_peer_del_work()
33 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_tdls_peer_del_work()
35 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
36 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
37 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
[all …]
/linux/drivers/ata/pata_parport/
H A Dpata_parport.c1 // SPDX-License-Identifier: GPL-2.0-only
26 * devices (neither other pata_parport devices nor a printer).
30 parport_claim_or_block(pi->pardev); in pi_connect()
31 pi->proto->connect(pi); in pi_connect()
36 pi->proto->disconnect(pi); in pi_disconnect()
37 parport_release(pi->pardev); in pi_disconnect()
42 struct pi_adapter *pi = ap->host->private_data; in pata_parport_dev_select()
50 pi->proto->write_regr(pi, 0, ATA_REG_DEVICE, tmp); in pata_parport_dev_select()
56 struct pi_adapter *pi = ap->host->private_data; in pata_parport_set_devctl()
58 pi->proto->write_regr(pi, 1, 6, ctl); in pata_parport_set_devctl()
[all …]
/linux/arch/x86/kernel/
H A Dstep.c1 // SPDX-License-Identifier: GPL-2.0
3 * x86 single-step support code, common to 32-bit and 64-bit.
18 addr = regs->ip; in convert_ip_to_linear()
19 seg = regs->cs; in convert_ip_to_linear()
28 * are all zero-based. That is largely true: the in convert_ip_to_linear()
38 mutex_lock(&child->mm->context.lock); in convert_ip_to_linear()
39 if (unlikely(!child->mm->context.ldt || in convert_ip_to_linear()
40 seg >= child->mm->context.ldt->nr_entries)) in convert_ip_to_linear()
41 addr = -1L; /* bogus selector, access would fault */ in convert_ip_to_linear()
43 desc = &child->mm->context.ldt->entries[seg]; in convert_ip_to_linear()
[all …]
/linux/include/trace/events/
H A Dlibata.h1 /* SPDX-License-Identifier: GPL-2.0 */
167 #define __parse_eh_action(a) libata_trace_parse_eh_action(p, a) argument
210 __entry->ata_port = qc->ap->print_id;
211 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
212 __entry->tag = qc->tag;
213 __entry->proto = qc->tf.protocol;
214 __entry->cmd = qc->tf.command;
215 __entry->dev = qc->tf.device;
216 __entry->lbal = qc->tf.lbal;
217 __entry->lbam = qc->tf.lbam;
[all …]
/linux/drivers/net/thunderbolt/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0
42 (TBNET_FRAME_SIZE - sizeof(struct thunderbolt_ip_frame_header))
52 * struct thunderbolt_ip_frame_header - Header for each Thunderbolt frame
56 * @frame_count: how many frames assembles a full packet
58 * Each data frame passed to the high-speed DMA ring has this header. If
149 * struct tbnet - ThunderboltIP network driver private data
172 * @rx_hdr: Copy of the currently processed Rx frame. Used when a
204 /* Network property directory UUID: c66189ca-1cce-4195-bdb8-49592e5f5a4f */
209 /* ThunderboltIP protocol UUID: 798f589e-3616-8a47-97c6-5664a920c8dd */
218 MODULE_PARM_DESC(e2e, "USB4NET full end-to-end flow control (default: true)");
[all …]
/linux/drivers/thunderbolt/
H A Ddma_test.c1 // SPDX-License-Identifier: GPL-2.0
70 * struct dma_test - DMA test device driver private data
114 /* DMA test property directory UUID: 3188cd10-6523-4a5a-a682-fdca07a248d8 */
124 if (dt->rx_ring) { in dma_test_free_rings()
125 tb_xdomain_release_in_hopid(dt->xd, dt->rx_hopid); in dma_test_free_rings()
126 tb_ring_free(dt->rx_ring); in dma_test_free_rings()
127 dt->rx_ring = NULL; in dma_test_free_rings()
129 if (dt->tx_ring) { in dma_test_free_rings()
130 tb_xdomain_release_out_hopid(dt->xd, dt->tx_hopid); in dma_test_free_rings()
131 tb_ring_free(dt->tx_ring); in dma_test_free_rings()
[all …]
/linux/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst1 .. SPDX-License-Identifier: GPL-2.0
7 The Intel(R) Speed Select Technology (Intel(R) SST) provides a powerful new
9 With Intel(R) SST, one server can be configured for power and performance for a
14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic…
15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha…
19 dynamically without pre-configuring via BIOS setup options. This dynamic
29 intel-speed-select configuration tool
32 Most Linux distribution packages may include the "intel-speed-select" tool. If not,
38 # cd tools/power/x86/intel-speed-select/
43 ------------
[all …]
/linux/net/6lowpan/
H A Diphc.c15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
96 * second bit-flip (Universe/Local) is done according RFC2464
98 #define is_addr_mac_addr_based(a, m) \ argument
99 ((((a)->s6_addr[8]) == (((m)[0]) ^ 0x02)) && \
100 (((a)->s6_addr[9]) == (m)[1]) && \
101 (((a)->s6_addr[10]) == (m)[2]) && \
102 (((a)->s6_addr[11]) == (m)[3]) && \
103 (((a)->s6_addr[12]) == (m)[4]) && \
104 (((a)->s6_addr[13]) == (m)[5]) && \
[all …]

1234567