/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [all …]
|
/openbmc/linux/drivers/char/agp/ |
H A D | ali-agp.c | 27 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 D | ati-agp.c | 60 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 …]
|
/openbmc/linux/include/scsi/ |
H A D | scsi_devinfo.h | 1 /* 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 */ 77 ((__force __u64)__BLIST_LAST_USED - 1ULL)))
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | svm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/pci-ats.h> 25 #include "../iommu-sva.h" 53 list_for_each_entry_rcu(t, &svm->devs, list) { in svm_lookup_device_by_dev() 54 if (t->dev == dev) { in svm_lookup_device_by_dev() 70 pages = alloc_pages_node(iommu->node, GFP_KERNEL | __GFP_ZERO, PRQ_ORDER); in intel_svm_enable_prq() 73 iommu->name); in intel_svm_enable_prq() 74 return -ENOMEM; in intel_svm_enable_prq() 76 iommu->prq = page_address(pages); in intel_svm_enable_prq() 78 irq = dmar_alloc_hwirq(IOMMU_IRQ_ID_OFFSET_PRQ + iommu->seq_id, iommu->node, iommu); in intel_svm_enable_prq() [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | Kconfig | 6 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 44 itself, lib/kunit/example-test.c, for more information. This option 53 in TAP format (http://testanything.org/). Only useful for kernel devs 58 to the KUnit documentation in Documentation/dev-tools/kunit/. 70 In most cases this should be left as Y. Only if additional opt-in
|
/openbmc/linux/sound/soc/generic/ |
H A D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <sound/soc-dai.h> 21 #define DAI "sound-dai" 22 #define CELL "#sound-dai-cells" 23 #define PREFIX "simple-audio-card," 41 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_platform() 50 dlc->of_node = args.np; in asoc_simple_parse_platform() 68 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_dai() 80 dlc->dai_name = snd_soc_dai_name_get(dai); in asoc_simple_parse_dai() 81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in asoc_simple_parse_dai() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | firmware_update.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 23 * Table 15 - QueryDownstreamDevices command format. 34 * Table 16 - QueryDownstreamIdentifiers command format. 76 * DSP0267_1.1.0 table 21 - DownstreamDeviceParameterTable 102 * Table 14 - ComponentParameterTable and Table 21 - ComponentParameterTable 104 * The size can be used in `ASCII[8] - ActiveComponentReleaseDate` and 105 * `ASCII[8] - PendingComponentReleaseDate` fields in the tables above. 540 * The definition can be found Table 15 - QueryDownstreamDevices command format 574 * This is non-packed (contrast with struct pldm_component_parameter_entry), 591 * Structure for QueryDownstreamIdentifiers request defined in Table 16 - [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | core.c | 1 // 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 …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on xHCI host controller driver in linux-kernel 48 2, /* bNrPorts -- runtime modified */ 121 for (dev = udev->dev; in xhci_get_ctrl() 123 dev = dev->parent) in xhci_get_ctrl() 127 return udev->controller; in xhci_get_ctrl() 149 return -ENODEV; in handshake() 153 usec--; in handshake() 157 return -ETIMEDOUT; in handshake() 172 temp = xhci_readl(&hcor->or_usbcmd); in xhci_start() [all …]
|
H A D | xhci-ring.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Based on xHCI host controller driver in linux-kernel 38 if (ring == ctrl->event_ring) in last_trb() 39 return trb == &seg->trbs[TRBS_PER_SEGMENT]; in last_trb() 41 return TRB_TYPE_LINK_LE32(trb->link.control); in last_trb() 59 if (ring == ctrl->event_ring) in last_trb_on_last_seg() 60 return ((trb == &seg->trbs[TRBS_PER_SEGMENT]) && in last_trb_on_last_seg() 61 (seg->next == ring->first_seg)); in last_trb_on_last_seg() 63 return le32_to_cpu(trb->link.control) & LINK_TOGGLE; in last_trb_on_last_seg() 94 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq() [all …]
|
H A D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Based on xHCI host controller driver in linux-kernel 29 /* Max number of USB devices for any host controller - limit in section 6.1 */ 31 /* Section 5.3.3 - MaxPorts */ 42 * connect status, over-current status, port speed, and device removable. 43 * connect status and port speed are also sticky - meaning they're in 64 * over-current, reset, link state, and L1 change 91 /* bits 7:0 - how long is the Capabilities register */ 96 /* HCSPARAMS1 - hcs_params1 - bitmasks */ 102 /* bits 24:31, Max Ports - max value is 0x7F = 127 ports */ [all …]
|
/openbmc/linux/drivers/usb/host/ |
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 …]
|
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 | xhci-ring.c | 1 // 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 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->trb in xhci_segment_alloc() [all...] |
H A D | xhci-hub.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "xhci-trace.h" 53 bos->bLength = USB_DT_BOS_SIZE; in xhci_create_usb3x_bos_desc() 54 bos->bDescriptorType = USB_DT_BOS; in xhci_create_usb3x_bos_desc() 55 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc() 57 bos->bNumDeviceCaps = 1; in xhci_create_usb3x_bos_desc() 60 for (i = 0; i < xhci->num_port_caps; i++) { in xhci_create_usb3x_bos_desc() 61 u8 major = xhci->port_caps[i].maj_rev; in xhci_create_usb3x_bos_desc() 62 u8 minor = xhci->port_caps[i].min_rev; in xhci_create_usb3x_bos_desc() 67 port_cap = &xhci->port_caps[i]; in xhci_create_usb3x_bos_desc() [all …]
|
H A D | xhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "xhci-trace.h" 20 #include "xhci-pci.h" 103 if (hcd->msix_enabled) { in xhci_msix_sync_irqs() 104 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_msix_sync_irqs() 107 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs() 112 /* Free any IRQs and disable MSI-X */ in xhci_cleanup_msix() 116 struct pci_dev *pdev = to_pci_dev(hcd->sel in xhci_cleanup_msix() [all...] |
/openbmc/linux/net/ |
H A D | Kconfig | 1 # 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! 90 kernel devs running KUnit test harness and are not for inclusion 94 to the KUnit documentation in Documentation/dev-tools/kunit/. 103 other computer. You will get the so-called loopback device which 114 <file:Documentation/networking/ip-sysctl.rst>. [all …]
|
/openbmc/linux/lib/ |
H A D | Kconfig.debug | 1 # 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 …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | cfi.h | 1 /* 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 …]
|
/openbmc/linux/include/net/ |
H A D | sch_generic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 64 /* similar to sk_buff_head, but skb->prev pointer is undefined. */ 83 * q->dev_queue : It can test 136 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_inc() 138 refcount_inc(&qdisc->refcnt); in qdisc_refcount_inc() 143 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_dec_if_one() 145 return refcount_dec_if_one(&qdisc->refcnt); in qdisc_refcount_dec_if_one() 154 if (qdisc->flags & TCQ_F_BUILTIN) in qdisc_refcount_inc_nz() 156 if (refcount_inc_not_zero(&qdisc->refcnt)) in qdisc_refcount_inc_nz() 162 * root_lock section, or provide their own memory barriers -- ordering [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | st.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 Copyright 1992 - 2016 Kai Makisara 16 Some small formal changes - aeb, 950809 18 Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support 62 is defined and non-zero. */ 159 6-byte SCSI read and write commands. */ 160 #if ST_FIXED_BUFFER_SIZE >= (2 << 24 - 1) 161 #error "Buffer size should not exceed (2 << 24 - 1) bytes!" 174 /* Remove mode bits and auto-rewind bit (7) */ 176 (iminor(x) & ((1 << ST_MODE_SHIFT)-1))) [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | README | 8 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 …]
|
/openbmc/u-boot/doc/driver-model/ |
H A D | README.txt | 4 This README contains high-level information about driver model, a unified 5 way of declaring and accessing drivers in U-Boot. The original work was done 20 ----------- 22 Uclass - a group of devices which operate in the same way. A uclass provides 28 Driver - some code which talks to a peripheral and presents a higher-level 31 Device - an instance of a driver, tied to a particular port or peripheral. 35 ------------- 37 Build U-Boot sandbox and run it: 41 ./u-boot -d u-boot.dtb 43 (type 'reset' to exit U-Boot) [all …]
|