| /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 …]
|
| /linux/arch/m68k/atari/ |
| H A D | config.c | 10 * gettod() for TT 39 #include <asm/bootinfo-atari.h> 117 * Parse an Atari-specific record in the bootinfo 123 const void *data = record->data; in atari_parse_bootinfo() 125 switch (be16_to_cpu(record->tag)) { in atari_parse_bootinfo() 140 /* Parse the Atari-specific switches= option. */ 232 * hardware, we assume that the ST-DMA serves SCSI instead of in config_atari() 237 pr_cont(" STDMA-SCSI"); in config_atari() 264 * The ST-DMA address registers aren't readable in config_atari() 384 /* 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> 91 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram() 96 return mem_type_is_vram(res->mem_type); in resource_is_vram() 101 return resource_is_vram(bo->ttm.resource) || in xe_bo_is_vram() 102 resource_is_stolen_vram(xe_bo_device(bo), bo->ttm.resource); in xe_bo_is_vram() 107 return bo->ttm.resource->mem_type == XE_PL_STOLEN; in xe_bo_is_stolen() 111 * xe_bo_has_single_placement - check if BO is placed only in one memory location 121 return bo->placement.num_placement == 1; in xe_bo_has_single_placement() 125 * 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 77 /* Protect struct usb_device->state and ->children members 78 * Note: Both are also protected by ->dev.sem, except that ->state can 86 /* synchronize hub-port add/remove and peering operations */ 96 * 10 seconds to send reply for the initial 64-byte descriptor request. 98 /* define initial 64-byte descriptor request timeout in milliseconds */ 102 "initial 64-byte descriptor request timeout in milliseconds " 103 "(default 5000 - 5.0 seconds)"); 147 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 149 if (hub_is_superspeed(hub->hdev)) in portspeed() [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 125 * 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"), 152 //! fn new(value: i32) -> Resul [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/include/linux/ |
| H A D | rcupdate.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion 15 * For detailed explanation of Read-Copy Update mechanism see - 34 #define ULONG_CMP_GE(a, b) (ULONG_MAX / 2 >= (a) - (b)) 35 #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) 38 #define RCU_SEQ_STATE_MASK ((1 << RCU_SEQ_CTR_SHIFT) - 1) 50 // not-yet-completed RCU grace periods. 54 * same_state_synchronize_rcu - Are two old-state values identical? 55 * @oldstate1: First old-state value. 56 * @oldstate2: Second old-state value. [all …]
|
| H A D | usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <linux/errno.h> /* for -ENODEV */ 29 /*------ 666 struct usb_tt *tt; global() member [all...] |
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc882.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 // 6-channel independent captures. 10 // In addition, an independent DAC for the multi-playback (not used in this 78 struct alc_spec *spec = codec->spec; in alc885_fixup_macpro_gpio() 80 spec->gpio_write_delay = true; in alc885_fixup_macpro_gpio() 114 struct alc_spec *spec = codec->spec; in alc889_fixup_mbp_vref() 126 spec->gen.keep_vref_in_automute = 1; in alc889_fixup_mbp_vref() 134 struct alc_spec *spec = codec->spec; in alc889_fixup_mac_pins() 143 spec->gen.keep_vref_in_automute = 1; in alc889_fixup_mac_pins() 178 * all-in-one desktop PCs (for example VGC-LN51JGB) through DAC 0x05 [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/drivers/scsi/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 29 If you want to use a SCSI hard disk, SCSI tape drive, SCSI CD-ROM or 79 comment "SCSI support type (disk, tape, CD-ROM)" 89 the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO, 90 the Disk-HOWTO and the Multi-Disk-HOWTO, available from 92 CD-ROMs. 108 SCSI-HOWTO, available from 111 for SCSI CD-ROMs. 122 by SCSI, FireWire, USB or ATAPI, say Y and read the SCSI-HOWTO 123 and the CDROM-HOWTO at <http://www.tldp.org/docs.html#howto>. [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/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 1905 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument [all...] |
| /linux/kernel/trace/ |
| H A D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007-2012 Steven Rostedt <srostedt@redhat.com> 12 * Copyright (C) 2004-2006 Ingo Molnar 64 * A selftest will lurk into the ring-buffer to count the 66 * insertions into the ring-buffer such as trace_printk could occurred 72 * If boot-time tracing including tracers/events via kernel cmdline 126 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops 262 strscpy(ftrace_dump_on_oops + 1, str, MAX_TRACER_SIZE - 1); in set_ftrace_dump_on_oops() 286 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot() 292 return -1; in boot_alloc_snapshot() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 2 * Copyright (c) 2015-2016, Mellanox Technologies. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 88 /* Our HW-GRO implementation relies on "KSM Mkey" for in mlx5e_hw_gro_supported() 128 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() 137 if (up == netif_carrier_ok(priv->netdev)) in mlx5e_update_carrier() 138 netif_carrier_event(priv->netdev); in mlx5e_update_carrier() 140 netdev_info(priv->netdev, "Link up\n"); in mlx5e_update_carrier() 141 netif_carrier_on(priv->netdev); in mlx5e_update_carrier() 143 netdev_info(priv->netdev, "Link down\n"); in mlx5e_update_carrier() [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2006-2012 Wilocity 70 * Each ID maps to a bit in a 32-bit bitmask value provided by the FW to 444 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp. 445 * - WMI_SCAN_COMPLETE_EVENTID 470 * 0 - 58320 MHz 471 * 1 - 60480 MHz 472 * 2 - 62640 MHz [all …]
|