Home
last modified time | relevance | path

Searched +full:dma +full:- +full:info (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/freebsd/sys/dev/drm2/
H A Ddrm_sysctl.c1 /*-
60 struct drm_sysctl_info *info; in drm_sysctl_init() local
65 info = malloc(sizeof *info, DRM_MEM_DRIVER, M_WAITOK | M_ZERO); in drm_sysctl_init()
66 dev->sysctl = info; in drm_sysctl_init()
69 drioid = SYSCTL_ADD_NODE(&info->ctx, SYSCTL_CHILDREN(&sysctl___hw), OID_AUTO, in drm_sysctl_init()
72 free(dev->sysctl, DRM_MEM_DRIVER); in drm_sysctl_init()
73 dev->sysctl = NULL; in drm_sysctl_init()
74 return (-ENOMEM); in drm_sysctl_init()
80 if (i <= oid->oid_arg2) in drm_sysctl_init()
81 i = oid->oid_arg2 + 1; in drm_sysctl_init()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_dma.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
112 /* DMA Control Block - 256bit aligned (p.40) */
114 uint32_t info; /* Transfer Information */ member
129 /* DMA channel private info */
154 {"broadcom,bcm2835-dma", 1},
155 {"brcm,bcm2835-dma", 1},
183 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch)); in bcm_dma_reset()
187 bus_write_4(sc->sc_mem, BCM_DMA_CS(ch), 0); in bcm_dma_reset()
191 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch)); in bcm_dma_reset()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
32 struct rtw89_pci *rtwpci = (struct rtw89_pci *)rtwdev->priv; in rtw89_pci_rst_bdram_pcie()
33 struct pci_dev *pdev = rtwpci->pdev; in rtw89_pci_rst_bdram_pcie()
48 return -EFAULT; in rtw89_pci_dma_recalc()
72 const struct rtw89_pci_info *info = rtwdev->pci_inf in rtw89_pci_txbd_recalc()
144 dma_addr_t dma; rtw89_pci_sync_skb_for_cpu() local
156 dma_addr_t dma; rtw89_pci_sync_skb_for_device() local
181 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ctrl_txdma_ch_pcie() local
198 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ctrl_txdma_fw_ch_pcie() local
373 struct ieee80211_tx_info *info; rtw89_pci_tx_status() local
827 DEF_TXCHADDRS_TYPE1(info,txch,v...) global() argument
836 DEF_TXCHADDRS(info,txch,v...) global() argument
845 DEF_RXCHADDRS(info,rxch,v...) global() argument
907 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_get_txch_addrs() local
921 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_get_rxch_addrs() local
1125 const struct rtw89_pci_info *info = rtwdev->pci_info; __rtw89_pci_ops_flush_txchs() local
1148 rtw89_pci_fill_txaddr_info(struct rtw89_dev * rtwdev,void * txaddr_info_addr,u32 total_len,dma_addr_t dma,u8 * add_info_nr) rtw89_pci_fill_txaddr_info() argument
1165 rtw89_pci_fill_txaddr_info_v1(struct rtw89_dev * rtwdev,void * txaddr_info_addr,u32 total_len,dma_addr_t dma,u8 * add_info_nr) rtw89_pci_fill_txaddr_info_v1() argument
1217 dma_addr_t dma; rtw89_pci_txwd_submit() local
1279 dma_addr_t dma; rtw89_pci_fwcmd_submit() local
1434 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_reset_trx_rings() local
1493 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ops_reset() local
1572 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_switch_bd_idx_addr() local
1748 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ctrl_dma_trx() local
2313 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_set_lbc() local
2332 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_set_io_rcy() local
2381 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_clr_idx_all() local
2403 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_poll_txdma_ch_idle_pcie() local
2430 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_poll_rxdma_ch_idle_pcie() local
2465 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_mode_op() local
2554 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ops_deinit() local
2569 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ops_mac_pre_init() local
2726 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_ops_mac_post_init() local
2844 dma_addr_t dma = wd_ring->dma; rtw89_pci_free_tx_wd_ring() local
2859 dma_addr_t dma; rtw89_pci_free_tx_ring() local
2873 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_free_tx_rings() local
2892 dma_addr_t dma; rtw89_pci_free_rx_ring() local
2944 dma_addr_t dma; rtw89_pci_init_rx_bd() local
2971 dma_addr_t dma; rtw89_pci_alloc_tx_wd_ring() local
3024 dma_addr_t dma; rtw89_pci_alloc_tx_ring() local
3067 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_pci_alloc_tx_rings() local
3112 dma_addr_t dma; rtw89_pci_alloc_rx_ring() local
3922 const struct rtw89_driver_info *info; rtw89_pci_probe() local
[all...]
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
1327 dma_addr_t dma, u8 *add_info_nr);
1337 dma_addr_t dma;
1341 dma_addr_t dma;
1350 __le32 dma;
1370 __le32 dma;
810 dma_addr_t dma; global() member
814 dma_addr_t dma; global() member
823 __le32 dma; global() member
843 __le32 dma; global() member
875 __le32 dma; global() member
900 dma_addr_t dma; global() member
911 dma_addr_t dma; global() member
976 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); RTW89_PCI_RX_SKB_CB() local
1093 rtw89_chip_fill_txaddr_info(struct rtw89_dev * rtwdev,void * txaddr_info_addr,u32 total_len,dma_addr_t dma,u8 * add_info_nr) rtw89_chip_fill_txaddr_info() argument
1095 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_chip_fill_txaddr_info() local
1105 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_chip_config_intr_mask() local
1137 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_chip_enable_intr() local
1145 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_chip_disable_intr() local
1155 const struct rtw89_pci_info *info = rtwdev->pci_info; rtw89_chip_recognize_intrs() local
[all...]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslrestype1i.c3 * Module Name: aslrestype1i - Small I/O-related resource descriptors
11 * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
159 * This module contains the I/O-related small resource descriptors:
161 * DMA
173 * PARAMETERS: Info - Parse Op and resource template offset
[all …]
/freebsd/sys/dev/usb/
H A Dusb_busdma.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
78 /*------------------------------------------------------------------------*
79 * usbd_get_page - lookup DMA-able memory for the given offset
83 *------------------------------------------------------------------------*/
91 if (pc->page_start) { in usbd_get_page()
92 /* Case 1 - something has been loaded into DMA */ in usbd_get_page()
94 if (pc->buffer) { in usbd_get_page()
95 /* Case 1a - Kernel Virtual Address */ in usbd_get_page()
97 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
[all …]
H A Dusb_transfer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2008-2021 Hans Petter Selasky. All rights reserved.
147 /*------------------------------------------------------------------------*
149 *------------------------------------------------------------------------*/
153 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) in usb_request_callback()
159 /*------------------------------------------------------------------------*
164 *------------------------------------------------------------------------*/
169 /* this computation should not overflow 16-bit */ in usbd_update_max_frame_size()
172 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
[all …]
/freebsd/stand/usb/
H A Dusb_busdma_loader.c1 /*-
33 /*------------------------------------------------------------------------*
34 * usbd_get_page - lookup DMA-able memory for the given offset
38 *------------------------------------------------------------------------*/
46 if (pc->page_start) { in usbd_get_page()
48 /* Case 1 - something has been loaded into DMA */ in usbd_get_page()
50 if (pc->buffer) { in usbd_get_page()
52 /* Case 1a - Kernel Virtual Address */ in usbd_get_page()
54 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
56 offset += pc->page_offset_buf; in usbd_get_page()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/tilcdc/
H A Dpanel.txt1 Device-Tree bindings for tilcdc DRM generic panel output driver
4 - compatible: value should be "ti,tilcdc,panel".
5 - panel-info: configuration info to configure LCDC correctly for the panel
6 - ac-bias: AC Bias Pin Frequency
7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
8 - dma-burst-sz: DMA burst size
9 - bpp: Bits per pixel
10 - fdd: FIFO DMA Request Delay
11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
[all …]
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmresrcs.c3 * Module Name: dmresrcs.c - "Small" Resource Descriptor disassembly
11 * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
165 * PARAMETERS: Info - Extra resource info
166 * Resource - Pointer to the resource descriptor
167 * Length - Length of the descriptor in bytes
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dcis.h6 *-------------------------------------------------------------------------
8 /*-
9 * SPDX-License-Identifier: BSD-3-Clause
65 #define CIS_INFO_V1 0x15 /* Card info data, version 1 */
72 #define CIS_DEVICE_OC 0x1C /* Other conditions info - common memory */
73 #define CIS_DEVICE_OA 0x1D /* Other conditions info - attribute memory */
74 #define CIS_DEVICEGEO 0x1E /* Geometry info for common memory */
75 #define CIS_DEVICEGEO_A 0x1F /* Geometry info for attribute memory */
83 #define CIS_VERS_2 0x40 /* Card info data, version 2 */
98 * 0xF0 - Device type
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_unsol.c1 /*-
49 ocs_node_fcid_display(fc_be24toh((hdr)->s_id), s_id_text, sizeof(s_id_text)); \
50 ocs_log_debug(ocs, "[%06x.%s] %02x/%04x/%04x: " fmt, fc_be24toh((hdr)->d_id), s_id_text, \
51 (hdr)->r_ctl, ocs_be16toh((hdr)->ox_id), ocs_be16toh((hdr)->rx_id), ##__VA_ARGS__); \
74 * @return Returns 0 on success, or a non-zero value on failure.
79 ocs_xport_rq_thread_info_t *thread_data = mythread->arg; in ocs_unsol_rq_thread()
80 ocs_t *ocs = thread_data->ocs; in ocs_unsol_rq_thread()
84 ocs_log_debug(ocs, "%s running\n", mythread->name); in ocs_unsol_rq_thread()
86 seq = ocs_cbuf_get(thread_data->seq_cbuf, 100000); in ocs_unsol_rq_thread()
89 ocs_thread_yield(&thread_data->thread); in ocs_unsol_rq_thread()
[all …]
/freebsd/sys/sys/
H A Data.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2000 - 2008 Søren Schmidt <sos@FreeBSD.org>
37 /*000*/ u_int16_t config; /* configuration info */
46 #define ATA_ATAPI_TYPE_CDROM 0x0500 /* CD-ROM device */
79 /*051*/ u_int16_t retired_piomode; /* PIO modes 0-2 */
82 /*052*/ u_int16_t retired_dmamode; /* DMA modes */
86 #define ATA_FLAG_54_58 0x0001 /* words 54-58 valid */
87 #define ATA_FLAG_64_70 0x0002 /* words 64-70 valid */
107 /*063*/ u_int16_t mwdmamodes; /* multiword DMA modes */
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2018-2019 Realtek Corporation
157 return rp - wp - 1; in avail_desc()
159 return len - wp + rp - in avail_desc()
168 __le32 dma; global() member
172 dma_addr_t dma; global() member
178 dma_addr_t dma; global() member
196 __le32 dma; global() member
261 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); rtw_pci_get_tx_data() local
[all...]
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
54 return skb->priority; in rtw_pci_get_tx_qsel()
60 struct rtw_pci *rtwpci = (struct rtw_pci *)rtwdev->priv; in rtw_pci_read8()
63 return readb(rtwpci->mmap + addr); in rtw_pci_read8()
67 val = bus_read_1((struct resource *)rtwpci->mma in rtw_pci_read8()
145 dma_addr_t dma; rtw_pci_free_tx_ring_skbs() local
179 dma_addr_t dma; rtw_pci_free_rx_ring_skbs() local
230 dma_addr_t dma; rtw_pci_init_tx_ring() local
262 dma_addr_t dma; rtw_pci_reset_rx_desc() local
281 rtw_pci_sync_rx_desc_device(struct rtw_dev * rtwdev,dma_addr_t dma,struct rtw_pci_rx_ring * rx_ring,u32 idx,u32 desc_sz) rtw_pci_sync_rx_desc_device() argument
304 dma_addr_t dma; rtw_pci_init_rx_ring() local
446 dma_addr_t dma; rtw_pci_reset_buf_desc() local
722 dma_addr_t dma; rtw_pci_release_rsvd_page() local
857 dma_addr_t dma; rtw_pci_tx_write_data() local
999 struct ieee80211_tx_info *info; rtw_pci_tx_isr() local
1112 dma_addr_t dma; rtw_pci_rx_napi() local
[all...]
/freebsd/sys/dev/mxge/
H A Dif_mxge.c2 SPDX-License-Identifier: BSD-2-Clause
4 Copyright (c) 2006-2013, Myricom Inc.
161 device_set_desc(dev, "Myri10G-PCIE-8A"); in mxge_probe()
164 device_set_desc(dev, "Myri10G-PCIE-8B"); in mxge_probe()
167 device_set_desc(dev, "Myri10G-PCIE-8??"); in mxge_probe()
184 sc->wc = 1; in mxge_enable_wc()
185 len = rman_get_size(sc->mem_res); in mxge_enable_wc()
186 err = pmap_change_attr((vm_offset_t) sc->sram, in mxge_enable_wc()
189 device_printf(sc->dev, "pmap_change_attr failed, %d\n", in mxge_enable_wc()
191 sc->wc = 0; in mxge_enable_wc()
[all …]
/freebsd/sys/dev/liquidio/base/
H A Dlio_droq.h45 * The descriptor ring is made of descriptors which have 2 64-bit values:
46 * -# Physical (bus) address of the data buffer.
47 * -# Physical (bus) address of a lio_droq_info structure.
48 * The Octeon device DMA's incoming packets and its information at the address
55 /* The Info pointer */
62 * Information about packet DMA'ed by Octeon.
63 * The format of the information available at Info Pointer after Octeon
65 * the Info field of the first descriptor for a packet has information
131 * output/dma queue. Set to 64 assuming 1K buffers in DROQ and the fact that
138 * with non-raw opcodes.
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2003-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
18 #include "iwl-f
[all...]
/freebsd/sys/dev/mthca/
H A Dmthca_cmd.c16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
154 * commands. So we can't use strict timeouts described in PRM -- we
193 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit()
205 void __iomem *ptr = dev->cmd.dbell_map; in mthca_cmd_post_dbell()
206 u16 *offs = dev->cmd.dbell_offsets; in mthca_cmd_post_dbell()
248 return -EAGAIN; in mthca_cmd_post_hcr()
256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr()
257 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr()
258 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr()
[all …]
/freebsd/tools/bus_space/examples/
H A Dam79c900_diag.py56 from bus import dma as busdma
127 logging.error('Not an AMD PCnet-PCI (vendor=%x, device=%x)' %
133 logging.info('enabling I/O port decoding')
138 logging.info('enabling bus mastering')
153 y = (1 + (x ^ (x-1))) >> 1
208 logging.info('ethernet address = ' + MACFMT % mac)
219 logging.debug("DMA memory: size = %#x (TX buffers: %u, RX buffers: %u)" %
228 logging.debug("DMA memory: CPU address: %#x, device address: %#x" %
238 ib.mode = ((ffs(ntxbufs) - 1) << 28) | ((ffs(nrxbufs) - 1) << 20)
243 ib.rxdesc = busaddr + (addr_rxdesc - cpuaddr)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/serial/
H A Dfsl-imx-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/fsl-im
[all...]
/freebsd/sys/net/
H A Diflib.c1 /*-
2 * Copyright (c) 2014-2018, Matthew Macy <mmacy@mattmacy.io>
107 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead
110 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which
112 * - small packet forwarding which is just returning a single mbuf to
119 * - private structures
120 * - iflib private utility functions
121 * - ifnet functions
122 * - vlan registry and other exported functions
123 * - iflib public core functions
[all …]
/freebsd/sys/dev/enic/
H A Dvnic_devcmd.h1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2008-2017 Cisco Systems, Inc. All rights reserved.
14 #define _CMD_NMASK ((1 << _CMD_NBITS)-1)
15 #define _CMD_VTYPEMASK ((1 << _CMD_VTYPEBITS)-1)
16 #define _CMD_FLAGSMASK ((1 << _CMD_FLAGSBITS)-1)
17 #define _CMD_DIRMASK ((1 << _CMD_DIRBITS)-1)
72 * mcpu fw info in mem:
83 * mcpu fw info in mem:
100 /* dev-specific block member:
179 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/hisilicon/
H A Dhisi-ade.txt1 Device-Tree bindings for hisilicon ADE display controller driver
8 - compatible: value should be "hisilicon,hi6220-ade".
9 - reg: physical base address and length of the ADE controller's registers.
10 - hisilicon,noc-syscon: ADE NOC QoS syscon.
11 - resets: The ADE reset controller node.
12 - interrupt: the ldi vblank interrupt number used.
13 - clocks: a list of phandle + clock-specifier pairs, one for each entry
14 in clock-names.
15 - clock-names: should contain:
20 - assigned-clocks: Should contain "clk_ade_core" and "clk_codec_jpeg" clocks'
[all …]
/freebsd/sys/contrib/dev/acpica/components/resources/
H A Drsmisc.c3 * Module Name: rsmisc - Miscellaneous resource descriptors
11 * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
160 #define INIT_RESOURCE_TYPE(i) i->ResourceOffset
161 #define INIT_RESOURCE_LENGTH(i) i->AmlOffset
162 #define INIT_TABLE_LENGTH(i) i->Value
[all …]

12345678910>>...18