/drivers/gpu/drm/ |
D | drm_client_modeset.c | 122 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_get_tiled_mode() 135 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_fallback_non_tiled_mode() 149 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_has_preferred_mode() 178 list_for_each_entry(mode, &connector->modes, head) { in drm_connector_pick_cmdline_mode() 211 list_add(&mode->head, &connector->modes); in drm_connector_pick_cmdline_mode() 258 struct drm_display_mode **modes, in drm_client_target_cloned() argument 285 modes[i] = drm_connector_pick_cmdline_mode(connectors[i]); in drm_client_target_cloned() 286 if (!modes[i]) { in drm_client_target_cloned() 293 if (!drm_mode_match(modes[j], modes[i], in drm_client_target_cloned() 318 list_for_each_entry(mode, &connectors[i]->modes, head) { in drm_client_target_cloned() [all …]
|
D | drm_edid.c | 94 int modes; member 2810 int i, modes = 0; in drm_dmt_modes_for_range() local 2820 modes++; in drm_dmt_modes_for_range() 2825 return modes; in drm_dmt_modes_for_range() 2845 int i, modes = 0; in drm_gtf_modes_for_range() local 2854 return modes; in drm_gtf_modes_for_range() 2864 modes++; in drm_gtf_modes_for_range() 2867 return modes; in drm_gtf_modes_for_range() 2874 int i, modes = 0; in drm_cvt_modes_for_range() local 2884 return modes; in drm_cvt_modes_for_range() [all …]
|
D | drm_probe_helper.c | 445 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes() 534 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes() 571 drm_mode_prune_invalid(dev, &connector->modes, verbose_prune); in drm_helper_probe_single_connector_modes() 576 if (list_empty(&connector->modes)) in drm_helper_probe_single_connector_modes() 579 drm_mode_sort(&connector->modes); in drm_helper_probe_single_connector_modes() 583 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes()
|
/drivers/net/phy/ |
D | sfp-bus.c | 16 void (*modes)(const struct sfp_eeprom_id *id, unsigned long *modes); member 42 unsigned long *modes) in sfp_quirk_2500basex() argument 44 phylink_set(modes, 2500baseX_Full); in sfp_quirk_2500basex() 48 unsigned long *modes) in sfp_quirk_ubnt_uf_instant() argument 54 phylink_zero(modes); in sfp_quirk_ubnt_uf_instant() 55 phylink_set(modes, 1000baseX_Full); in sfp_quirk_ubnt_uf_instant() 64 .modes = sfp_quirk_2500basex, 70 .modes = sfp_quirk_2500basex, 76 .modes = sfp_quirk_2500basex, 82 .modes = sfp_quirk_2500basex, [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 352 modes M_CCHAN 363 modes M_CCHAN 373 modes M_CCHAN 384 modes M_CCHAN 429 modes M_DFF0, M_DFF1 451 modes M_CFG 467 modes M_DFF0, M_DFF1 483 modes M_DFF0, M_DFF1 493 modes M_DFF0, M_DFF1 506 modes M_CFG [all …]
|
/drivers/pinctrl/spear/ |
D | pinctrl-spear320.c | 493 .modes = EXTENDED_MODE, 572 .modes = AUTO_EXP_MODE | EXTENDED_MODE, 576 .modes = EXTENDED_MODE, 622 .modes = EXTENDED_MODE, 661 .modes = EXTENDED_MODE, 665 .modes = AUTO_EXP_MODE | EXTENDED_MODE, 669 .modes = EXTENDED_MODE, 715 .modes = EXTENDED_MODE, 756 .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, 760 .modes = EXTENDED_MODE, [all …]
|
D | pinctrl-spear3xx.c | 33 .modes = ~0, 66 .modes = ~0, 99 .modes = ~0, 132 .modes = ~0, 166 .modes = ~0, 199 .modes = ~0, 225 .modes = ~0, 251 .modes = ~0, 277 .modes = ~0, 303 .modes = ~0, [all …]
|
D | pinctrl-spear300.c | 171 .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | 198 .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | 233 .modes = HEND_IP_PHONE_MODE | HEND_WIFI_PHONE_MODE | 260 .modes = PHOTO_FRAME_MODE, 294 .modes = PHOTO_FRAME_MODE | LEND_IP_PHONE_MODE | 331 .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE | 367 .modes = CAML_LCDW_MODE | CAML_LCD_MODE, 393 .modes = CAMU_LCD_MODE | CAMU_WLCD_MODE, 426 .modes = ATA_PABX_I2S_MODE | CAML_LCDW_MODE | CAMU_LCD_MODE 460 .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE [all …]
|
/drivers/md/ |
D | md-faulty.c | 80 int modes[MaxFault]; member 108 switch (conf->modes[i] * 2 + dir) { in check_sector() 113 conf->modes[i] = NoPersist; in check_sector() 131 case NoPersist: conf->modes[i] = mode; return; in add_sector() 133 if (conf->modes[i] == ReadPersistent || in add_sector() 134 conf->modes[i] == ReadFixable) in add_sector() 135 conf->modes[i] = AllPersist; in add_sector() 137 conf->modes[i] = WritePersistent; in add_sector() 140 if (conf->modes[i] == WritePersistent) in add_sector() 141 conf->modes[i] = AllPersist; in add_sector() [all …]
|
/drivers/gpu/drm/panel/ |
D | panel-simple.c | 58 const struct drm_display_mode *modes; member 163 const struct drm_display_mode *m = &panel->desc->modes[i]; in panel_simple_get_display_modes() 677 .modes = &ire_am_1280800n3tzqw_t00h_mode, 703 .modes = &ire_am_480272h3tmqw_t01h_mode, 727 .modes = &ire_am800480r3tmqwa1h_mode, 776 .modes = &auo_b101aw03_mode, 824 .modes = &auo_b101xtn01_mode, 847 .modes = &auo_b116xak01_mode, 875 .modes = &auo_b116xw03_mode, 903 .modes = &auo_b133xtn01_mode, [all …]
|
D | panel-boe-tv101wum-nl6.c | 22 const struct drm_display_mode *modes; member 607 .modes = &boe_tv101wum_nl6_default_mode, 634 .modes = &auo_kd101n80_45na_default_mode, 662 .modes = &boe_tv101wum_n53_default_mode, 689 .modes = &auo_b101uan08_3_default_mode, 717 .modes = &boe_tv105wum_nw0_default_mode, 735 const struct drm_display_mode *m = boe->desc->modes; in boe_panel_get_modes()
|
/drivers/net/ |
D | mdio.c | 275 u32 modes = 0; in mdio45_ethtool_gset_npage() local 286 modes = ecmd->advertising & ecmd->lp_advertising; in mdio45_ethtool_gset_npage() 288 if ((modes & ~ADVERTISED_Autoneg) == 0) in mdio45_ethtool_gset_npage() 289 modes = ecmd->advertising; in mdio45_ethtool_gset_npage() 291 if (modes & (ADVERTISED_10000baseT_Full | in mdio45_ethtool_gset_npage() 296 } else if (modes & (ADVERTISED_1000baseT_Full | in mdio45_ethtool_gset_npage() 300 ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half); in mdio45_ethtool_gset_npage() 301 } else if (modes & (ADVERTISED_100baseT_Full | in mdio45_ethtool_gset_npage() 304 ecmd->duplex = !!(modes & ADVERTISED_100baseT_Full); in mdio45_ethtool_gset_npage() 307 ecmd->duplex = !!(modes & ADVERTISED_10baseT_Full); in mdio45_ethtool_gset_npage() [all …]
|
/drivers/clk/ti/ |
D | dpll.c | 362 dd->modes = dpll_mode; in of_ti_dpll_setup() 406 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap3_dpll_setup() 450 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_dpll_setup() 472 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_jtype_dpll_setup() 492 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_dpll_setup() 513 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap5_mpu_dpll_setup() 532 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_core_dpll_setup() 555 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_m4xen_dpll_setup() 576 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_jtype_dpll_setup() 596 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_am3_no_gate_dpll_setup() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 481 u16 *p_offset, int modes) in qed_init_cmd_mode_match() argument 491 return qed_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1; in qed_init_cmd_mode_match() 493 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 494 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 497 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 498 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 502 return (modes & BIT(tree_val)) ? 1 : 0; in qed_init_cmd_mode_match() 507 struct init_if_mode_op *p_cmd, int modes) in qed_init_cmd_mode() argument 511 if (qed_init_cmd_mode_match(p_hwfn, &offset, modes)) in qed_init_cmd_mode() 534 struct qed_ptt *p_ptt, int phase, int phase_id, int modes) in qed_init_run() argument [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 1301 } *modes; in carl9170_calc_ctl() local 1344 modes = mode_list_2ghz; in carl9170_calc_ctl() 1347 modes = mode_list_5ghz; in carl9170_calc_ctl() 1352 u8 c = ctl_grp | modes[i].ctl_mode; in carl9170_calc_ctl() 1363 if (modes[i].ctl_mode == CTL_11G) { in carl9170_calc_ctl() 1370 if (modes[i].ctl_mode == CTL_2GHT40 || in carl9170_calc_ctl() 1371 modes[i].ctl_mode == CTL_5GHT40) { in carl9170_calc_ctl() 1378 modes[i].max_power = in carl9170_calc_ctl() 1397 modes[i].max_power = AR5416_MAX_RATE_POWER; in carl9170_calc_ctl() 1399 if (modes[k].max_power != in carl9170_calc_ctl() [all …]
|
/drivers/video/fbdev/ |
D | pxafb.c | 372 struct pxafb_mode_info *modelist = mach->modes; in pxafb_getmode() 1237 struct pxafb_mode_info *mode = &inf->modes[0]; in setup_smart_timing() 1775 pxafb_setmode(&fbi->fb.var, &inf->modes[0]); in pxafb_decode_mach_info() 1782 for (i = 0, m = &inf->modes[0]; i < inf->num_modes; i++, m++) in pxafb_decode_mach_info() 1895 inf->modes[0].xres = xres; inf->modes[0].yres = yres; in parse_opt_mode() 1904 inf->modes[0].bpp = bpp; in parse_opt_mode() 1917 struct pxafb_mode_info *mode = &inf->modes[0]; in parse_opt() 2088 (inf->modes->upper_margin || inf->modes->lower_margin)) in pxafb_check_options() 2127 info->modes = devm_kcalloc(dev, timings->num_timings, in of_get_pxafb_display() 2128 sizeof(info->modes[0]), in of_get_pxafb_display() [all …]
|
/drivers/parport/ |
D | parport_gsc.c | 218 pb->modes |= PARPORT_MODE_TRISTATE; in parport_PS2_supported() 260 p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; in parport_gsc_probe_port() 281 p->modes = tmp.modes; in parport_gsc_probe_port() 282 p->size = (p->modes & PARPORT_MODE_EPP)?8:3; in parport_gsc_probe_port() 304 if (p->modes & PARPORT_MODE_##x) \ in parport_gsc_probe_port()
|
/drivers/media/platform/davinci/ |
D | vpbe.c | 122 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_mode_info() 153 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_std_info() 173 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_std_info_by_name() 311 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS && in vpbe_s_dv_timings() 312 !memcmp(&output->modes[i].dv_timings, in vpbe_s_dv_timings() 318 vpbe_dev->current_timings = output->modes[i]; in vpbe_s_dv_timings() 386 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS) { in vpbe_enum_dv_timings() 395 timings->timings = output->modes[i].dv_timings; in vpbe_enum_dv_timings() 483 cfg->outputs[out_index].modes[i].name)) { in vpbe_set_mode() 484 preset_mode = &cfg->outputs[out_index].modes[i]; in vpbe_set_mode() [all …]
|
/drivers/clk/renesas/ |
D | clk-rz.c | 38 u16 modes; in rz_cpg_read_mode_pins() local 44 modes = ioread16(ppr0); in rz_cpg_read_mode_pins() 48 return modes; in rz_cpg_read_mode_pins()
|
/drivers/gpu/drm/exynos/ |
D | exynos_mixer.c | 1077 } modes[] = { in mixer_mode_fixup() local 1093 for (i = 0; i < ARRAY_SIZE(modes); ++i) in mixer_mode_fixup() 1094 if (width <= modes[i].hdisplay && height <= modes[i].vdisplay) { in mixer_mode_fixup() 1095 ctx->scan_value = modes[i].scan_val; in mixer_mode_fixup() 1096 if (width < modes[i].hdisplay || in mixer_mode_fixup() 1097 height < modes[i].vdisplay) { in mixer_mode_fixup() 1098 adjusted_mode->hdisplay = modes[i].hdisplay; in mixer_mode_fixup() 1099 adjusted_mode->hsync_start = modes[i].hdisplay; in mixer_mode_fixup() 1100 adjusted_mode->hsync_end = modes[i].htotal; in mixer_mode_fixup() 1101 adjusted_mode->htotal = modes[i].htotal; in mixer_mode_fixup() [all …]
|
/drivers/ptp/ |
D | ptp_clock.c | 124 if (tx->modes & ADJ_SETOFFSET) { in ptp_clock_adjtime() 132 if (!(tx->modes & ADJ_NANO)) in ptp_clock_adjtime() 141 } else if (tx->modes & ADJ_FREQUENCY) { in ptp_clock_adjtime() 150 } else if (tx->modes & ADJ_OFFSET) { in ptp_clock_adjtime() 154 if (!(tx->modes & ADJ_NANO)) in ptp_clock_adjtime() 159 } else if (tx->modes == 0) { in ptp_clock_adjtime()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-kirkwood.c | 393 .modes = mv88f6xxx_mpp_modes, 403 .modes = mv88f6xxx_mpp_modes, 413 .modes = mv88f6xxx_mpp_modes, 423 .modes = mv88f6xxx_mpp_modes, 433 .modes = mv88f6xxx_mpp_modes, 443 .modes = mv88f6xxx_mpp_modes, 453 .modes = mv88f6xxx_mpp_modes,
|
/drivers/iio/ |
D | industrialio-triggered-event.c | 45 indio_dev->modes |= INDIO_EVENT_TRIGGERED; in iio_triggered_event_setup() 57 indio_dev->modes &= ~INDIO_EVENT_TRIGGERED; in iio_triggered_event_cleanup()
|
/drivers/video/fbdev/via/ |
D | viamode.c | 340 const struct fb_videomode *modes, int n, in get_best_mode() argument 347 if (modes[i].xres != hres || modes[i].yres != vres) in get_best_mode() 350 if (!best || abs(modes[i].refresh - refresh) < in get_best_mode() 352 best = &modes[i]; in get_best_mode()
|
/drivers/block/paride/ |
D | bpck6.c | 130 ((struct pardevice*)(pi->pardev))->port->modes, in bpck6_test_port() 139 if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port() 145 else if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port()
|