| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cudbg_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 83 /* 1 addr reg SGE_QBASE_INDEX and 4 data reg SGE_QBASE_MAP[0-3] */ 188 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length() 201 len = adap->params.devlog.size; in cudbg_get_entity_length() 204 if (is_t6(adap->params.chip)) { in cudbg_get_entity_length() 205 len = adap->params.cim_la_size / 10 + 1; in cudbg_get_entity_length() 208 len = adap->params.cim_la_size / 8; in cudbg_get_entity_length() 287 len = adap->params.arch.vfcount * in cudbg_get_entity_length() 300 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length() 357 adap->params.arch.mps_tcam_size; in cudbg_get_entity_length() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cudbg_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 83 /* 1 addr reg SGE_QBASE_INDEX and 4 data reg SGE_QBASE_MAP[0-3] */ 188 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length() 201 len = adap->params.devlog.size; in cudbg_get_entity_length() 204 if (is_t6(adap->params.chip)) { in cudbg_get_entity_length() 205 len = adap->params.cim_la_size / 10 + 1; in cudbg_get_entity_length() 208 len = adap->params.cim_la_size / 8; in cudbg_get_entity_length() 287 len = adap->params.arch.vfcount * in cudbg_get_entity_length() 300 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length() 357 adap->params.arch.mps_tcam_size; in cudbg_get_entity_length() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
| D | ks8851_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 * struct ks8851_net_spi - KS8851 SPI driver private data 39 * @spi_msg1: pre-setup SPI transfer with one message, @spi_xfer1. 40 * @spi_msg2: pre-setup SPI transfer with two messages, @spi_xfer2. 44 * The @lock ensures that the chip is protected when certain operations are 46 * of the chip registers are not ccessible until the transfer is finished and 47 * the DMA has been de-asserted. 68 /* shift for byte-enable data */ 71 /* turn register number and byte-enable mask into data for start of packet */ 76 * ks8851_lock_spi - register access lock [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/micrel/ |
| D | ks8851_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 * struct ks8851_net_spi - KS8851 SPI driver private data 37 * @spi_msg1: pre-setup SPI transfer with one message, @spi_xfer1. 38 * @spi_msg2: pre-setup SPI transfer with two messages, @spi_xfer2. 42 * The @lock ensures that the chip is protected when certain operations are 44 * of the chip registers are not ccessible until the transfer is finished and 45 * the DMA has been de-asserted. 66 /* shift for byte-enable data */ 69 /* turn register number and byte-enable mask into data for start of packet */ 74 * ks8851_lock_spi - register access lock [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/wl128x/ |
| D | fmdrv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * FM Driver for Connectivity chip of Texas Instruments. 5 * Common header for all FM driver sub-modules. 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ctrls.h> 66 u8 buff[FM_RX_RDS_INFO_FIELD_MAX]; member 111 u8 flag; /* RX RDS on/off status */ 116 u32 buf_size; /* Size is always multiple of 3 */ [all …]
|
| D | fmdrv_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * FM Driver for Connectivity chip of Texas Instruments. 5 * This sub-module of FM driver is common for FM RX and TX 7 * 1) Forming group of Channel-8 commands to perform particular 9 * one Channel-8 command to be sent to the chip). 10 * 2) Sending each Channel-8 command to the chip and reading 14 * 5) Loading FM firmware to the chip (common, FM TX, and FM RX 15 * firmware files based on mode selection) 63 static u32 radio_nr = -1; 172 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/radio/wl128x/ |
| D | fmdrv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * FM Driver for Connectivity chip of Texas Instruments. 5 * Common header for all FM driver sub-modules. 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ctrls.h> 66 u8 buff[FM_RX_RDS_INFO_FIELD_MAX]; member 111 u8 flag; /* RX RDS on/off status */ 116 u32 buf_size; /* Size is always multiple of 3 */ [all …]
|
| D | fmdrv_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * FM Driver for Connectivity chip of Texas Instruments. 5 * This sub-module of FM driver is common for FM RX and TX 7 * 1) Forming group of Channel-8 commands to perform particular 9 * one Channel-8 command to be sent to the chip). 10 * 2) Sending each Channel-8 command to the chip and reading 14 * 5) Loading FM firmware to the chip (common, FM TX, and FM RX 15 * firmware files based on mode selection) 64 static u32 radio_nr = -1; 173 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
| D | iosm_ipc_mmio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 29 IPC_MEM_DEVICE_IPC_INVALID = -1 68 * struct iosm_mmio - MMIO region mapped to the doorbell scratchpad. 73 * @chip_info_version: Version of chip info structure 74 * @chip_info_size: Size of chip info structure 94 * ipc_mmio_init - Allocate mmio instance data 103 * ipc_mmio_set_psi_addr_and_size - Set start address and size of the 108 * @size: PSI immage size 111 u32 size); [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | cdns,usb3.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cadence USBSS-DRD controller bindings 10 - Pawel Laszczak <pawell@cadence.com> 18 - description: OTG controller registers 19 - description: XHCI Host controller registers 20 - description: DEVICE controller registers 22 reg-names: 24 - const: otg [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | cdns,usb3.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cadence USBSS-DRD controller 10 - Pawel Laszczak <pawell@cadence.com> 18 - description: OTG controller registers 19 - description: XHCI Host controller registers 20 - description: DEVICE controller registers 22 reg-names: 24 - const: otg [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
| D | fsmc_nand.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Based on drivers/mtd/nand/nomadik_nand.c (removed in v3.8) 20 #include <linux/dma-direction.h> 21 #include <linux/dma-mapping.h> 29 #include <linux/mtd/nand-ecc-sw-hamming.h> 37 #include <mtd/mtd-abi.h> 99 * TOUDEL = 7ns (Output delay from the flip-flops to the board) 120 * struct fsmc_nand_data - structure for FSMC NAND device state 123 * @pid: Part ID on the AMBA PrimeCell format 124 * @nand: Chip related info for a NAND flash. [all …]
|
| D | sh_flctl.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on fsl_elbc_nand.c, Copyright (c) 2006-2007 Freescale Semiconductor 16 #include <linux/dma-mapping.h> 34 struct nand_chip *chip = mtd_to_nand(mtd); in flctl_4secc_ooblayout_sp_ecc() local 37 return -ERANGE; in flctl_4secc_ooblayout_sp_ecc() 39 oobregion->offset = 0; in flctl_4secc_ooblayout_sp_ecc() 40 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_sp_ecc() 49 return -ERANGE; in flctl_4secc_ooblayout_sp_free() 51 oobregion->offset = 12; in flctl_4secc_ooblayout_sp_free() 52 oobregion->length = 4; in flctl_4secc_ooblayout_sp_free() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | fhci-tds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Jerry Huang <Chang-Ming.Huang@freescale.com> 30 #define TD_I 0x1000 /* interrupt on completion */ 33 #define TD_CNF 0x0200 /* CNF - Must be always 1 */ 34 #define TD_LSP 0x0100 /* Low-speed transaction */ 84 if (!ep->already_pushed_dummy_bd) { in fhci_push_dummy_bd() 85 u16 td_status = in_be16(&ep->empty_td->status); in fhci_push_dummy_bd() 87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd() 89 ep->empty_td = next_bd(ep->td_base, ep->empty_td, td_status); in fhci_push_dummy_bd() 90 ep->already_pushed_dummy_bd = true; in fhci_push_dummy_bd() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | fhci-tds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Jerry Huang <Chang-Ming.Huang@freescale.com> 30 #define TD_I 0x1000 /* interrupt on completion */ 33 #define TD_CNF 0x0200 /* CNF - Must be always 1 */ 34 #define TD_LSP 0x0100 /* Low-speed transaction */ 84 if (!ep->already_pushed_dummy_bd) { in fhci_push_dummy_bd() 85 u16 td_status = in_be16(&ep->empty_td->status); in fhci_push_dummy_bd() 87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd() 89 ep->empty_td = next_bd(ep->td_base, ep->empty_td, td_status); in fhci_push_dummy_bd() 90 ep->already_pushed_dummy_bd = true; in fhci_push_dummy_bd() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_cppcore.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 6 * Provides low-level access to the NFP's internal CPP bus 39 * struct nfp_cpp - main nfpcore device structure 40 * Following fields are read-only after probe() exits or netdevs are spawned. 42 * @op: low-level implementation ops 43 * @priv: private data of the low-level implementation 44 * @model: chip model 45 * @interface: chip interface id we are using to reach it 46 * @serial: chip serial number [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_cppcore.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 6 * Provides low-level access to the NFP's internal CPP bus 39 * struct nfp_cpp - main nfpcore device structure 40 * Following fields are read-only after probe() exits or netdevs are spawned. 42 * @op: low-level implementation ops 43 * @priv: private data of the low-level implementation 44 * @model: chip model 45 * @interface: chip interface id we are using to reach it 46 * @serial: chip serial number [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
| D | debugfs.c | 1 // SPDX-License-Identifier: ISC 31 dev->ibf = !!val; in mt7996_implicit_txbf_set() 41 *val = dev->ibf; in mt7996_implicit_txbf_get() 54 struct mt7996_phy *phy = file->private_data; in mt7996_sys_recovery_set() 55 struct mt7996_dev *dev = phy->dev; in mt7996_sys_recovery_set() 56 bool band = phy->mt76->band_idx; in mt7996_sys_recovery_set() 62 return -EINVAL; in mt7996_sys_recovery_set() 65 return -EFAULT; in mt7996_sys_recovery_set() 67 if (count && buf[count - 1] == '\n') in mt7996_sys_recovery_set() 68 buf[count - 1] = '\0'; in mt7996_sys_recovery_set() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | fsmc_nand.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Based on drivers/mtd/nand/nomadik_nand.c (removed in v3.8) 20 #include <linux/dma-direction.h> 21 #include <linux/dma-mapping.h> 37 #include <mtd/mtd-abi.h> 99 * TOUDEL = 7ns (Output delay from the flip-flops to the board) 120 * struct fsmc_nand_data - structure for FSMC NAND device state 123 * @pid: Part ID on the AMBA PrimeCell format 124 * @nand: Chip related info for a NAND flash. 170 struct nand_chip *chip = mtd_to_nand(mtd); in fsmc_ecc1_ooblayout_ecc() local [all …]
|
| D | sh_flctl.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on fsl_elbc_nand.c, Copyright (c) 2006-2007 Freescale Semiconductor 16 #include <linux/dma-mapping.h> 35 struct nand_chip *chip = mtd_to_nand(mtd); in flctl_4secc_ooblayout_sp_ecc() local 38 return -ERANGE; in flctl_4secc_ooblayout_sp_ecc() 40 oobregion->offset = 0; in flctl_4secc_ooblayout_sp_ecc() 41 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_sp_ecc() 50 return -ERANGE; in flctl_4secc_ooblayout_sp_free() 52 oobregion->offset = 12; in flctl_4secc_ooblayout_sp_free() 53 oobregion->length = 4; in flctl_4secc_ooblayout_sp_free() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/davicom/ |
| D | dm9051.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * struct rx_ctl_mach - rx activities record 45 * struct dm9051_rxctrl - dm9051 driver rx control 46 * @hash_table: Multicast hash-table data 50 * such as the multicast hash-filter and the receive register settings 58 * struct dm9051_rxhdr - rx packet data header 65 * packet data and ends with an appended 4-byte CRC data. 76 * struct board_info - maintain the saved data 123 ret = regmap_write(db->regmap_dm, reg, val); in dm9051_set_reg() 125 netif_err(db, drv, db->ndev, "%s: error %d set reg %02x\n", in dm9051_set_reg() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
| D | pcnet32.c | 3 * Copyright 1996-1999 Thomas Bogendoerfer 85 static int tx_start = 1; /* Mapping -- 0:20, 1:64, 2:128, 3:~220 (depends on chip vers) */ 113 PCNET32_PORT_ASEL, /* 0 Auto-select */ 117 PCNET32_PORT_10BT | PCNET32_PORT_FD, /* 4 10baseT-FD */ 123 PCNET32_PORT_MII | PCNET32_PORT_FD, /* 10 MII 10baseT-FD */ 127 /* 14 MII 100BaseTx-FD */ 140 #define MAX_UNITS 8 /* More are supported, limit only on options */ 175 #define PKT_BUF_SIZE (PKT_BUF_SKB - NET_IP_ALIGN) 176 /* chip wants twos complement of the (aligned) buffer length */ 177 #define NEG_BUF_SIZE (NET_IP_ALIGN - PKT_BUF_SKB) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
| D | pcnet32.c | 3 * Copyright 1996-1999 Thomas Bogendoerfer 85 static int tx_start = 1; /* Mapping -- 0:20, 1:64, 2:128, 3:~220 (depends on chip vers) */ 113 PCNET32_PORT_ASEL, /* 0 Auto-select */ 117 PCNET32_PORT_10BT | PCNET32_PORT_FD, /* 4 10baseT-FD */ 123 PCNET32_PORT_MII | PCNET32_PORT_FD, /* 10 MII 10baseT-FD */ 127 /* 14 MII 100BaseTx-FD */ 140 #define MAX_UNITS 8 /* More are supported, limit only on options */ 175 #define PKT_BUF_SIZE (PKT_BUF_SKB - NET_IP_ALIGN) 176 /* chip wants twos complement of the (aligned) buffer length */ 177 #define NEG_BUF_SIZE (NET_IP_ALIGN - PKT_BUF_SKB) [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | sm501.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/platform_data/i2c-gpio.h> 25 #include <linux/sm501-regs.h> 135 unsigned long misct = smc501_readl(sm->regs + SM501_MISC_TIMING); in sm501_dump_clk() 136 unsigned long pm0 = smc501_readl(sm->regs + SM501_POWER_MODE_0_CLOCK); in sm501_dump_clk() 137 unsigned long pm1 = smc501_readl(sm->regs + SM501_POWER_MODE_1_CLOCK); in sm501_dump_clk() 138 unsigned long pmc = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL); in sm501_dump_clk() 163 dev_dbg(sm->dev, "MISCT=%08lx, PM0=%08lx, PM1=%08lx\n", in sm501_dump_clk() 166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk() 169 dev_dbg(sm->dev, "SDRAM: PM0=%ld, PM1=%ld\n", sdclk0, sdclk1); in sm501_dump_clk() [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | sm501.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/platform_data/i2c-gpio.h> 25 #include <linux/sm501-regs.h> 135 unsigned long misct = smc501_readl(sm->regs + SM501_MISC_TIMING); in sm501_dump_clk() 136 unsigned long pm0 = smc501_readl(sm->regs + SM501_POWER_MODE_0_CLOCK); in sm501_dump_clk() 137 unsigned long pm1 = smc501_readl(sm->regs + SM501_POWER_MODE_1_CLOCK); in sm501_dump_clk() 138 unsigned long pmc = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL); in sm501_dump_clk() 163 dev_dbg(sm->dev, "MISCT=%08lx, PM0=%08lx, PM1=%08lx\n", in sm501_dump_clk() 166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk() 169 dev_dbg(sm->dev, "SDRAM: PM0=%ld, PM1=%ld\n", sdclk0, sdclk1); in sm501_dump_clk() [all …]
|