/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_pool.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 35 #include <linux/dma-mapping.h> 52 #include <linux/fault-inject.h> 59 * struct ttm_pool_dma - Helper object for coherent DMA mappings 70 * struct ttm_pool_alloc_state - Current state of the tt page allocation process 71 * @pages: Pointer to the next tt page pointer to populate. 73 * not committed caching transition from write-back to @tt_caching. 74 * @dma_addr: Pointer to the next tt dma_address entry to populate if any. 76 * @tt_caching: The requested cpu-caching for the pages allocated. 87 * struct ttm_pool_tt_restore - State representing restore from backup [all …]
|
/linux/drivers/usb/host/ |
H A D | ehci-sched.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2004 by David Brownell 4 * Copyright (c) 2003 Michal Sojka, for high-speed iso transfers 7 /* this file is part of ehci-hcd.c */ 9 /*-------------------------------------------------------------------------*/ 21 * pre-calculated schedule data to make appending to the queue be quick. 27 * periodic_next_shadow - return "next" pointer on shadow list 37 return &periodic->qh->qh_next; in periodic_next_shadow() 39 return &periodic->fstn->fstn_next; in periodic_next_shadow() 41 return &periodic->itd->itd_next; in periodic_next_shadow() [all …]
|
H A D | xhci-mtk-sch.c | 1 // 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 D | xhci-mem.c | 1 // 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 D | xhci.h | 1 /* 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 …]
|
H A D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <linux/dma-mapping.h> 23 #include <linux/usb/xhci-sideband.h> 26 #include "xhci-trace.h" 27 #include "xhci-debugfs.h" 28 #include "xhci-dbgcap.h" 48 if (!td || !td->start_seg) in td_on_ring() 51 xhci_for_each_ring_seg(ring->first_seg, seg) { in td_on_ring() 52 if (seg == td->start_seg) in td_on_ring() 60 * xhci_handshake - spin reading hc until handshake completes or fails [all …]
|
/linux/arch/m68k/atari/ |
H A D | config.c | 10 * gettod() for TT 40 #include <asm/bootinfo-atari.h> 118 * Parse an Atari-specific record in the bootinfo 124 const void *data = record->data; in atari_parse_bootinfo() 126 switch (be16_to_cpu(record->tag)) { in atari_parse_bootinfo() 141 /* Parse the Atari-specific switches= option. */ 233 * hardware, we assume that the ST-DMA serves SCSI instead of in config_atari() 238 pr_cont(" STDMA-SCSI"); in config_atari() 265 * The ST-DMA address registers aren't readable in config_atari() 385 /* allocator for memory that must reside in st-ram */ in config_atari() [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_bo.c | 1 // SPDX-License-Identifier: MIT 8 #include <linux/dma-buf.h> 87 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram() 92 return mem_type_is_vram(res->mem_type); in resource_is_vram() 97 return resource_is_vram(bo->ttm.resource) || in xe_bo_is_vram() 98 resource_is_stolen_vram(xe_bo_device(bo), bo->ttm.resource); in xe_bo_is_vram() 103 return bo->ttm.resource->mem_type == XE_PL_STOLEN; in xe_bo_is_stolen() 107 * xe_bo_has_single_placement - check if BO is placed only in one memory location 117 return bo->placement.num_placement == 1; in xe_bo_has_single_placement() 121 * xe_bo_is_stolen_devmem - check if BO is of stolen type accessed via PCI BAR [all …]
|
/linux/drivers/usb/core/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 71 /* Protect struct usb_device->state and ->children members 72 * Note: Both are also protected by ->dev.sem, except that ->state can 80 /* synchronize hub-port add/remove and peering operations */ 90 * 10 seconds to send reply for the initial 64-byte descriptor request. 92 /* define initial 64-byte descriptor request timeout in milliseconds */ 96 "initial 64-byte descriptor request timeout in milliseconds " 97 "(default 5000 - 5.0 seconds)"); 141 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 143 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 156 return tc ? tc : ERR_PTR(-ENOMEM); in mlx5e_tc_table_alloc() 166 return tc->chains; in mlx5e_nic_chains() 172 * which call rhashtable_destroy on fg->ftes_hash which will take ht->mutex but 173 * it's different than the ht->mutex here. 189 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() 193 u32 max_mask = GENMASK(match_len - 1, 0); in mlx5e_tc_match_to_reg_match() 227 spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS_2; in mlx5e_tc_match_to_reg_match() 236 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() [all …]
|
/linux/include/linux/usb/ |
H A D | hcd.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2002 by David Brownell 42 /*-------------------------------------------------------------------------*/ 51 /*-------------------------------------------------------------------------*/ 73 struct usb_bus self; /* hcd is-a bus */ 79 * hcd->driver->flags & HCD_MASK 83 struct timer_list rh_timer; /* drives root-hub polling */ 93 const struct hc_driver *driver; /* hw-specific hooks */ 97 * other external phys should be software-transparent 119 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 20 * There are 3 different solutions: -1 = software, 0 = hardware-crossconnect 21 * 1-n = hardware-conference. The n will give the conference number. 39 * - Crossconnecting or even conference, if more than two members are together. 40 * - Force mixing of transmit data with other crossconnect/conference members. 41 * - Echo generation to benchmark the delay of audio processing. 42 * - Use hardware to minimize cpu load, disable FIFO load and minimize delay. 43 * - Dejittering and clock generation. 48 * RX-Buffer 51 * ----------------+-------------+------------------- 53 * The rx-buffer is a ring buffer used to store the received data for each [all …]
|
/linux/net/batman-adv/ |
H A D | main.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define BATADV_DRIVER_DEVICE "batman-adv" 25 #define BATADV_MAX_MTU (ETH_MAX_MTU - batadv_max_header_len()) 34 * -> TODO: check influence on BATADV_TQ_LOCAL_WINDOW_SIZE 65 /* number of OGMs sent with the last tt diff */ 80 /* default interface for multi interface operation. The default interface is 102 /* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ 127 * BATADV_TP_MAX_NUM - maximu [all...] |
/linux/rust/kernel/ |
H A D | workqueue.rs | 1 // SPDX-License-Identifier: GPL-2.0 11 //! generic, they are used only at compile-time, so they shouldn't exist in the final binary. 51 //! fn new(value: i32) -> Result<Arc<Self>> { 54 //! work <- new_work!("MyStruct::work"), 97 //! fn new(value_1: i32, value_2: i32) -> Result<Arc<Self>> { 101 //! work_1 <- new_work!("MyStruct::work_1"), 102 //! work_2 <- new_work!("MyStruct::work_2"), 140 /// Creates a [`Work`] initialiser with the given name and a newly-created lock class. 158 // SAFETY: Accesses to workqueues used by [`Queue`] are thread-safe. 160 // SAFETY: Accesses to workqueues used by [`Queue`] are thread-safe. [all …]
|
/linux/drivers/usb/dwc2/ |
H A D | hcd_queue.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd_queue.c - DesignWare HS OTG Controller host queuing routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 36 * dwc2_periodic_channel_available() - Checks that a channel is available for a 48 * non-periodic transactions in dwc2_periodic_channel_available() 53 num_channels = hsotg->params.host_channels; in dwc2_periodic_channel_available() 54 if ((hsotg->periodic_channels + hsotg->non_periodic_channels < in dwc2_periodic_channel_available() 55 num_channels) && (hsotg->periodic_channels < num_channels - 1)) { in dwc2_periodic_channel_available() 58 dev_dbg(hsotg->dev, in dwc2_periodic_channel_available() [all …]
|
H A D | hcd.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd.c - DesignWare HS OTG Controller host-mode routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 37 * dwc2_enable_common_interrupts() - Initializes the commmon interrupts, 55 if (!hsotg->params.host_dma) in dwc2_enable_common_interrupts() 57 if (!hsotg->params.external_id_pin_ctl) in dwc2_enable_common_interrupts() 63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm) in dwc2_enable_common_interrupts() 73 switch (hsotg->hw_params.arch) { in dwc2_gahbcfg_init() 75 dev_err(hsotg->dev, "External DMA Mode not supported\n"); in dwc2_gahbcfg_init() [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | bttv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ---------------------- 12 ./scripts/config -e PCI 13 ./scripts/config -m I2C 14 ./scripts/config -m INPUT 15 ./scripts/config -m MEDIA_SUPPORT 16 ./scripts/config -e MEDIA_PCI_SUPPORT 17 ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT 18 ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT 19 ./scripts/config -e MEDIA_RADIO_SUPPORT [all …]
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - ISO 7 * - OTG 33 #include "isp1760-core.h" 34 #include "isp1760-hcd.h" 35 #include "isp1760-regs.h" 46 return *(struct isp1760_hcd **)hcd->hcd_priv; in hcd_to_priv() 150 /* the rest is HCD-private */ 158 /* QTD_XFER_STARTED: valid ptd has been written to isp176x - only 204 return isp1760_field_read(priv->fields, field); in isp1760_hcd_read() [all …]
|
/linux/Documentation/gpu/ |
H A D | drm-mm.rst | 6 frame buffers, textures, vertices and other graphics-related data. Given 13 manager to be developed and tried to be a one-size-fits-them all 20 GEM started as an Intel-sponsored project in reaction to TTM's 22 providing a solution to every graphics memory-related problems, GEM 31 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_module.c 34 .. kernel-doc:: include/drm/ttm/ttm_caching.h 38 --------------------------- 40 .. kernel-doc:: include/drm/ttm/ttm_device.h 43 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_device.c 47 -------------------------------- [all …]
|
/linux/sound/oss/dmasound/ |
H A D | dmasound_core.c | 5 * OSS/Free compatible Atari TT/Falcon and Amiga DMA sound driver for 12 * interface and the u-law to signed byte conversion. 14 * Michael Marte (marte@informatik.uni-muenchen.de) did the sound queue, 17 * - Michael Schlueter for initial ideas and documentation on the MFP and 19 * - Therapy? for their CD 'Troublegum' which really made me rock. 33 * - Fixed atari_stram_alloc() call, the timer 36 * - After some discussion with Michael Schlueter, 38 * - Slightly speeded up U8->S8 translation by using 40 * - Added 4:3 interpolation for /dev/audio 43 * - Fixed a bug in sq_write and changed /dev/audio [all …]
|
/linux/include/linux/ |
H A D | usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <linux/errno.h> /* for -ENODEV */ 29 /*-------------------------------------------------------------------------*/ 32 * Host-side wrappers for standard USB descriptors ... these are parsed 36 * - devices have one (usually) or more configs; 37 * - configs have one (often) or more interfaces; 38 * - interfaces have one (usually) or more settings; 39 * - each interface setting has zero or (usually) more endpoints. 40 * - a SuperSpeed endpoint has a companion descriptor 44 * Devices may also have class-specific or vendor-specific descriptors. [all …]
|
/linux/Documentation/RCU/ |
H A D | RTFP.txt | 4 This document describes RCU-related publications, and is followed by 19 with short-lived threads, such as the K42 research operating system. 20 However, Linux has long-lived tasks, so more is needed. 23 serialization, which is an RCU-like mechanism that relies on the presence 27 that these overheads were not so expensive in the mid-80s. Nonetheless, 28 passive serialization appears to be the first deferred-destruction 30 has lapsed, so this approach may be used in non-GPL software, if desired. 34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a]. 36 this paper helped inspire the update-side batching used in the later 38 a description of Argus that noted that use of out-of-date values can [all …]
|
/linux/kernel/rcu/ |
H A D | srcutree.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion. 11 * For detailed explanation of Read-Copy Update mechanism see - 33 /* Holdoff in nanoseconds for auto-expediting. */ 38 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */ 63 /* Number of CPUs to trigger init_srcu_struct()-time transition to big. */ 71 /* Early-boo 1903 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument [all...] |