/drivers/video/ |
D | s3c-fb.c | 63 #define OSD_BASE(win, variant) ((variant).osd + ((win) * (variant).osd_stride)) argument 64 #define VIDOSD_A(win, variant) (OSD_BASE(win, variant) + 0x00) argument 65 #define VIDOSD_B(win, variant) (OSD_BASE(win, variant) + 0x04) argument 66 #define VIDOSD_C(win, variant) (OSD_BASE(win, variant) + 0x08) argument 67 #define VIDOSD_D(win, variant) (OSD_BASE(win, variant) + 0x0C) argument 138 struct s3c_fb_variant variant; member 172 struct s3c_fb_win_variant variant; member 211 struct s3c_fb_variant variant; member 231 return win->variant.valid_bpp & VALID_BPP(bpp); in s3c_fb_validate_win_bpp() 268 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var() [all …]
|
/drivers/input/keyboard/ |
D | stmpe-keypad.c | 106 const struct stmpe_keypad_variant *variant; member 117 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_read_data() local 122 if (variant->auto_increment) in stmpe_keypad_read_data() 124 variant->num_data, data); in stmpe_keypad_read_data() 126 for (i = 0; i < variant->num_data; i++) { in stmpe_keypad_read_data() 141 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_irq() local 142 u8 fifo[variant->num_data]; in stmpe_keypad_irq() 150 for (i = 0; i < variant->num_normal_data; i++) { in stmpe_keypad_irq() 171 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init() local 172 unsigned int col_gpios = variant->col_gpios; in stmpe_keypad_altfunc_init() [all …]
|
/drivers/staging/wlags49_h2/ |
D | mmd.c | 184 CFG_RANGE_SPEC_BYTE_STRCT *supq = (CFG_RANGE_SPEC_BYTE_STRCT*)&(supp->variant); in mmd_check_comp() 206 MMDASSERT( 1 <= supp->variant && supp->variant <= 99, supp->variant ) in mmd_check_comp() 213 …MMDASSERT( 1 <= CNV_END_SHORT(supp->variant) && CNV_END_SHORT(supp->variant) <= 99, supp->variant… in mmd_check_comp() 226 MMDASSERT( actq->variant[act_endian] <= 99, i<<8 | actq->variant[act_endian] ) in mmd_check_comp() 230 if ( actq->variant[act_endian] == supq->variant[sup_endian] && in mmd_check_comp()
|
D | mdd.h | 266 hcf_16 variant; member 272 hcf_8 variant[2]; member 461 …X5( CFG_SUP_RANGE, role, id, variant, bottom, top ) /*[PRI] Primary Supplier compatibility … 463 …X4( CFG_IDENTITY, comp_id, variant, version_major, version_minor ) /*identification Prototype … 472 …X5( CFG_CFI_ACT_RANGES_PRI,role, id, variant, bottom, top ) /*[PRI] Controller Actor compati… 475 …X5( CFG_NIC_MFI_SUP_RANGE, role, id, variant, bottom, top ) /*[PRI] Modem I/F Supplier compa… 476 …X5( CFG_NIC_CFI_SUP_RANGE, role, id, variant, bottom, top ) /*[PRI] Controller I/F Supplier … 484 …X5( CFG_MFI_ACT_RANGES, role, id, variant, bottom, top ) /*[STA] Modem I/F Actor compatibili… 485 …X5( CFG_CFI_ACT_RANGES_STA,role, id, variant, bottom, top ) /*[STA] Controller I/F Actor com… 486 …X5( CFG_MFI_ACT_RANGES_STA,role, id, variant, bottom, top ) /*[STA] Controller I/F Actor com…
|
/drivers/clocksource/ |
D | samsung_pwm_timer.c | 58 struct samsung_pwm_variant variant; member 99 bits = (fls(divisor) - 1) - pwm.variant.div_base; in samsung_timer_set_divisor() 245 if (pwm.variant.has_tint_cstat) { in samsung_clock_event_isr() 283 if (pwm.variant.has_tint_cstat) { in samsung_clockevent_init() 341 pwm.variant.bits, clock_rate); in samsung_clocksource_init() 344 clock_rate, 250, pwm.variant.bits, in samsung_clocksource_init() 358 pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; in samsung_timer_resources() 359 if (pwm.variant.bits == 16) { in samsung_timer_resources() 376 mask = ~pwm.variant.output_mask & ((1 << SAMSUNG_PWM_NUM) - 1); in _samsung_pwm_clocksource_init() 394 unsigned int *irqs, struct samsung_pwm_variant *variant) in samsung_pwm_clocksource_init() argument [all …]
|
/drivers/mfd/ |
D | stmpe.c | 27 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable() 32 return stmpe->variant->enable(stmpe, blocks, false); in __stmpe_disable() 246 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_set_altfunc() local 248 int af_bits = variant->af_bits; in stmpe_set_altfunc() 254 if (!variant->get_altfunc) in stmpe_set_altfunc() 268 af = variant->get_altfunc(stmpe, block); in stmpe_set_altfunc() 565 if (!stmpe->variant->enable_autosleep) in stmpe_autosleep() 569 ret = stmpe->variant->enable_autosleep(stmpe, autosleep_timeout); in stmpe_autosleep() 844 struct stmpe_variant_info *variant = stmpe->variant; in stmpe_irq() local 845 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq() [all …]
|
D | pcf50633-core.c | 200 int version, variant; in pcf50633_probe() local 225 variant = pcf50633_reg_read(pcf, 1); in pcf50633_probe() 226 if (version < 0 || variant < 0) { in pcf50633_probe() 233 version, variant); in pcf50633_probe()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 58 u8 variant; member 92 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_val() 93 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 107 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_setting_by_name() 108 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 122 if (!pctl->variant || (pctl->variant & in mvebu_pinctrl_find_gpio_setting() 123 grp->settings[n].variant)) in mvebu_pinctrl_find_gpio_setting() 244 if (pctl->variant && in mvebu_pinconf_group_dbg_show() 245 !(pctl->variant & grp->settings[n].variant)) in mvebu_pinconf_group_dbg_show() 524 if (pctl->variant && in mvebu_pinctrl_build_functions() [all …]
|
D | pinctrl-mvebu.h | 74 u8 variant; member 108 u8 variant; member 158 .variant = _mask, \
|
D | pinctrl-kirkwood.c | 388 .variant = VARIANT_MV88F6180, 398 .variant = VARIANT_MV88F6190, 408 .variant = VARIANT_MV88F6192, 418 .variant = VARIANT_MV88F6281, 428 .variant = VARIANT_MV88F6282, 438 .variant = VARIANT_MV98DX4122,
|
/drivers/staging/comedi/drivers/ |
D | ni_tio.c | 63 variant) in Gi_Alternate_Sync_Bit() 65 switch (variant) { in Gi_Alternate_Sync_Bit() 84 variant) in Gi_Prescale_X2_Bit() 86 switch (variant) { in Gi_Prescale_X2_Bit() 105 variant) in Gi_Prescale_X8_Bit() 107 switch (variant) { in Gi_Prescale_X8_Bit() 126 variant) in Gi_HW_Arm_Select_Mask() 128 switch (variant) { in Gi_HW_Arm_Select_Mask() 307 enum ni_gpct_variant variant, in ni_gpct_device_construct() argument 319 counter_dev->variant = variant; in ni_gpct_device_construct() [all …]
|
D | ni_tiocmd.c | 75 switch (counter_dev->variant) { in ni_tio_configure_dma() 134 switch (counter_dev->variant) { in ni_tio_input_cmd() 332 switch (counter->counter_dev->variant) { in should_ack_gate() 384 if (counter->counter_dev->variant != in ni_tio_acknowledge_and_confirm() 445 switch (counter->counter_dev->variant) { in ni_tio_handle_interrupt()
|
/drivers/staging/wlan-ng/ |
D | prism2sta.c | 633 hw->ident_nic.variant = le16_to_cpu(hw->ident_nic.variant); in prism2sta_getcardinfo() 639 hw->ident_nic.minor, hw->ident_nic.variant); in prism2sta_getcardinfo() 652 hw->ident_pri_fw.variant = le16_to_cpu(hw->ident_pri_fw.variant); in prism2sta_getcardinfo() 658 hw->ident_pri_fw.minor, hw->ident_pri_fw.variant); in prism2sta_getcardinfo() 678 hw->ident_sta_fw.variant = le16_to_cpu(hw->ident_sta_fw.variant); in prism2sta_getcardinfo() 683 hw->mm_mods = hw->ident_sta_fw.variant & (BIT(14) | BIT(15)); in prism2sta_getcardinfo() 684 hw->ident_sta_fw.variant &= ~((u16) (BIT(14) | BIT(15))); in prism2sta_getcardinfo() 690 hw->ident_sta_fw.minor, hw->ident_sta_fw.variant); in prism2sta_getcardinfo() 695 hw->ident_sta_fw.minor, hw->ident_sta_fw.variant); in prism2sta_getcardinfo() 713 hw->cap_sup_mfi.variant = le16_to_cpu(hw->cap_sup_mfi.variant); in prism2sta_getcardinfo() [all …]
|
D | prism2fw.c | 307 priid.variant = *data++; in prism2_fwapply() 602 nicid.variant = le16_to_cpu(nicid.variant); in mkpdrlist() 611 rfid.variant = le16_to_cpu(rfid.variant); in mkpdrlist() 620 macid.variant = le16_to_cpu(macid.variant); in mkpdrlist() 1140 nicid.id, nicid.major, nicid.minor, nicid.variant); in validate_identity() 1142 rfid.id, rfid.variant, rfid.bottom, rfid.top); in validate_identity() 1144 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity() 1146 priid.id, priid.variant, priid.bottom, priid.top); in validate_identity() 1155 s3info[i].info.version.variant); in validate_identity() 1161 s3info[i].info.compat.variant, in validate_identity() [all …]
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 390 struct gsc_variant *variant = gsc->variant; in gsc_try_fmt_mplane() local 413 max_w = variant->pix_max->target_rot_dis_w; in gsc_try_fmt_mplane() 414 max_h = variant->pix_max->target_rot_dis_h; in gsc_try_fmt_mplane() 416 mod_x = ffs(variant->pix_align->org_w) - 1; in gsc_try_fmt_mplane() 418 mod_y = ffs(variant->pix_align->org_h) - 1; in gsc_try_fmt_mplane() 420 mod_y = ffs(variant->pix_align->org_h) - 2; in gsc_try_fmt_mplane() 423 min_w = variant->pix_min->org_w; in gsc_try_fmt_mplane() 424 min_h = variant->pix_min->org_h; in gsc_try_fmt_mplane() 426 min_w = variant->pix_min->target_rot_dis_w; in gsc_try_fmt_mplane() 427 min_h = variant->pix_min->target_rot_dis_h; in gsc_try_fmt_mplane() [all …]
|
/drivers/mmc/host/ |
D | mmci.c | 196 struct variant_data *variant = host->variant; in mmci_set_clkreg() local 197 u32 clk = variant->clkreg; in mmci_set_clkreg() 202 if (variant->st_clkdiv) in mmci_set_clkreg() 205 } else if (variant->st_clkdiv) { in mmci_set_clkreg() 227 clk |= variant->clkreg_enable; in mmci_set_clkreg() 462 struct variant_data *variant = host->variant; in __mmci_dma_prep_data() local 468 .src_maxburst = variant->fifohalfsize >> 2, /* # of words */ in __mmci_dma_prep_data() 469 .dst_maxburst = variant->fifohalfsize >> 2, /* # of words */ in __mmci_dma_prep_data() 493 if (data->blksz * data->blocks <= variant->fifosize) in __mmci_dma_prep_data() 662 struct variant_data *variant = host->variant; in mmci_start_data() local [all …]
|
/drivers/iio/imu/ |
D | adis16400_core.c | 111 if (st->variant->flags & ADIS16400_HAS_SERIAL_NUMBER) in adis16400_debugfs_init() 115 if (st->variant->flags & ADIS16400_HAS_PROD_ID) in adis16400_debugfs_init() 225 ret = st->variant->get_freq(st); in adis16400_read_frequency() 281 st->variant->set_freq(st, val); in adis16400_write_frequency() 310 if (st->variant->flags & ADIS16400_HAS_SLOW_MODE) in adis16400_initial_setup() 321 if (st->variant->flags & ADIS16400_HAS_PROD_ID) { in adis16400_initial_setup() 338 if (st->variant->flags & ADIS16400_HAS_SLOW_MODE) { in adis16400_initial_setup() 387 sps = st->variant->get_freq(st); in adis16400_write_raw() 416 *val2 = st->variant->gyro_scale_micro; in adis16400_read_raw() 430 *val2 = st->variant->accel_scale_micro; in adis16400_read_raw() [all …]
|
D | adis16400_buffer.c | 23 if (st->variant->flags & ADIS16400_NO_BURST) in adis16400_update_scan_mode() 70 if (!(st->variant->flags & ADIS16400_NO_BURST) && in adis16400_trigger_handler() 80 if (!(st->variant->flags & ADIS16400_NO_BURST)) { in adis16400_trigger_handler()
|
/drivers/staging/vme/devices/ |
D | vme_pio2_core.c | 39 static char *variant[PIO2_CARDS_MAX]; variable 234 strncpy(card->variant, variant[card->id], PIO2_VARIANT_LENGTH); in pio2_probe() 239 if (isdigit(card->variant[i]) == 0) { in pio2_probe() 266 switch (card->variant[i]) { in pio2_probe() 406 "PIO2 (variant %s) configured at 0x%lx\n", card->variant, in pio2_probe() 499 MODULE_PARM_DESC(variant, "Last 4 characters of PIO2 board variant"); 500 module_param_array(variant, charp, &variant_num, S_IRUGO);
|
/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 302 const struct fimc_variant *variant = fimc->variant; in fimc_try_fmt_mplane() local 321 max_w = variant->pix_limit->scaler_dis_w; in fimc_try_fmt_mplane() 322 mod_x = ffs(variant->min_inp_pixsize) - 1; in fimc_try_fmt_mplane() 324 max_w = variant->pix_limit->out_rot_dis_w; in fimc_try_fmt_mplane() 325 mod_x = ffs(variant->min_out_pixsize) - 1; in fimc_try_fmt_mplane() 332 if (variant->min_vsize_align == 1) in fimc_try_fmt_mplane() 335 mod_y = ffs(variant->min_vsize_align) - 1; in fimc_try_fmt_mplane() 339 &pix->height, 8, variant->pix_limit->scaler_dis_w, mod_y, 0); in fimc_try_fmt_mplane() 518 fimc->variant->min_inp_pixsize : fimc->variant->min_out_pixsize; in fimc_m2m_try_crop() 521 if (fimc->variant->min_vsize_align == 1) in fimc_m2m_try_crop() [all …]
|
/drivers/staging/iio/magnetometer/ |
D | hmc5843.c | 208 const struct hmc5843_chip_info *variant; member 394 ssize_t n = sprintf(buf, "%s ", data->variant->regval_to_sample_freq[i]); in hmc5843_show_sampling_frequencies_available() 426 const char * const *samp_freq = data->variant->regval_to_sample_freq; in hmc5843_check_sampling_frequency() 480 return sprintf(buf, "%s\n", data->variant->regval_to_sample_freq[rate]); in hmc5843_show_sampling_frequency() 498 return sprintf(buf, "%d\n", data->variant->regval_to_input_field_mga[range]); in hmc5843_show_range_gain() 556 *val2 = data->variant->regval_to_nanoscale[data->range]; in hmc5843_read_raw() 650 data->variant = &hmc5843_chip_info_tbl[id->driver_data]; in hmc5843_init_client() 651 indio_dev->channels = data->variant->channels; in hmc5843_init_client() 652 indio_dev->num_channels = data->variant->num_channels; in hmc5843_init_client()
|
/drivers/clk/ |
D | clk-si5351.c | 54 enum si5351_variant variant; member 380 if (drvdata->variant != SI5351_VARIANT_C && in _si5351_pll_reparent() 406 if (hwdata->drvdata->variant != SI5351_VARIANT_C && in si5351_pll_set_parent() 809 if (drvdata->variant != SI5351_VARIANT_C) in _si5351_clkout_reparent() 1100 pdata->variant = (enum si5351_variant)match->data; in si5351_dt_parse() 1131 if (pdata->variant != SI5351_VARIANT_C) { in si5351_dt_parse() 1155 (pdata->variant == SI5351_VARIANT_A3 && num >= 3)) { in si5351_dt_parse() 1194 if (pdata->variant != SI5351_VARIANT_C) { in si5351_dt_parse() 1272 drvdata->variant = pdata->variant; in si5351_i2c_probe() 1288 if (drvdata->variant != SI5351_VARIANT_C) in si5351_i2c_probe() [all …]
|
/drivers/media/platform/s3c-camif/ |
D | camif-regs.c | 30 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) in camif_hw_reset() 87 if (camif->variant->ip_revision >= S3C6400_CAMIF_IP_REV) { in camif_hw_set_effect() 146 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) { in camif_hw_set_camera_crop() 192 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) { in camif_hw_set_camera_bus() 209 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV in camif_hw_set_output_addr() 268 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) { in camif_hw_set_output_dma() 311 if (camif->variant->ip_revision == S3C244X_CAMIF_IP_REV) { in camif_hw_set_target_format() 480 unsigned int ip_rev = vp->camif->variant->ip_revision; in camif_hw_set_scaler() 522 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) in camif_hw_enable_capture()
|
D | camif-capture.c | 70 const struct s3c_camif_variant *variant = camif->variant; in s3c_camif_hw_init() local 75 if (variant->ip_revision == S3C244X_CAMIF_IP_REV) in s3c_camif_hw_init() 81 if (variant->has_img_effect) in s3c_camif_hw_init() 84 if (variant->ip_revision == S3C6410_CAMIF_IP_REV) in s3c_camif_hw_init() 100 unsigned int ip_rev = camif->variant->ip_revision; in s3c_camif_hw_vp_init() 293 unsigned int ip_rev = camif->variant->ip_revision; in s3c_camif_irq_handler() 371 if (camif->variant->has_img_effect) in s3c_camif_irq_handler() 760 pix_lim = &camif->variant->vp_pix_limits[vp->id]; in __camif_video_try_format() 1040 if (camif->variant->ip_revision == S3C244X_CAMIF_IP_REV) { in __camif_try_compose() 1281 const struct s3c_camif_variant *variant = camif->variant; in __camif_subdev_try_format() local [all …]
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_common.h | 311 struct s5p_mfc_variant *variant; member 683 #define HAS_PORTNUM(dev) (dev ? (dev->variant ? \ 684 (dev->variant->port_num ? 1 : 0) : 0) : 0) 685 #define IS_TWOPORT(dev) (dev->variant->port_num == 2 ? 1 : 0) 686 #define IS_MFCV6(dev) (dev->variant->version >= 0x60 ? 1 : 0)
|