/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm283x-rpi-usb-otg.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 g-rx-fifo-size = <256>; 5 g-np-tx-fifo-size = <32>; 8 * fifo sizes shouldn't exceed 3776 bytes. 10 g-tx-fifo-size = <256 256 512 512 512 768 768>;
|
H A D | bcm283x-rpi-usb-peripheral.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 g-rx-fifo-size = <256>; 5 g-np-tx-fifo-size = <32>; 6 g-tx-fifo-size = <256 256 512 512 512 768 768>;
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | fm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2009-2011 Freescale Semiconductor, Inc. 31 void *fm_muram_alloc(int fm_idx, size_t size, ulong align) in fm_muram_alloc() argument 38 align_mask = align - 1; in fm_muram_alloc() 43 muram[fm_idx].alloc += (align - off); in fm_muram_alloc() 44 off = size & align_mask; in fm_muram_alloc() 46 size += (align - off); in fm_muram_alloc() 47 if ((muram[fm_idx].alloc + size) >= muram[fm_idx].top) { in fm_muram_alloc() 54 muram[fm_idx].alloc += size; in fm_muram_alloc() 55 memset((void *)ret, 0, size); in fm_muram_alloc() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | dwc2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: usb-drd.yaml# 14 - $ref: usb-hcd.yaml# 19 - const: brcm,bcm2835-usb 20 - const: hisilicon,hi6220-usb 21 - const: ingenic,jz4775-otg 22 - const: ingenic,jz4780-otg [all …]
|
H A D | amlogic,meson-g12a-usb-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode 20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP. 26 host-only mode. 33 - amlogic,meson-gxl-usb-ctrl 34 - amlogic,meson-gxm-usb-ctrl [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | cassini.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 29 /* cassini register map: 2M memory mapped in 32-bit memory space accessible as 30 * 32-bit words. there is no i/o port access. REG_ addresses are 41 /* this register sets the weights for the weighted round robin arbiter. e.g., 42 * if rx weight == 1 and tx weight == 0, rx == 2x tx transfer credit 45 * DEFAULT: 0x0, SIZE: 5 bits 54 /* if enabled, BIM can send bursts across PCI bus > cacheline size. burst 57 * DEFAULT: 0x0, SIZE: 1 bit 62 /* top level interrupts [0-9] are auto-cleared to 0 when the status 63 * register is read. second level interrupts [13 - 18] are cleared at [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | intel,dwmac-plat.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com> 17 - intel,keembay-dwmac 19 - compatible 22 - $ref: snps,dwmac.yaml# 27 - items: 28 - enum: [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mtu3.h - MediaTek USB3 DRD header 35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) 36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) 37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) 39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) 40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) 41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) 43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) 44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) [all …]
|
H A D | mtu3_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mtu3_core.c - hardware access layer and gadget init/exit of 4 * MediaTek usb3 Dual-Role Controller Driver 11 #include <linux/dma-mapping.h> 25 struct mtu3_fifo_info *fifo = mep->fifo; in ep_fifo_alloc() local 29 /* ensure that @mep->fifo_seg_size is power of two */ in ep_fifo_alloc() 31 if (num_bits > fifo->limit) in ep_fifo_alloc() 32 return -EINVAL; in ep_fifo_alloc() 34 mep->fifo_seg_size = num_bits * MTU3_EP_FIFO_UNIT; in ep_fifo_alloc() 35 num_bits = num_bits * (mep->slot + 1); in ep_fifo_alloc() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3xxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 interrupt-parent = <&gic>; 33 compatible = "simple-bus"; 34 #address-cells = <1>; 35 #size-cells = <1>; 38 dmac1_s: dma-controller@20018000 { 43 #dma-cells = <1>; 44 arm,pl330-broken-no-flushp; [all …]
|
H A D | rk3036.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3036-cru.h> 13 interrupt-parent = <&gic>; 32 arm-pmu { 33 compatible = "arm,cortex-a7-pmu"; 36 interrupt-affinity = <&cpu0>, <&cpu1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3xxx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/soc/rockchip,boot-mode.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 interrupt-parent = <&gic>; 33 compatible = "fixed-clock"; 34 clock-frequency = <24000000>; 35 #clock-cells = <0>; [all …]
|
H A D | rk3036.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3036-cru.h> 8 #include <dt-bindings/soc/rockchip,boot-mode.h> 9 #include <dt-bindings/power/rk3036-power.h> 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
/openbmc/linux/arch/mips/boot/dts/ingenic/ |
H A D | x1830.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/ingenic,tcu.h> 3 #include <dt-bindings/clock/ingenic,x1830-cgu.h> 4 #include <dt-bindings/dma/x1830-dma.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 17 compatible = "ingenic,xburst-fpu2.0-mxu2.0"; 21 clock-names = "cpu"; [all …]
|
H A D | x1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/ingenic,tcu.h> 3 #include <dt-bindings/clock/ingenic,x1000-cgu.h> 4 #include <dt-bindings/dma/x1000-dma.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 17 compatible = "ingenic,xburst-fpu1.0-mxu1.1"; 21 clock-names = "cpu"; [all …]
|
H A D | jz4780.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/ingenic,jz4780-cgu.h> 3 #include <dt-bindings/clock/ingenic,tcu.h> 4 #include <dt-bindings/dma/jz4780-dma.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 17 compatible = "ingenic,xburst-fpu1.0-mxu1.1"; 21 clock-names = "cpu"; [all …]
|
/openbmc/u-boot/board/st/stm32mp1/ |
H A D | stm32mp1.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved 10 #include <generic-phy.h> 39 const void *blob = gd->fdt_blob; in board_usb_init() 47 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc2"); in board_usb_init() 50 return -ENODEV; in board_usb_init() 55 return -ENODEV; in board_usb_init() 60 "#clock-cells", 0, 0, &args); in board_usb_init() 72 return -ENODATA; in board_usb_init() 86 "#reset-cells", 0, 0, &args); in board_usb_init() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/can/ctu/ |
H A D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 ------------------------ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 33 version of emulation support can be cloned from ctu-canfd branch of QEMU local 34 development `repository <https://gitlab.fel.cvut.cz/canbus/qemu-canbus>`_. 38 --------------- 46 in the same way as, e.g., UDP/IP over Ethernet. [all …]
|
/openbmc/u-boot/include/ |
H A D | fsl_fman.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright 2010-2011 Freescale Semiconductor, Inc. 27 u32 fmbm_pfs[0x3f]; /* BMI port FIFO size */ 69 u32 fmbm_rcfg; /* Rx configuration */ 70 u32 fmbm_rst; /* Rx status */ 71 u32 fmbm_rda; /* Rx DMA attributes */ 72 u32 fmbm_rfp; /* Rx FIFO parameters */ 73 u32 fmbm_rfed; /* Rx frame end data */ 74 u32 fmbm_ricp; /* Rx internal context parameters */ 75 u32 fmbm_rim; /* Rx internal margins */ [all …]
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_gadget.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 19 #include <linux/dma-mapping.h> 24 #include "linux-compat.h" 30 /* MUSB PERIPHERAL status 3-mar-2006: 32 * - EP0 seems solid. It passes both USBCV and usbtest control cases. 37 * + endpoint halt tests -- in both usbtest and usbcv -- seem 41 * - Mass storage behaved ok when last tested. Network traffic patterns 46 * - TX/IN [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.h | 48 * Usage example, e.g. a three-bit field (bits 4-6): 52 * regval = R_REG(osh, ®s->regfoo); 55 * W_REG(osh, ®s->regfoo, regval); 58 (((unsigned)1 << (width)) - 1) 67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */ 76 #define BRCMS_SHORTSLOT_AUTO -1 /* Driver will manage Shortslot setting */ 91 #define TXFID_QUEUE_MASK 0x0007 /* Bits 0-2 */ 92 #define TXFID_SEQ_MASK 0x7FE0 /* Bits 5-15 */ 119 #define DEF_RXINTMASK (I_RI) /* enable rx int on rxfifo only */ 130 #define NFIFO 6 /* # tx/rx fifopairs */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/sound/meson-aiu.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 15 iio-hwmon { 16 compatible = "iio-hwmon"; 17 io-channels = <&saradc 8>; [all …]
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_gadget.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 18 #include <linux/dma-mapping.h> 25 /* ----------------------------------------------------------------------- */ 28 (req->map_state != UN_MAPPED)) 36 struct dma_controller *dma = musb->dma_controller; in map_dma_buffer() 38 request->map_state = UN_MAPPED; in map_dma_buffer() 40 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer() 47 if (dma->is_compatible) in map_dma_buffer() [all …]
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 3 // SPDX-License-Identifier: GPL-2.0-or-later 45 fn index(&self, idx: hwaddr) -> &Self::Output { in index() 90 /// * sysbus IRQ 1: `UARTRXINTR` (receive FIFO interrupt line) 91 /// * sysbus IRQ 2: `UARTTXINTR` (transmit FIFO interrupt line) 131 /// Initializes a pre-allocated, unitialized instance of `PL011State`. 181 pub fn read(&mut self, offset: hwaddr, _size: c_uint) -> std::ops::ControlFlow<u64, u64> { in read() 186 u64::from(self.device_id[(offset - 0xfe0) >> 2]) in read() 196 self.read_count -= 1; in read() 197 self.read_pos = (self.read_pos + 1) & (self.fifo_depth() - 1); in read() 218 // We exercise our self-control. in read() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | b43.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 /* 32-bit DMA */ 68 /* 64-bit DMA */ 202 #define B43_BFL2_RXBB_INT_REG_DIS 0x0001 /* external RX BB regulator present */ 203 #define B43_BFL2_APLL_WAR 0x0002 /* alternative A-band PLL settings implemented */ 206 #define B43_BFL2_5G_PWRGAIN 0x0010 /* supports 5G band power gain */ 209 #define B43_BFL2_BTC3WIRE 0x0080 /* used 3-wire bluetooth coexist */ 211 #define B43_BFL2_SPUR_WAR 0x0200 /* has a workaround for clock-harmonic spurs */ 212 #define B43_BFL2_GPLL_WAR 0x0400 /* altenative G-band PLL settings implemented */ 234 #define B43_SHM_AUTOINC_R 0x0200 /* Auto-increment address on read */ [all …]
|