Home
last modified time | relevance | path

Searched +full:udma +full:- +full:p (Results 1 – 18 of 18) sorted by relevance

/freebsd-src/sys/contrib/alpine-hal/
H A Dal_hal_udma_debug.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
50 static void al_udma_regs_m2s_axi_print(struct al_udma *udma) in al_udma_regs_m2s_axi_print() argument
53 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, comp_wr_cfg_1); in al_udma_regs_m2s_axi_print()
54 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, comp_wr_cfg_2); in al_udma_regs_m2s_axi_print()
55 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, data_rd_cfg_1); in al_udma_regs_m2s_axi_print()
56 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, data_rd_cfg_2); in al_udma_regs_m2s_axi_print()
57 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, desc_rd_cfg_1); in al_udma_regs_m2s_axi_print()
58 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, desc_rd_cfg_2); in al_udma_regs_m2s_axi_print()
59 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, axi_m2s, data_rd_cfg); in al_udma_regs_m2s_axi_print()
[all …]
H A Dal_hal_udma_main.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
71 static void al_udma_set_defaults(struct al_udma *udma) in al_udma_set_defaults() argument
73 uint8_t rev_id = udma->rev_id; in al_udma_set_defaults()
75 if (udma->type == UDMA_TX) { in al_udma_set_defaults()
77 (struct unit_regs*)udma->udma_regs; in al_udma_set_defaults()
80 * This allows the UDMA to have 16 outstanding writes */ in al_udma_set_defaults()
82 al_reg_write32_masked(&tmp_unit_regs->m2s.m2s_rd.data_cfg, in al_udma_set_defaults()
88 al_reg_write32(&tmp_unit_regs->gen.axi.cfg_1, 1000000); in al_udma_set_defaults()
90 al_reg_write32(&tmp_unit_regs->m2s.m2s_comp.cfg_application_ack in al_udma_set_defaults()
[all …]
H A Dal_hal_udma_iofic.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
107 return -EINVAL; in al_udma_main_iofic_config()
110 al_dbg("%s: base.%p mode %d\n", __func__, base, mode); in al_udma_main_iofic_config()
115 * configure the UDMA interrupt registers, interrupts are kept masked
125 rc = al_udma_main_iofic_config(&regs->gen.interrupt_regs.main_iofic, mode); in al_udma_iofic_config()
129 …al_iofic_unmask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_A, ~m2s_errors_disabl… in al_udma_iofic_config()
130 …al_iofic_abort_mask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_A, m2s_aborts_dis… in al_udma_iofic_config()
132 …al_iofic_unmask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_B, ~s2m_errors_disabl… in al_udma_iofic_config()
133 …al_iofic_abort_mask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_B, s2m_aborts_dis… in al_udma_iofic_config()
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/dma/ti/
H A Dk3-udma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 ---
6 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Peter Ujfalusi <peter.ujfalusi@gmail.com>
15 The UDMA-P is intended to perform similar (but significantly upgraded)
16 functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P
18 The UDMA-P architecture facilitates the segmentation and reassembly of SoC DMA
29 on the Rx PSI-L interface.
31 The UDMA-P also supports acting as both a UTC and UDMA-C for its internal
[all …]
H A Dk3-pktdma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 ---
6 $id: http://devicetree.org/schemas/dma/ti/k3-pktdma.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Peter Ujfalusi <peter.ujfalusi@gmail.com>
16 mode channels of K3 UDMA-P.
17 PKTDMA only includes Split channels to service PSI-L based peripherals.
19 The peripherals can be PSI-L native or legacy, non PSI-L native peripherals
20 with PDMAs. PDMA is tasked to act as a bridge between the PSI-L fabric and the
27 - $ref: /schemas/dma/dma-controller.yaml#
[all …]
H A Dk3-bcdma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 ---
6 $id: http://devicetree.org/schemas/dma/ti/k3-bcdma.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Peter Ujfalusi <peter.ujfalusi@gmail.com>
16 mode channels of K3 UDMA-P.
23 Split channels can be used to service PSI-L based peripherals.
24 The peripherals can be PSI-L native or legacy, non PSI-L native peripherals
25 with PDMAs. PDMA is tasked to act as a bridge between the PSI-L fabric and the
34 - ti,am62a-dmss-bcdma-csirx
[all …]
/freebsd-src/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_ec_regs.h1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
214 /* [0x38] VLAN p-bits table address */
216 /* [0x3c] VLAN p-bits table data */
291 /* [0x0] Per UDMA default configuration */
364 /* [0x4] UDMA MAC SA information for spoofing */
366 /* [0x8] UDMA MAC SA information for spoofing */
468 /* [0x40] Mask of "pause_on" [7:0] for the UDMA stream inter ... */
590 /* [0x8] Multi-stream write, number of Rx packets */
592 /* [0xc] Multi-stream write, number of dropped packets at SO ... */
[all …]
H A Dal_hal_eth_main.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
98 /* tx Meta Descriptor defines - MacSec */
105 #define AL_ETH_TX_MACSEC_SECURED_PYLD_LEN_LSB_SHIFT 10 /* Secure Payload Length (0x3FFF for non-S…
348 * change and wait udma state
350 * @param dma the udma to change its state
364 al_warn("[%s] warn: failed to change state, error %d\n", dma->name, rc); in al_udma_state_set_wait()
376 if (count-- == 0) { in al_udma_state_set_wait()
378 dma->name, al_udma_states_name[new_state]); in al_udma_state_set_wait()
379 return -ETIMEDOUT; in al_udma_state_set_wait()
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/net/
H A Dti,k3-am654-cpsw-nuss.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,k3-am65
[all...]
/freebsd-src/sys/dev/al_eth/
H A Dal_eth.c1 /*-
120 #define AL_ETH_MAC_TABLE_DROP_IDX (AL_ETH_FWD_MAC_NUM - 1)
121 #define AL_ETH_MAC_TABLE_BROADCAST_IDX (AL_ETH_MAC_TABLE_DROP_IDX - 1)
175 #define AL_RX_LOCK_INIT(_sc) mtx_init(&((_sc)->if_rx_lock), "ALRXL", "ALRXL", MTX_DEF)
176 #define AL_RX_LOCK(_sc) mtx_lock(&((_sc)->if_rx_lock))
177 #define AL_RX_UNLOCK(_sc) mtx_unlock(&((_sc)->if_rx_lock))
231 /* flag for napi-like mbuf processing, controlled from sysctl */
291 CTLFLAG_RW, &napi, 0, "Use pseudo-napi mechanism"); in al_attach()
294 adapter->dev = dev; in al_attach()
295 adapter->board_typ in al_attach()
685 al_eth_set_thash_table_entry(struct al_eth_adapter * adapter,uint8_t idx,uint8_t udma,uint32_t queue) al_eth_set_thash_table_entry() argument
[all...]
/freebsd-src/sys/dev/isci/scil/
H A Dscif_sas_remote_device.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
78 //* P U B L I C M E T H O D S
89 // ---------------------------------------------------------------------------
114 fw_device->domain = fw_domain; in scif_remote_device_construct()
115 fw_device->destruct_when_stopped = FALSE; in scif_remote_device_construct()
116 //fw_device->parent.is_failed = FALSE; in scif_remote_device_construct()
[all …]
H A Dsati_unmap.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
73 //* P R I V A T E M E T H O D S
87 U32 blocks = (dsm_descriptor_count * sizeof(TRIM_PAIR))/sequence->device->logical_block_size; in sati_unmap_calculate_dsm_blocks()
88 if ((dsm_descriptor_count * sizeof(TRIM_PAIR)) % sequence->device->logical_block_size) in sati_unmap_calculate_dsm_blocks()
99 * - setting the command register
100 * - setting the device head register
[all …]
H A Dsati_move.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
72 //* P R I V A T E M E T H O D S
98 if (sequence->data_direction == SATI_DATA_DIRECTION_OUT) in sati_move_set_ata_command()
105 * @brief This method will translate the SCSI transfer count from the 6-byte
107 * note for 48-bit UDMA requests, the caller must set the sector
135 if (sequence->data_direction == SATI_DATA_DIRECTION_IN) in sati_move_small_udma_translate_command()
[all …]
/freebsd-src/sys/dev/mvs/
H A Dmvs.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 #define IC_HC0 0x000001ff /* bits 0-8 = HC0 */
44 #define IC_HC1 (IC_HC0 << IC_HC_SHIFT) /* 9-17 = HC1 */
58 #define IC_MAIN_RSVD (0xfe000000) /* bits 31-25 */
59 #define IC_MAIN_RSVD_5 (0xfff10000) /* bits 31-19 */
60 #define IC_MAIN_RSVD_SOC (0xfffffec0) /* bits 31-9, 7-6 */
65 #define CHIP_SOC_HC0_MASK(num) (0xff >> ((4 - (num)) * 2))
86 #define HC_CFG_COALDIS(p) (1 << ((p) + 24))/* Coalescing Disable*/ argument
87 #define HC_RQOP 0x4 /* Request Queue Out-Pointer */
[all …]
/freebsd-src/sys/dev/ata/
H A Data-all.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1998 - 2008 Søren Schmidt <sos@FreeBSD.org>
60 #define ATA_E_ICRC 0x80 /* UDMA crc error */
289 if (request->flags & ATA_R_DEBUG) \
290 device_printf(request->parent, "req=%p %s " string "\n", \
438 struct ata_cam_device user[16]; /* User-specified settings */
457 /* ata-all.c: */
475 /* ata-lowlevel.c: */
482 /* ata-dma.c: */
[all …]
/freebsd-src/sys/dev/hptmv/
H A Dentry.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2004-2005 HighPoint Technologies, Inc.
164 * Parameters: pMvSataAdapter - pointer to the RR18xx controller this
166 * channelNum - channel number.
173 pAdapter->mvSataAdapter.sataChannel[channelNum] = NULL; in hptmv_free_channel()
178 PVBus _vbus_p = pVDev->pVBu in failDevice()
1232 PBUS_DMAMAP p = pAdapter->pbus_dmamap_list; dmamap_get() local
1239 dmamap_put(PBUS_DMAMAP p) dmamap_put() argument
2384 ST_HPT_DPC p; hpt_worker_thread() local
2913 int p; hpt_queue_dpc() local
2951 os_free_page(_VBUS_ARG void * p) os_free_page() argument
2957 os_free_dma_page(_VBUS_ARG void * p) os_free_dma_page() argument
[all...]
/freebsd-src/share/misc/
H A Dpci_vendors5 # Date: 2024-11-25 03:15:02
8 # the PCI ID Project at https://pci-ids.ucw.cz/.
14 # (version 2 or higher) or the 3-clause BSD License.
25 # device device_name <-- single tab
26 # subvendor subdevice subsystem_name <-- two tabs
30 # This is a relabelled RTL-8139
31 8139 AT-250
[all...]
/freebsd-src/sbin/camcontrol/
H A Dcamcontrol.c2 * Copyright (c) 1997-2007 Kenneth D. Merry
179 static const char smppc_opts[] = "a:A:d:lm:M:o:p:s:S:T:";
209 {"devlist", CAM_CMD_DEVTREE, CAM_ARG_NONE, "-b"},
230 {"attrib", CAM_CMD_ATTRIB, CAM_ARG_NONE, "a:ce:F:p:r:s:T:w:V:"},
232 {"zone", CAM_CMD_ZONE, CAM_ARG_NONE, "ac:l:No:P:"},
238 {"-?", CAM_CMD_USAGE, CAM_ARG_NONE, NULL},
239 {"-h", CAM_CMD_USAGE, CAM_ARG_NONE, NULL},
380 for (opts = table; (opts != NULL) && (opts->optname != NULL); in getoption()
382 if (strncmp(opts->optname, arg, strlen(arg)) == 0) { in getoption()
383 *cmdnum = opts->cmdnu in getoption()
[all...]