/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/video/fbdev/ |
D | bfin_adv7393fb.c | 149 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 152 fbdev->vb1->y_count = fbdev->modes[mode].vb1_lines; in dma_desc_list() 160 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 161 fbdev->av1->x_modify = fbdev->modes[mode].bpp / 8; in dma_desc_list() 162 fbdev->av1->y_count = fbdev->modes[mode].a_lines; in dma_desc_list() 164 (fbdev->modes[mode].xres - fbdev->modes[mode].boeft_blank + in dma_desc_list() 165 1) * (fbdev->modes[mode].bpp / 8); in dma_desc_list() 172 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 175 fbdev->vb2->y_count = fbdev->modes[mode].vb2_lines; in dma_desc_list() 186 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() [all …]
|
/drivers/pinctrl/spear/ |
D | pinctrl-spear320.c | 494 .modes = EXTENDED_MODE, 573 .modes = AUTO_EXP_MODE | EXTENDED_MODE, 577 .modes = EXTENDED_MODE, 623 .modes = EXTENDED_MODE, 662 .modes = EXTENDED_MODE, 666 .modes = AUTO_EXP_MODE | EXTENDED_MODE, 670 .modes = EXTENDED_MODE, 716 .modes = EXTENDED_MODE, 757 .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, 761 .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 | 172 .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | 199 .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | 234 .modes = HEND_IP_PHONE_MODE | HEND_WIFI_PHONE_MODE | 261 .modes = PHOTO_FRAME_MODE, 295 .modes = PHOTO_FRAME_MODE | LEND_IP_PHONE_MODE | 332 .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE | 368 .modes = CAML_LCDW_MODE | CAML_LCD_MODE, 394 .modes = CAMU_LCD_MODE | CAMU_WLCD_MODE, 427 .modes = ATA_PABX_I2S_MODE | CAML_LCDW_MODE | CAMU_LCD_MODE 461 .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE [all …]
|
/drivers/md/ |
D | faulty.c | 89 int modes[MaxFault]; member 117 switch (conf->modes[i] * 2 + dir) { in check_sector() 122 conf->modes[i] = NoPersist; in check_sector() 140 case NoPersist: conf->modes[i] = mode; return; in add_sector() 142 if (conf->modes[i] == ReadPersistent || in add_sector() 143 conf->modes[i] == ReadFixable) in add_sector() 144 conf->modes[i] = AllPersist; in add_sector() 146 conf->modes[i] = WritePersistent; in add_sector() 149 if (conf->modes[i] == WritePersistent) in add_sector() 150 conf->modes[i] = AllPersist; in add_sector() [all …]
|
/drivers/gpu/drm/panel/ |
D | panel-simple.c | 40 const struct drm_display_mode *modes; member 122 const struct drm_display_mode *m = &panel->desc->modes[i]; in panel_simple_get_fixed_modes() 389 .modes = &ire_am800480r3tmqwa1h_mode, 413 .modes = &auo_b101aw03_mode, 436 .modes = &auo_b101ean01_mode, 460 .modes = &auo_b101xtn01_mode, 483 .modes = &auo_b116xw03_mode, 506 .modes = &auo_b133xtn01_mode, 529 .modes = &auo_b133htn01_mode, 557 .modes = &avic_tm070ddh03_mode, [all …]
|
/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1621 list_for_each_entry(mode, &fb_connector->connector->modes, head) { in drm_has_preferred_mode() 1656 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_pick_cmdline_mode() 1685 list_add(&mode->head, &fb_helper_conn->connector->modes); in drm_pick_cmdline_mode() 1727 struct drm_display_mode **modes, in drm_target_cloned() argument 1756 modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height); in drm_target_cloned() 1757 if (!modes[i]) { in drm_target_cloned() 1764 if (!drm_mode_equal(modes[j], modes[i])) in drm_target_cloned() 1784 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_target_cloned() 1786 modes[i] = mode; in drm_target_cloned() 1788 if (!modes[i]) in drm_target_cloned() [all …]
|
D | drm_edid.c | 86 int modes; member 2085 int i, modes = 0; in drm_dmt_modes_for_range() local 2095 modes++; in drm_dmt_modes_for_range() 2100 return modes; in drm_dmt_modes_for_range() 2120 int i, modes = 0; in drm_gtf_modes_for_range() local 2128 return modes; in drm_gtf_modes_for_range() 2138 modes++; in drm_gtf_modes_for_range() 2141 return modes; in drm_gtf_modes_for_range() 2148 int i, modes = 0; in drm_cvt_modes_for_range() local 2157 return modes; in drm_cvt_modes_for_range() [all …]
|
D | drm_probe_helper.c | 147 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes_merge_bits() 231 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes_merge_bits() 247 drm_mode_prune_invalid(dev, &connector->modes, verbose_prune); in drm_helper_probe_single_connector_modes_merge_bits() 249 if (list_empty(&connector->modes)) in drm_helper_probe_single_connector_modes_merge_bits() 252 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes_merge_bits() 255 drm_mode_sort(&connector->modes); in drm_helper_probe_single_connector_modes_merge_bits() 259 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes_merge_bits()
|
/drivers/clk/ti/ |
D | dpll.c | 251 dd->modes = dpll->modes; in ti_clk_register_dpll() 429 dd->modes = dpll_mode; in of_ti_dpll_setup() 473 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap3_dpll_setup() 517 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_dpll_setup() 539 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_jtype_dpll_setup() 559 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_dpll_setup() 580 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap5_mpu_dpll_setup() 599 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_core_dpll_setup() 622 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_m4xen_dpll_setup() 643 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_jtype_dpll_setup() [all …]
|
/drivers/net/ |
D | mdio.c | 278 u32 modes = 0; in mdio45_ethtool_gset_npage() local 289 modes = ecmd->advertising & ecmd->lp_advertising; in mdio45_ethtool_gset_npage() 291 if ((modes & ~ADVERTISED_Autoneg) == 0) in mdio45_ethtool_gset_npage() 292 modes = ecmd->advertising; in mdio45_ethtool_gset_npage() 294 if (modes & (ADVERTISED_10000baseT_Full | in mdio45_ethtool_gset_npage() 299 } else if (modes & (ADVERTISED_1000baseT_Full | in mdio45_ethtool_gset_npage() 303 ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half); in mdio45_ethtool_gset_npage() 304 } else if (modes & (ADVERTISED_100baseT_Full | in mdio45_ethtool_gset_npage() 307 ecmd->duplex = !!(modes & ADVERTISED_100baseT_Full); in mdio45_ethtool_gset_npage() 310 ecmd->duplex = !!(modes & ADVERTISED_10baseT_Full); in mdio45_ethtool_gset_npage()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 375 int modes) in qed_init_cmd_mode_match() argument 385 return qed_init_cmd_mode_match(p_hwfn, offset, modes) ^ 1; in qed_init_cmd_mode_match() 387 arg1 = qed_init_cmd_mode_match(p_hwfn, offset, modes); in qed_init_cmd_mode_match() 388 arg2 = qed_init_cmd_mode_match(p_hwfn, offset, modes); in qed_init_cmd_mode_match() 391 arg1 = qed_init_cmd_mode_match(p_hwfn, offset, modes); in qed_init_cmd_mode_match() 392 arg2 = qed_init_cmd_mode_match(p_hwfn, offset, modes); in qed_init_cmd_mode_match() 396 return (modes & (1 << tree_val)) ? 1 : 0; in qed_init_cmd_mode_match() 402 int modes) in qed_init_cmd_mode() argument 406 if (qed_init_cmd_mode_match(p_hwfn, &offset, modes)) in qed_init_cmd_mode() 433 int modes) in qed_init_run() argument [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_fbdev.c | 352 struct drm_display_mode **modes, in intel_fb_initial_config() argument 437 modes[i] = drm_pick_cmdline_mode(fb_conn, width, height); in intel_fb_initial_config() 440 if (!modes[i]) { in intel_fb_initial_config() 443 modes[i] = drm_has_preferred_mode(fb_conn, width, in intel_fb_initial_config() 448 if (!modes[i] && !list_empty(&connector->modes)) { in intel_fb_initial_config() 451 modes[i] = list_first_entry(&connector->modes, in intel_fb_initial_config() 457 if (!modes[i]) { in intel_fb_initial_config() 468 modes[i] = &encoder->crtc->mode; in intel_fb_initial_config() 476 modes[i]->hdisplay, modes[i]->vdisplay, in intel_fb_initial_config() 477 modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" :""); in intel_fb_initial_config()
|
/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/parport/ |
D | parport_gsc.c | 223 pb->modes |= PARPORT_MODE_TRISTATE; in parport_PS2_supported() 265 p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; in parport_gsc_probe_port() 286 p->modes = tmp.modes; in parport_gsc_probe_port() 287 p->size = (p->modes & PARPORT_MODE_EPP)?8:3; in parport_gsc_probe_port() 307 #define printmode(x) {if(p->modes&PARPORT_MODE_##x){pr_cont("%s%s",f?",":"",#x);f++;}} in parport_gsc_probe_port()
|
/drivers/media/platform/davinci/ |
D | vpbe.c | 156 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_mode_info() 187 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_std_info() 207 var = cfg->outputs[curr_output].modes[i]; in vpbe_get_std_info_by_name() 347 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS && in vpbe_s_dv_timings() 348 !memcmp(&output->modes[i].dv_timings, in vpbe_s_dv_timings() 354 vpbe_dev->current_timings = output->modes[i]; in vpbe_s_dv_timings() 422 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS) { in vpbe_enum_dv_timings() 431 timings->timings = output->modes[i].dv_timings; in vpbe_enum_dv_timings() 520 cfg->outputs[out_index].modes[i].name)) { in vpbe_set_mode() 521 preset_mode = &cfg->outputs[out_index].modes[i]; in vpbe_set_mode() [all …]
|
/drivers/iio/ |
D | industrialio-triggered-event.c | 49 indio_dev->modes |= INDIO_EVENT_TRIGGERED; in iio_triggered_event_setup() 61 indio_dev->modes &= ~INDIO_EVENT_TRIGGERED; in iio_triggered_event_cleanup()
|
D | industrialio-buffer.c | 642 unsigned int modes; in iio_verify_update() local 654 modes = indio_dev->modes; in iio_verify_update() 659 modes &= buffer->access->modes; in iio_verify_update() 663 modes &= insert_buffer->access->modes; in iio_verify_update() 666 if ((modes & INDIO_BUFFER_TRIGGERED) && indio_dev->trig) { in iio_verify_update() 668 } else if (modes & INDIO_BUFFER_HARDWARE) { in iio_verify_update() 677 } else if (modes & INDIO_BUFFER_SOFTWARE) { in iio_verify_update() 681 if (indio_dev->modes & INDIO_BUFFER_TRIGGERED) in iio_verify_update()
|
/drivers/video/fbdev/via/ |
D | viamode.c | 354 const struct fb_videomode *modes, int n, in get_best_mode() argument 361 if (modes[i].xres != hres || modes[i].yres != vres) in get_best_mode() 364 if (!best || abs(modes[i].refresh - refresh) < in get_best_mode() 366 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()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-kirkwood.c | 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/ptp/ |
D | ptp_clock.c | 131 if (tx->modes & ADJ_SETOFFSET) { in ptp_clock_adjtime() 139 if (!(tx->modes & ADJ_NANO)) in ptp_clock_adjtime() 148 } else if (tx->modes & ADJ_FREQUENCY) { in ptp_clock_adjtime() 154 } else if (tx->modes == 0) { in ptp_clock_adjtime()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv17.c | 239 } modes[] = { in nv17_tv_get_hd_modes() local 252 for (i = 0; i < ARRAY_SIZE(modes); i++) { in nv17_tv_get_hd_modes() 253 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes() 254 modes[i].vdisplay > output_mode->vdisplay) in nv17_tv_get_hd_modes() 257 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes() 258 modes[i].vdisplay == output_mode->vdisplay) { in nv17_tv_get_hd_modes() 263 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes() 264 modes[i].vdisplay, 60, false, in nv17_tv_get_hd_modes()
|
/drivers/i2c/muxes/ |
D | i2c-mux-pca954x.c | 235 force = pdata->modes[num].adap_id; in pca954x_probe() 236 class = pdata->modes[num].class; in pca954x_probe() 240 idle_disconnect_pd = pdata->modes[num].deselect_on_exit; in pca954x_probe()
|