/linux-6.12.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-6.12.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-6.12.1/kernel/irq/ |
D | affinity.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2016-2017 Christoph Hellwig. 14 affd->nr_sets = 1; in default_calc_sets() 15 affd->set_size[0] = affvecs; in default_calc_sets() 19 * irq_create_affinity_masks - Create affinity masks for multiqueue spreading 29 struct irq_affinity_desc *masks = NULL; in irq_create_affinity_masks() local 37 if (nvecs > affd->pre_vectors + affd->post_vectors) in irq_create_affinity_masks() 38 affvecs = nvecs - affd->pre_vectors - affd->post_vectors; in irq_create_affinity_masks() 46 if (!affd->calc_sets) in irq_create_affinity_masks() 47 affd->calc_sets = default_calc_sets; in irq_create_affinity_masks() [all …]
|
/linux-6.12.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 /* ----- ----- ------- --- --- ----- */ 46 #define MASK_EMODESEL (0x3 << 22) /* Send info out on which frame? */ 47 #define MASK_EXMODEADDR (0x3ff << 12) /* Extended Mode Address -- 10 bits */ 48 #define MASK_EXMODEDATA (0xfff) /* Extended Mode Data -- 12 bits */ [all …]
|
/linux-6.12.1/drivers/virtio/ |
D | virtio_vdpa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 return to_virtio_vdpa_device(vdev)->vdpa; in vd_get_vdpa() 76 const struct vdpa_config_ops *ops = vdpa->config; in virtio_vdpa_generation() 78 if (ops->get_generation) in virtio_vdpa_generation() 79 return ops->get_generation(vdpa); in virtio_vdpa_generation() 87 const struct vdpa_config_ops *ops = vdpa->config; in virtio_vdpa_get_status() 89 return ops->get_status(vdpa); in virtio_vdpa_get_status() 108 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() 109 const struct vdpa_config_ops *ops = vdpa->config; in virtio_vdpa_notify() 111 ops->kick_vq(vdpa, vq->index); in virtio_vdpa_notify() [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | pcf50633-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * (C) 2006-2008 by Openmoko, Inc. 24 return -EINVAL; in pcf50633_register_irq() 26 if (WARN_ON(pcf->irq_handler[irq].handler)) in pcf50633_register_irq() 27 return -EBUSY; in pcf50633_register_irq() 29 mutex_lock(&pcf->lock); in pcf50633_register_irq() 30 pcf->irq_handler[irq].handler = handler; in pcf50633_register_irq() 31 pcf->irq_handler[irq].data = data; in pcf50633_register_irq() 32 mutex_unlock(&pcf->lock); in pcf50633_register_irq() 41 return -EINVAL; in pcf50633_free_irq() [all …]
|
/linux-6.12.1/lib/ |
D | group_cpus.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2016-2017 Christoph Hellwig. 29 cpus_per_grp--; in grp_spread_init_one() 33 for (sibl = -1; cpus_per_grp > 0; ) { in grp_spread_init_one() 40 cpus_per_grp--; in grp_spread_init_one() 47 cpumask_var_t *masks; in alloc_node_to_cpumask() local 50 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask() 51 if (!masks) in alloc_node_to_cpumask() 55 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask() 59 return masks; in alloc_node_to_cpumask() [all …]
|
/linux-6.12.1/drivers/mux/ |
D | mmio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MMIO register bitfield-controlled multiplexer driver 20 struct regmap_field **fields = mux_chip_priv(mux->chip); in mux_mmio_set() 30 { .compatible = "mmio-mux", }, 31 { .compatible = "reg-mux", }, 38 struct device *dev = &pdev->dev; in mux_mmio_probe() 39 struct device_node *np = dev->of_node; in mux_mmio_probe() 47 if (of_device_is_compatible(np, "mmio-mux")) { in mux_mmio_probe() 48 regmap = syscon_node_to_regmap(np->parent); in mux_mmio_probe() 52 if (IS_ERR(regmap) && regmap != ERR_PTR(-EPROBE_DEFER)) { in mux_mmio_probe() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dwb/dcn30/ |
D | dcn30_dwb_cm.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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() 53 reg->masks.field_region_start_base = dwbc30->dwbc_mask->DWB_OGAM_RAMA_EXP_REGION_START_BASE_B; in dwb3_get_reg_field_ogam() 54 reg->shifts.field_offset = dwbc30->dwbc_shift->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 55 reg->masks.field_offset = dwbc30->dwbc_mask->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 57 reg->shifts.exp_region0_lut_offset = dwbc30->dwbc_shift->DWB_OGAM_RAMA_EXP_REGION0_LUT_OFFSET; in dwb3_get_reg_field_ogam() 58 reg->masks.exp_region0_lut_offset = dwbc30->dwbc_mask->DWB_OGAM_RAMA_EXP_REGION0_LUT_OFFSET; in dwb3_get_reg_field_ogam() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn301/ |
D | dcn301_hubbub.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 30 hubbub1->regs->reg 32 hubbub1->base.ctx->logger 34 hubbub1->base.ctx 38 hubbub1->shifts->field_name, hubbub1->masks->field_name 41 hubbub1->regs->reg 44 hubbub1->base.ctx 48 hubbub1->shifts->field_name, hubbub1->masks->field_name 76 hubbub3->base.ctx = ctx; in hubbub301_construct() 77 hubbub3->base.funcs = &hubbub301_funcs; in hubbub301_construct() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp_cm.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 34 dpp->tf_regs->reg 37 dpp->base.ctx 41 dpp->tf_shift->field_name, dpp->tf_mask->field_name 51 if (dpp_base->ctx->dc->debug.cm_in_bypass) in dpp3_enable_cm_block() 85 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dpp3_program_gammcor_lut() 86 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dpp3_program_gammcor_lut() 87 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dpp3_program_gammcor_lut() 90 * HW auto increments the LUT index: back-to-back write in dpp3_program_gammcor_lut() 132 if (dpp_base->ctx->dc->debug.enable_mem_low_power.bits.cm) { in dpp3_power_on_gamcor_lut() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn201/ |
D | dcn201_hubbub.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 31 hubbub1->regs->reg 34 hubbub1->base.ctx->logger 37 hubbub1->base.ctx 41 hubbub1->shifts->field_name, hubbub1->masks->field_name 44 hubbub1->regs->reg 47 hubbub1->base.ctx 51 hubbub1->shifts->field_name, hubbub1->masks->field_name 73 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub201_program_watermarks() 97 hubbub->base.ctx = ctx; in hubbub201_construct() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-emev2.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015 Wolfram Sang <wsa@sang-engineering.com> 7 * Copyright 2010-2015 Renesas Electronics Corporation 34 /* I2C IICACT0 Masks */ 37 /* I2C IICC0 Masks */ 46 /* I2C IICCL0 Masks */ 50 /* I2C IICSE0 Masks */ 60 /* I2C IICF0 Masks */ 76 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 84 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c_hw.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 32 dce_i2c_hw->ctx 34 dce_i2c_hw->regs->reg 38 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 56 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 64 dce_i2c_hw->transaction_count = 0; in execute_transaction() 65 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 77 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 79 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 81 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | s626.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 2002-2004 Sensoray Co., Inc. 24 * Number of extended-capability 36 #define S626_RANGE_5V 0x10 /* +/-5V range */ 37 #define S626_RANGE_10V 0x00 /* +/-10V range */ 53 #define S626_ERR_DEBI_TIMEOUT 0x00400000 /* DEBI transfer timed out. */ 146 * GPIO3 = IRQ; GPIO1 = out. 180 * Shut down all MC1-controlled 189 #define S626_MC1_A2OUT 0x0008 /* Enab/disable transfer on A2 out. */ [all …]
|
/linux-6.12.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-6.12.1/kernel/sched/ |
D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 38 struct sched_group *group = sd->groups; in sched_domain_debug_one() 39 unsigned long flags = sd->flags; in sched_domain_debug_one() 44 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one() 46 cpumask_pr_args(sched_domain_span(sd)), sd->name); in sched_domain_debug_one() 49 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one() 52 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one() 59 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && in sched_domain_debug_one() 60 !(sd->child->flags & flag)) in sched_domain_debug_one() 64 if ((meta_flags & SDF_SHARED_PARENT) && sd->parent && in sched_domain_debug_one() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
D | hw_factory_dcn10.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 155 generic->regs = &generic_regs[en]; in define_generic_registers() 156 generic->shifts = &generic_shift[en]; in define_generic_registers() 157 generic->masks = &generic_mask[en]; in define_generic_registers() 158 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 167 switch (pin->id) { in define_ddc_registers() 169 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 170 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 173 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp_cm.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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() 119 gam_regs.masks.csc_c11 = dpp->tf_mask->CM_GAMUT_REMAP_C11; in program_gamut_remap() 120 gam_regs.shifts.csc_c12 = dpp->tf_shift->CM_GAMUT_REMAP_C12; in program_gamut_remap() 121 gam_regs.masks.csc_c12 = dpp->tf_mask->CM_GAMUT_REMAP_C12; in program_gamut_remap() 129 dpp->base.ctx, in program_gamut_remap() 139 dpp->base.ctx, in program_gamut_remap() [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | adp5520.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 108 #define FADE_VAL(in, out) ((0xF & (in)) | ((0xF & (out)) << 4)) argument 113 * LEDs subdevice bits and masks 130 * GPIO subdevice bits and masks 151 * Keypad subdevice bits and masks 198 u8 fade_in; /* Backlight Fade-In Timer */ 199 u8 fade_out; /* Backlight Fade-Out Timer */ 254 u8 fade_in; /* Backlight Fade-In Timer */ 255 u8 fade_out; /* Backlight Fade-Out Timer */ 256 u8 fade_led_law; /* fade-on/fade-off transfer characteristic */
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
D | hw_factory_dcn21.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 163 generic->regs = &generic_regs[en]; in define_generic_registers() 164 generic->shifts = &generic_shift[en]; in define_generic_registers() 165 generic->masks = &generic_mask[en]; in define_generic_registers() 166 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 175 switch (pin->id) { in define_ddc_registers() 177 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 178 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() 181 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
D | dcn30_mpc.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 34 mpc30->mpc_regs->reg 37 mpc30->base.ctx 41 mpc30->mpc_shift->field_name, mpc30->mpc_mask->field_name 56 /* disable mpc out rate and flow control */ in mpc3_mpc_init() 68 /* assuming mpc out mux is connected to opp with the same index at this in mpc3_mpc_init_single_inst() 72 /* disable mpc out rate and flow control */ in mpc3_mpc_init_single_inst() 166 /* Wait for memory to be powered on - we won't be able to write to it otherwise. */ in mpc3_power_on_ogam_lut() 190 reg->shifts.field_region_start_base = mpc30->mpc_shift->MPCC_OGAM_RAMA_EXP_REGION_START_BASE_B; in mpc3_ogam_get_reg_field() 191 reg->masks.field_region_start_base = mpc30->mpc_mask->MPCC_OGAM_RAMA_EXP_REGION_START_BASE_B; in mpc3_ogam_get_reg_field() [all …]
|
/linux-6.12.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-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn20/ |
D | dcn20_mpc.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 34 mpc20->mpc_regs->reg 40 mpc20->base.ctx 44 mpc20->mpc_shift->field_name, mpc20->mpc_mask->field_name 58 MPCC_ALPHA_BLND_MODE, blnd_cfg->alpha_mode, in mpc2_update_blending() 59 MPCC_ALPHA_MULTIPLIED_MODE, blnd_cfg->pre_multiplied_alpha, in mpc2_update_blending() 60 MPCC_BLND_ACTIVE_OVERLAP_ONLY, blnd_cfg->overlap_only, in mpc2_update_blending() 61 MPCC_GLOBAL_ALPHA, blnd_cfg->global_alpha, in mpc2_update_blending() 62 MPCC_GLOBAL_GAIN, blnd_cfg->global_gain, in mpc2_update_blending() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array 23 audio-widgets: [all …]
|