/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 */ 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() 122 * each HS root port is treated as a single bandwidth domain, [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-mtk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 #define XHCI_MTK_BW_INDEX(x) ((x) & (XHCI_MTK_MAX_ESIT - 1)) 41 * @in_ss_cnt: the count of Start-Split for IN eps 42 * @ep_list: Endpoints using this TT 68 * @esit: unit is 125us, equal to 2 << Interval field in ep-context 91 * distribute the bMaxBurst+1 packets for a single burst 180 return dev_get_drvdata(hcd->self.controller); in hcd_to_mtk()
|
/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/net/batman-adv/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * typedef batadv_dat_addr_t - type used for all DHT addresses 47 * enum batadv_dhcp_recipient - dhcp destination 61 * BATADV_TT_REMOTE_MASK - bitmask selecting the flags that are sent over the 67 * BATADV_TT_SYNC_MASK - bitmask of the flags that need to be kept in sync 73 * struct batadv_hard_iface_bat_iv - per hard-interface B.A.T.M.A.N. IV data 82 /** @ogm_seqno: OGM sequence number - used to identify each OGM */ 90 * enum batadv_v_hard_iface_flags - interface flags useful to B.A.T.M.A.N. V 95 * full-duplex 108 * struct batadv_hard_iface_bat_v - per hard-interface B.A.T.M.A.N. V data [all …]
|
H A D | translation-table.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "translation-table.h" 47 #include "hard-interface.h" 52 #include "soft-interface.h" 79 * batadv_compare_tt() - check if two TT entries are the same 80 * @node: the list element pointer of the first TT entry 81 * @data2: pointer to the tt_common_entry of the second TT entry 83 * Compare the MAC address and the VLAN ID of the two TT entries and check if 84 * they are the same TT client. 85 * Return: true if the two TT clients are the same, false otherwise [all …]
|
/linux/Documentation/sphinx-static/ |
H A D | theme_overrides.css | 1 /* -*- coding: utf-8; mode: css -*- 11 font-family: serif; 12 font-size: 100%; 15 h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend { 16 font-family: sans-serif; 20 font-family: monospace; 21 font-size: 100%; 24 .wy-menu-vertical { 25 font-family: sans-serif; 29 font-style: normal; [all …]
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_gem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <linux/dma-buf.h> 22 dma_resv_assert_held(obj->resv); in lsdc_gem_prime_pin() 26 lbo->sharing_count++; in lsdc_gem_prime_pin() 35 dma_resv_assert_held(obj->resv); in lsdc_gem_prime_unpin() 38 if (lbo->sharing_count) in lsdc_gem_prime_unpin() 39 lbo->sharing_count--; in lsdc_gem_prime_unpin() 45 struct ttm_tt *tt = tbo->ttm; in lsdc_gem_prime_get_sg_table() local 47 if (!tt) { in lsdc_gem_prime_get_sg_table() 48 drm_err(obj->dev, "sharing a buffer without backing memory\n"); in lsdc_gem_prime_get_sg_table() [all …]
|
/linux/include/uapi/linux/usb/ |
H A D | ch11.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 16 * From USB 2.0 spec Table 11-13, offset 7, a hub can 24 /* See USB 3.1 spec Table 10-5 */ 36 * See USB 3.1 spec Table 10-12 44 * See USB 2.0 spec Table 11-16 53 * See USB 3.0 spec Table 10-6 60 * See USB 2.0 spec Table 11-17 67 * See USB 2.0 spec Table 11-17 88 * See USB 3.0 spec Table 10-7 102 /* USB 3.0 hub remote wake mask bits, see table 10-14 */ [all …]
|
/linux/drivers/scsi/libfc/ |
H A D | fc_disc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 11 * This block discovers all FC-4 remote ports, including FCP initiators. It 12 * also handles RSCN events and re-discovery if necessary. 48 * fc_disc_stop_rports() - Delete all the remote ports associated with the lport 55 lockdep_assert_held(&disc->disc_mutex); in fc_disc_stop_rports() 57 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_stop_rports() 58 if (kref_get_unless_zero(&rdata->kref)) { in fc_disc_stop_rports() 60 kref_put(&rdata->kref, fc_rport_destroy); in fc_disc_stop_rports() [all …]
|
H A D | fc_lport.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Maintained at www.Open-FCoE.org 27 * be held while attempting to acquire a greater lock. Here is the hierarchy- 42 * single-threaded workqueue. An rport would never be free'd while in a 92 /* Fabric IDs to use for point-to-point mode, chosen on whims. */ 134 * struct fc_bsg_info - FC Passthrough managemet structure 138 * @sg: job->reply_payload.sg_list 139 * @nents: job->reply_payload.sg_cnt 152 * fc_frame_drop() - Dummy frame handler 163 * fc_lport_rport_callback() - Event handler for rport events [all …]
|
H A D | fc_fcp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Maintained at www.Open-FCoE.org 41 #define FC_SRB_DISCONTIG (1 << 4) /* non-sequential data recvd */ 54 * struct fc_fcp_internal - FCP layer internal data 71 #define fc_get_scsi_internal(x) ((struct fc_fcp_internal *)(x)->scsi_priv) 124 * fc_fcp_pkt_alloc() - Allocate a fcp_pkt 136 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc() 139 fsp->lp = lport; in fc_fcp_pkt_alloc() 140 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc() 141 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | spiterrs.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * We pass the AFAR in as-is, and we encode the status 7 * information as described in asm-sparc64/sfafsr.h 27 rdpr %tt, %g3 40 * error bits as-needed. We only clear them if the UE bit is 44 * NOTE: UltraSparc-I/II have high and low UDB error 46 * present on those chips. UltraSparc-IIi only 47 * has a single UDB, called "SDB" in the manual. 105 .size __spitfire_access_error,.-__spitfire_access_error 112 * 1) single-bit ECC errors during UDB reads to system [all …]
|
/linux/drivers/char/tpm/ |
H A D | tpm_infineon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * SLD 9630 TT 1.1 and SLB 9635 TT 1.2 Trusted Platform Module 9 * Sirrix AG - security technologies <tpmdd@sirrix.com> and 10 * Applied Data Security Group, Ruhr-University Bochum, Germany 11 * Project-Homepage: http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ 19 /* maximum number of WTX-packages */ 21 /* msleep-Time for WTX-packages */ 23 /* msleep-Time --> Interval to check status register */ 25 /* gives number of max. msleep()-calls before throwing timeout */ 182 return -EIO; in empty_fifo() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_bo.c | 1 // SPDX-License-Identifier: MIT 8 #include <linux/dma-buf.h> 79 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram() 84 return mem_type_is_vram(res->mem_type); in resource_is_vram() 89 return resource_is_vram(bo->ttm.resource) || in xe_bo_is_vram() 90 resource_is_stolen_vram(xe_bo_device(bo), bo->ttm.resource); in xe_bo_is_vram() 95 return bo->ttm.resource->mem_type == XE_PL_STOLEN; in xe_bo_is_stolen() 99 * xe_bo_has_single_placement - check if BO is placed only in one memory location 104 * Returns: true if the BO is placed in a single memory location, false otherwise. 109 return bo->placement.num_placement == 1; in xe_bo_has_single_placement() [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/drivers/usb/dwc2/ |
H A D | hcd.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * hcd.h - DesignWare HS OTG Controller host-mode declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 24 * struct dwc2_host_chan - Software host channel descriptor 31 * - USB_SPEED_LOW 32 * - USB_SPEED_FULL 33 * - USB_SPEED_HIGH 35 * - USB_ENDPOINT_XFER_CONTROL: 0 36 * - USB_ENDPOINT_XFER_ISOC: 1 37 * - USB_ENDPOINT_XFER_BULK: 2 [all …]
|
/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 35 * as it works it way up from a single dmap to the required level 38 * and request that start from the bottom by the multiple read/single 41 * take the lock in read mode. a single top-down request may proceed 42 * exclusively while multiple bottoms-up requests may proceed 49 * a single exclusive lock (BMAP_LOCK) is used to guard this information 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) [all …]
|
/linux/drivers/video/fbdev/ |
H A D | atafb.c | 2 * linux/drivers/video/atafb.c -- Atari builtin chipset frame buffer device 11 * - 03 Jan 95: Original version by Martin Schaller: The TT driver and 13 * - 09 Jan 95: Roman: I've added the hardware abstraction (hw_switch) 15 * based on the original TT driver. 16 * - 07 May 95: Martin: Added colormap operations for the external driver 17 * - 21 May 95: Martin: Added support for overscan 19 * - Jul 95: Guenther Kelleter <guenther@pool.informatik.rwth-aachen.de>: 23 * - 27 Dec 95: Guenther: Implemented user definable video modes "user[0-7]" 28 * - 23 Sep 97: Juergen: added xres_virtual for cards like ProMST 29 * The external-part is legacy, therefore hardware-specific [all …]
|
/linux/drivers/scsi/ |
H A D | libiscsi_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * iSCSI over TCP/IP Data-Path lib 7 * Copyright (C) 2005 - 2006 Mike Christie 9 * maintained by open-iscsi@googlegroups.com 42 MODULE_DESCRIPTION("iSCSI/TCP data-path"); 59 &(_conn)->cls_conn->dev, \ 80 * iscsi_tcp_segment_init_sg - init indicated scatterlist entry 93 segment->sg = sg; in iscsi_tcp_segment_init_sg() 94 segment->sg_offset = offset; in iscsi_tcp_segment_init_sg() 95 segment->size = min(sg->length - offset, in iscsi_tcp_segment_init_sg() [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/gpu/drm/ttm/ |
H A D | ttm_bo_util.c | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 48 if (mem->bus.offset || mem->bus.addr) in ttm_mem_io_reserve() 51 mem->bus.is_iomem = false; in ttm_mem_io_reserve() 52 if (!bdev->funcs->io_mem_reserve) in ttm_mem_io_reserve() 55 return bdev->funcs->io_mem_reserve(bdev, mem); in ttm_mem_io_reserve() 64 if (!mem->bus.offset && !mem->bus.addr) in ttm_mem_io_free() 67 if (bdev->funcs->io_mem_free) in ttm_mem_io_free() [all …]
|
/linux/Documentation/arch/m68k/ |
H A D | kernel-options.rst | 9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek) 11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence) 58 ---------- 76 /dev/ram: -> 0x0100 (initial ramdisk) 77 /dev/hda: -> 0x0300 (first IDE disk) 78 /dev/hdb: -> 0x0340 (second IDE disk) 79 /dev/sda: -> 0x0800 (first SCSI disk) 80 /dev/sdb: -> 0x0810 (second SCSI disk) 81 /dev/sdc: -> 0x0820 (third SCSI disk) 82 /dev/sdd: -> 0x0830 (forth SCSI disk) [all …]
|
/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 …]
|
/linux/drivers/leds/ |
H A D | leds-tca6507.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-tca6507 9 * blink or double-blink. 12 * out-only (pull-up resistor required) or as an LED with variable 13 * brightness and hardware-assisted blinking. 21 * with separate time for rise, on, fall, off and second-off. Thus if 22 * 3 or more different non-trivial rates are required, software must 25 * support double-blink so 'second-off' always matches 'off'. 42 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504, 43 * 28560-36720. [all …]
|