| /kernel/linux/linux-5.10/drivers/net/ethernet/arc/ |
| D | emac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2004-2013 Synopsys, Inc. (www.synopsys.com) 12 #include <linux/dma-mapping.h> 27 #define TXPL_MASK (1 << 31) /* Force polling of BD by EMAC */ 34 #define ENFL_MASK (1 << 10) /* Enable Full-duplex */ 38 #define OWN_MASK (1 << 31) /* 0-CPU or 1-EMAC owns buffer */ 77 * struct arc_emac_bd - EMAC buffer descriptor (BD). 80 * @data: 32-bit byte addressable pointer to the packet data. 87 /* Number of Rx/Tx BD's */ 95 * struct buffer_state - Stores Rx/Tx buffer state. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/arc/ |
| D | emac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2004-2013 Synopsys, Inc. (www.synopsys.com) 12 #include <linux/dma-mapping.h> 27 #define TXPL_MASK (1 << 31) /* Force polling of BD by EMAC */ 34 #define ENFL_MASK (1 << 10) /* Enable Full-duplex */ 38 #define OWN_MASK (1 << 31) /* 0-CPU or 1-EMAC owns buffer */ 77 * struct arc_emac_bd - EMAC buffer descriptor (BD). 80 * @data: 32-bit byte addressable pointer to the packet data. 87 /* Number of Rx/Tx BD's */ 95 * struct buffer_state - Stores Rx/Tx buffer state. [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | imx-sdma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // drivers/dma/imx-sdma.c 11 // Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. 26 #include <linux/dma-mapping.h> 38 #include <linux/platform_data/dma-imx-sdma.h> 39 #include <linux/platform_data/dma-imx.h> 42 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 45 #include "virt-dma.h" 122 * Change endianness indicator in the BD command field 129 * 0-7 Lower WML Lower watermark level [all …]
|
| D | amba-pl08x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2010 ST-Ericsson SA 27 * - CH_CONFIG register at different offset, 28 * - separate CH_CONTROL2 register for transfer size, 29 * - bigger maximum transfer size, 30 * - 8-word aligned LLI, instead of 4-word, due to extra CCTL2 word, 31 * - no support for peripheral flow control. 45 * (Bursts are irrelevant for mem to mem transfers - there are no burst 51 * - DMAC flow control: the transfer size defines the number of transfers 58 * - Peripheral flow control: the transfer size is ignored (and should be [all …]
|
| /kernel/linux/linux-6.6/include/soc/fsl/qe/ |
| D | ucc_slow.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 /* transmit BD's status */ 28 #define T_A 0x04000000 /* Address - the data transmitted as address 33 #define T_P 0x01000000 /* Preamble - send Preamble sequence before 44 /* Receive BD's status */ 52 #define R_A 0x04000000 /* the first byte in this buffer is address 58 #define R_AM 0x00800000 /* Address match */ 59 #define R_DE 0x00800000 /* Address match */ 89 /* 16-bit CCITT CRC (HDLC). (X16 + X12 + X5 + 1) */ 93 /* 32-bit CCITT CRC (Ethernet and HDLC) */ [all …]
|
| /kernel/linux/linux-5.10/include/soc/fsl/qe/ |
| D | ucc_slow.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 /* transmit BD's status */ 28 #define T_A 0x04000000 /* Address - the data transmitted as address 33 #define T_P 0x01000000 /* Preamble - send Preamble sequence before 44 /* Receive BD's status */ 52 #define R_A 0x04000000 /* the first byte in this buffer is address 58 #define R_AM 0x00800000 /* Address match */ 59 #define R_DE 0x00800000 /* Address match */ 89 /* 16-bit CCITT CRC (HDLC). (X16 + X12 + X5 + 1) */ 93 /* 32-bit CCITT CRC (Ethernet and HDLC) */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | wanxlfw.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 0x000 - 0x050 TX#0 0x050 - 0x140 RX#0 15 0x140 - 0x190 TX#1 0x190 - 0x280 RX#1 16 0x280 - 0x2D0 TX#2 0x2D0 - 0x3C0 RX#2 17 0x3C0 - 0x410 TX#3 0x410 - 0x500 RX#3 20 000 5FF 1536 Bytes Dual-Port RAM User Data / BDs 21 600 6FF 256 Bytes Dual-Port RAM User Data / BDs 22 700 7FF 256 Bytes Dual-Port RAM User Data / BDs 23 C00 CBF 192 Bytes Dual-Port RAM Parameter RAM Page 1 24 D00 DBF 192 Bytes Dual-Port RAM Parameter RAM Page 2 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wan/ |
| D | wanxlfw.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 0x000 - 0x050 TX#0 0x050 - 0x140 RX#0 15 0x140 - 0x190 TX#1 0x190 - 0x280 RX#1 16 0x280 - 0x2D0 TX#2 0x2D0 - 0x3C0 RX#2 17 0x3C0 - 0x410 TX#3 0x410 - 0x500 RX#3 20 000 5FF 1536 Bytes Dual-Port RAM User Data / BDs 21 600 6FF 256 Bytes Dual-Port RAM User Data / BDs 22 700 7FF 256 Bytes Dual-Port RAM User Data / BDs 23 C00 CBF 192 Bytes Dual-Port RAM Parameter RAM Page 1 24 D00 DBF 192 Bytes Dual-Port RAM Parameter RAM Page 2 [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/bnx2i/ |
| D | bnx2i.h | 3 * Copyright (c) 2006 - 2013 Broadcom Corporation 14 * Maintained by: QLogic-Storage-Upstream@qlogic.com 60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 71 /* 5706/08 hardware has limit on maximum buffer size per BD it can handle */ 129 readl(__hba->regview + offset) 131 writel(val, __hba->regview + offset) 136 spin_lock_bh(&__hba->stat_lock); \ 137 dst->field##_lo = __hba->stats.field##_lo; \ [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
| D | bnx2i.h | 3 * Copyright (c) 2006 - 2013 Broadcom Corporation 14 * Maintained by: QLogic-Storage-Upstream@qlogic.com 60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1)) 71 /* 5706/08 hardware has limit on maximum buffer size per BD it can handle */ 129 readl(__hba->regview + offset) 131 writel(val, __hba->regview + offset) 136 spin_lock_bh(&__hba->stat_lock); \ 137 dst->field##_lo = __hba->stats.field##_lo; \ [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | imx-sdma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // drivers/dma/imx-sdma.c 11 // Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. 27 #include <linux/dma-mapping.h> 38 #include <linux/dma/imx-dma.h> 41 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 44 #include "virt-dma.h" 122 * Change endianness indicator in the BD command field 129 * 0-7 Lower WML Lower watermark level 140 * 13-15 --------- MUST BE 0 [all …]
|
| D | amba-pl08x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2010 ST-Ericsson SA 27 * - CH_CONFIG register at different offset, 28 * - separate CH_CONTROL2 register for transfer size, 29 * - bigger maximum transfer size, 30 * - 8-word aligned LLI, instead of 4-word, due to extra CCTL2 word, 31 * - no support for peripheral flow control. 45 * (Bursts are irrelevant for mem to mem transfers - there are no burst 51 * - DMAC flow control: the transfer size defines the number of transfers 58 * - Peripheral flow control: the transfer size is ignored (and should be [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ |
| D | ethoc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2008 Avionic Design Development GmbH 6 * Copyright (C) 2008-2009 Avionic Design GmbH 8 * Written by Thierry Reding <thierry.reding@avionic-design.de> 11 #include <linux/dma-mapping.h> 59 #define MODER_BRO (1 << 3) /* broadcast address */ 60 #define MODER_IAM (1 << 4) /* individual address mode */ 64 #define MODER_NBO (1 << 8) /* no back-off */ 116 /* MII address register */ 177 * struct ethoc - driver-private device structure [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ |
| D | ethoc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2008 Avionic Design Development GmbH 6 * Copyright (C) 2008-2009 Avionic Design GmbH 8 * Written by Thierry Reding <thierry.reding@avionic-design.de> 11 #include <linux/dma-mapping.h> 59 #define MODER_BRO (1 << 3) /* broadcast address */ 60 #define MODER_IAM (1 << 4) /* individual address mode */ 64 #define MODER_NBO (1 << 8) /* no back-off */ 116 /* MII address register */ 177 * struct ethoc - driver-private device structure [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
| D | ucc_geth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006-2009 Freescale Semicondutor, Inc. All rights reserved. 26 #include <linux/dma-mapping.h> 62 #define UGETH_MSG_DEFAULT (NETIF_MSG_IFUP << 1 ) - 1 69 } debug = { -1 }; 102 /* adjusted at startup if max-speed 1000 */ 215 struct list_head *node = lh->next; in dequeue() 226 u8 __iomem *bd) in get_new_skb() argument 230 skb = netdev_alloc_skb(ugeth->ndev, in get_new_skb() 231 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb() [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-pic32-sqi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 87 #define PESQI_BDDONE BIT(9) /* BD processing complete */ 94 #define PESQI_BDP_START BIT(2) /* start BD processor */ 106 #define BD_CBD_INT_EN BIT(16) /* Current BD is processed */ 117 #define BD_CS_DEASSERT BIT(30) /* de-assert CS after current BD */ 118 #define BD_EN BIT(31) /* BD owned by H/W */ 121 * struct ring_desc - Representation of SQI ring descriptor 123 * @bd: PESQI controller buffer descriptor 124 * @bd_dma: DMA address of PESQI controller buffer descriptor [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-pic32-sqi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 87 #define PESQI_BDDONE BIT(9) /* BD processing complete */ 94 #define PESQI_BDP_START BIT(2) /* start BD processor */ 106 #define BD_CBD_INT_EN BIT(16) /* Current BD is processed */ 117 #define BD_CS_DEASSERT BIT(30) /* de-assert CS after current BD */ 118 #define BD_EN BIT(31) /* BD owned by H/W */ 121 * struct ring_desc - Representation of SQI ring descriptor 123 * @bd: PESQI controller buffer descriptor 124 * @bd_dma: DMA address of PESQI controller buffer descriptor [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/ |
| D | cuboot-hotfoot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Old U-boot compatibility for Esteem 195E Hotfoot CPU Board 5 * Author: Solomon Peachy <solomon@linux-wlan.com> 18 #include "ppcboot-hotfoot.h" 20 static bd_t bd; variable 28 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in hotfoot_fixups() 30 dt_fixup_cpu_clocks(bd.bi_procfreq, bd.bi_procfreq, 0); in hotfoot_fixups() 31 dt_fixup_clock("/plb", bd.bi_plb_busfreq); in hotfoot_fixups() 32 dt_fixup_clock("/plb/opb", bd.bi_opbfreq); in hotfoot_fixups() 33 dt_fixup_clock("/plb/ebc", bd.bi_pci_busfreq); in hotfoot_fixups() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
| D | ucc_geth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006-2009 Freescale Semicondutor, Inc. All rights reserved. 26 #include <linux/dma-mapping.h> 61 #define UGETH_MSG_DEFAULT (NETIF_MSG_IFUP << 1 ) - 1 68 } debug = { -1 }; 78 /* adjusted at startup if max-speed 1000 */ 195 struct list_head *node = lh->next; in dequeue() 206 u8 __iomem *bd) in get_new_skb() argument 210 skb = netdev_alloc_skb(ugeth->ndev, in get_new_skb() 211 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb() [all …]
|
| D | fec_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * Copyright (c) 2001-2005 Greg Ungerer (gerg@snapgear.com) 20 * Copyright (c) 2004-2006 Macq Electronique SA. 22 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 142 .name = "imx25-fec", 145 .name = "imx27-fec", 148 .name = "imx28-fec", 151 .name = "imx6q-fec", 154 .name = "mvf600-fec", 157 .name = "imx6sx-fec", [all …]
|
| /kernel/linux/linux-6.6/drivers/video/backlight/ |
| D | ams369fg06.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 struct backlight_device *bd; member 173 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte() 176 static int ams369fg06_spi_write(struct ams369fg06 *lcd, unsigned char address, in ams369fg06_spi_write() argument 181 if (address != DATA_ONLY) in ams369fg06_spi_write() 182 ret = ams369fg06_spi_write_byte(lcd, 0x70, address); in ams369fg06_spi_write() 219 dev_err(lcd->dev, "failed to set gamma table.\n"); in _ams369fg06_gamma_ctl() 310 struct backlight_device *bd; in ams369fg06_power_on() local 312 pd = lcd->lcd_pd; in ams369fg06_power_on() 313 bd = lcd->bd; in ams369fg06_power_on() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/backlight/ |
| D | ams369fg06.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 struct backlight_device *bd; member 173 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte() 176 static int ams369fg06_spi_write(struct ams369fg06 *lcd, unsigned char address, in ams369fg06_spi_write() argument 181 if (address != DATA_ONLY) in ams369fg06_spi_write() 182 ret = ams369fg06_spi_write_byte(lcd, 0x70, address); in ams369fg06_spi_write() 219 dev_err(lcd->dev, "failed to set gamma table.\n"); in _ams369fg06_gamma_ctl() 310 struct backlight_device *bd; in ams369fg06_power_on() local 312 pd = lcd->lcd_pd; in ams369fg06_power_on() 313 bd = lcd->bd; in ams369fg06_power_on() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/ |
| D | dxe.h | 40 /* BD handling bit */ 46 /* Pointer address is a queue */ 74 /* BD Template index */ 147 /* BD Handling bit */ 198 /* Channel BD template index */ 286 /* Address of the next DXE descriptor */ 301 /* DXE Descriptor source address */ 310 /* DXE Descriptor address destination address */ 380 * struct wcn36xx_dxe_desc - describes descriptor of one DXE buffer 389 * // means first 128 bytes contain BD, and 1 [all …]
|
| /kernel/linux/linux-5.10/include/linux/fsl/bestcomm/ |
| D | bestcomm.h | 7 * ( by Andrey Volkov <avolkov@varma-el.com> ) 8 * Copyright (C) 2003-2004 MontaVista, Software, Inc. 20 * struct bcom_bd - Structure describing a generic BestComm buffer descriptor 38 * struct bcom_task - Structure describing a loaded BestComm task 52 struct bcom_bd *bd; member 67 * bcom_enable - Enable a BestComm task 76 * bcom_disable - Disable a BestComm task 86 * bcom_get_task_irq - Returns the irq number of a BestComm task 91 return tsk->irq; in bcom_get_task_irq() 95 /* BD based tasks helpers */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/fsl/bestcomm/ |
| D | bestcomm.h | 7 * ( by Andrey Volkov <avolkov@varma-el.com> ) 8 * Copyright (C) 2003-2004 MontaVista, Software, Inc. 20 * struct bcom_bd - Structure describing a generic BestComm buffer descriptor 38 * struct bcom_task - Structure describing a loaded BestComm task 52 struct bcom_bd *bd; member 67 * bcom_enable - Enable a BestComm task 76 * bcom_disable - Disable a BestComm task 86 * bcom_get_task_irq - Returns the irq number of a BestComm task 91 return tsk->irq; in bcom_get_task_irq() 95 /* BD based tasks helpers */ [all …]
|