Home
last modified time | relevance | path

Searched +full:out +full:- +full:masks (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/Linux-v6.1/drivers/usb/misc/
Dbrcmstb-usb-pinmap.c1 // 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/
Dbrcm,usb-pinmap.yaml1 # 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/kernel/irq/
Daffinity.c1 // 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/sound/ppc/
Dawacs.h1 /* 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-v6.1/drivers/mfd/
Dpcf50633-irq.c1 // 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 …]
/Linux-v6.1/drivers/mux/
Dmmio.c1 // 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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dwb_cm.c19 * 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 …]
Ddcn30_dpp_cm.c19 * 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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_hubbub.c19 * 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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hubbub.c19 * 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-v6.1/Documentation/devicetree/bindings/sound/
Damlogic,axg-sound-card.txt5 - 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 …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-emev2.c1 // 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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_hw.c19 * 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 …]
Ddce_audio.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
144 const struct dce_audio_mask *masks; member
152 const struct dce_audio_mask *masks);
160 const struct dce_audio_mask *masks);
/Linux-v6.1/drivers/comedi/drivers/
Ds626.h1 /* 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-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
Dhw_factory_dcn10.c2 * 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-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c19 * 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-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c2 * 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-v6.1/include/linux/mfd/
Dadp5520.h1 /* 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-v6.1/drivers/usb/gadget/udc/
Dfsl_usb2_udc.h1 // 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/gpio/dcn21/
Dhw_factory_dcn21.c2 * 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-v6.1/drivers/usb/phy/
Dphy-fsl-usb.h1 /* 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/net/dsa/microchip/
Dksz8795.c1 // 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/gpio/dcn20/
Dhw_factory_dcn20.c2 * Copyright 2013-15 Advanced Micro Devices, Inc.
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
185 switch (pin->id) { in define_ddc_registers()
187 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers()
188 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers()
191 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers()
192 ddc->base.regs = &ddc_clk_regs_dcn[en].gpio; in define_ddc_registers()
199 ddc->shifts = &ddc_shift[en]; in define_ddc_registers()
200 ddc->masks = &ddc_mask[en]; in define_ddc_registers()
208 hpd->regs = &hpd_regs[en]; in define_hpd_registers()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn30/
Dhw_factory_dcn30.c19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
190 generic->regs = &generic_regs[en]; in define_generic_registers()
191 generic->shifts = &generic_shift[en]; in define_generic_registers()
192 generic->masks = &generic_mask[en]; in define_generic_registers()
193 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers()
202 switch (pin->id) { in define_ddc_registers()
204 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers()
205 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers()
208 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers()
209 ddc->base.regs = &ddc_clk_regs_dcn[en].gpio; in define_ddc_registers()
[all …]

12345678910>>...26