/Linux-v6.1/kernel/irq/ |
D | affinity.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2016-2017 Christoph Hellwig. 27 cpus_per_vec--; in irq_spread_init_one() 31 for (sibl = -1; cpus_per_vec > 0; ) { in irq_spread_init_one() 38 cpus_per_vec--; in irq_spread_init_one() 45 cpumask_var_t *masks; in alloc_node_to_cpumask() local 48 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask() 49 if (!masks) in alloc_node_to_cpumask() 53 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask() 57 return masks; in alloc_node_to_cpumask() [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
D | brcmstb-usb-pinmap.c | 1 // SPDX-License-Identifier: GPL-2.0 64 val = gpiod_get_value(pin->gpiod); in sync_in_pin() 66 pinmap_set(pin->pdata->regs, pin->value_mask); in sync_in_pin() 68 pinmap_unset(pin->pdata->regs, pin->value_mask); in sync_in_pin() 83 pr_debug("%s: reg: 0x%x\n", __func__, readl(pdata->regs)); in brcmstb_usb_pinmap_ovr_isr() 84 pout = pdata->out_pins; in brcmstb_usb_pinmap_ovr_isr() 85 for (x = 0; x < pdata->out_count; x++) { in brcmstb_usb_pinmap_ovr_isr() 86 val = readl(pdata->regs); in brcmstb_usb_pinmap_ovr_isr() 87 if (val & pout->changed_mask) { in brcmstb_usb_pinmap_ovr_isr() 88 pinmap_set(pdata->regs, pout->clr_changed_mask); in brcmstb_usb_pinmap_ovr_isr() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | brcm,usb-pinmap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Al Cooper <alcooperx@gmail.com> 15 - const: brcm,usb-pinmap 22 description: Interrupt for signals mirrored to out-gpios. 24 in-gpios: 29 brcm,in-functions: 30 $ref: /schemas/types.yaml#/definitions/string-array [all …]
|
/Linux-v6.1/drivers/net/dsa/microchip/ |
D | ksz8795.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/platform_data/microchip-ksz.h> 31 regmap_update_bits(dev->regmap[0], addr, bits, set ? bits : 0); in ksz_cfg() 37 regmap_update_bits(dev->regmap[0], PORT_CTRL_ADDR(port, offset), in ksz_port_cfg() 47 regs = dev->info->regs; in ksz8_ind_write8() 49 mutex_lock(&dev->alu_mutex); in ksz8_ind_write8() 56 mutex_unlock(&dev->alu_mutex); in ksz8_ind_write8() 114 const u32 *masks; in ksz8_r_mib_cnt() local 121 masks = dev->info->masks; in ksz8_r_mib_cnt() 122 regs = dev->info->regs; in ksz8_r_mib_cnt() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp_cm.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 34 dpp->tf_regs->reg 37 dpp->base.ctx 41 dpp->tf_shift->field_name, dpp->tf_mask->field_name 50 // debug option: put CM in bypass mode in dpp3_enable_cm_block() [all …]
|
D | dcn30_dwb_cm.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 37 dwbc30->dwbc_regs->reg 40 dwbc30->base.ctx 44 dwbc30->dwbc_shift->field_name, dwbc30->dwbc_mask->field_name 52 reg->shifts.field_region_start_base = dwbc30->dwbc_shift->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2008 Intel Corporation. */ 75 #define IXGB_EEPROM_SIZE 64 /* Size in words */ 81 #define MAX_NUMBER_OF_DESCRIPTORS 0xFFF8 /* 13 bits in RDLEN/TDLEN, 128B aligned */ 92 #define IXGB_CTRL0 0x00000 /* Device Control Register 0 - RW */ 93 #define IXGB_CTRL1 0x00008 /* Device Control Register 1 - RW */ 94 #define IXGB_STATUS 0x00010 /* Device Status Register - RO */ 95 #define IXGB_EECD 0x00018 /* EEPROM/Flash Control/Data Register - RW */ 96 #define IXGB_MFS 0x00020 /* Maximum Frame Size - RW */ 99 #define IXGB_ICR 0x00080 /* Interrupt Cause Read - R/clr */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_cm.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 43 dpp->tf_regs->reg 46 dpp->base.ctx 50 dpp->tf_shift->field_name, dpp->tf_mask->field_name 118 gam_regs.shifts.csc_c11 = dpp->tf_shift->CM_GAMUT_REMAP_C11; in program_gamut_remap() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c_hw.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 35 dce_i2c_hw->ctx 37 dce_i2c_hw->regs->reg 41 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 59 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() [all …]
|
/Linux-v6.1/sound/ppc/ |
D | awacs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 unsigned byteswap; /* Data is little-endian if 1 */ 29 /* Audio Bit Masks */ 32 /* Audio Control Reg Bit Masks */ 33 /* ----- ------- --- --- ----- */ 43 /* Audio Codec Control Reg Bit Masks */ 44 /* ----- ----- ------- --- --- ----- */ 47 #define MASK_EXMODEADDR (0x3ff << 12) /* Extended Mode Address -- 10 bits */ 48 #define MASK_EXMODEDATA (0xfff) /* Extended Mode Data -- 12 bits */ 50 /* Audio Codec Control Address Values / Masks */ [all …]
|
/Linux-v6.1/arch/arm/mach-s3c/ |
D | wakeup-mask.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2010 Ben Dooks <ben-linux@fluff.org> 15 * struct samsung_wakeup_mask - wakeup mask information 25 * samsung_sync_wakemask - sync wakeup mask information for pm 27 * @masks: The list of masks to use. 28 * @nr_masks: The number of entries pointed to buy @masks. 31 * of interrupts and control bits in @masks. We do this at suspend time 36 const struct samsung_wakeup_mask *masks,
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | tdm-slot.txt | 6 dai-tdm-slot-num : Number of slots in use. 7 dai-tdm-slot-width : Width in bits for each slot. 8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional 9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional 12 dai-tdm-slot-num = <2>; 13 dai-tdm-slot-width = <8>; 14 dai-tdm-slot-tx-mask = <0 1>; 15 dai-tdm-slot-rx-mask = <1 0>; 20 tx and rx masks. 22 For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_mpc.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 34 mpc20->mpc_regs->reg 40 mpc20->base.ctx 44 mpc20->mpc_shift->field_name, mpc20->mpc_mask->field_name [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_flex_pipe.c | 1 // SPDX-License-Identifier: GPL-2.0 94 * ice_sect_id - returns section ID 118 hdr = (struct ice_buf_hdr *)buf->buf; in ice_pkg_val_buf() 120 section_count = le16_to_cpu(hdr->section_count); in ice_pkg_val_buf() 124 data_end = le16_to_cpu(hdr->data_end); in ice_pkg_val_buf() 142 (ice_seg->device_table + in ice_find_buf_table() 143 le32_to_cpu(ice_seg->device_table_count)); in ice_find_buf_table() 146 (nvms->vers + le32_to_cpu(nvms->table_count)); in ice_find_buf_table() 154 * This function will enumerate all the buffers in the ice segment. The first 155 * call is made with the ice_seg parameter non-NULL; on subsequent calls, [all …]
|
/Linux-v6.1/drivers/net/ethernet/ezchip/ |
D | nps_enet.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 35 /* Tx control register masks and shifts */ 43 /* Rx control register masks and shifts */ 53 /* Interrupt enable for data buffer events register masks and shifts */ 59 /* Gbps Eth MAC Configuration 0 register masks and shifts */ 93 /* Gbps Eth MAC Configuration 1 register masks and shifts */ 103 /* Gbps Eth MAC Configuration 2 register masks and shifts */ 119 /* Gbps Eth MAC Configuration 3 register masks and shifts */ 141 /* GE MAC, PCS reset control register masks and shifts */ 147 /* Tx phase sync FIFO control register masks and shifts */ [all …]
|
/Linux-v6.1/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (c) 2010 - 2012 Xilinx, Inc. All rights reserved. 147 #define XAE_IFGP_OFFSET 0x00000008 /* Tx Inter-frame gap adjustment*/ 179 /* Bit Masks for Axi Ethernet RAF register */ 198 /* Bit Masks for Axi Ethernet TPF and IFGP registers */ 200 /* Transmit inter-frame gap adjustment value */ 203 /* Bit Masks for Axi Ethernet IS, IE and IP registers, Same masks apply 223 /* Bit masks for Axi Ethernet VLAN TPID Word 0 register */ 227 /* Bit masks for Axi Ethernet VLAN TPID Word 1 register */ 231 /* Bit masks for Axi Ethernet RCW1 register */ [all …]
|
/Linux-v6.1/drivers/usb/phy/ |
D | phy-fsl-usb.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 #include <linux/usb/otg-fsm.h> 8 /* USB Command Register Bit Masks */ 30 /* bit 9-8 are async schedule park mode count */ 37 /* bit 23-16 are interrupt threshold control */ 48 /* USB Status Register Bit Masks */ 63 /* USB Interrupt Enable Register Bit Masks */ 74 /* Device Address bit masks */ 77 /* PORTSC Register Bit Masks,Only one PORT in OTG mode*/ 99 /* bit 11-10 are line status */ [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | fsl_usb2_udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 46 u32 otgsc; /* On-The-Go Status and Control */ 83 u32 otgsc; /* On-The-Go Status and Control */ 93 /* non-EHCI USB system interface registers (Big Endian) */ 115 /* Frame Index Register Bit Masks */ 117 /* USB CMD Register Bit Masks */ 139 /* bit 9-8 are async schedule park mode count */ 146 /* bit 23-16 are interrupt threshold control */ 157 /* USB STS Register Bit Masks */ 172 /* USB INTR Register Bit Masks */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_hubbub.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 30 hubbub1->regs->reg 32 hubbub1->base.ctx->logger 34 hubbub1->base.ctx 38 hubbub1->shifts->field_name, hubbub1->masks->field_name [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hubbub.c | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 31 hubbub1->regs->reg 34 hubbub1->base.ctx->logger 37 hubbub1->base.ctx 41 hubbub1->shifts->field_name, hubbub1->masks->field_name [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 44 * mdp5_ctl_blend() - Blend multiple layers on a Layer Mixer (LM) 47 * @stage_cnt: valid stage number in stage array 61 * mdp_ctl_flush_mask...() - Register FLUSH masks 63 * These masks are used to specify which block(s) need to be flushed 64 * through @flush_mask parameter in mdp5_ctl_commit(.., flush_mask). 71 /* @flush_mask: see CTL flush masks definitions below */
|
/Linux-v6.1/drivers/crypto/bcm/ |
D | spu2.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 84 /* Fixed part of request message header length in bytes. Just FMD. */ 89 /* FMD ctrl0 field masks */ 113 /* FMD ctrl1 field masks */ 120 #define SPU2_HASH_KEY_LEN 0xFF00 /* len of hash key in bytes. 124 #define SPU2_CIPH_KEY_LEN 0xFF00000 /* len of cipher key in bytes */ 127 #define SPU2_HASH_IV 0x20000000 /* 1: IV incl in hash */ 128 #define SPU2_RET_IV 0x40000000 /* 1: return IV in output msg 131 #define SPU2_RET_IV_LEN 0xF00000000 /* length in bytes of IV returned. 137 #define SPU2_IV_LEN 0x1F0000000000 /* length of input IV in bytes */ [all …]
|
/Linux-v6.1/arch/hexagon/include/asm/ |
D | vm_mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2010-2011,2013 The Linux Foundation. All rights reserved. 15 * Virtual machine MMU allows first-level entries to either be 16 * single-level lookup PTEs for very large pages, or PDEs pointing 17 * to second-level PTEs for smaller pages. If PTE is single-level, 20 * must be maintained in some parallel data structure. 23 /* S or Page Size field in PDE */ 34 /* Masks for L2 page table pointer, as function of page size */ 56 #define __HEXAGON_C_WB 0x0 /* Write-back, no L2 */ 57 #define __HEXAGON_C_WT 0x1 /* Write-through, no L2 */ [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking the A-TCAM and C-TCAM operation in Spectrum-2. 5 # It tries to exercise as many code paths in the eRP state machine as 48 perf record -q -e $tracepoint $cmd 57 perf record -a -q -e $tracepoint sleep $seconds 65 local perf_output=`perf script -F trace:event,trace` 66 return `echo $perf_output | grep "$tracepoint:" | wc -l` 75 if [[ "$?" -ne "$count" ]]; then 86 if [[ "$?" -eq "0" ]]; then 103 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ [all …]
|
/Linux-v6.1/net/openvswitch/ |
D | flow_table.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2007-2014 Nicira, Inc. 20 #include <linux/in.h> 50 return range->end - range->start; in range_n_bytes() 56 int start = full ? 0 : mask->range.start; in ovs_flow_mask_key() 57 int len = full ? sizeof *dst : range_n_bytes(&mask->range); in ovs_flow_mask_key() 58 const long *m = (const long *)((const u8 *)&mask->key + start); in ovs_flow_mask_key() 64 * if 'full' is false the memory outside of the 'mask->range' is left in ovs_flow_mask_key() 66 * operations on 'dst' only use contents within 'mask->range'. in ovs_flow_mask_key() 79 return ERR_PTR(-ENOMEM); in ovs_flow_alloc() [all …]
|