Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/drivers/scsi/aic7xxx/
Daic79xx.reg352 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/
Dbfin_adv7393fb.c149 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/
Dpinctrl-spear320.c494 .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 …]
Dpinctrl-spear3xx.c33 .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 …]
Dpinctrl-spear300.c172 .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/
Dfaulty.c89 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/
Dpanel-simple.c40 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 = &ampire_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/
Ddrm_fb_helper.c1621 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 …]
Ddrm_edid.c86 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 …]
Ddrm_probe_helper.c147 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/
Ddpll.c251 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/
Dmdio.c278 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/
Dqed_init_ops.c375 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/
Dintel_fbdev.c352 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/
Dphy.c1301 } *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/
Dparport_gsc.c223 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/
Dvpbe.c156 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/
Dindustrialio-triggered-event.c49 indio_dev->modes |= INDIO_EVENT_TRIGGERED; in iio_triggered_event_setup()
61 indio_dev->modes &= ~INDIO_EVENT_TRIGGERED; in iio_triggered_event_cleanup()
Dindustrialio-buffer.c642 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/
Dviamode.c354 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/
Dbpck6.c130 ((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/
Dpinctrl-kirkwood.c403 .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/
Dptp_clock.c131 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/
Dtvnv17.c239 } 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/
Di2c-mux-pca954x.c235 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()

12345678910>>...13