/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 | 151 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 154 fbdev->vb1->y_count = fbdev->modes[mode].vb1_lines; in dma_desc_list() 162 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 163 fbdev->av1->x_modify = fbdev->modes[mode].bpp / 8; in dma_desc_list() 164 fbdev->av1->y_count = fbdev->modes[mode].a_lines; in dma_desc_list() 166 (fbdev->modes[mode].xres - fbdev->modes[mode].boeft_blank + in dma_desc_list() 167 1) * (fbdev->modes[mode].bpp / 8); in dma_desc_list() 174 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() 177 fbdev->vb2->y_count = fbdev->modes[mode].vb2_lines; in dma_desc_list() 188 fbdev->modes[mode].xres + fbdev->modes[mode].boeft_blank; in dma_desc_list() [all …]
|
D | pxafb.c | 371 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() 1897 inf->modes[0].xres = xres; inf->modes[0].yres = yres; in parse_opt_mode() 1906 inf->modes[0].bpp = bpp; in parse_opt_mode() 1919 struct pxafb_mode_info *mode = &inf->modes[0]; in parse_opt() 2090 (inf->modes->upper_margin || inf->modes->lower_margin)) in pxafb_check_options() 2131 info->modes = kmalloc_array(timings->num_timings, in of_get_pxafb_display() 2132 sizeof(info->modes[0]), GFP_KERNEL); in of_get_pxafb_display() [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 131 const struct drm_display_mode *m = &panel->desc->modes[i]; in panel_simple_get_fixed_modes() 406 .modes = &ire_am800480r3tmqwa1h_mode, 430 .modes = &auo_b101aw03_mode, 453 .modes = &auo_b101ean01_mode, 477 .modes = &auo_b101xtn01_mode, 500 .modes = &auo_b116xw03_mode, 523 .modes = &auo_b133xtn01_mode, 546 .modes = &auo_b133htn01_mode, 574 .modes = &avic_tm070ddh03_mode, [all …]
|
/drivers/clk/ti/ |
D | dpll.c | 264 dd->modes = dpll->modes; in ti_clk_register_dpll() 442 dd->modes = dpll_mode; in of_ti_dpll_setup() 486 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap3_dpll_setup() 530 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_dpll_setup() 552 .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), in of_ti_omap3_per_jtype_dpll_setup() 572 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_dpll_setup() 593 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap5_mpu_dpll_setup() 612 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_core_dpll_setup() 635 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_m4xen_dpll_setup() 656 .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), in of_ti_omap4_jtype_dpll_setup() [all …]
|
/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1745 list_for_each_entry(mode, &fb_connector->connector->modes, head) { in drm_has_preferred_mode() 1780 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_pick_cmdline_mode() 1809 list_add(&mode->head, &fb_helper_conn->connector->modes); in drm_pick_cmdline_mode() 1851 struct drm_display_mode **modes, in drm_target_cloned() argument 1880 modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height); in drm_target_cloned() 1881 if (!modes[i]) { in drm_target_cloned() 1888 if (!drm_mode_equal(modes[j], modes[i])) in drm_target_cloned() 1908 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_target_cloned() 1910 modes[i] = mode; in drm_target_cloned() 1912 if (!modes[i]) in drm_target_cloned() [all …]
|
D | drm_edid.c | 87 int modes; member 2114 int i, modes = 0; in drm_dmt_modes_for_range() local 2124 modes++; in drm_dmt_modes_for_range() 2129 return modes; in drm_dmt_modes_for_range() 2149 int i, modes = 0; in drm_gtf_modes_for_range() local 2157 return modes; in drm_gtf_modes_for_range() 2167 modes++; in drm_gtf_modes_for_range() 2170 return modes; in drm_gtf_modes_for_range() 2177 int i, modes = 0; in drm_cvt_modes_for_range() local 2186 return modes; in drm_cvt_modes_for_range() [all …]
|
D | drm_probe_helper.c | 238 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes() 320 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes() 336 drm_mode_prune_invalid(dev, &connector->modes, verbose_prune); in drm_helper_probe_single_connector_modes() 338 if (list_empty(&connector->modes)) in drm_helper_probe_single_connector_modes() 341 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes() 344 drm_mode_sort(&connector->modes); in drm_helper_probe_single_connector_modes() 348 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes()
|
/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 | 398 u16 *p_offset, int modes) in qed_init_cmd_mode_match() argument 408 return qed_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1; in qed_init_cmd_mode_match() 410 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 411 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 414 arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 415 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 419 return (modes & BIT(tree_val)) ? 1 : 0; in qed_init_cmd_mode_match() 424 struct init_if_mode_op *p_cmd, int modes) in qed_init_cmd_mode() argument 428 if (qed_init_cmd_mode_match(p_hwfn, &offset, modes)) in qed_init_cmd_mode() 451 struct qed_ptt *p_ptt, int phase, int phase_id, int modes) in qed_init_run() argument [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_fbdev.c | 358 struct drm_display_mode **modes, in intel_fb_initial_config() argument 453 modes[i] = drm_pick_cmdline_mode(fb_conn, width, height); in intel_fb_initial_config() 456 if (!modes[i]) { in intel_fb_initial_config() 459 modes[i] = drm_has_preferred_mode(fb_conn, width, in intel_fb_initial_config() 464 if (!modes[i] && !list_empty(&connector->modes)) { in intel_fb_initial_config() 467 modes[i] = list_first_entry(&connector->modes, in intel_fb_initial_config() 473 if (!modes[i]) { in intel_fb_initial_config() 489 modes[i] = &connector->state->crtc->mode; in intel_fb_initial_config() 497 modes[i]->hdisplay, modes[i]->vdisplay, in intel_fb_initial_config() 498 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/clk/renesas/ |
D | clk-rz.c | 40 u16 modes; in rz_cpg_read_mode_pins() local 46 modes = ioread16(ppr0); in rz_cpg_read_mode_pins() 50 return modes; in rz_cpg_read_mode_pins()
|
/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 | 664 unsigned int modes; in iio_verify_update() local 677 modes = indio_dev->modes; in iio_verify_update() 682 modes &= buffer->access->modes; in iio_verify_update() 687 modes &= insert_buffer->access->modes; in iio_verify_update() 693 if ((modes & INDIO_BUFFER_TRIGGERED) && indio_dev->trig) { in iio_verify_update() 695 } else if (modes & INDIO_BUFFER_HARDWARE) { in iio_verify_update() 704 } else if (modes & INDIO_BUFFER_SOFTWARE) { in iio_verify_update() 708 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 | 404 .modes = mv88f6xxx_mpp_modes, 414 .modes = mv88f6xxx_mpp_modes, 424 .modes = mv88f6xxx_mpp_modes, 434 .modes = mv88f6xxx_mpp_modes, 444 .modes = mv88f6xxx_mpp_modes, 454 .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()
|