| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | pcf50633-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * (C) 2006-2008 by Openmoko, Inc. 23 return -EINVAL; in pcf50633_register_irq() 25 if (WARN_ON(pcf->irq_handler[irq].handler)) in pcf50633_register_irq() 26 return -EBUSY; in pcf50633_register_irq() 28 mutex_lock(&pcf->lock); in pcf50633_register_irq() 29 pcf->irq_handler[irq].handler = handler; in pcf50633_register_irq() 30 pcf->irq_handler[irq].data = data; in pcf50633_register_irq() 31 mutex_unlock(&pcf->lock); in pcf50633_register_irq() 40 return -EINVAL; in pcf50633_free_irq() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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() 50 regmap = dev_get_regmap(dev->parent, NULL) ?: ERR_PTR(-ENODEV); in mux_mmio_probe() [all …]
|
| /kernel/linux/linux-6.6/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() 50 regmap = dev_get_regmap(dev->parent, NULL) ?: ERR_PTR(-ENODEV); in mux_mmio_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/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() 91 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dpp3_program_gammcor_lut() 92 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dpp3_program_gammcor_lut() 93 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dpp3_program_gammcor_lut() 96 * HW auto increments the LUT index: back-to-back write in dpp3_program_gammcor_lut() 167 REG_SET(CM_BIAS_CR_R, 0, CM_BIAS_CR_R, bias_params->cm_bias_cr_r); in dpp3_program_cm_bias() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/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 …]
|
| 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() 88 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dpp3_program_gammcor_lut() 89 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dpp3_program_gammcor_lut() 90 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dpp3_program_gammcor_lut() 93 * HW auto increments the LUT index: back-to-back write in dpp3_program_gammcor_lut() 135 if (dpp_base->ctx->dc->debug.enable_mem_low_power.bits.cm) { in dpp3_power_on_gamcor_lut() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/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 75 hubbub3->base.ctx = ctx; in hubbub301_construct() 76 hubbub3->base.funcs = &hubbub301_funcs; in hubbub301_construct() [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | rohm-bd70528.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #include <linux/mfd/rohm-generic.h> 10 #include <linux/mfd/rohm-shared.h> 139 /* Masks for main IRQ register bits */ 224 /* Masks */ 307 /* RTC masks to mask out reserved bits */ 314 * wake-up we limit ALM to 24H and only 319 /* WDT masks */ 329 /* Charger masks */ 345 /* Buck control masks */ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/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 …]
|
| /kernel/linux/linux-5.10/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 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() 67 dce_i2c_hw->transaction_count = 0; in execute_transaction() 68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 84 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | amlogic,axg-sound-card.txt | 5 - compatible: "amlogic,axg-sound-card" 6 - model : User specified audio sound card name, one string 10 - audio-aux-devs : List of phandles pointing to auxiliary devices 11 - audio-widgets : Please refer to widgets.txt. 12 - audio-routing : A list of the connections between audio components. 16 - dai-link: Container for dai-link level properties and the CODEC 17 sub-nodes. There should be at least one (and probably more) 20 Required dai-link properties: 22 - sound-dai: phandle and port of the CPU DAI. 24 Required TDM Backend dai-link properties: [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 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() 67 dce_i2c_hw->transaction_count = 0; in execute_transaction() 68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 84 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() [all …]
|
| /kernel/linux/linux-6.6/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 */ 77 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 85 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() [all …]
|
| /kernel/linux/linux-5.10/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 */ 77 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 85 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() [all …]
|