Home
last modified time | relevance | path

Searched full:variant (Results 1 – 25 of 1060) sorted by relevance

12345678910>>...43

/Linux-v6.1/drivers/mmc/host/
Dmmci.c335 /* Busy detection for the ST Micro variant */
343 if (readl(host->base + MMCISTATUS) & host->variant->busy_detect_flag) in mmci_card_busy()
393 datactrl |= host->datactrl_reg & host->variant->busy_dpsm_flag; in mmci_write_datactrlreg()
406 struct variant_data *variant = host->variant; in mmci_set_clkreg() local
407 u32 clk = variant->clkreg; in mmci_set_clkreg()
413 if (variant->explicit_mclk_control) { in mmci_set_clkreg()
417 if (variant->st_clkdiv) in mmci_set_clkreg()
420 } else if (variant->st_clkdiv) { in mmci_set_clkreg()
442 clk |= variant->clkreg_enable; in mmci_set_clkreg()
454 clk |= variant->clkreg_8bit_bus_enable; in mmci_set_clkreg()
[all …]
/Linux-v6.1/tools/testing/selftests/exec/
Dnon-regular.c48 const FIXTURE_VARIANT(file) *variant); in FIXTURE_VARIANT()
54 const FIXTURE_VARIANT(file) *variant) in setup_link()
82 const FIXTURE_VARIANT(file) *variant) in setup_dir()
97 const FIXTURE_VARIANT(file) *variant) in setup_node()
102 dev = makedev(variant->major, variant->minor); in setup_node()
103 rc = mknod(self->pathname, 0755 | variant->mode, dev); in setup_node()
107 variant->name); in setup_node()
135 const FIXTURE_VARIANT(file) *variant) in setup_fifo()
149 ASSERT_GT(asprintf(&self->pathname, "%s.test", variant->name), 6); in FIXTURE_SETUP()
150 self->is_dir = variant->is_dir; in FIXTURE_SETUP()
[all …]
/Linux-v6.1/drivers/video/fbdev/
Ds3c-fb.c60 #define OSD_BASE(win, variant) ((variant).osd + ((win) * (variant).osd_stride)) argument
61 #define VIDOSD_A(win, variant) (OSD_BASE(win, variant) + 0x00) argument
62 #define VIDOSD_B(win, variant) (OSD_BASE(win, variant) + 0x04) argument
63 #define VIDOSD_C(win, variant) (OSD_BASE(win, variant) + 0x08) argument
64 #define VIDOSD_D(win, variant) (OSD_BASE(win, variant) + 0x0C) argument
67 * struct s3c_fb_variant - fb variant information
132 * @variant: The variant information for this driver.
136 struct s3c_fb_variant variant; member
159 * @variant: The variant information for this window.
170 struct s3c_fb_win_variant variant; member
[all …]
/Linux-v6.1/Documentation/admin-guide/hw-vuln/
Dspectre.rst11 This document covers Spectre variant 1 and Spectre variant 2.
45 CVE-2017-5753 Bounds check bypass Spectre variant 1
46 CVE-2017-5715 Branch target injection Spectre variant 2
47 CVE-2019-1125 Spectre v1 swapgs Spectre variant 1 (swapgs)
60 Spectre variant 1 attacks take advantage of speculative execution of
61 conditional branches, while Spectre variant 2 attacks use speculative
66 Spectre variant 1 (Bounds Check Bypass)
78 There are some extensions of Spectre variant 1 attacks for reading data
82 Note that, despite "Bounds Check Bypass" name, Spectre variant 1 is not
89 Spectre variant 2 (Branch Target Injection)
[all …]
/Linux-v6.1/arch/arm64/lib/
Dinsn.c379 enum aarch64_insn_variant variant, in aarch64_insn_gen_comp_branch_imm() argument
401 switch (variant) { in aarch64_insn_gen_comp_branch_imm()
408 pr_err("%s: unknown variant encoding %d\n", __func__, variant); in aarch64_insn_gen_comp_branch_imm()
572 enum aarch64_insn_variant variant, in aarch64_insn_gen_load_store_pair() argument
596 switch (variant) { in aarch64_insn_gen_load_store_pair()
615 pr_err("%s: unknown variant encoding %d\n", __func__, variant); in aarch64_insn_gen_load_store_pair()
891 int imm, enum aarch64_insn_variant variant, in aarch64_insn_gen_add_sub_imm() argument
914 switch (variant) { in aarch64_insn_gen_add_sub_imm()
921 pr_err("%s: unknown variant encoding %d\n", __func__, variant); in aarch64_insn_gen_add_sub_imm()
953 enum aarch64_insn_variant variant, in aarch64_insn_gen_bitfield() argument
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dstmpe-keypad.c118 * @variant: STMPE variant
131 const struct stmpe_keypad_variant *variant; member
142 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_read_data() local
147 if (variant->auto_increment) in stmpe_keypad_read_data()
149 variant->num_data, data); in stmpe_keypad_read_data()
151 for (i = 0; i < variant->num_data; i++) { in stmpe_keypad_read_data()
166 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_irq() local
175 for (i = 0; i < variant->num_normal_data; i++) { in stmpe_keypad_irq()
196 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init() local
197 unsigned int col_gpios = variant->col_gpios; in stmpe_keypad_altfunc_init()
[all …]
/Linux-v6.1/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_i2c.c41 (hdmi->variant->ddc_fifo_thres_incl ? 0 : 1); in fifo_transfer()
59 ioread8_rep(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
61 iowrite8_rep(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
76 if (hdmi->variant->ddc_fifo_has_dir) { in xfer_msg()
98 hdmi->variant->ddc_fifo_thres_incl ? 0 : 1); in xfer_msg()
202 hdmi->variant->field_ddc_en); in sun4i_hdmi_init_regmap_fields()
208 hdmi->variant->field_ddc_start); in sun4i_hdmi_init_regmap_fields()
214 hdmi->variant->field_ddc_reset); in sun4i_hdmi_init_regmap_fields()
220 hdmi->variant->field_ddc_addr_reg); in sun4i_hdmi_init_regmap_fields()
226 hdmi->variant->field_ddc_slave_addr); in sun4i_hdmi_init_regmap_fields()
[all …]
/Linux-v6.1/drivers/phy/broadcom/
Dphy-bcm63xx-usbh.c101 const struct bcm63xx_usbh_phy_variant *variant; member
226 return (usbh->variant->regs[reg] >= 0); in usbh_has_reg()
231 return __raw_readl(usbh->base + usbh->variant->regs[reg]); in usbh_readl()
237 __raw_writel(value, usbh->base + usbh->variant->regs[reg]); in usbh_writel()
276 if (usbh->device_mode && usbh->variant->swapctl_dev_set) in bcm63xx_usbh_phy_init()
277 val |= usbh->variant->swapctl_dev_set; in bcm63xx_usbh_phy_init()
285 val |= usbh->variant->setup_set; in bcm63xx_usbh_phy_init()
286 val &= ~usbh->variant->setup_clr; in bcm63xx_usbh_phy_init()
294 val |= usbh->variant->usc_set; in bcm63xx_usbh_phy_init()
299 if (usbh->variant->tpc_val && in bcm63xx_usbh_phy_init()
[all …]
/Linux-v6.1/drivers/gpu/drm/pl111/
Dpl111_display.c56 u32 cpp = priv->variant->fb_bpp / 8; in pl111_mode_valid()
175 if (priv->variant->broken_clockdivider) in pl111_display_enable()
248 /* On the ST Micro variant, assume all 24 bits are connected */ in pl111_display_enable()
249 if (priv->variant->st_bitmux_control) in pl111_display_enable()
260 /* Only supported on the ST Micro variant */ in pl111_display_enable()
261 if (priv->variant->st_bitmux_control) in pl111_display_enable()
265 /* Only supported on the ST Micro variant */ in pl111_display_enable()
266 if (priv->variant->st_bitmux_control) in pl111_display_enable()
271 if (priv->variant->st_bitmux_control) in pl111_display_enable()
278 if (priv->variant->st_bitmux_control) in pl111_display_enable()
[all …]
Dpl111_drm.h88 /* ST Microelectronics variant bits */
105 * @name: the name of this variant
106 * @is_pl110: this is the early PL110 variant
107 * @is_lcdc: this is the ST Microelectronics Nomadik LCDC variant
108 * @external_bgr: this is the Versatile Pl110 variant with external
112 * @broken_vblank: the vblank IRQ is broken on this variant
113 * @st_bitmux_control: this variant is using the ST Micro bitmux
115 * @formats: array of supported pixel formats on this variant
152 const struct pl111_variant_data *variant; member
/Linux-v6.1/sound/soc/qcom/
Dlpass-cpu.c47 struct lpass_variant *v = drvdata->variant; in lpass_cpu_init_i2sctl_bitfields()
443 LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), 0); in asoc_qcom_lpass_cpu_dai_probe()
456 struct lpass_variant *variant = drvdata->variant; in asoc_qcom_of_xlate_dai_name() local
461 for (i = 0; i < variant->num_dai; i++) { in asoc_qcom_of_xlate_dai_name()
462 if (variant->dai_driver[i].id == id) { in asoc_qcom_of_xlate_dai_name()
463 *dai_name = variant->dai_driver[i].name; in asoc_qcom_of_xlate_dai_name()
481 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_writeable()
523 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_readable()
571 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_volatile()
606 struct lpass_variant *v = drvdata->variant; in lpass_hdmi_init_bitfields()
[all …]
/Linux-v6.1/tools/testing/selftests/net/af_unix/
Dunix_connect.c112 if (variant->sun_path[0]) in FIXTURE_TEARDOWN()
124 self->server = socket(self->family, variant->type, 0); in TEST_F()
127 addrlen = offsetof(struct sockaddr_un, sun_path) + variant->len; in TEST_F()
128 memcpy(&addr.sun_path, variant->sun_path, variant->len); in TEST_F()
133 if (variant->type == SOCK_STREAM) { in TEST_F()
138 err = unshare(variant->flags); in TEST_F()
141 self->client = socket(self->family, variant->type, 0); in TEST_F()
145 ASSERT_EQ(variant->err, err == -1 ? errno : 0); in TEST_F()
/Linux-v6.1/drivers/clk/bcm/
Dclk-raspberrypi.c73 struct raspberrypi_clk_variant *variant; member
245 struct raspberrypi_clk_variant *variant = data->variant; in raspberrypi_fw_dumb_determine_rate() local
260 if (variant->minimize && req->min_rate > 0) in raspberrypi_fw_dumb_determine_rate()
276 struct raspberrypi_clk_variant *variant) in raspberrypi_clk_register() argument
288 data->variant = variant; in raspberrypi_clk_register()
322 if (variant->clkdev) { in raspberrypi_clk_register()
324 NULL, variant->clkdev); in raspberrypi_clk_register()
331 if (variant->min_rate) { in raspberrypi_clk_register()
334 clk_hw_set_rate_range(&data->hw, variant->min_rate, max_rate); in raspberrypi_clk_register()
337 if (rate < variant->min_rate) { in raspberrypi_clk_register()
[all …]
/Linux-v6.1/drivers/clocksource/
Dsamsung_pwm_timer.c66 struct samsung_pwm_variant variant; member
107 bits = (fls(divisor) - 1) - pwm.variant.div_base; in samsung_timer_set_divisor()
225 if (pwm.variant.has_tint_cstat) { in samsung_clockevent_resume()
249 if (pwm.variant.has_tint_cstat) { in samsung_clock_event_isr()
284 if (pwm.variant.has_tint_cstat) { in samsung_clockevent_init()
352 pwm.variant.bits, clock_rate); in samsung_clocksource_init()
354 samsung_clocksource.mask = CLOCKSOURCE_MASK(pwm.variant.bits); in samsung_clocksource_init()
362 pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; in samsung_timer_resources()
363 if (pwm.variant.bits == 16) { in samsung_timer_resources()
380 mask = ~pwm.variant.output_mask & ((1 << SAMSUNG_PWM_NUM) - 1); in _samsung_pwm_clocksource_init()
[all …]
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-mediatek.c77 const struct mediatek_dwmac_variant *variant; member
498 if (tx_delay_ps < plat->variant->tx_delay_max) { in mediatek_dwmac_config_dt()
507 if (rx_delay_ps < plat->variant->rx_delay_max) { in mediatek_dwmac_config_dt()
526 const struct mediatek_dwmac_variant *variant = plat->variant; in mediatek_dwmac_clk_init() local
529 plat->clks = devm_kcalloc(plat->dev, variant->num_clks, sizeof(*plat->clks), GFP_KERNEL); in mediatek_dwmac_clk_init()
533 for (i = 0; i < variant->num_clks; i++) in mediatek_dwmac_clk_init()
534 plat->clks[i].id = variant->clk_list[i]; in mediatek_dwmac_clk_init()
536 ret = devm_clk_bulk_get(plat->dev, variant->num_clks, plat->clks); in mediatek_dwmac_clk_init()
560 const struct mediatek_dwmac_variant *variant = plat->variant; in mediatek_dwmac_init() local
563 if (variant->dwmac_set_phy_interface) { in mediatek_dwmac_init()
[all …]
/Linux-v6.1/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.h66 * @variant: (optional) variant identifier mask
80 * The variant can be used to combine different revisions of one SoC to a
81 * common pinctrl driver. It is matched (AND) with variant of soc_info to
88 u8 variant; member
109 * @variant: variant mask of soc_info
119 * If variant is unequal 0 it will be matched (AND) with variant of each
123 u8 variant; member
162 .variant = _mask, \
Dpinctrl-mvebu.c55 u8 variant; member
116 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_val()
117 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val()
133 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_name()
134 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name()
150 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_gpio_setting()
151 grp->settings[n].variant)) in mvebu_pinctrl_find_gpio_setting()
240 /* skip unsupported settings for this variant */ in mvebu_pinconf_group_dbg_show()
241 if (pctl->variant && in mvebu_pinconf_group_dbg_show()
242 !(pctl->variant & grp->settings[n].variant)) in mvebu_pinconf_group_dbg_show()
[all …]
/Linux-v6.1/drivers/pci/controller/dwc/
Dpcie-artpec6.c36 enum artpec_pcie_variants variant; member
41 enum artpec_pcie_variants variant; member
201 switch (artpec6_pcie->variant) { in artpec6_pcie_wait_for_phy()
275 switch (artpec6_pcie->variant) { in artpec6_pcie_init_phy()
290 switch (artpec6_pcie->variant) { in artpec6_pcie_assert_core_reset()
306 switch (artpec6_pcie->variant) { in artpec6_pcie_deassert_core_reset()
323 if (artpec6_pcie->variant == ARTPEC7) { in artpec6_pcie_host_init()
384 enum artpec_pcie_variants variant; in artpec6_pcie_probe() local
392 variant = (enum artpec_pcie_variants)data->variant; in artpec6_pcie_probe()
407 artpec6_pcie->variant = variant; in artpec6_pcie_probe()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/serial/
Dmvebu-uart.txt6 - "marvell,armada-3700-uart" for the standard variant of the UART
9 - "marvell,armada-3700-uart-ext" for the extended variant of the
18 for standard variant of UART and UART2-clk for extended variant
22 - Must contain three elements for the standard variant of the IP
27 - Must contain two elements for the extended variant of the IP
32 property is also supported for the standard variant of the IP,
/Linux-v6.1/drivers/mfd/
Dstmpe.c43 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable()
48 return stmpe->variant->enable(stmpe, blocks, false); in __stmpe_disable()
262 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_set_altfunc() local
264 int af_bits = variant->af_bits; in stmpe_set_altfunc()
270 if (!variant->get_altfunc) in stmpe_set_altfunc()
284 af = variant->get_altfunc(stmpe, block); in stmpe_set_altfunc()
611 * Compared to all others STMPE variant, LSB and MSB regs are located in this
740 if (!stmpe->variant->enable_autosleep) in stmpe_autosleep()
744 ret = stmpe->variant->enable_autosleep(stmpe, autosleep_timeout); in stmpe_autosleep()
893 u16 id_val = stmpe->variant->id_val; in stmpe_reset()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/s390x/uvdevice/
Dtest_uvdevice.c43 self->uvio_ioctl.argument_len = variant->arg_size; in FIXTURE_SETUP()
59 rc = ioctl(self->uv_fd, variant->ioctl_cmd, NULL); in TEST_F()
64 rc = ioctl(self->uv_fd, variant->ioctl_cmd, self->fault_page); in TEST_F()
75 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
81 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
96 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
102 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
106 self->uvio_ioctl.argument_len = variant->arg_size; in TEST_F()
109 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
116 rc = ioctl(self->uv_fd, variant->ioctl_cmd, &self->uvio_ioctl); in TEST_F()
[all …]
/Linux-v6.1/arch/xtensa/
DMakefile15 variant-y := $(CONFIG_XTENSA_VARIANT_NAME)
17 VARIANT = $(variant-y) macro
19 ifneq ($(VARIANT),)
22 CROSS_COMPILE = xtensa_$(VARIANT)-
51 vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y))
/Linux-v6.1/drivers/pwm/
Dpwm-samsung.c73 * @variant: local copy of hardware variant data
83 struct samsung_pwm_variant variant; member
142 bits = (fls(divisor) - 1) - pwm->variant.div_base; in pwm_samsung_set_divisor()
156 struct samsung_pwm_variant *variant = &chip->variant; in pwm_samsung_is_tdiv() local
163 return (BIT(reg) & variant->tclk_mask) == 0; in pwm_samsung_is_tdiv()
185 struct samsung_pwm_variant *variant = &chip->variant; in pwm_samsung_calc_tin() local
210 if (variant->bits < 32) { in pwm_samsung_calc_tin()
212 for (div = variant->div_base; div < 4; ++div) in pwm_samsung_calc_tin()
213 if ((rate >> (variant->bits + div)) < freq) in pwm_samsung_calc_tin()
220 div = variant->div_base; in pwm_samsung_calc_tin()
[all …]
/Linux-v6.1/arch/arm/mach-davinci/
Dcommon.c28 u8 variant; in davinci_init_id() local
41 variant = (soc_info->jtag_id & 0xf0000000) >> 28; in davinci_init_id()
47 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id()
49 pr_info("DaVinci %s variant 0x%x\n", dip->name, in davinci_init_id()
50 dip->variant); in davinci_init_id()
/Linux-v6.1/drivers/media/platform/verisilicon/
Dhantro_drv.c95 clk_bulk_disable(vpu->variant->num_clocks, vpu->clocks); in hantro_job_finish()
141 if (!ctx->is_encoder && !ctx->dev->variant->late_postproc) { in hantro_start_prepare_run()
153 if (!ctx->is_encoder && ctx->dev->variant->late_postproc) { in hantro_end_prepare_run()
182 ret = clk_bulk_enable(ctx->dev->variant->num_clocks, ctx->dev->clocks); in device_run()
556 allowed_codecs = vpu->variant->codec & HANTRO_ENCODERS; in hantro_open()
559 allowed_codecs = vpu->variant->codec & HANTRO_DECODERS; in hantro_open()
848 if (!vpu->variant->enc_fmts) in hantro_add_enc_func()
856 if (!vpu->variant->dec_fmts) in hantro_add_dec_func()
912 vpu->variant = match->data; in hantro_probe()
925 vpu->clocks = devm_kcalloc(&pdev->dev, vpu->variant->num_clocks, in hantro_probe()
[all …]

12345678910>>...43