Home
last modified time | relevance | path

Searched +full:data +full:- +full:mapping (Results 1 – 25 of 1063) sorted by relevance

12345678910>>...43

/linux/drivers/gpu/drm/tegra/
H A Duapi.c1 // SPDX-License-Identifier: GPL-2.0-only
17 struct tegra_drm_mapping *mapping = in tegra_drm_mapping_release() local
20 host1x_bo_unpin(mapping->map); in tegra_drm_mapping_release()
21 host1x_bo_put(mapping->bo); in tegra_drm_mapping_release()
23 kfree(mapping); in tegra_drm_mapping_release()
26 void tegra_drm_mapping_put(struct tegra_drm_mapping *mapping) in tegra_drm_mapping_put() argument
28 kref_put(&mapping->ref, tegra_drm_mapping_release); in tegra_drm_mapping_put()
33 struct tegra_drm_mapping *mapping; in tegra_drm_channel_context_close() local
36 if (context->memory_context) in tegra_drm_channel_context_close()
37 host1x_memory_context_put(context->memory_context); in tegra_drm_channel_context_close()
[all …]
H A Dsubmit.c1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <linux/dma-fence-array.h>
5 #include <linux/dma-mapping.h>
27 dev_err_ratelimited(context->client->base.dev, \
29 current->comm, ##__VA_ARGS__)
46 kref_get(&bo->ref); in gather_bo_get()
55 dma_free_attrs(bo->dev, bo->gather_data_words * 4, bo->gather_data, bo->gather_data_dma, in gather_bo_release()
64 kref_put(&bo->ref, gather_bo_release); in gather_bo_put()
76 return ERR_PTR(-ENOMEM); in gather_bo_pin()
78 kref_init(&map->ref); in gather_bo_pin()
[all …]
/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * uvc_ctrl.c -- USB Video Class driver - Controls
5 * Copyright (C) 2005-2010
23 #include <media/v4l2-ctrls.h>
35 /* ------------------------------------------------------------------------
373 * device. The custom menu_mapping in the control @mapping is used when
380 * The function returns -EINVAL if the V4L2 menu index @idx isn't valid for the
384 static int uvc_mapping_get_menu_value(const struct uvc_control_mapping *mapping, in uvc_mapping_get_menu_value() argument
387 if (!test_bit(idx, &mapping->menu_mask)) in uvc_mapping_get_menu_value()
388 return -EINVAL; in uvc_mapping_get_menu_value()
[all …]
/linux/include/linux/spi/
H A Dspi-mem.h1 /* SPDX-License-Identifier: GPL-2.0+ */
59 * enum spi_mem_data_dir - describes the direction of a SPI memory data
61 * @SPI_MEM_NO_DATA: no data transferred
62 * @SPI_MEM_DATA_IN: data coming from the SPI memory
63 * @SPI_MEM_DATA_OUT: data sent to the SPI memory
72 * struct spi_mem_op - describes a SPI memory operation
74 * sent MSB-first.
90 * @data.buswidth: number of IO lanes used to send/receive the data
91 * @data.dtr: whether the data should be sent in DTR mode or not
92 * @data.ecc: whether error correction is required or not
[all …]
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_pcie.h1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
35 * enum ipc_pcie_sleep_state - Enum type to different sleep state transitions
45 * struct iosm_pcie - IPC_PCIE struct.
54 * @imem: Pointer to imem data struct
81 * struct ipc_skb_cb - Struct definition of the socket buffer which is mapped to
83 * @mapping: Store physical or IOVA mapped address of skb virtual add.
89 dma_addr_t mapping; member
96 * enum ipc_ul_usr_op - Control operation to execute the right action on
110 * ipc_pcie_addr_map - Maps the kernel's virtual address to either IOVA
[all …]
/linux/drivers/net/xen-netback/
H A Dhash.c46 memcpy(new->tag, tag, len); in xenvif_add_hash()
47 new->len = len; in xenvif_add_hash()
48 new->val = val; in xenvif_add_hash()
50 spin_lock_irqsave(&vif->hash.cache.lock, flags); in xenvif_add_hash()
54 list_for_each_entry_rcu(entry, &vif->hash.cache.list, link, in xenvif_add_hash()
55 lockdep_is_held(&vif->hash.cache.lock)) { in xenvif_add_hash()
57 if (entry->len == len && in xenvif_add_hash()
58 memcmp(entry->tag, tag, len) == 0) in xenvif_add_hash()
60 if (!oldest || entry->seq < oldest->seq) in xenvif_add_hash()
65 new->seq = atomic_inc_return(&vif->hash.cache.seq); in xenvif_add_hash()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dlvds-data-mapping.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/lvds-data-mapping.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LVDS Data Mapping
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
15 incompatible data link layers have been used over time to transmit image data
19 [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-zoned.rst2 dm-zoned
5 The dm-zoned device mapper target exposes a zoned block device (ZBC and
7 pattern constraints. In effect, it implements a drive-managed zoned
10 host-managed zoned block devices and can mitigate the potential
11 device-side performance degradation due to excessive random writes on
12 host-aware zoned block devices.
21 http://www.t13.org/Documents/UploadedDocuments/docs2015/di537r05-Zoned_Device_ATA_Command_Set_ZAC.p…
23 The dm-zoned implementation is simple and minimizes system overhead (CPU
25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk
29 dm-zoned target devices are formatted and checked using the dmzadm
[all …]
H A Dvdo-design.rst1 .. SPDX-License-Identifier: GPL-2.0-only
4 Design of dm-vdo
7 The dm-vdo (virtual data optimizer) target provides inline deduplication,
8 compression, zero-block elimination, and thin provisioning. A dm-vdo target
12 production environments ever since. It was made open-source in 2017 after
14 dm-vdo. For usage, see vdo.rst in the same directory as this file.
25 The design of dm-vdo is based on the idea that deduplication is a two-part
26 problem. The first is to recognize duplicate data. The second is to avoid
27 storing multiple copies of those duplicates. Therefore, dm-vdo has two main
29 duplicate data, and a data store with a reference counted block map that
[all …]
/linux/Documentation/trace/
H A Dring-buffer-map.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Tracefs ring-buffer memory mapping
11 Tracefs ring-buffer memory map provides an efficient method to stream data
12 as no memory copy is necessary. The application mapping the ring-buffer becomes
13 then a consumer for that ring-buffer, in a similar fashion to trace_pipe.
15 Memory mapping setup
17 The mapping works with a mmap() of the trace_pipe_raw interface.
19 The first system page of the mapping contains ring-buffer statistics and
20 description. It is referred to as the meta-page. One of the most important
21 fields of the meta-page is the reader. It contains the sub-buffer ID which can
[all …]
/linux/arch/arm/mm/
H A Dflush.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1995-2002 Russell King
48 : "r" (to), "r" (to + PAGE_SIZE - 1), "r" (zero) in flush_pfn_alias()
55 unsigned long offset = vaddr & (PAGE_SIZE - 1); in flush_icache_alias()
94 if (vma->vm_flags & VM_EXEC) in flush_cache_range()
110 if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged()) in flush_cache_pages()
145 /* VIPT non-aliasing D-cache */ in __flush_ptrace_access()
163 if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(vma->vm_mm))) in flush_ptrace_access()
165 if (vma->vm_flags & VM_EXEC) in flush_ptrace_access()
179 * Copy user data from/to a page which is mapped into a different
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 dma_addr_t mapping; in qede_alloc_rx_buffer() local
32 struct page *data; in qede_alloc_rx_buffer() local
34 /* In case lazy-allocation is allowed, postpone allocation until the in qede_alloc_rx_buffer()
38 if (allow_lazy && likely(rxq->filled_buffers > 12)) { in qede_alloc_rx_buffer()
39 rxq->filled_buffers--; in qede_alloc_rx_buffer()
43 data = alloc_pages(GFP_ATOMIC, 0); in qede_alloc_rx_buffer()
44 if (unlikely(!data)) in qede_alloc_rx_buffer()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_of.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/media-bus-format.h>
25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node
39 if (tmp->port == port) in drm_of_crtc_port_mask()
50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port
83 * drm_of_component_match_add - Add a component helper OF node match rule
101 * drm_of_component_probe - Generic probe function for a component based master
121 if (!dev->of_node) in drm_of_component_probe()
122 return -EINVAL; in drm_of_component_probe()
129 port = of_parse_phandle(dev->of_node, "ports", i); in drm_of_component_probe()
[all …]
/linux/mm/
H A Dfilemap.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1994-1999 Linus Torvalds
30 #include <linux/error-injection.h>
33 #include <linux/backing-dev.h>
72 * finished 'unifying' the page and buffer cache and SMP-threaded the
73 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com>
75 * SMP-threade
129 mapping_set_update(struct xa_state * xas,struct address_space * mapping) mapping_set_update() argument
137 page_cache_delete(struct address_space * mapping,struct folio * folio,void * shadow) page_cache_delete() argument
158 filemap_unaccount_folio(struct address_space * mapping,struct folio * folio) filemap_unaccount_folio() argument
229 struct address_space *mapping = folio->mapping; __filemap_remove_folio() local
236 filemap_free_folio(struct address_space * mapping,struct folio * folio) filemap_free_folio() argument
260 struct address_space *mapping = folio->mapping; filemap_remove_folio() local
287 page_cache_delete_batch(struct address_space * mapping,struct folio_batch * fbatch) page_cache_delete_batch() argument
328 delete_from_page_cache_batch(struct address_space * mapping,struct folio_batch * fbatch) delete_from_page_cache_batch() argument
354 filemap_check_errors(struct address_space * mapping) filemap_check_errors() argument
368 filemap_check_and_keep_errors(struct address_space * mapping) filemap_check_and_keep_errors() argument
388 filemap_fdatawrite_wbc(struct address_space * mapping,struct writeback_control * wbc) filemap_fdatawrite_wbc() argument
421 __filemap_fdatawrite_range(struct address_space * mapping,loff_t start,loff_t end,int sync_mode) __filemap_fdatawrite_range() argument
434 __filemap_fdatawrite(struct address_space * mapping,int sync_mode) __filemap_fdatawrite() argument
440 filemap_fdatawrite(struct address_space * mapping) filemap_fdatawrite() argument
446 filemap_fdatawrite_range(struct address_space * mapping,loff_t start,loff_t end) filemap_fdatawrite_range() argument
462 filemap_flush(struct address_space * mapping) filemap_flush() argument
480 filemap_range_has_page(struct address_space * mapping,loff_t start_byte,loff_t end_byte) filemap_range_has_page() argument
511 __filemap_fdatawait_range(struct address_space * mapping,loff_t start_byte,loff_t end_byte) __filemap_fdatawait_range() argument
556 filemap_fdatawait_range(struct address_space * mapping,loff_t start_byte,loff_t end_byte) filemap_fdatawait_range() argument
578 filemap_fdatawait_range_keep_errors(struct address_space * mapping,loff_t start_byte,loff_t end_byte) filemap_fdatawait_range_keep_errors() argument
604 struct address_space *mapping = file->f_mapping; file_fdatawait_range() local
625 filemap_fdatawait_keep_errors(struct address_space * mapping) filemap_fdatawait_keep_errors() argument
633 mapping_needs_writeback(struct address_space * mapping) mapping_needs_writeback() argument
638 filemap_range_has_writeback(struct address_space * mapping,loff_t start_byte,loff_t end_byte) filemap_range_has_writeback() argument
676 filemap_write_and_wait_range(struct address_space * mapping,loff_t lstart,loff_t lend) filemap_write_and_wait_range() argument
703 __filemap_set_wb_err(struct address_space * mapping,int err) __filemap_set_wb_err() argument
739 struct address_space *mapping = file->f_mapping; file_check_and_advance_wb_err() local
782 struct address_space *mapping = file->f_mapping; file_write_and_wait_range() local
816 struct address_space *mapping = old->mapping; replace_page_cache_folio() local
851 __filemap_add_folio(struct address_space * mapping,struct folio * folio,pgoff_t index,gfp_t gfp,void ** shadowp) __filemap_add_folio() argument
961 filemap_add_folio(struct address_space * mapping,struct folio * folio,pgoff_t index,gfp_t gfp) filemap_add_folio() argument
1749 page_cache_next_miss(struct address_space * mapping,pgoff_t index,unsigned long max_scan) page_cache_next_miss() argument
1785 page_cache_prev_miss(struct address_space * mapping,pgoff_t index,unsigned long max_scan) page_cache_prev_miss() argument
1834 filemap_get_entry(struct address_space * mapping,pgoff_t index) filemap_get_entry() argument
1881 __filemap_get_folio(struct address_space * mapping,pgoff_t index,fgf_t fgp_flags,gfp_t gfp) __filemap_get_folio() argument
2040 find_get_entries(struct address_space * mapping,pgoff_t * start,pgoff_t end,struct folio_batch * fbatch,pgoff_t * indices) find_get_entries() argument
2089 find_lock_entries(struct address_space * mapping,pgoff_t * start,pgoff_t end,struct folio_batch * fbatch,pgoff_t * indices) find_lock_entries() argument
2157 filemap_get_folios(struct address_space * mapping,pgoff_t * start,pgoff_t end,struct folio_batch * fbatch) filemap_get_folios() argument
2179 filemap_get_folios_contig(struct address_space * mapping,pgoff_t * start,pgoff_t end,struct folio_batch * fbatch) filemap_get_folios_contig() argument
2250 filemap_get_folios_tag(struct address_space * mapping,pgoff_t * start,pgoff_t end,xa_mark_t tag,struct folio_batch * fbatch) filemap_get_folios_tag() argument
2317 filemap_get_read_batch(struct address_space * mapping,pgoff_t index,pgoff_t max,struct folio_batch * fbatch) filemap_get_read_batch() argument
2379 filemap_range_uptodate(struct address_space * mapping,loff_t pos,size_t count,struct folio * folio,bool need_uptodate) filemap_range_uptodate() argument
2404 filemap_update_page(struct kiocb * iocb,struct address_space * mapping,size_t count,struct folio * folio,bool need_uptodate) filemap_update_page() argument
2460 filemap_create_folio(struct file * file,struct address_space * mapping,loff_t pos,struct folio_batch * fbatch) filemap_create_folio() argument
2508 filemap_readahead(struct kiocb * iocb,struct file * file,struct address_space * mapping,struct folio * folio,pgoff_t last_index) filemap_readahead() argument
2523 struct address_space *mapping = filp->f_mapping; filemap_get_pages() local
2611 struct address_space *mapping = filp->f_mapping; filemap_read() local
2717 struct address_space *mapping = iocb->ki_filp->f_mapping; kiocb_write_and_wait() local
2731 filemap_invalidate_pages(struct address_space * mapping,loff_t pos,loff_t end,bool nowait) filemap_invalidate_pages() argument
2758 struct address_space *mapping = iocb->ki_filp->f_mapping; kiocb_invalidate_pages() local
2798 struct address_space *mapping = file->f_mapping; generic_file_read_iter() local
2980 folio_seek_hole_data(struct xa_state * xas,struct address_space * mapping,struct folio * folio,loff_t start,loff_t end,bool seek_data) folio_seek_hole_data() argument
3037 mapping_seek_hole_data(struct address_space * mapping,loff_t start,loff_t end,int whence) mapping_seek_hole_data() argument
3142 struct address_space *mapping = file->f_mapping; do_sync_mmap_readahead() local
3302 struct address_space *mapping = file->f_mapping; filemap_fault() local
3487 next_uptodate_folio(struct xa_state * xas,struct address_space * mapping,pgoff_t end_pgoff) next_uptodate_folio() argument
3631 struct address_space *mapping = file->f_mapping; filemap_map_pages() local
3701 struct address_space *mapping = vmf->vma->vm_file->f_mapping; filemap_page_mkwrite() local
3735 struct address_space *mapping = file->f_mapping; generic_file_mmap() local
3772 do_read_cache_folio(struct address_space * mapping,pgoff_t index,filler_t filler,struct file * file,gfp_t gfp) do_read_cache_folio() argument
3850 read_cache_folio(struct address_space * mapping,pgoff_t index,filler_t filler,struct file * file) read_cache_folio() argument
3875 mapping_read_folio_gfp(struct address_space * mapping,pgoff_t index,gfp_t gfp) mapping_read_folio_gfp() argument
3882 do_read_cache_page(struct address_space * mapping,pgoff_t index,filler_t * filler,struct file * file,gfp_t gfp) do_read_cache_page() argument
3893 read_cache_page(struct address_space * mapping,pgoff_t index,filler_t * filler,struct file * file) read_cache_page() argument
3916 read_cache_page_gfp(struct address_space * mapping,pgoff_t index,gfp_t gfp) read_cache_page_gfp() argument
3946 struct address_space *mapping = iocb->ki_filp->f_mapping; kiocb_invalidate_post_direct_write() local
3958 struct address_space *mapping = iocb->ki_filp->f_mapping; generic_file_direct_write() local
4015 struct address_space *mapping = file->f_mapping; generic_perform_write() local
4124 struct address_space *mapping = file->f_mapping; __generic_file_write_iter() local
4205 struct address_space * const mapping = folio->mapping; filemap_release_folio() local
4235 struct address_space *mapping = inode->i_mapping; filemap_invalidate_inode() local
4286 filemap_cachestat(struct address_space * mapping,pgoff_t first_index,pgoff_t last_index,struct cachestat * cs) filemap_cachestat() argument
4421 struct address_space *mapping; SYSCALL_DEFINE4() local
[all...]
/linux/Documentation/core-api/
H A Ddma-api-howto.rst2 Dynamic DMA mapping Guide
10 with example pseudo-code. For a concise description of the API, see
11 Documentation/core-api/dma-api.rst.
39 supports 64-bit addresses for main memory and PCI BARs, it may use an IOMMU
40 so devices only need to use 32-bit DMA addresses.
49 +-------+ +------+ +------+
52 C +-------+ --------> B +------+ ----------> +------+ A
53 | | mapping | | by host | |
54 +-----+ | | | | bridge | | +--------+
55 | | | | +------+ | | | |
[all …]
/linux/drivers/spi/
H A Dspi-mem.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/spi/spi-mem.h>
20 * spi_controller_dma_map_mem_op_data() - DMA-map the buffer attached to a
24 * @sgt: a pointer to a non-initialized sg_table that will be filled by this
27 * Some controllers might want to do DMA on the data buffer embedded in @op.
28 * This helper prepares everything for you and provides a ready-to-use
32 * op->data.buf.{in,out} is DMA-able before calling this function.
42 if (!op->data.nbytes) in spi_controller_dma_map_mem_op_data()
43 return -EINVAL; in spi_controller_dma_map_mem_op_data()
45 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data()
[all …]
/linux/fs/ecryptfs/
H A Dmmap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * decryption of the file data as it passes between the lower
8 * Copyright (C) 1997-2003 Erez Zadok
9 * Copyright (C) 2001-2003 Stony Brook University
10 * Copyright (C) 2004-2007 International Business Machines Corp.
16 #include <linux/page-flags.h>
30 * Returns locked and up-to-date page (if ok), with increased
35 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page()
44 * @wbc: Write-back control structure
46 * Returns zero on success; non-zero otherwise
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2016-2017 Broadcom Limited
27 dma_addr_t mapping, u32 len, in bnxt_xmit_bd() argument
40 num_frags = sinfo->nr_frags; in bnxt_xmit_bd()
44 prod = txr->tx_prod; in bnxt_xmit_bd()
45 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)]; in bnxt_xmit_bd()
46 tx_buf->nr_frags = num_frags; in bnxt_xmit_bd()
48 tx_buf->page = virt_to_head_page(xdp->data); in bnxt_xmit_bd()
50 txbd = &txr->tx_desc_ring[TX_RING(bp, prod)][TX_IDX(prod)]; in bnxt_xmit_bd()
54 txbd->tx_bd_len_flags_type = cpu_to_le32(flags); in bnxt_xmit_bd()
[all …]
/linux/net/core/
H A Dieee8021q_helpers.c1 // SPDX-License-Identifier: GPL-2.0
12 * IEEE 802.1Q-2022 in Annex I "I.3 Traffic type to traffic class mapping" and
13 * Table I-1 "Traffic type to traffic class mapping".
82 * ieee8021q_tt_to_tc - Map IEEE 802.1Q Traffic Type to Traffic Class
87 * on the number of queues configured on the NIC. The mapping is based on the
88 * example provided by IEEE 802.1Q-2022 in Annex I "I.3 Traffic type to traffic
89 * class mapping" and Table I-1 "Traffic type to traffic class mapping".
99 return -EINVAL; in ieee8021q_tt_to_tc()
105 IEEE8021Q_TT_MAX - 1, in ieee8021q_tt_to_tc()
106 "ieee8021q_8queue_tt_tc_map != max - 1"); in ieee8021q_tt_to_tc()
[all …]
/linux/net/netfilter/
H A Dnft_set_pipapo.h1 // SPDX-License-Identifier: GPL-2.0-only
8 /* Count of concatenated fields depends on count of 32-bit nftables registers */
25 #define NFT_PIPAPO_GROUPS_PER_BYTE(f) (BITS_PER_BYTE / (f)->bb)
32 * crossing page boundaries on most architectures (x86-64 and MIPS huge pages,
34 * keeps performance nice in case kvmalloc() gives us non-contiguous areas.
39 #define NFT_PIPAPO_LT_SIZE_LOW NFT_PIPAPO_LT_SIZE_THRESHOLD - \
44 (round_up((f)->groups / NFT_PIPAPO_GROUPS_PER_BYTE(f), sizeof(u32)))
46 (NFT_PIPAPO_GROUPS_PADDED_SIZE(f) - (f)->groups / \
52 /* Each n-bit range maps to up to n * 2 rules */
55 /* Use the rest of mapping table buckets for rule indices, but it makes no sense
[all …]
/linux/include/linux/pinctrl/
H A Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
16 #include <linux/pinctrl/pinctrl-state.h>
27 * struct pinctrl_map_mux - mapping table content for MAP_TYPE_MUX_GROUP
39 * struct pinctrl_map_configs - mapping table content for MAP_TYPE_CONFIGS_*
54 * struct pinctrl_map - boards/machines shall provide this map for devices
55 * @dev_name: the name of the device using this specific mapping, the name
61 * @type: the type of mapping table entry
62 * @ctrl_dev_name: the name of the device controlling this specific mapping,
[all …]
/linux/arch/mips/kernel/
H A Dvdso.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include <asm/mips-cps.h>
26 /* Kernel-provided data used by the VDSO. */
28 struct vdso_data *vdso_data = mips_vdso_data.data;
31 * Mapping for the VDSO data/GIC pages. The real pages are mapped manually, as
46 BUG_ON(!PAGE_ALIGNED(image->data)); in init_vdso_image()
47 BUG_ON(!PAGE_ALIGNED(image->size)); in init_vdso_image()
49 num_pages = image->size / PAGE_SIZE; in init_vdso_image()
51 data_pfn = __phys_to_pfn(__pa_symbol(image->data)); in init_vdso_image()
53 image->mapping.pages[i] = pfn_to_page(data_pfn + i); in init_vdso_image()
[all …]
/linux/arch/mips/include/asm/
H A Dvdso.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 * struct mips_vdso_image - Details of a VDSO image.
17 * @data: Pointer to VDSO image data (page-aligned).
18 * @size: Size of the VDSO image data (page-aligned).
21 * @mapping: Special mapping structure.
23 * This structure contains details of a VDSO image, including the image data
25 * part of the VDSO build process, aside from the mapping page array, which is
29 void *data; member
35 struct vm_special_mapping mapping; member
39 * The following structures are auto-generated as part of the build for each
/linux/include/linux/
H A Diomap.h1 /* SPDX-License-Identifier: GPL-2.0 */
32 #define IOMAP_INLINE 4 /* data inline in the inode */
38 * zeroing for areas that no data is copied to.
41 * written data and requires fdatasync to commit them to persistent storage.
52 * buffer heads for this mapping.
55 * rather than a file data extent.
90 #define IOMAP_NULL_ADDR -1ULL /* addr is not valid */
95 u64 addr; /* disk offset of mapping, byte
[all...]
/linux/drivers/platform/x86/intel/
H A Dtpmi_power_domains.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mapping of TPMI power domains CPU mapping
23 #include <asm/intel-family.h>
48 * struct tpmi_cpu_info - Mapping information for a CPU
49 * @hnode: Used to add mapping information to hash list
56 * Structure to store mapping information for a Linux CPU
93 return info->pkg_id < topology_max_packages() && in tpmi_domain_is_valid()
94 info->punit_domain_id < MAX_POWER_DOMAINS; in tpmi_domain_is_valid()
100 int ret = -EINVAL; in tpmi_get_linux_cpu_number()
104 if (info->punit_domain_id == domain_id && info->pkg_id == package_id) { in tpmi_get_linux_cpu_number()
[all …]

12345678910>>...43