Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-4.19/drivers/staging/vt6655/
Drf.c1 // SPDX-License-Identifier: GPL-2.0+
15 * IFRFbWriteEmbedded - Embedded write RF register via MAC
57 0x03F79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 1, Tf = 2412MHz */
58 0x03F79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 2, Tf = 2417MHz */
59 0x03E79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 3, Tf = 2422MHz */
60 0x03E79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 4, Tf = 2427MHz */
61 0x03F7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 5, Tf = 2432MHz */
62 0x03F7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 6, Tf = 2437MHz */
63 0x03E7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 7, Tf = 2442MHz */
64 0x03E7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 8, Tf = 2447MHz */
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Drf.c1 // SPDX-License-Identifier: GPL-2.0+
15 * IFRFbWriteEmbedded - Embedded write RF register via MAC
57 0x03F79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 1, Tf = 2412MHz */
58 0x03F79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 2, Tf = 2417MHz */
59 0x03E79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 3, Tf = 2422MHz */
60 0x03E79000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 4, Tf = 2427MHz */
61 0x03F7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 5, Tf = 2432MHz */
62 0x03F7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 6, Tf = 2437MHz */
63 0x03E7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 7, Tf = 2442MHz */
64 0x03E7A000 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW, /* channel = 8, Tf = 2447MHz */
[all …]
/kernel/linux/linux-4.19/drivers/target/
Dtarget_core_fabric_configfs.c7 * (c) Copyright 2010-2013 Datera, Inc.
9 * Nicholas A. Bellinger <nab@linux-iscsi.org>
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
47 struct config_item_type *cit = &tf->tf_##_name##_cit; \
49 cit->ct_item_ops = _item_ops; \
50 cit->ct_group_ops = _group_ops; \
51 cit->ct_attrs = _attrs; \
52 cit->ct_owner = tf->tf_ops->module; \
57 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
[all …]
/kernel/linux/linux-5.10/drivers/target/
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>
37 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
39 struct config_item_type *cit = &tf->tf_##_name##_cit; \
41 cit->ct_item_ops = _item_ops; \
42 cit->ct_group_ops = _group_ops; \
43 cit->ct_attrs = _attrs; \
44 cit->ct_owner = tf->tf_ops->module; \
49 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
[all …]
/kernel/linux/linux-4.19/drivers/ata/
Dsata_svw.c2 * sata_svw.c - ServerWorks / Apple K2 SATA
6 * Please ALWAYS copy linux-ide@vger.kernel.org
13 * This driver probably works with non-Apple versions of the
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * You should have received a copy of the GNU General Public License
33 * as Documentation/driver-api/libata.rst
56 /* ap->flags bits */
100 u8 cmnd = qc->scsicmd->cmnd[0]; in k2_sata_check_atapi_dma()
102 if (qc->ap->flags & K2_FLAG_NO_ATAPI_DMA) in k2_sata_check_atapi_dma()
103 return -1; /* ATAPI DMA not supported */ in k2_sata_check_atapi_dma()
[all …]
Dsata_promise.h2 * sata_promise.h - Promise SATA common definitions and inline funcs
4 * Copyright 2003-2004 Red Hat, Inc.
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * You should have received a copy of the GNU General Public License
23 * as Documentation/driver-api/libata.rst
44 static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf, in pdc_pkt_header() argument
54 switch (tf->protocol) { in pdc_pkt_header()
56 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header()
72 buf32[2] = 0; /* no next-packet */ in pdc_pkt_header()
85 buf[15] = tf->ctl; in pdc_pkt_header()
[all …]
Dsata_vsc.c2 * sata_vsc.c - Vitesse VSC7174 4 port DPA SATA
5 * Please ALWAYS copy linux-ide@vger.kernel.org
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * You should have received a copy of the GNU General Public License
29 * as Documentation/driver-api/libata.rst
43 #include <linux/dma-mapping.h>
104 return -EINVAL; in vsc_sata_scr_read()
105 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_read()
114 return -EINVAL; in vsc_sata_scr_write()
115 writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_write()
[all …]
Dlibata-scsi.c2 * libata-scsi.c - helper library for ATA
5 * Please ALWAYS copy linux-ide@vger.kernel.org
8 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
9 * Copyright 2003-2004 Jeff Garzik
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * You should have received a copy of the GNU General Public License
28 * as Documentation/driver-api/libata.rst
31 * - http://www.t10.org/
32 * - http://www.t13.org/
56 #include "libata-transport.h"
[all …]
Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
30 * -- 8 bits no irq, no DMA
31 * -- 16 bits no irq, no DMA
32 * -- 16 bits True IDE mode with DMA, but no irq.
131 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
144 * A divisor value of four will overflow the timing fields at in octeon_cf_set_piomode()
153 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
157 t2--; in octeon_cf_set_piomode()
161 trh--; in octeon_cf_set_piomode()
163 pause = (int)timing.cycle - (int)timing.active - in octeon_cf_set_piomode()
[all …]
Dpata_ns87415.c2 * pata_ns87415.c - NS87415 (non PARISC) PATA
6 * This is a fairly generic MWDMA controller. It has some limitations
10 * 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()
68 clocking = 17 - clamp_val(t.active, 2, 17); in ns87415_set_mode()
[all …]
Dlibata-sff.c2 * libata-sff.c - helper library for PCI IDE BMDMA
5 * Please ALWAYS copy linux-ide@vger.kernel.org
8 * Copyright 2003-2006 Red Hat, Inc. All rights reserved.
9 * Copyright 2003-2006 Jeff Garzik
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * You should have received a copy of the GNU General Public License
28 * as Documentation/driver-api/libata.rst
31 * http://www.sata-io.org/
74 * ata_sff_check_status - Read device status reg & clear interrupt
77 * Reads ATA taskfile status register for currently-selected device
[all …]
/kernel/linux/linux-5.10/drivers/ata/
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
40 /* ap->flags bits */
84 u8 cmnd = qc->scsicmd->cmnd[0]; in k2_sata_check_atapi_dma()
86 if (qc->ap->flags & K2_FLAG_NO_ATAPI_DMA) in k2_sata_check_atapi_dma()
87 return -1; /* ATAPI DMA not supported */ in k2_sata_check_atapi_dma()
99 return -1; in k2_sata_check_atapi_dma()
[all …]
Dlibata-scsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-scsi.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.t10.org/
13 * - http://www.t13.org/
38 #include "libata-transport.h"
62 RW_RECOVERY_MPAGE_LEN - 2,
72 CACHE_MPAGE_LEN - 2,
[all …]
Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
30 * -- 8 bits no irq, no DMA
31 * -- 16 bits no irq, no DMA
32 * -- 16 bits True IDE mode with DMA, but no irq.
131 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
144 * A divisor value of four will overflow the timing fields at in octeon_cf_set_piomode()
153 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
157 t2--; in octeon_cf_set_piomode()
161 trh--; in octeon_cf_set_piomode()
163 pause = (int)timing.cycle - (int)timing.active - in octeon_cf_set_piomode()
[all …]
Dsata_vsc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sata_vsc.c - Vitesse VSC7174 4 port DPA SATA
6 * Please ALWAYS copy linux-ide@vger.kernel.org
14 * as Documentation/driver-api/libata.rst
27 #include <linux/dma-mapping.h>
88 return -EINVAL; in vsc_sata_scr_read()
89 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_read()
98 return -EINVAL; in vsc_sata_scr_write()
99 writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_write()
108 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_freeze()
[all …]
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/
54 * ata_sff_check_status - Read device status reg & clear interrupt
57 * Reads ATA taskfile status register for currently-selected device
66 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status()
71 * ata_sff_altstatus - Read device alternate status reg
[all …]
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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/x86/
Dsingle_step_syscall.c2 * single_step_syscall.c - single-steps various x86 syscalls
3 * Copyright (c) 2014-2015 Andrew Lutomirski
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * This is a very simple series of tests that makes system calls with
15 * the TF flag set. This exercises some nasty kernel code in the
16 * SYSENTER case: SYSENTER does not clear TF, so SYSENTER with TF set
87 printf("[WARN]\tSIGTRAP handler had TF set\n"); in sigtrap()
96 (unsigned long)info->si_addr, in sigtrap()
97 (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); in sigtrap()
116 printf("[OK]\tSurvived with TF set and %d traps\n", (int)sig_traps); in check_result()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dsingle_step_syscall.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * single_step_syscall.c - single-steps various x86 syscalls
4 * Copyright (c) 2014-2015 Andrew Lutomirski
6 * This is a very simple series of tests that makes system calls with
7 * the TF flag set. This exercises some nasty kernel code in the
8 * SYSENTER case: SYSENTER does not clear TF, so SYSENTER with TF set
78 printf("[WARN]\tSIGTRAP handler had TF set\n"); in sigtrap()
87 (unsigned long)info->si_addr, in sigtrap()
88 (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); in sigtrap()
103 printf("\tGot %s with RIP=%lx, TF=%ld\n", signames[sig], in print_and_longjmp()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/selftests/
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->flags = (unsigned long)nop_fence_notify; in __onstack_fence_init()
54 struct timed_fence *tf = from_timer(tf, t, timer); in timed_fence_wake() local
56 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
59 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
61 onstack_fence_init(&tf->fence); in timed_fence_init()
63 timer_setup_on_stack(&tf->timer, timed_fence_wake, 0); in timed_fence_init()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-lib.c1 // SPDX-License-Identifier: GPL-2.0-only
12 struct ide_taskfile *tf = &cmd->tf; in ide_get_lba_addr() local
15 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
17 tf = &cmd->hob; in ide_get_lba_addr()
18 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
20 high = tf->device & 0xf; in ide_get_lba_addr()
29 struct ide_taskfile *tf = &cmd.tf; in ide_dump_sector() local
30 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); in ide_dump_sector()
34 cmd.valid.in.tf = IDE_VALID_LBA; in ide_dump_sector()
38 cmd.valid.in.tf = IDE_VALID_LBA | IDE_VALID_DEVICE; in ide_dump_sector()
[all …]
Dide-disk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
4 * Copyright (C) 1998-2002 Linux ATA Development
5 * Andre Hedrick <andre@linux-ide.org>
7 * Copyright (C) 2003-2005, 2007 Bartlomiej Zolnierkiewicz
13 * and Andre Hedrick <andre@linux-ide.org>
39 #include "ide-disk.h"
60 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0; in ide_tf_set_cmd()
61 write = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 0; in ide_tf_set_cmd()
64 cmd->protocol = ATA_PROT_DMA; in ide_tf_set_cmd()
[all …]
/kernel/linux/linux-4.19/drivers/ide/
Dide-lib.c11 struct ide_taskfile *tf = &cmd->tf; in ide_get_lba_addr() local
14 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
16 tf = &cmd->hob; in ide_get_lba_addr()
17 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
19 high = tf->device & 0xf; in ide_get_lba_addr()
28 struct ide_taskfile *tf = &cmd.tf; in ide_dump_sector() local
29 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); in ide_dump_sector()
33 cmd.valid.in.tf = IDE_VALID_LBA; in ide_dump_sector()
37 cmd.valid.in.tf = IDE_VALID_LBA | IDE_VALID_DEVICE; in ide_dump_sector()
41 if (lba48 || (tf->device & ATA_LBA)) in ide_dump_sector()
[all …]
Dide-disk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
4 * Copyright (C) 1998-2002 Linux ATA Development
5 * Andre Hedrick <andre@linux-ide.org>
7 * Copyright (C) 2003-2005, 2007 Bartlomiej Zolnierkiewicz
13 * and Andre Hedrick <andre@linux-ide.org>
39 #include "ide-disk.h"
60 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0; in ide_tf_set_cmd()
61 write = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 0; in ide_tf_set_cmd()
64 cmd->protocol = ATA_PROT_DMA; in ide_tf_set_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
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->flags = (unsigned long)nop_fence_notify; in __onstack_fence_init()
49 if (!fence->flags) in onstack_fence_fini()
58 struct timed_fence *tf = from_timer(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 …]

12345678910>>...15