Home
last modified time | relevance | path

Searched +full:additional +full:- +full:devs (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c1 // SPDX-License-Identifier: GPL-2.0 AND MIT
65 struct ttm_resource *old_mem = bo->resource; in mock_move()
67 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && !bo->ttm)) { in mock_move()
72 if (bo->resource->mem_type == TTM_PL_VRAM && in mock_move()
73 new_mem->mem_type == TTM_PL_SYSTEM) { in mock_move()
74 hop->mem_type = TTM_PL_TT; in mock_move()
75 hop->flags = TTM_PL_FLAG_TEMPORARY; in mock_move()
76 hop->fpfn = 0; in mock_move()
77 hop->lpfn = 0; in mock_move()
78 return -EMULTIHOP; in mock_move()
[all …]
H A Dttm_resource_test.c1 // SPDX-License-Identifier: GPL-2.0 AND MIT
10 #define TTM_PRIV_DUMMY_REG (TTM_NUM_MEM_TYPES - 1)
19 struct ttm_test_devices *devs; member
33 priv->devs = ttm_test_devices_all(test); in ttm_resource_test_init()
34 KUNIT_ASSERT_NOT_NULL(test, priv->devs); in ttm_resource_test_init()
36 test->priv = priv; in ttm_resource_test_init()
43 struct ttm_resource_test_priv *priv = test->priv; in ttm_resource_test_fini()
45 ttm_test_devices_put(test, priv->devs); in ttm_resource_test_fini()
55 KUNIT_ASSERT_NOT_NULL(test, priv->devs->ttm_dev); in ttm_init_test_mocks()
57 priv->bo = ttm_bo_kunit_init(test, priv->devs, size, NULL); in ttm_init_test_mocks()
[all …]
H A Dttm_pool_test.c1 // SPDX-License-Identifier: GPL-2.0 AND MIT
19 struct ttm_test_devices *devs; member
37 priv->devs = ttm_test_devices_basic(test); in ttm_pool_test_init()
38 test->priv = priv; in ttm_pool_test_init()
45 struct ttm_pool_test_priv *priv = test->priv; in ttm_pool_test_fini()
47 ttm_test_devices_put(test, priv->devs); in ttm_pool_test_fini()
55 struct ttm_pool_test_priv *priv = test->priv; in ttm_tt_kunit_init()
60 bo = ttm_bo_kunit_init(test, priv->devs, size, NULL); in ttm_tt_kunit_init()
62 priv->mock_bo = bo; in ttm_tt_kunit_init()
67 err = ttm_tt_init(tt, priv->mock_bo, page_flags, caching, 0); in ttm_tt_kunit_init()
[all …]
H A Dttm_tt_test.c1 // SPDX-License-Identifier: GPL-2.0 AND MIT
20 .description = "Page-aligned size",
33 strscpy(desc, t->description, KUNIT_PARAM_DESC_SIZE); in ttm_tt_init_case_desc()
41 const struct ttm_tt_test_case *params = test->param_value; in ttm_tt_init_basic()
46 u32 extra_pages = params->extra_pages_num; in ttm_tt_init_basic()
47 int num_pages = params->size >> PAGE_SHIFT; in ttm_tt_init_basic()
53 bo = ttm_bo_kunit_init(test, test->priv, params->size, NULL); in ttm_tt_init_basic()
58 KUNIT_ASSERT_EQ(test, tt->num_pages, num_pages + extra_pages); in ttm_tt_init_basic()
60 KUNIT_ASSERT_EQ(test, tt->page_flags, page_flags); in ttm_tt_init_basic()
61 KUNIT_ASSERT_EQ(test, tt->caching, caching); in ttm_tt_init_basic()
[all …]
/linux/drivers/char/agp/
H A Dali-agp.c27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
29 values = A_SIZE_32(agp_bridge->driver->aperture_sizes); in ali_fetch_size()
31 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in ali_fetch_size()
33 agp_bridge->previous_size = in ali_fetch_size()
34 agp_bridge->current_size = (void *) (values + i); in ali_fetch_size()
35 agp_bridge->aperture_size_idx = i; in ali_fetch_size()
47 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_tlbflush()
50 pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); in ali_tlbflush()
58 previous_size = A_SIZE_32(agp_bridge->previous_size); in ali_cleanup()
60 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_cleanup()
[all …]
H A Dati-agp.c60 page_map->real = (unsigned long *) __get_free_page(GFP_KERNEL); in ati_create_page_map()
61 if (page_map->real == NULL) in ati_create_page_map()
62 return -ENOMEM; in ati_create_page_map()
64 set_memory_uc((unsigned long)page_map->real, 1); in ati_create_page_map()
65 err = map_page_into_agp(virt_to_page(page_map->real)); in ati_create_page_map()
67 free_page((unsigned long)page_map->real); in ati_create_page_map()
70 page_map->remapped = page_map->real; in ati_create_page_map()
73 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map()
74 readl(page_map->remapped+i); /* PCI Posting. */ in ati_create_page_map()
83 unmap_page_from_agp(virt_to_page(page_map->real)); in ati_free_page_map()
[all …]
/linux/include/scsi/
H A Dscsi_devinfo.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 /* Treat as (removable) CD-ROM */
27 /* LUNs past 7 on a SCSI-2 device */
29 /* override additional length field */
40 /* try REPORT_LUNS even for SCSI-2 devs (if HBA supports more than 8 LUNs) */
42 /* don't try REPORT_LUNS scan (SCSI-3 devs) */
44 /* don't use PREVENT-ALLOW commands */
57 /* Ignore SBC-3 VPD pages */
79 ((__force __u64)__BLIST_LAST_USED - 1ULL)))
/linux/sound/core/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 # ALSA soundcard-configuration
38 When this option is set, an additional rawmidi device for the
52 kernel devs running KUnit test harness and are not for inclusion
56 to the KUnit documentation in Documentation/dev-tools/kunit/.
85 and read <file:Documentation/sound/designs/oss-emulation.rst>.
90 will be called snd-mixer-oss.
98 here and read <file:Documentation/sound/designs/oss-emulation.rst>.
103 will be called snd-pcm-oss.
106 bool "OSS PCM (digital audio) API - Include plugin system"
[all …]
/linux/sound/soc/generic/
H A Dsimple-card.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <sound/soc-dai.h>
22 #define DAI "sound-dai"
23 #define CELL "#sound-dai-cells"
24 #define PREFIX "simple-audio-card,"
41 * Get node via "sound-dai = <&phandle port>" in simple_parse_platform()
50 dlc->of_node = args.np; in simple_parse_platform()
68 * Get node via "sound-dai = <&phandle port>" in simple_parse_dai()
80 dlc->dai_name = snd_soc_dai_name_get(dai); in simple_parse_dai()
81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in simple_parse_dai()
[all …]
/linux/lib/kunit/
H A DKconfig6 tristate "KUnit - Enable support for unit tests"
14 Documentation/dev-tools/kunit/.
19 bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS
55 itself, lib/kunit/example-test.c, for more information. This option
64 in TAP format (http://testanything.org/). Only useful for kernel devs
69 to the KUnit documentation in Documentation/dev-tools/kunit/.
81 In most cases this should be left as Y. Only if additional opt-in
/linux/drivers/pnp/pnpbios/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pnpbios -- PnP BIOS driver
5 * This driver provides access to Plug-'n'-Play services provided by
19 * Ported to the PnP Layer and several additional improvements (C) 2002
25 * Adam Belay - <ambx1@neo.rr.com> - March 16, 2003
93 return -ENOMEM; in pnp_dock_event()
96 return -ENOMEM; in pnp_dock_event()
112 /* hint that policy agent should enter no-stdout debug mode */ in pnp_dock_event()
115 /* extensible set of named bus-specific parameters, in pnp_dock_event()
127 info->location_id, info->serial, info->capabilities); in pnp_dock_event()
[all …]
/linux/lib/
H A DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0-only
19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst
50 int "Default console loglevel (1-15)"
60 Note: This does not affect the log level of un-prefixed printk()
65 int "quiet console loglevel (1-15)"
76 int "Default message log level (1-7)"
82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
118 enabled/disabled based on various levels of scope - per source file,
158 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
162 nullarbor:~ # echo -n 'file svcsock.c +p' >
[all …]
/linux/net/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 when running on a stand-alone machine that isn't connected to any
20 contained in the package net-tools, the location and version number
24 recommended to read the NET-HOWTO, available from
42 achieve this, you need to set skb_shinfo(skb)->frag_list to the
47 compat-independent messages instead!
102 kernel devs running KUnit test harness and are not for inclusion
106 to the KUnit documentation in Documentation/dev-tools/kunit/.
115 other computer. You will get the so-called loopback device which
126 <file:Documentation/networking/ip-sysctl.rst>.
[all …]
/linux/include/linux/mtd/
H A Dcfi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
28 # define cfi_interleave(cfi) ((cfi)->interleave)
40 # define cfi_interleave(cfi) ((cfi)->interleave)
52 # define cfi_interleave(cfi) ((cfi)->interleave)
152 /* Vendor-Specific PRI for Intel/Sharp Extended Command Set (0x0001) */
158 uint32_t FeatureSupport; /* if bit 31 is set then an additional uint32_t feature
159 block follows - FIXME - not currently supported */
205 /* Vendor-Specific PRI for AMD/Fujitsu Extended Command Set (0x0002) */
211 uint8_t SiliconRevision; /* bits 1-0: Address Sensitive Unlock */
[all …]
/linux/drivers/usb/host/
H A Dxhci-ring.c1 // SPDX-License-Identifier: GPL-2.0
26 * until you reach a non-link TRB.
58 #include <linux/dma-mapping.h>
60 #include "xhci-trace.h"
75 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma()
78 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma()
81 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma()
86 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); in trb_is_noop()
91 return TRB_TYPE_LINK_LE32(trb->link.control); in trb_is_link()
96 return trb == &seg->trbs[TRBS_PER_SEGMENT - 1]; in last_trb_on_seg()
[all …]
H A Dxhci-mem.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/dma-mapping.h>
19 #include "xhci-trace.h"
20 #include "xhci-debugfs.h"
36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
42 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc()
43 if (!seg->trbs) { in xhci_segment_alloc()
49 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
51 if (!seg->bounce_buf) { in xhci_segment_alloc()
52 dma_pool_free(xhci->segment_pool, seg->trbs, dma); in xhci_segment_alloc()
[all …]
H A Dxhci-mtk-sch.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "xhci-mtk.h"
18 /* table 5-5. High-speed Isoc Transaction Limits in usb_20 spec */
28 * max number of microframes for split transfer, assume extra-cs budget is 0
55 return "Can't schedule Start-Split in Y6"; in sch_error_string()
57 return "Can't find a suitable Start-Split location"; in sch_error_string()
59 return "The last Complete-Split is greater than 7"; in sch_error_string()
78 struct usb_endpoint_descriptor *epd = &ep->desc; in decode_ep()
94 usb_endpoint_maxp(epd), epd->bInterval, interval, unit); in decode_ep()
130 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info()
[all …]
H A Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 #include <linux/io-64-nonatomic-lo-hi.h>
20 #include <linux/io-64-nonatomic-hi-lo.h>
22 /* Code sharing between pci-quirks and xhci hcd */
23 #include "xhci-ext-caps.h"
24 #include "pci-quirks.h"
26 #include "xhci-port.h"
27 #include "xhci-caps.h"
35 /* Max number of USB devices for any host controller - limit in section 6.1 */
37 /* Section 5.3.3 - MaxPorts */
[all …]
/linux/include/net/
H A Dsch_generic.h1 /* SPDX-License-Identifier: GPL-2.0 */
65 /* similar to sk_buff_head, but skb->prev pointer is undefined. */
84 * q->dev_queue : It can test
138 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_inc()
140 refcount_inc(&qdisc->refcnt); in qdisc_refcount_inc()
145 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_dec_if_one()
147 return refcount_dec_if_one(&qdisc->refcnt); in qdisc_refcount_dec_if_one()
156 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_inc_nz()
158 if (refcount_inc_not_zero(&qdisc->refcnt)) in qdisc_refcount_inc_nz()
164 * root_lock section, or provide their own memory barriers -- ordering
[all …]
/linux/tools/power/pm-graph/
H A DREADME8 pm-graph: suspend/resume/boot timing analysis tools
11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi…
13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph
14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools
17 - Getting Started:
20 - Feature Summary:
21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html
23 - upstream version in git:
24 git clone https://github.com/intel/pm-graph/
27 - Overview
[all …]
/linux/fs/bcachefs/
H A Dbcachefs.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 * a cache set at runtime - while it's mounted and in use. Detaching implicitly
26 * There's also flash only volumes - this is the reason for the distinction
30 * provisioning with very little additional code.
43 * unit of allocation; they're typically around 1 mb - anywhere from 128k to 2M+
48 * packed on disk (in a linked list of buckets - aside from the superblock, all
62 * Bcache is entirely COW - we never write twice to a bucket, even buckets that
69 * At a high level, the btree is just an index of key -> ptr tuples.
77 * extent within the inode - not the starting offset; this makes lookups
83 * Index lookups are not fully abstracted - cache lookups in particular are
[all …]
/linux/drivers/dma/
H A Ddmaengine.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
7 * This code implements the DMA subsystem. It provides a HW-neutral interface
13 * operation, the code goes to great lengths to avoid additional overhead,
29 * See Documentation/driver-api/dmaengine for more details
35 #include <linux/dma-mapping.h>
63 /* --- debugfs implementation --- */
71 dma_dev->dbg_dev_root = debugfs_create_dir(dev_name(dma_dev->dev), in dmaengine_debug_register()
73 if (IS_ERR(dma_dev->dbg_dev_root)) in dmaengine_debug_register()
74 dma_dev->dbg_dev_root = NULL; in dmaengine_debug_register()
[all …]
/linux/drivers/net/can/usb/
H A Dgs_usb.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2016 Geschwister Schneider Technologie-,
6 * Entwicklungs- und Vertriebs UG (Haftungsbeschränkt).
8 * Copyright (c) 2023 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
10 * Many thanks to all socketcan devs!
28 #include <linux/can/rx-offload.h>
106 * Technologie Entwicklungs- und Vertriebs UG exchanges all data
186 /* internal quirks - keep in GS_CAN_FEATURE space for now */
280 * linux/can.h and linux/can/error.h, and no additional mapping is necessary.
331 spinlock_t tc_lock; /* spinlock to guard access tc->cycle_last */
[all …]
/linux/drivers/acpi/
H A Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * scan.c - support for transforming the ACPI namespace into individual objects
19 #include <linux/dma-map-ops.h>
23 #include <linux/dma-direct.h>
47 * special-casing. Everything else is covered by ACPI namespace paths in STAO
79 hp->notify = notify; in acpi_initialize_hp_context()
80 hp->uevent = uevent; in acpi_initialize_hp_context()
89 return -EINVAL; in acpi_scan_add_handler()
91 list_add_tail(&handler->list_node, &acpi_scan_handlers_list); in acpi_scan_add_handler()
104 acpi_sysfs_add_hotplug_profile(&handler->hotplug, hotplug_profile_name); in acpi_scan_add_handler_with_hotplug()
[all …]
/linux/drivers/md/
H A Ddm-raid.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2011 Neil Brown
4 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved.
16 #include "md-bitmap.h"
18 #include <linux/device-mapper.h>
21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */
36 * The following flags are used by dm-raid to set up the array state.
45 * ti->len and give more flexibility in altering size and
51 * |--------- Physical Device ---------|
52 * |- meta_dev -|------ data_dev ------|
[all …]

12