| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | hugetlbfs_reserv.rst | 13 to be used. If no huge page exists at page fault time, the task is sent 36 This is a global (per-hstate) count of reserved huge pages. Reserved 39 as (``free_huge_pages - resv_huge_pages``). 40 Reserve Map 41 A reserve map is described by the structure:: 52 There is one reserve map for each huge page mapping in the system. 67 These are stored in the bottom bits of the reservation map pointer. 82 Reservation Map Location (Private or Shared) 88 semantics of the reservation map is significantly different for the two types 91 - For private mappings, the reservation map hangs off the VMA structure. [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/maps/ |
| D | physmap-gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Cortina Systems Gemini OF physmap add-on 12 #include <linux/mtd/map.h> 18 #include "physmap-gemini.h" 21 * The Flash-relevant parts of the global status register 63 if (IS_ERR(gf->enabled_state)) in gemini_flash_enable_pins() 65 ret = pinctrl_select_state(gf->p, gf->enabled_state); in gemini_flash_enable_pins() 67 dev_err(gf->dev, "failed to enable pins\n"); in gemini_flash_enable_pins() 74 if (IS_ERR(gf->disabled_state)) in gemini_flash_disable_pins() 76 ret = pinctrl_select_state(gf->p, gf->disabled_state); in gemini_flash_disable_pins() [all …]
|
| D | physmap-bt1-rom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Baikal-T1 Physically Mapped Internal ROM driver 13 #include <linux/mtd/map.h> 22 #include "physmap-bt1-rom.h" 25 * Baikal-T1 SoC ROMs are only accessible by the dword-aligned instructions. 26 * We have to take this into account when implementing the data read-methods. 27 * Note there is no need in bothering with endianness, since both Baikal-T1 30 static map_word __xipram bt1_rom_map_read(struct map_info *map, in bt1_rom_map_read() argument 33 void __iomem *src = map->virt + ofs; in bt1_rom_map_read() 40 data = readl_relaxed(src - shift); in bt1_rom_map_read() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | nft_set_pipapo_avx2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2019-2020 Red Hat GmbH 29 /* Load from memory into YMM register with non-temporal hint ("stream load"), 33 * - loading buckets from lookup tables, as they are not going to be used 36 * - loading the result bitmap from the previous field, as it's never used 78 * nft_pipapo_avx2_prepare() - Prepare before main algorithm body 89 * nft_pipapo_avx2_fill() - Fill a bitmap region with ones 116 *data |= GENMASK(len - 1 + offset, offset); in nft_pipapo_avx2_fill() 121 len -= BITS_PER_LONG - offset; in nft_pipapo_avx2_fill() 125 mask = ~0UL >> (BITS_PER_LONG - len); in nft_pipapo_avx2_fill() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | devicetree.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * struct pinctrl_dt_map - mapping table chunk parsed from device tree 20 * @map: the mapping table entries 26 struct pinctrl_map *map; member 31 struct pinctrl_map *map, unsigned num_maps) in dt_free_map() argument 36 kfree_const(map[i].dev_name); in dt_free_map() 37 map[i].dev_name = NULL; in dt_free_map() 41 const struct pinctrl_ops *ops = pctldev->desc->pctlops; in dt_free_map() 42 if (ops->dt_free_map) in dt_free_map() 43 ops->dt_free_map(pctldev, map, num_maps); in dt_free_map() [all …]
|
| D | pinconf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 27 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_check_ops() 30 if (!ops->pin_config_set && !ops->pin_config_group_set) { in pinconf_check_ops() 31 dev_err(pctldev->dev, in pinconf_check_ops() 33 return -EINVAL; in pinconf_check_ops() 38 int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map() argument 40 if (!map->data.configs.group_or_pin) { in pinconf_validate_map() 41 pr_err("failed to register map %s (%d): no group/pin given\n", in pinconf_validate_map() [all …]
|
| /kernel/linux/linux-5.10/Documentation/core-api/irq/ |
| D | irq-domain.rst | 9 that each one gets assigned non-overlapping allocations of Linux 24 For this reason we need a mechanism to separate controller-local 29 the controller-local IRQ (hwirq) number into the Linux IRQ number 55 the hwirq, and call the .map() callback so the driver can perform any 67 callbacks) then it can be directly obtained from irq_data->hwirq. 74 Which reverse map type should be used depends on the use case. Each 75 of the reverse map types are described below: 78 ------ 85 The linear reverse map maintains a fixed size table indexed by the 89 The Linear map is a good choice when the maximum number of hwirqs is [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-designware-master.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include "i2c-designware-core.h" 29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 30 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 33 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 41 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master() 49 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master() 55 sda_falling_time = t->sda_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 56 scl_falling_time = t->scl_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 59 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | swap_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0 10 struct page **map; member 28 * - we have no race in "exchange" when we're accessed via SwapCache because 30 * - When called via swap_free(), there is no user of this entry and no race. 47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare() 51 ctrl->map[idx] = page; in swap_cgroup_prepare() 60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare() 62 return -ENOMEM; in swap_cgroup_prepare() 71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup() 89 * swap_cgroup_cmpxchg - cmpxchg mem_cgroup's id for this swp_entry. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | sdm845-xiaomi-beryllium.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 /delete-node/ &tz_mem; 17 /delete-node/ &adsp_mem; 18 /delete-node/ &wlan_msa_mem; 19 /delete-node/ &mpss_region; 20 /delete-node/ &venus_mem; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/ |
| D | k3-j721e-som-p0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include "k3-j721e.dtsi" 18 reserved_memory: reserved-memory { 19 #address-cells = <2>; 20 #size-cells = <2>; 26 no-map; 29 c66_1_dma_memory_region: c66-dma-memory@a6000000 { 30 compatible = "shared-dma-pool"; [all …]
|
| /kernel/linux/linux-5.10/include/linux/mtd/ |
| D | cfi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. 14 #include <linux/mtd/map.h> 28 # define cfi_interleave(cfi) ((cfi)->interleave) 40 # define cfi_interleave(cfi) ((cfi)->interleave) 52 # define cfi_interleave(cfi) ((cfi)->interleave) 62 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. 152 /* Vendor-Specific PRI for Intel/Sharp Extended Command Set (0x0001) */ 159 block follows - FIXME - not currently supported */ 205 /* Vendor-Specific PRI for AMD/Fujitsu Extended Command Set (0x0002) */ [all …]
|
| D | map.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. 22 #define map_bankwidth(map) 1 argument 23 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument 24 #define map_bankwidth_is_large(map) (0) argument 25 #define map_words(map) (1) argument 28 #define map_bankwidth_is_1(map) (0) argument 34 # define map_bankwidth(map) ((map)->bankwidth) argument 36 # define map_bankwidth(map) 2 argument 37 # define map_bankwidth_is_large(map) (0) argument [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ste-db8520.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "ste-dbx5x0.dtsi" 9 operating-points = <1152000 0 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 no-map; 30 no-map; 36 no-map; 50 no-map;
|
| D | ste-db8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "ste-dbx5x0.dtsi" 9 operating-points = <998400 0 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 no-map; 30 no-map; 36 no-map; 50 no-map;
|
| D | stm32mp157c-odyssey-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 17 model = "Seeed Studio Odyssey-STM32MP157C SOM"; 18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157"; 25 reserved-memory { [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/designs/ |
| D | channel-mapping-api.rst | 2 ALSA PCM channel-mapping API 11 and the current channel map, also optionally to modify the channel map 14 A channel map is an array of position for each PCM channel. 15 Typically, a stereo PCM stream has a channel map of 17 while a 4.0 surround PCM stream has a channel map of 20 The problem, so far, was that we had no standard channel map 21 explicitly, and applications had no way to know which channel 29 was no way to specify this because of lack of channel map 38 the kernel/user-space ABI perspective. It uses only the existing 46 * name = "Playback Channel Map" or "Capture Channel Map" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | strobemeta.h | 1 // SPDX-License-Identifier: GPL-2.0 36 * 3. map: 1 always, pointer points to additional struct with number 81 * Map of C-string key/value pairs with fixed maximum capacity. Each map has 83 * way appropriate. Map is "write-only", there is no way to get data out of 84 * map. Map is intended to be used to provide metadata for profilers and is 85 * not to be used for internal in-app communication. All methods are 86 * thread-safe. 96 /* number of used entries in map */ 112 #define TLS_NOT_SET -1 124 * - -1 (TLS_NOT_SET) - no metavariable; [all …]
|
| /kernel/linux/linux-5.10/include/net/sctp/ |
| D | tsnmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 15 * lksctp developers <linux-sctp@vger.kernel.org> 31 * Last Rcvd TSN). If no gaps exist, i.e. no out of 39 * ping-pong between. 87 void sctp_tsnmap_free(struct sctp_tsnmap *map); 102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 105 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn() argument 107 return map->cumulative_tsn_ack_point; in sctp_tsnmap_get_ctsn() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/loongson/ |
| D | ls7a-pch.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 compatible = "simple-bus"; 6 #address-cells = <2>; 7 #size-cells = <2>; 13 pic: interrupt-controller@10000000 { 14 compatible = "loongson,pch-pic-1.0"; 16 interrupt-controller; 17 interrupt-parent = <&htvec>; 18 loongson,pic-base-vec = <0>; 19 #interrupt-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | user_namespace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/key-type.h> 14 #include <keys/user-type.h> 29 struct uid_gid_map *map); 47 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns() 48 cred->cap_inheritable = CAP_EMPTY_SET; in set_cred_user_ns() 49 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns() 50 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns() 51 cred->cap_ambient = CAP_EMPTY_SET; in set_cred_user_ns() 52 cred->cap_bset = CAP_FULL_SET; in set_cred_user_ns() [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
| D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0 24 /* Set the #address-cells and #size-cells values for an empty tree */ in fdt_update_cell_size() 26 fdt_setprop_u32(fdt, offset, "#address-cells", EFI_DT_ADDR_CELLS_DEFAULT); in fdt_update_cell_size() 27 fdt_setprop_u32(fdt, offset, "#size-cells", EFI_DT_SIZE_CELLS_DEFAULT); in fdt_update_cell_size() 62 * non-critical: in update_fdt() 72 * Delete all memory reserve map entries. When booting via UEFI, in update_fdt() 73 * kernel will use the UEFI memory map to find reserved regions. in update_fdt() 76 while (num_rsv-- > 0) in update_fdt() 101 status = fdt_setprop_var(fdt, node, "linux,initrd-start", initrd_image_start); in update_fdt() 106 status = fdt_setprop_var(fdt, node, "linux,initrd-end", initrd_image_end); in update_fdt() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/chips/ |
| D | cfi_probe.c | 17 #include <linux/mtd/map.h> 27 static int cfi_probe_chip(struct map_info *map, __u32 base, 29 static int cfi_chip_setup(struct map_info *map, struct cfi_private *cfi); 31 struct mtd_info *cfi_probe(struct map_info *map); 38 #define xip_allowed(base, map) \ argument 40 (void) map_read(map, base); \ 45 #define xip_enable(base, map, cfi) \ argument 47 cfi_qry_mode_off(base, map, cfi); \ 48 xip_allowed(base, map); \ 51 #define xip_disable_qry(base, map, cfi) \ argument [all …]
|
| D | cfi_cmdset_0002.c | 37 #include <linux/mtd/map.h> 94 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 95 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 115 * CFI Primary Vendor-Specific Extended Query table 1.5 119 struct cfi_pri_amdstd *extp = cfi->cmdset_priv; in cfi_use_status_reg() 122 return extp && extp->MinorVersion >= '5' && in cfi_use_status_reg() 123 (extp->SoftwareFeatures & poll_mask) == CFI_POLL_STATUS_REG; in cfi_use_status_reg() 126 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, in cfi_check_err_status() argument 129 struct cfi_private *cfi = map->fldrv_priv; in cfi_check_err_status() 135 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in cfi_check_err_status() [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-syscon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * struct syscon_led - state container for syscon based LEDs 22 * @map: regmap to access the syscon device backing this LED 29 struct regmap *map; member 45 sled->state = false; in syscon_led_set() 47 val = sled->mask; in syscon_led_set() 48 sled->state = true; in syscon_led_set() 51 ret = regmap_update_bits(sled->map, sled->offset, sled->mask, val); in syscon_led_set() 53 dev_err(sled->cdev.dev, "error updating LED status\n"); in syscon_led_set() 59 struct device *dev = &pdev->dev; in syscon_led_probe() [all …]
|