/linux/drivers/mmc/host/ |
A D | mmci.c | 406 struct variant_data *variant = host->variant; in mmci_set_clkreg() local 491 struct variant_data *variant = host->variant; in mmci_validate_data() local 611 struct variant_data *variant = host->variant; in mmci_set_mask1() local 908 struct variant_data *variant = host->variant; in _mmci_dmae_prep_data() local 1131 struct variant_data *variant = host->variant; in mmci_start_data() local 1501 struct variant_data *variant = host->variant; in mmci_pio_write() local 1509 variant->fifosize : variant->fifohalfsize; in mmci_pio_write() 1541 struct variant_data *variant = host->variant; in mmci_pio_irq() local 1744 struct variant_data *variant = host->variant; in mmci_set_ios() local 2071 host->variant = variant; in mmci_probe() [all …]
|
/linux/drivers/video/fbdev/ |
A D | s3c-fb.c | 60 #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 351 if (sfb->variant.has_clksel) in s3c_fb_calc_pixclk() 1203 win->variant = *variant; in s3c_fb_probe_win() 1309 if (sfb->variant.is_2443) in s3c_fb_set_rgb_timing() 1390 sfb->variant = fbdrv->variant; in s3c_fb_probe() 1713 .variant = { [all …]
|
/linux/tools/testing/selftests/exec/ |
A D | non-regular.c | 48 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() 107 variant->name); in setup_node() 135 const FIXTURE_VARIANT(file) *variant) in setup_fifo() 150 self->is_dir = variant->is_dir; in FIXTURE_SETUP() 152 rm(_metadata, self->pathname, variant->is_dir); in FIXTURE_SETUP() 153 variant->setup(_metadata, self, variant); in FIXTURE_SETUP() [all …]
|
/linux/drivers/phy/broadcom/ |
A D | phy-bcm63xx-usbh.c | 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() 302 usbh->variant->tpc_val); in bcm63xx_usbh_phy_init() 306 usbh->variant->utmictl1_dev_set) { in bcm63xx_usbh_phy_init() 324 val |= usbh->variant->power_pllc_set; in bcm63xx_usbh_phy_power_on() 341 val |= usbh->variant->power_pllc_clr; in bcm63xx_usbh_phy_power_off() 389 variant = device_get_match_data(dev); in bcm63xx_usbh_phy_probe() 390 if (!variant) in bcm63xx_usbh_phy_probe() [all …]
|
/linux/drivers/input/keyboard/ |
A D | stmpe-keypad.c | 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 196 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init() local 217 for (i = 0; i < variant->max_cols; i++) { in stmpe_keypad_altfunc_init() 228 for (i = 0; i < variant->max_rows; i++) { in stmpe_keypad_altfunc_init() 247 if (variant->set_pullup) { in stmpe_keypad_altfunc_init() 266 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_chip_init() local [all …]
|
A D | tm2-touchkey.c | 52 const struct touchkey_variant *variant; member 96 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set() 99 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set() 102 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set() 105 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set() 108 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set() 141 if (touchkey->variant->no_reg) in tm2_touchkey_irq_handler() 145 touchkey->variant->keycode_reg); in tm2_touchkey_irq_handler() 173 if (touchkey->variant->fixed_regulator && in tm2_touchkey_irq_handler() 205 touchkey->variant = of_device_get_match_data(&client->dev); in tm2_touchkey_probe() [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_hdmi_i2c.c | 76 if (hdmi->variant->ddc_fifo_has_dir) { 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() 232 hdmi->variant->field_ddc_int_mask); in sun4i_hdmi_init_regmap_fields() 238 hdmi->variant->field_ddc_int_status); in sun4i_hdmi_init_regmap_fields() 268 hdmi->variant->field_ddc_cmd); in sun4i_hdmi_init_regmap_fields() 274 hdmi->variant->field_ddc_sda_en); in sun4i_hdmi_init_regmap_fields() [all …]
|
A D | sun8i_hdmi_phy.c | 352 if (phy->variant->has_phy_clk) in sun8i_hdmi_phy_config() 382 phy->variant->phy_disable(hdmi, phy); in sun8i_hdmi_phy_disable() 531 if (phy->variant->has_phy_clk) { in sun8i_hdmi_phy_init() 533 phy->variant->has_second_pll); in sun8i_hdmi_phy_init() 542 phy->variant->phy_init(phy); in sun8i_hdmi_phy_init() 568 struct sun8i_hdmi_phy_variant *variant = phy->variant; in sun8i_hdmi_phy_set_ops() local 570 if (variant->is_custom_phy) { in sun8i_hdmi_phy_set_ops() 575 plat_data->mpll_cfg = variant->mpll_cfg; in sun8i_hdmi_phy_set_ops() 576 plat_data->cur_ctr = variant->cur_ctr; in sun8i_hdmi_phy_set_ops() 726 if (phy->variant->has_phy_clk) { in sun8i_hdmi_phy_probe() [all …]
|
/linux/arch/arm64/lib/ |
A D | insn.c | 406 switch (variant) { in aarch64_insn_gen_comp_branch_imm() 535 switch (variant) { in aarch64_insn_gen_load_store_pair() 741 switch (variant) { in aarch64_insn_gen_add_sub_imm() 801 switch (variant) { in aarch64_insn_gen_bitfield() 859 switch (variant) { in aarch64_insn_gen_movewide() 914 switch (variant) { in aarch64_insn_gen_add_sub_shifted_reg() 972 switch (variant) { in aarch64_insn_gen_data1() 1020 switch (variant) { in aarch64_insn_gen_data2() 1059 switch (variant) { in aarch64_insn_gen_data3() 1120 switch (variant) { in aarch64_insn_gen_logical_shifted_reg() [all …]
|
/linux/sound/soc/qcom/ |
A D | lpass-cpu.c | 454 struct lpass_variant *variant = drvdata->variant; in asoc_qcom_of_xlate_dai_name() local 875 struct lpass_variant *variant; in asoc_qcom_lpass_cpu_platform_probe() local 896 variant = drvdata->variant; in asoc_qcom_lpass_cpu_platform_probe() 905 variant->wrdma_channels + in asoc_qcom_lpass_cpu_platform_probe() 932 if (variant->init) { in asoc_qcom_lpass_cpu_platform_probe() 933 ret = variant->init(pdev); in asoc_qcom_lpass_cpu_platform_probe() 984 variant->dai_driver, in asoc_qcom_lpass_cpu_platform_probe() 985 variant->num_dai); in asoc_qcom_lpass_cpu_platform_probe() 1006 if (drvdata->variant->exit) in asoc_qcom_lpass_cpu_platform_remove() 1007 drvdata->variant->exit(pdev); in asoc_qcom_lpass_cpu_platform_remove() [all …]
|
/linux/drivers/clocksource/ |
A D | samsung_pwm_timer.c | 66 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() 362 pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; in samsung_timer_resources() 363 if (pwm.variant.bits == 16) { in samsung_timer_resources() 407 memcpy(&pwm.variant, variant, sizeof(pwm.variant)); in samsung_pwm_clocksource_init() 426 memcpy(&pwm.variant, variant, sizeof(pwm.variant)); in samsung_pwm_alloc() [all …]
|
/linux/drivers/gpu/drm/pl111/ |
A D | pl111_display.c | 54 u32 cpp = priv->variant->fb_bpp / 8; in pl111_mode_valid() 247 if (priv->variant->st_bitmux_control) in pl111_display_enable() 259 if (priv->variant->st_bitmux_control) in pl111_display_enable() 282 if (priv->variant->is_pl110) in pl111_display_enable() 290 if (priv->variant->is_pl110) in pl111_display_enable() 332 if (priv->variant->external_bgr) in pl111_display_enable() 351 if (!priv->variant->broken_vblank) in pl111_display_enable() 362 if (!priv->variant->broken_vblank) in pl111_display_disable() 579 if (!priv->variant->broken_vblank) { in pl111_display_init() 586 priv->variant->formats, in pl111_display_init() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-mediatek.c | 51 const struct mediatek_dwmac_variant *variant; member 290 if (tx_delay_ps < plat->variant->tx_delay_max) { in mediatek_dwmac_config_dt() 299 if (rx_delay_ps < plat->variant->rx_delay_max) { in mediatek_dwmac_config_dt() 317 const struct mediatek_dwmac_variant *variant = plat->variant; in mediatek_dwmac_clk_init() local 318 int i, num = variant->num_clks; in mediatek_dwmac_clk_init() 325 plat->clks[i].id = variant->clk_list[i]; in mediatek_dwmac_clk_init() 327 plat->num_clks_to_config = variant->num_clks; in mediatek_dwmac_clk_init() 335 const struct mediatek_dwmac_variant *variant = plat->variant; in mediatek_dwmac_init() local 344 ret = variant->dwmac_set_phy_interface(plat); in mediatek_dwmac_init() 350 ret = variant->dwmac_set_delay(plat); in mediatek_dwmac_init() [all …]
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-artpec6.c | 36 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() 394 variant = (enum artpec_pcie_variants)data->variant; in artpec6_pcie_probe() 409 artpec6_pcie->variant = variant; in artpec6_pcie_probe() 455 .variant = ARTPEC6, 460 .variant = ARTPEC6, 465 .variant = ARTPEC7, [all …]
|
/linux/tools/testing/selftests/ |
A D | kselftest_harness.h | 184 struct __fixture_variant_metadata *variant) \ 269 __attribute__((unused)) *variant) 379 struct __fixture_variant_metadata *variant) \ 408 __attribute__((unused)) *variant) 785 struct __fixture_variant_metadata *variant; member 813 __LIST_APPEND(f->variant, variant); in __register_fixture_variant() 965 struct __fixture_variant_metadata *variant, in __run_test() argument 977 f->name, variant->name[0] ? "." : "", variant->name, t->name); in __run_test() 988 t->fn(t, variant); in __run_test() 1000 f->name, variant->name[0] ? "." : "", variant->name, t->name); in __run_test() [all …]
|
/linux/drivers/mfd/ |
A D | stmpe.c | 268 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_set_altfunc() local 270 int af_bits = variant->af_bits; in stmpe_set_altfunc() 276 if (!variant->get_altfunc) in stmpe_set_altfunc() 1089 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_irq() local 1148 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_irq_sync_unlock() local 1242 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_chip_init() local 1254 if ((id & variant->id_mask) != variant->id_val) { in stmpe_chip_init() 1309 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_devices_init() local 1421 stmpe->regs = stmpe->variant->regs; in stmpe_probe() 1458 stmpe->variant->name); in stmpe_probe() [all …]
|
/linux/drivers/pwm/ |
A D | pwm-samsung.c | 83 struct samsung_pwm_variant variant; member 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() 213 if ((rate >> (variant->bits + div)) < freq) in pwm_samsung_calc_tin() 220 div = variant->div_base; in pwm_samsung_calc_tin() 502 memcpy(&chip->variant, match->data, sizeof(chip->variant)); in pwm_samsung_parse_dt() 511 chip->variant.output_mask |= BIT(val); in pwm_samsung_parse_dt() 550 sizeof(chip->variant)); in pwm_samsung_probe() [all …]
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_drv.c | 801 if (!vpu->variant->enc_fmts) in hantro_add_enc_func() 809 if (!vpu->variant->dec_fmts) in hantro_add_dec_func() 865 vpu->variant = match->data; in hantro_probe() 874 if (vpu->variant->num_clocks > 1) { in hantro_probe() 899 res = vpu->variant->reg_names ? in hantro_probe() 901 vpu->variant->reg_names[i]) : in hantro_probe() 921 if (!vpu->variant->irqs[i].handler) in hantro_probe() 924 if (vpu->variant->num_irqs > 1) { in hantro_probe() 948 if (vpu->variant->init) { in hantro_probe() 949 ret = vpu->variant->init(vpu); in hantro_probe() [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
A D | spectre.rst | 11 This document covers Spectre variant 1 and Spectre variant 2. 66 Spectre variant 1 (Bounds Check Bypass) 89 Spectre variant 2 (Branch Target Injection) 143 Spectre variant 1 158 Spectre variant 1 (swapgs) 188 Spectre variant 2 342 variant 1 are covered. 414 Turning on mitigation for Spectre variant 1 and Spectre variant 2 420 Spectre variant 1 433 For the swapgs variant of Spectre variant 1, LFENCE barriers are [all …]
|
/linux/drivers/pinctrl/mvebu/ |
A D | pinctrl-mvebu.c | 55 u8 variant; member 113 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_val() 128 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_name() 143 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_gpio_setting() 231 if (pctl->variant && in mvebu_pinconf_group_dbg_show() 232 !(pctl->variant & grp->settings[n].variant)) in mvebu_pinconf_group_dbg_show() 512 if (pctl->variant && in mvebu_pinctrl_build_functions() 513 !(pctl->variant & grp->settings[s].variant)) in mvebu_pinctrl_build_functions() 541 !(pctl->variant & grp->settings[s].variant)) in mvebu_pinctrl_build_functions() 594 pctl->variant = soc->variant; in mvebu_pinctrl_probe() [all …]
|
/linux/tools/testing/selftests/landlock/ |
A D | ptrace_test.c | 225 if (variant->domain_both) { in TEST_F() 239 if (variant->domain_child) in TEST_F() 248 if (variant->domain_child) { in TEST_F() 264 if (variant->domain_parent) { in TEST_F() 277 if (!variant->domain_parent) { in TEST_F() 289 if (variant->domain_parent) in TEST_F() 302 if (!variant->domain_parent) { in TEST_F() 315 if (variant->domain_parent) { in TEST_F()
|
/linux/drivers/iio/magnetometer/ |
A D | hmc5843_core.c | 278 "%d.%d ", data->variant->regval_to_samp_freq[i][0], in hmc5843_show_samp_freq_avail() 279 data->variant->regval_to_samp_freq[i][1]); in hmc5843_show_samp_freq_avail() 308 if (val == data->variant->regval_to_samp_freq[i][0] && in hmc5843_get_samp_freq_index() 309 val2 == data->variant->regval_to_samp_freq[i][1]) in hmc5843_get_samp_freq_index() 339 "0.%09d ", data->variant->regval_to_nanoscale[i]); in hmc5843_show_scale_avail() 358 if (val2 == data->variant->regval_to_nanoscale[i]) in hmc5843_get_scale_index() 381 *val2 = data->variant->regval_to_nanoscale[rval]; in hmc5843_read_raw() 388 *val = data->variant->regval_to_samp_freq[rval][0]; in hmc5843_read_raw() 389 *val2 = data->variant->regval_to_samp_freq[rval][1]; in hmc5843_read_raw() 637 data->variant = &hmc5843_chip_info_tbl[id]; in hmc5843_common_probe() [all …]
|
/linux/drivers/media/platform/exynos-gsc/ |
A D | gsc-core.c | 393 struct gsc_variant *variant = gsc->variant; in gsc_try_fmt_mplane() local 426 min_w = variant->pix_min->org_w; in gsc_try_fmt_mplane() 427 min_h = variant->pix_min->org_h; in gsc_try_fmt_mplane() 522 struct gsc_variant *variant = gsc->variant; in gsc_try_selection() local 639 struct gsc_variant *variant = ctx->gsc_dev->variant; in gsc_set_scaler_info() local 702 struct gsc_variant *variant = gsc->variant; in __gsc_s_ctrl() local 1041 .variant = { 1053 .variant = { 1065 .variant = { 1075 .variant = { [all …]
|
/linux/arch/arm/mach-davinci/ |
A D | common.c | 30 u8 variant; in davinci_init_id() local 43 variant = (soc_info->jtag_id & 0xf0000000) >> 28; in davinci_init_id() 49 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id() 52 dip->variant); in davinci_init_id()
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-core.c | 515 if (!ss->variant->ss_clks[i].name) in sun8i_ss_pm_resume() 520 ss->variant->ss_clks[i].name); in sun8i_ss_pm_resume() 666 if (!ss->variant->ss_clks[i].name) in sun8i_ss_get_clks() 672 ss->variant->ss_clks[i].name, err); in sun8i_ss_get_clks() 681 ss->variant->ss_clks[i].name, in sun8i_ss_get_clks() 682 ss->variant->ss_clks[i].freq, in sun8i_ss_get_clks() 688 ss->variant->ss_clks[i].name, in sun8i_ss_get_clks() 689 ss->variant->ss_clks[i].freq); in sun8i_ss_get_clks() 694 ss->variant->ss_clks[i].name, cr, in sun8i_ss_get_clks() 695 ss->variant->ss_clks[i].max_freq); in sun8i_ss_get_clks() [all …]
|