/openbmc/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 …]
|
/openbmc/linux/drivers/usb/host/ |
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 */ 43 return "Can't schedule Start-Split in Y6"; in sch_error_string() 45 return "Can't find a suitable Start-Split location"; in sch_error_string() 47 return "The last Complete-Split is greater than 7"; in sch_error_string() 66 struct usb_endpoint_descriptor *epd = &ep->desc; in decode_ep() 82 usb_endpoint_maxp(epd), epd->bInterval, interval, unit); in decode_ep() 116 * SSport0-OUT, SSport0-IN, ..., SSportX-OUT, SSportX-IN, HSport0, ..., HSportY 122 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info() [all …]
|
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-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" 37 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc() 43 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc() 44 if (!seg->trbs) { in xhci_segment_alloc() 50 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc() 52 if (!seg->bounce_buf) { in xhci_segment_alloc() 53 dma_pool_free(xhci->segment_pool, seg->trbs, dma); in xhci_segment_alloc() [all …]
|
H A D | ehci-dbg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2002 by David Brownell 6 /* this file is part of ehci-hcd.c */ 13 * see EHCI spec, Table 2-4 for each value 17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 37 byte = readb(&ehci->caps->portroute[(i >> 1)]); in dbg_hcs_params() 49 * see EHCI Spec, Table 2-5 for each value 53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params() 83 hc32_to_cpup(ehci, &qtd->hw_next), in dbg_qtd() 84 hc32_to_cpup(ehci, &qtd->hw_alt_next), in dbg_qtd() [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 21 #include <linux/dma-mapping.h> 24 #include "xhci-trace.h" 25 #include "xhci-debugfs.h" 26 #include "xhci-dbgcap.h" 44 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 46 if (!td || !td->start_seg) in td_on_ring() 49 if (seg == td->start_seg) in td_on_ring() 51 seg = seg->next; in td_on_ring() 52 } while (seg && seg != ring->first_seg); in td_on_ring() [all …]
|
/openbmc/linux/arch/m68k/atari/ |
H A D | config.c | 10 * gettod() for TT 40 #include <asm/bootinfo-atari.h> 125 * Parse an Atari-specific record in the bootinfo 131 const void *data = record->data; in atari_parse_bootinfo() 133 switch (be16_to_cpu(record->tag)) { in atari_parse_bootinfo() 148 /* Parse the Atari-specific switches= option. */ 240 * hardware, we assume that the ST-DMA serves SCSI instead of in config_atari() 245 pr_cont(" STDMA-SCSI"); in config_atari() 272 * The ST-DMA address registers aren't readable in config_atari() 392 /* allocator for memory that must reside in st-ram */ in config_atari() [all …]
|
/openbmc/u-boot/common/ |
H A D | usb_hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * (C) Copyright Johannes Erdfelt 1999-2001 15 * Adapted for U-Boot: 64 return hdev->descriptor.bDeviceProtocol == 3; in usb_hub_is_superspeed() 70 if (device_get_uclass_id(hub->parent) != UCLASS_USB_HUB) in usb_hub_is_root_hub() 79 return -EINVAL; in usb_set_hub_depth() 134 * that U-Boot understands. Do this only when the hub is not root hub. in usb_get_port_status() 141 if (!usb_hub_is_root_hub(dev->dev) && usb_hub_is_superspeed(dev)) { in usb_get_port_status() 143 u16 tmp = (status->wPortStatus) & USB_SS_PORT_STAT_MASK; in usb_get_port_status() 145 if (status->wPortStatus & USB_SS_PORT_STAT_POWER) in usb_get_port_status() [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/include/ |
H A D | usb_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 36 #define US_SC_8020 2 /* CD-ROM */ 37 #define US_SC_QIC 3 /* QIC-157 Tapes */ 192 /* USB-status codes: */ 240 * from USB 3.0 spec Table 10-8 264 * See USB 3.0 spec Table 10-10 285 * See USB 3.0 spec Table 10-12 295 #define HUB_CHAR_TTTT 0x0060 /* TT Think Time mask */ 319 bool multi; /* true means one TT per port */ member
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Faraday FOTG210 EHCI-like driver 6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com> 7 * Feng-Hsin Chiang <john453@faraday-tech.com> 8 * Po-Yu Chuang <ratbert.chuang@gmail.com> 10 * Most of code borrowed from the Linux-3.7 EHCI driver 29 #include <linux/dma-mapping.h> 49 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */ 52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ 60 #define FOTG210_TUNE_FLS 1 /* (medium) 512-frame schedule */ [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | mce_amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 71 "PFB non-cacheable bit parity error", 101 "Link-defined sync error packets detected on HT link", 174 "An ECC error was detected on a data cache read-modify-write by a store", 179 "An ECC error was detected on an EMEM read-modify-write by a store", 200 "IC Microtag or Full Tag Multi-hit Error", 209 "L1 BTB Multi-Match Error", 210 "L2 BTB Multi-Match Error", 214 "L1-TLB Multi-Hit", 215 "L2-TLB Multi-Hit", [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 69 /* Protect struct usb_device->state and ->children members 70 * Note: Both are also protected by ->dev.sem, except that ->state can 78 /* synchronize hub-port add/remove and peering operations */ 88 * 10 seconds to send reply for the initial 64-byte descriptor request. 90 /* define initial 64-byte descriptor request timeout in milliseconds */ 94 "initial 64-byte descriptor request timeout in milliseconds " 95 "(default 5000 - 5.0 seconds)"); 139 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 141 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_move.c | 1 // SPDX-License-Identifier: MIT 57 ttm->caching == ttm_cached) ? I915_CACHE_LLC : in i915_ttm_cache_level() 74 ttm_mem_type - I915_PL_LMEM0); in i915_ttm_region() 78 * i915_ttm_adjust_domains_after_move - Adjust the GEM domains after a 86 if (i915_ttm_cpu_maps_iomem(bo->resource) || bo->ttm->caching != ttm_cached) { in i915_ttm_adjust_domains_after_move() 87 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_ttm_adjust_domains_after_move() 88 obj->read_domains = I915_GEM_DOMAIN_WC; in i915_ttm_adjust_domains_after_move() 90 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_ttm_adjust_domains_after_move() 91 obj->read_domains = I915_GEM_DOMAIN_CPU; in i915_ttm_adjust_domains_after_move() 96 * i915_ttm_adjust_gem_after_move - Adjust the GEM state after a TTM move [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/net/batman-adv/ |
H A D | main.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define BATADV_DRIVER_DEVICE "batman-adv" 32 * -> TODO: check influence on BATADV_TQ_LOCAL_WINDOW_SIZE 63 /* number of OGMs sent with the last tt diff */ 78 /* default interface for multi interface operation. The default interface is 100 /* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ 106 * forw_packet->direct_link_flags 127 * BATADV_TP_MAX_NUM - maximum number of simultaneously active tp sessions 132 * enum batadv_mesh_state - State of a soft interface 149 * enum batadv_uev_action - action type of uevent [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | usb251xb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller 9 * a not-accepted patch by Fabien Lahoudere, see: 110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller" 234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children() 244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip() 245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip() 248 if (!hub->gpio_reset) in usb251x_check_gpio_chip() 252 return -EINVAL; in usb251x_check_gpio_chip() 254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip() [all …]
|
/openbmc/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> 35 * dwc2_periodic_channel_available() - Checks that a channel is available for a 47 * non-periodic transactions in dwc2_periodic_channel_available() 52 num_channels = hsotg->params.host_channels; in dwc2_periodic_channel_available() 53 if ((hsotg->periodic_channels + hsotg->non_periodic_channels < in dwc2_periodic_channel_available() 54 num_channels) && (hsotg->periodic_channels < num_channels - 1)) { in dwc2_periodic_channel_available() 57 dev_dbg(hsotg->dev, in dwc2_periodic_channel_available() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on xHCI host controller driver in linux-kernel 38 flush_dcache_range(addr & ~(CACHELINE_SIZE - 1), in xhci_flush_cache() 53 invalidate_dcache_range(addr & ~(CACHELINE_SIZE - 1), in xhci_inval_cache() 66 free(seg->trbs); in xhci_segment_free() 67 seg->trbs = NULL; in xhci_segment_free() 85 first_seg = ring->first_seg; in xhci_ring_free() 86 seg = first_seg->next; in xhci_ring_free() 88 struct xhci_segment *next = seg->next; in xhci_ring_free() 105 if (!ctrl->scratchpad) in xhci_scratchpad_free() [all …]
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_host.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 8 * Copyright (C) 2008-2009 MontaVista Software, Inc. <source@mvista.com> 20 #include <linux/dma-mapping.h> 24 #include "linux-compat.h" 25 #include "usb-compat.h" 32 /* MUSB HOST status 22-mar-2006 34 * - There's still lots of partial code duplication for fault paths, so 37 * - PIO mostly behaved when last tested. [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_dmap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 41 * take the lock in read mode. a single top-down request may proceed 42 * exclusively while multiple bottoms-up requests may proceed 50 * in the face of multiple-bottoms up requests. 57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock) 58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock) 59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock) 133 2, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1 141 * memory is allocated for the in-core bmap descriptor and [all …]
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_host.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 8 * Copyright (C) 2008-2009 MontaVista Software, Inc. <source@mvista.com> 18 #include <linux/dma-mapping.h> 24 /* MUSB HOST status 22-mar-2006 26 * - There's still lots of partial code duplication for fault paths, so 29 * - PIO mostly behaved when last tested. 36 * - DMA (CPPI) ... partially behaves, not currently recommended 41 * - DMA (Mentor/OMAP) ...has at least toggle update problems [all …]
|