| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | sf.c | 3 * See http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/IRCAM/IRCAM.html 17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 24 static struct {char str[4]; sox_bool reverse_bytes; char const * desc;} id[] = { member 25 {"\144\243\001\0", MACHINE_IS_BIGENDIAN , "little-endian VAX (native)"}, 26 {"\0\001\243\144", MACHINE_IS_LITTLEENDIAN, "big-endian VAX"}, 27 {"\144\243\002\0", MACHINE_IS_LITTLEENDIAN, "big-endian Sun (native)"}, 28 {"\0\002\243\144", MACHINE_IS_BIGENDIAN , "little-endian Sun"}, 29 {"\144\243\003\0", MACHINE_IS_BIGENDIAN , "little-endian MIPS (DEC)"}, 30 {"\0\003\243\144", MACHINE_IS_LITTLEENDIAN, "big-endian MIPS (SGI)"}, 31 {"\144\243\004\0", MACHINE_IS_LITTLEENDIAN, "big-endian NeXT"}, [all …]
|
| H A D | au.c | 9 * October 7, 1998 - cbagwell@sprynet.com 24 static struct {char str[4]; sox_bool reverse_bytes; char const * desc;} id[] = { member 25 {"\x2e\x73\x6e\x64", MACHINE_IS_LITTLEENDIAN, "big-endian `.snd'"}, 26 {"\x64\x6e\x73\x2e", MACHINE_IS_BIGENDIAN , "little-endian `.snd'"}, 27 {"\x00\x64\x73\x2e", MACHINE_IS_BIGENDIAN , "little-endian `\\0ds.' (for DEC)"}, 28 {"\x2e\x73\x64\x00", MACHINE_IS_LITTLEENDIAN, "big-endian `\\0ds.'"}, 41 "Unspecified", "8-bit mu-law", "8-bit signed linear", "16-bit signed linear", 42 "24-bit signed linear", "32-bit signed linear", "Floating-point", 44 "8-bit fixed-point", "16-bit fixed-point", "24-bit fixed-point", 45 "32-bit fixed-point", "Unknown", "Non-audio data", "Mu-law squelch", [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | generic-ohci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ohci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: "usb-hcd.yaml" 13 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 18 const: generic-ohci 34 In case the Renesas R-Car Gen3 SoCs: 35 - if a host only channel: first clock should be host. 36 - if a USB DRD channel: first clock should be host and second [all …]
|
| H A D | generic-ehci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ehci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 - $ref: "usb-hcd.yaml" 14 - if: 19 const: ibm,usb-ehci-440epx 28 const: generic-ehci 45 In case the Renesas R-Car Gen3 SoCs: [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/sgi/ |
| H A D | hpc3.h | 22 #define HPCDMA_EOX 0x80000000 /* last desc in chain for tx */ 23 #define HPCDMA_EOR 0x80000000 /* last desc in chain for rx */ 26 #define HPCDMA_XIE 0x20000000 /* irq generated when at end of this desc */ 39 volatile u32 pbdma_dptr; /* pbus dma channel desc ptr */ 40 u32 _unused0[0x1000/4 - 2]; /* padding */ 48 #define HPC3_PDMACTRL_SEL 0x00000002 /* little endian transfer */ 54 #define HPC3_PDMACTRL_HW 0x0000ff00 /* DMA High-water mark */ 58 u32 _unused1[0x1000/4 - 1]; /* padding */ 65 u32 _unused0[0x1000/4 - 2]; /* padding */ 73 #define HPC3_SCTRL_ENDIAN 0x02 /* DMA endian mode, 0=big 1=little */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_thunderboot_crypto.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <linux/dma-mapping.h> 110 readl_relaxed(((dev)->reg + (offset))) 112 writel_relaxed((val), ((dev)->reg + (offset))) 115 #define CRYPTO_TRACE(format, ...) pr_err("[%s, %05d]-trace: " format "\n", \ 117 #define CRYPTO_MSG(format, ...) pr_err("[%s, %05d]-msg:" format "\n", \ 146 struct crypto_lli_desc *desc; member 173 return -ETIMEDOUT; in rk_tb_crypto_sha256_wait_compare_done() 176 static void word2byte(u32 word, u8 *ch, u32 endian) in word2byte() argument 178 /* 0: Big-Endian 1: Little-Endian */ in word2byte() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/vmxnet3/ |
| H A D | vmxnet3_defs.h | 4 * Copyright (C) 2008-2020, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * Maintained by: pv-drivers@vmware.com 57 #define VMXNET3_REG_ALIGN 8 /* All registers are 8-byte aligned. */ 104 * Little Endian layout of bitfields - 110 * Big Endian layout of bitfields - 116 * Thus, le32_to_cpu on the dword will allow the big endian driver to read 118 * bit fields written by big endian driver to format required by device. 370 /* # of tx desc needed for a tx buffer size */ 371 #define VMXNET3_TXD_NEEDED(size) (((size) + VMXNET3_MAX_TX_BUF_SIZE - 1) / \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | ehci-ppc-of.c | 1 // SPDX-License-Identifier: GPL-1.0+ 5 * Bus Glue for PPC On-Chip EHCI driver on the of_platform bus 10 * Based on "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de> 11 * and "ohci-ppc-of.c" by Sylvain Munaut <tnt@246tNt.com> 85 return -EINVAL; in ppc44x_enable_bmt() 96 struct device_node *dn = op->dev.of_node; in ehci_hcd_ppc_of_probe() 106 return -ENODEV; in ehci_hcd_ppc_of_probe() 108 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); in ehci_hcd_ppc_of_probe() 114 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ehci_hcd_ppc_of_probe() 116 return -ENOMEM; in ehci_hcd_ppc_of_probe() [all …]
|
| H A D | ohci-platform.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright 2011-2012 Hauke Mehrtens <hauke@hauke-m.de> 9 * Derived from the OCHI-SSB driver 10 * Derived from the OHCI-PCI driver 12 * Copyright 2000-2002 David Brownell 18 #include <linux/dma-mapping.h> 36 #define hcd_to_ohci_priv(h) ((struct ohci_platform_priv *)hcd_to_ohci(h)->priv) 43 static const char hcd_name[] = "ohci-platform"; 51 for (clk = 0; clk < OHCI_MAX_CLKS && priv->clks[clk]; clk++) { in ohci_platform_power_on() 52 ret = clk_prepare_enable(priv->clks[clk]); in ohci_platform_power_on() [all …]
|
| H A D | ohci.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> 27 /* first fields are hardware-specified */ 49 struct ed *ed_prev; /* for non-interrupt EDs */ 53 /* create --> IDLE --> OPER --> ... --> IDLE --> destroy 54 * usually: OPER --> UNLINK --> (IDLE | OPER) --> ... 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 89 /* first fields are hardware-specified */ 124 * big-endian PPC hardware that's the second entry. 132 struct td *td_hash; /* dma-->td hashtable */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_api_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/dma-mapping.h> 34 (1 << (fls(cell_size - 1))) : API_CMD_CELL_SIZE_MIN) 49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1)) 91 enum hinic_api_cmd_chain_type chain_type = chain->chain_type; in set_prod_idx() 92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx() 100 prod_idx |= HINIC_API_CMD_PI_SET(chain->prod_idx, IDX); in set_prod_idx() 109 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in get_hw_cons_idx() 110 val = hinic_hwif_read_reg(chain->hwif, addr); in get_hw_cons_idx() 119 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in dump_api_chain_reg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | ni_usb6501.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Comedi driver for National Instruments USB-6501 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: National Instruments USB-6501 module 13 * Devices: [National Instruments] USB-6501 (ni_usb6501) 24 * NI-6501 - USB PROTOCOL DESCRIPTION 27 * - request (out) 28 * - response (in) 39 * byte 5 is the total packet length - 4 75 * RES: 00 01 00 10 00 0C 01 00 00 00 00 02 <u32 counter value, Big Endian> [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-rsk/ |
| H A D | devices-rsk7203.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008 - 2010 Paul Mundt 42 .id = -1, 57 .default_trigger = "nand-disk", 79 .name = "leds-gpio", 80 .id = -1, 91 .desc = "SW1", 96 .desc = "SW2", 101 .desc = "SW3", 112 .name = "gpio-keys-polled", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-brcmstb.c | 2 * Copyright (C) 2015-2017 Broadcom 71 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1)) 77 return bank->parent_priv; in brcmstb_gpio_gc_to_priv() 83 void __iomem *reg_base = bank->parent_priv->reg_base; in __brcmstb_gpio_get_active_irqs() 85 return bank->gc.read_reg(reg_base + GIO_STAT(bank->id)) & in __brcmstb_gpio_get_active_irqs() 86 bank->gc.read_reg(reg_base + GIO_MASK(bank->id)); in __brcmstb_gpio_get_active_irqs() 95 spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs() 97 spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs() 105 return hwirq - (bank->gc.base - bank->parent_priv->gpio_base); in brcmstb_gpio_hwirq_to_offset() 111 struct gpio_chip *gc = &bank->gc; in brcmstb_gpio_set_imask() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | txx9dmac.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 * be configured for memory-memory or device-memory transfer, but only 18 * one channel can do alignment-free memory-memory transfer at a time 23 * make one dedicated channel for memory-memory transfer. The 56 * Redefine this macro to handle differences between 32- and 64-bit 57 * addressing, big vs. little endian, etc. 92 /* per-channel registers */ 190 return ddev->have_64bit_regs; in __is_dmac64() 195 return __is_dmac64(dc->ddev); in is_dmac64() 199 /* Hardware descriptor definition. (for simple-chain) */ [all …]
|
| H A D | fsl-edma-common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (c) 2013-2014 Freescale Semiconductor, Inc 9 #include <linux/dma-mapping.h> 11 #include "fsl-edma-common.h" 47 struct edma_regs *regs = &fsl_chan->edma->regs; in fsl_edma_enable_request() 48 u32 ch = fsl_chan->vchan.chan.chan_id; in fsl_edma_enable_request() 50 if (fsl_chan->edma->drvdata->version == v1) { in fsl_edma_enable_request() 51 edma_writeb(fsl_chan->edma, EDMA_SEEI_SEEI(ch), regs->seei); in fsl_edma_enable_request() 52 edma_writeb(fsl_chan->edma, ch, regs->serq); in fsl_edma_enable_request() 54 /* ColdFire is big endian, and accesses natively in fsl_edma_enable_request() [all …]
|
| /OK3568_Linux_fs/kernel/sound/mips/ |
| H A D | hal2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Based on OSS code from Ladislav Michl <ladis@linux-mips.org>, which 12 #include <linux/dma-mapping.h> 24 #include <sound/pcm-indirect.h> 29 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 47 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */ 51 struct hpc_dma_desc desc; member 61 struct hal2_desc *desc; member 87 #define H2_INDIRECT_WAIT(regs) while (hal2_read(®s->isr) & H2_ISR_TSTATUS); 106 struct hal2_ctl_regs *regs = hal2->ctl_regs; in hal2_i_read32() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-bcm6345-l1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * 0x1000_0028: CPU0_W0_STATUS IRQs 31-63 20 * 0x1000_002c: CPU0_W1_STATUS IRQs 0-31 23 * 0x1000_0038: CPU1_W0_STATUS IRQs 31-63 24 * 0x1000_003c: CPU1_W1_STATUS IRQs 0-31 31 * 0x1000_0030: CPU0_W0_STATUS IRQs 96-127 32 * 0x1000_0034: CPU0_W1_STATUS IRQs 64-95 33 * 0x1000_0038: CPU0_W2_STATUS IRQs 32-63 34 * 0x1000_003c: CPU0_W3_STATUS IRQs 0-31 39 * 0x1000_0050: CPU1_W0_STATUS IRQs 96-127 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | m66592-udc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006-2007 Renesas Solutions Corp. 20 #include "m66592-udc.h" 43 /*-------------------------------------------------------------------------*/ 84 __releases(m66592->lock) in m66592_usb_disconnect() 85 __acquires(m66592->lock) in m66592_usb_disconnect() 93 m66592->gadget.speed = USB_SPEED_UNKNOWN; in m66592_usb_disconnect() 94 spin_unlock(&m66592->lock); in m66592_usb_disconnect() 95 m66592->driver->disconnect(&m66592->gadget); in m66592_usb_disconnect() 96 spin_lock(&m66592->lock); in m66592_usb_disconnect() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | ialloc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 10 * BSD ufs-inspired inode and directory allocation by 12 * Big-endian to little-endian byte-swapping/bitmaps by 18 #include <linux/backing-dev.h> 49 struct ext2_group_desc *desc; in read_inode_bitmap() local 52 desc = ext2_get_group_desc(sb, block_group, NULL); in read_inode_bitmap() 53 if (!desc) in read_inode_bitmap() 56 bh = sb_bread(sb, le32_to_cpu(desc->bg_inode_bitmap)); in read_inode_bitmap() 59 "Cannot read inode bitmap - " in read_inode_bitmap() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/block/ |
| H A D | ide.c | 2 * (C) Copyright 2000-2011 5 * SPDX-License-Identifier: GPL-2.0+ 41 #define IDE_SPIN_UP_TIME_OUT 5000 /* 5 sec spin-up timeout */ 66 /* de-assert RESET signal */ in ide_reset() 88 if (delay-- == 0) in ide_wait() 105 end = src + len - 1; in ident_cpy() 144 while (shorts--) { in ide_output_data_shorts() 161 while (shorts--) { in ide_input_data_shorts() 199 if (delay-- == 0) in atapi_wait_mask() 372 if (unitattn-- > 0) { in atapi_issue_autoreq() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/ |
| H A D | wctype-wchar.h | 1 /* Copyright (C) 1996-2021 Free Software Foundation, Inc. 27 #error "Never include <bits/wctype-wchar.h> directly; include <wctype.h> or <wchar.h> instead." 36 /* Scalar type that can hold values which represent locale-specific 41 /* The characteristics are stored always in network byte order (big 42 endian). We define the bit value interpretations here dependent on the 45 # include <bits/endian.h> 90 * Wide-character classification functions: 7.15.2.1. 98 true, or any wide character that is one of a locale-specific set of 99 wide-characters for which none of `iswcntrl', `iswdigit', 106 /* Test for any wide character that corresponds to a decimal-digit [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/ |
| H A D | wctype-wchar.h | 1 /* Copyright (C) 1996-2021 Free Software Foundation, Inc. 27 #error "Never include <bits/wctype-wchar.h> directly; include <wctype.h> or <wchar.h> instead." 36 /* Scalar type that can hold values which represent locale-specific 41 /* The characteristics are stored always in network byte order (big 42 endian). We define the bit value interpretations here dependent on the 45 # include <bits/endian.h> 90 * Wide-character classification functions: 7.15.2.1. 98 true, or any wide character that is one of a locale-specific set of 99 wide-characters for which none of `iswcntrl', `iswdigit', 106 /* Test for any wide character that corresponds to a decimal-digit [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wan/ |
| H A D | wanxl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - Only DTE (external clock) support with NRZ and NRZI encodings 10 * - wanXL100 will require minor driver modifications, no access to hw 29 #include <linux/dma-mapping.h> 42 /* MAILBOX #1 - PUTS COMMANDS */ 45 #define MBX1_CMD_BSWAP 0x8C000001 /* little-endian Byte Swap Mode */ 47 #define MBX1_CMD_BSWAP 0x8C000000 /* big-endian Byte Swap Mode */ 50 /* MAILBOX #2 - DRAM SIZE */ 58 int node; /* physical port #0 - 3 */ 81 struct port ports[]; /* 1 - 4 port structures follow */ [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | dma-ste-dma40.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) ST-Ericsson SA 2007-2010 4 * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson 5 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson 20 * Size is in the units of addr-widths (1,2,4,8 bytes) 21 * Larger transfers will be split up to multiple linked desc 26 #define STEDMA40_DEV_DST_MEMORY (-1) 27 #define STEDMA40_DEV_SRC_MEMORY (-1) 49 /* The value 4 indicates that PEN-reg shall be set to 0 */ 74 * struct stedma40_half_channel_info - dst/src channel configuration [all …]
|