modes 1226 arch/alpha/kernel/osf_sys.c unsigned int modes; /* mode selector */ modes 316 arch/arm/mach-davinci/board-dm355-evm.c .modes = dm355evm_enc_preset_timing, modes 537 arch/arm/mach-davinci/board-dm365-evm.c .modes = dm365evm_enc_std_timing, modes 550 arch/arm/mach-davinci/board-dm365-evm.c .modes = dm365evm_enc_preset_timing, modes 766 arch/arm/mach-davinci/board-dm644x-evm.c .modes = dm644xevm_enc_std_timing, modes 778 arch/arm/mach-davinci/board-dm644x-evm.c .modes = dm644xevm_enc_preset_timing, modes 199 arch/arm/mach-mmp/aspenite.c .modes = video_modes, modes 88 arch/arm/mach-pxa/am200epd.c .modes = &am200_fb_mode_6inch, modes 150 arch/arm/mach-pxa/am200epd.c if ((info->var.xres != am200_fb_info.modes->xres) modes 151 arch/arm/mach-pxa/am200epd.c || (info->var.yres != am200_fb_info.modes->yres)) modes 207 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes = &am200_fb_mode_6inch; modes 210 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes = &am200_fb_mode_8inch; modes 213 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes = &am200_fb_mode_9inch7; modes 218 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes = &am200_fb_mode_6inch; modes 228 arch/arm/mach-pxa/am200epd.c fw = am200_fb_info.modes->xres; modes 229 arch/arm/mach-pxa/am200epd.c fh = am200_fb_info.modes->yres; modes 247 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes->yres = DIV_ROUND_UP(totalsize, fw); modes 250 arch/arm/mach-pxa/am200epd.c am200_fb_info.modes->xres /= 2; modes 231 arch/arm/mach-pxa/balloon3.c .modes = balloon3_lcd_modes, modes 222 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_stn_320x240_mode, modes 246 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_tft_640x480_mode, modes 271 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_crt_640x480_mode, modes 295 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_crt_800x600_mode, modes 318 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_tft_320x240_mode, modes 342 arch/arm/mach-pxa/cm-x2xx.c .modes = &generic_stn_640x480_mode, modes 293 arch/arm/mach-pxa/cm-x300.c .modes = cm_x300_lcd_modes, modes 180 arch/arm/mach-pxa/colibri-pxa270-income.c .modes = income_lcd_modes, modes 93 arch/arm/mach-pxa/colibri-pxa3xx.c .modes = &sharp_lq43_mode, modes 675 arch/arm/mach-pxa/em-x270.c .modes = em_x270_lcd_modes, modes 254 arch/arm/mach-pxa/eseries.c .modes = &e400_pxafb_mode_info, modes 84 arch/arm/mach-pxa/ezx.c .modes = &mode_ezx_old, modes 105 arch/arm/mach-pxa/ezx.c .modes = &mode_72r89803y01, modes 147 arch/arm/mach-pxa/idp.c .modes = &sharp_lm8v31_mode, modes 177 arch/arm/mach-pxa/littleton.c .modes = tpo_tdo24mtea1_modes, modes 307 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq057q3dc02_mode, modes 329 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq121s1dg31_mode, modes 351 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq036q1da01_mode, modes 373 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq64d343_mode, modes 395 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq10d368_mode, modes 417 arch/arm/mach-pxa/lpd270.c .modes = &sharp_lq035q7db02_20_mode, modes 385 arch/arm/mach-pxa/lubbock.c .modes = &sharp_lm8v31_mode, modes 333 arch/arm/mach-pxa/magician.c .modes = toppoly_modes, modes 341 arch/arm/mach-pxa/magician.c .modes = samsung_modes, modes 588 arch/arm/mach-pxa/mainstone.c mainstone_pxafb_info.modes = &toshiba_ltm04c380k_mode; modes 590 arch/arm/mach-pxa/mainstone.c mainstone_pxafb_info.modes = &toshiba_ltm035a776c_mode; modes 209 arch/arm/mach-pxa/mioa701.c .modes = &mioa701_ltm0305a776c, modes 138 arch/arm/mach-pxa/palm27x.c palm27x_lcd_screen.modes = mode; modes 482 arch/arm/mach-pxa/palmtc.c .modes = palmtc_lcd_modes, modes 328 arch/arm/mach-pxa/palmte2.c .modes = palmte2_lcd_modes, modes 120 arch/arm/mach-pxa/pcm990-baseboard.c .modes = &fb_info_sharp_lq084v1dg21, modes 142 arch/arm/mach-pxa/pcm990-baseboard.c .modes = &fb_info_nec_nl6448bc20_18d, modes 336 arch/arm/mach-pxa/poodle.c .modes = &poodle_fb_mode, modes 464 arch/arm/mach-pxa/saar.c .modes = toshiba_ltm022a97a_modes, modes 730 arch/arm/mach-pxa/spitz.c .modes = spitz_pxafb_modes, modes 465 arch/arm/mach-pxa/tavorevb.c .modes = toshiba_ltm020d550_modes, modes 762 arch/arm/mach-pxa/tosa.c .modes = &tosa_tc6393xb_lcd_mode[0], modes 465 arch/arm/mach-pxa/trizeps4.c .modes = &sharp_lcd_mode, modes 489 arch/arm/mach-pxa/trizeps4.c .modes = &toshiba_lcd_mode, modes 347 arch/arm/mach-pxa/viper.c .modes = fb_mode_info, modes 555 arch/arm/mach-pxa/vpac270.c .modes = vpac270_lcd_modes, modes 271 arch/arm/mach-pxa/z2.c .modes = z2_lcd_modes, modes 645 arch/arm/mach-pxa/zeus.c .modes = zeus_fb_mode_info, modes 194 arch/arm/mach-pxa/zylonite.c .modes = sharp_ls037_modes, modes 213 arch/arm/mach-pxa/zylonite.c zylonite_toshiba_lcd_info.modes = &toshiba_ltm035a776c_mode; modes 215 arch/arm/mach-pxa/zylonite.c zylonite_toshiba_lcd_info.modes = &toshiba_ltm04c380k_mode; modes 287 arch/m68k/fpsp040/fpsp.h | FPCR rounding modes modes 113 arch/m68k/math-emu/fp_decode.h | it depends on the instr which of the modes is valid modes 202 arch/m68k/math-emu/fp_decode.h | test if %pc is the base register for one of the extended modes modes 331 arch/m68k/math-emu/fp_decode.h | all other indirect addressing modes will finally end up here modes 53 arch/mips/cavium-octeon/executive/cvmx-spi.c static const char *modes[] = modes 157 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Restart %s\n", interface, modes[mode]); modes 25 arch/powerpc/platforms/pasemi/idle.c static struct sleep_mode modes[] = { modes 73 arch/powerpc/platforms/pasemi/idle.c ppc_md.power_save = modes[current_mode].entry; modes 74 arch/powerpc/platforms/pasemi/idle.c pr_info("Using PA6T idle loop (%s)\n", modes[current_mode].name); modes 83 arch/powerpc/platforms/pasemi/idle.c for (i = 0; i < ARRAY_SIZE(modes); i++) { modes 84 arch/powerpc/platforms/pasemi/idle.c if (!strcmp(modes[i].name, p)) { modes 1914 arch/sparc/kernel/traps_64.c static const char *modes[] = { modes 1937 arch/sparc/kernel/traps_64.c pr_cont("%s ", modes[mode]); modes 79 arch/x86/boot/video-bios.c video_bios.modes = GET_HEAP(struct mode_info, 0); modes 59 arch/x86/boot/video-mode.c mi = card->modes; modes 82 arch/x86/boot/video-mode.c mi = card->modes; modes 39 arch/x86/boot/video-vesa.c video_vesa.modes = GET_HEAP(struct mode_info, 0); modes 277 arch/x86/boot/video-vga.c video_vga.modes = mode_lists[adapter]; modes 162 arch/x86/boot/video.c mi = card->modes; modes 74 arch/x86/boot/video.h struct mode_info *modes; modes 130 drivers/block/paride/bpck6.c ((struct pardevice*)(pi->pardev))->port->modes, modes 139 drivers/block/paride/bpck6.c if(((struct pardevice *)(pi->pardev))->port->modes & modes 145 drivers/block/paride/bpck6.c else if(((struct pardevice *)(pi->pardev))->port->modes & modes 549 drivers/char/lp.c if ( (lp_table[minor].dev->port->modes & PARPORT_MODE_ECP) && modes 942 drivers/char/lp.c if (port->modes & PARPORT_MODE_SAFEININT) { modes 474 drivers/char/ppdev.c unsigned int modes; modes 480 drivers/char/ppdev.c modes = port->modes; modes 482 drivers/char/ppdev.c if (copy_to_user(argp, &modes, sizeof(modes))) modes 38 drivers/clk/renesas/clk-rz.c u16 modes; modes 44 drivers/clk/renesas/clk-rz.c modes = ioread16(ppr0); modes 48 drivers/clk/renesas/clk-rz.c return modes; modes 360 drivers/clk/ti/dpll.c dd->modes = dpll_mode; modes 404 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 448 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), modes 470 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_STOP) | (1 << DPLL_LOCKED), modes 490 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 511 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 530 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 553 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 574 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 594 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 614 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 634 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 654 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 672 drivers/clk/ti/dpll.c .modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED), modes 189 drivers/clk/ti/dpll3xxx.c if (!(clk->dpll_data->modes & (1 << DPLL_LOW_POWER_BYPASS))) modes 220 drivers/clk/ti/dpll3xxx.c if (!(clk->dpll_data->modes & (1 << DPLL_LOW_POWER_STOP))) modes 513 drivers/clk/ti/dpll3xxx.c (dd->modes & (1 << DPLL_LOW_POWER_BYPASS))) { modes 213 drivers/clk/ti/dpll44xx.c (dd->modes & (1 << DPLL_LOW_POWER_BYPASS))) { modes 1428 drivers/counter/104-quad-8.c indio_dev->modes = INDIO_DIRECT_MODE; modes 492 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c list_for_each_entry(mode, &connector->modes, head) { modes 3415 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c audio_info->modes[i].format_code = modes 3418 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c audio_info->modes[i].channel_count = modes 3420 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c audio_info->modes[i].sample_rates.all = modes 3422 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c audio_info->modes[i].sample_size = modes 3591 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c list_for_each_entry(preferred_mode, &aconnector->base.modes, head) { modes 3600 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &aconnector->base.modes, modes 80 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->audio_info.modes[i].channel_count = dc_sink_data->edid_caps.audio_modes[i].channel_count; modes 81 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->audio_info.modes[i].format_code = dc_sink_data->edid_caps.audio_modes[i].format_code; modes 82 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; modes 83 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->audio_info.modes[i].sample_size = dc_sink_data->edid_caps.audio_modes[i].sample_size; modes 556 drivers/gpu/drm/amd/display/dc/dc_types.h struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; modes 108 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c if (audio_info->modes[index].format_code == audio_format_code) { modes 112 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c if (audio_info->modes[index].channel_count > modes 113 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c audio_info->modes[max_channe_index].channel_count) { modes 511 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c &audio_info->modes[index]; modes 122 drivers/gpu/drm/drm_client_modeset.c list_for_each_entry(mode, &connector->modes, head) { modes 151 drivers/gpu/drm/drm_client_modeset.c list_for_each_entry(mode, &connector->modes, head) { modes 184 drivers/gpu/drm/drm_client_modeset.c list_add(&mode->head, &connector->modes); modes 231 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes, modes 258 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_pick_cmdline_mode(connectors[i]); modes 259 drivers/gpu/drm/drm_client_modeset.c if (!modes[i]) { modes 266 drivers/gpu/drm/drm_client_modeset.c if (!drm_mode_match(modes[j], modes[i], modes 288 drivers/gpu/drm/drm_client_modeset.c list_for_each_entry(mode, &connectors[i]->modes, head) { modes 294 drivers/gpu/drm/drm_client_modeset.c modes[i] = mode; modes 296 drivers/gpu/drm/drm_client_modeset.c if (!modes[i]) modes 310 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes, modes 324 drivers/gpu/drm/drm_client_modeset.c if (!modes[i] && (h_idx || v_idx)) { modes 330 drivers/gpu/drm/drm_client_modeset.c hoffset += modes[i]->hdisplay; modes 333 drivers/gpu/drm/drm_client_modeset.c voffset += modes[i]->vdisplay; modes 343 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes, modes 384 drivers/gpu/drm/drm_client_modeset.c drm_client_get_tile_offsets(connectors, connector_count, modes, offsets, i, modes 391 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_pick_cmdline_mode(connector); modes 392 drivers/gpu/drm/drm_client_modeset.c if (!modes[i]) { modes 395 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_has_preferred_mode(connector, width, height); modes 398 drivers/gpu/drm/drm_client_modeset.c if (!modes[i] && !list_empty(&connector->modes)) { modes 399 drivers/gpu/drm/drm_client_modeset.c list_for_each_entry(modes[i], &connector->modes, head) modes 402 drivers/gpu/drm/drm_client_modeset.c DRM_DEBUG_KMS("found mode %s\n", modes[i] ? modes[i]->name : modes 432 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes, modes 449 drivers/gpu/drm/drm_client_modeset.c best_crtcs, modes, n + 1, width, height); modes 450 drivers/gpu/drm/drm_client_modeset.c if (modes[n] == NULL) modes 484 drivers/gpu/drm/drm_client_modeset.c if (!drm_mode_equal(modes[o], modes[n])) modes 491 drivers/gpu/drm/drm_client_modeset.c crtcs, modes, n + 1, width, height); modes 507 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes, modes 600 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_pick_cmdline_mode(connector); modes 603 drivers/gpu/drm/drm_client_modeset.c if (!modes[i]) { modes 606 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_has_preferred_mode(connector, width, height); modes 610 drivers/gpu/drm/drm_client_modeset.c if (!modes[i] && !list_empty(&connector->modes)) { modes 613 drivers/gpu/drm/drm_client_modeset.c modes[i] = list_first_entry(&connector->modes, modes 619 drivers/gpu/drm/drm_client_modeset.c if (!modes[i]) { modes 633 drivers/gpu/drm/drm_client_modeset.c modes[i] = &connector->state->crtc->mode; modes 641 drivers/gpu/drm/drm_client_modeset.c modes[i]->hdisplay, modes[i]->vdisplay, modes 642 drivers/gpu/drm/drm_client_modeset.c modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : ""); modes 698 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode **modes; modes 730 drivers/gpu/drm/drm_client_modeset.c modes = kcalloc(connector_count, sizeof(*modes), GFP_KERNEL); modes 733 drivers/gpu/drm/drm_client_modeset.c if (!crtcs || !modes || !enabled || !offsets) { modes 749 drivers/gpu/drm/drm_client_modeset.c modes, offsets, enabled, width, height)) { modes 750 drivers/gpu/drm/drm_client_modeset.c memset(modes, 0, connector_count * sizeof(*modes)); modes 754 drivers/gpu/drm/drm_client_modeset.c if (!drm_client_target_cloned(dev, connectors, connector_count, modes, modes 756 drivers/gpu/drm/drm_client_modeset.c !drm_client_target_preferred(connectors, connector_count, modes, modes 764 drivers/gpu/drm/drm_client_modeset.c crtcs, modes, 0, width, height); modes 771 drivers/gpu/drm/drm_client_modeset.c struct drm_display_mode *mode = modes[i]; modes 799 drivers/gpu/drm/drm_client_modeset.c kfree(modes); modes 246 drivers/gpu/drm/drm_connector.c INIT_LIST_HEAD(&connector->modes); modes 450 drivers/gpu/drm/drm_connector.c list_for_each_entry_safe(mode, t, &connector->modes, head) modes 1382 drivers/gpu/drm/drm_connector.c const char * const modes[]) modes 1426 drivers/gpu/drm/drm_connector.c i, modes[i]); modes 2173 drivers/gpu/drm/drm_connector.c list_for_each_entry(mode, &connector->modes, head) modes 94 drivers/gpu/drm/drm_edid.c int modes; modes 2483 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 2493 drivers/gpu/drm/drm_edid.c modes++; modes 2498 drivers/gpu/drm/drm_edid.c return modes; modes 2518 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 2526 drivers/gpu/drm/drm_edid.c return modes; modes 2536 drivers/gpu/drm/drm_edid.c modes++; modes 2539 drivers/gpu/drm/drm_edid.c return modes; modes 2546 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 2555 drivers/gpu/drm/drm_edid.c return modes; modes 2565 drivers/gpu/drm/drm_edid.c modes++; modes 2568 drivers/gpu/drm/drm_edid.c return modes; modes 2581 drivers/gpu/drm/drm_edid.c closure->modes += drm_dmt_modes_for_range(closure->connector, modes 2591 drivers/gpu/drm/drm_edid.c closure->modes += drm_gtf_modes_for_range(closure->connector, modes 2599 drivers/gpu/drm/drm_edid.c closure->modes += drm_cvt_modes_for_range(closure->connector, modes 2621 drivers/gpu/drm/drm_edid.c return closure.modes; modes 2627 drivers/gpu/drm/drm_edid.c int i, j, m, modes = 0; modes 2644 drivers/gpu/drm/drm_edid.c modes++; modes 2650 drivers/gpu/drm/drm_edid.c return modes; modes 2660 drivers/gpu/drm/drm_edid.c closure->modes += drm_est3_modes(closure->connector, timing); modes 2678 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 2690 drivers/gpu/drm/drm_edid.c modes++; modes 2699 drivers/gpu/drm/drm_edid.c return modes + closure.modes; modes 2720 drivers/gpu/drm/drm_edid.c closure->modes++; modes 2737 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 2750 drivers/gpu/drm/drm_edid.c modes++; modes 2760 drivers/gpu/drm/drm_edid.c return modes + closure.modes; modes 2766 drivers/gpu/drm/drm_edid.c int i, j, modes = 0; modes 2803 drivers/gpu/drm/drm_edid.c modes++; modes 2809 drivers/gpu/drm/drm_edid.c return modes; modes 2819 drivers/gpu/drm/drm_edid.c closure->modes += drm_cvt_modes(closure->connector, timing); modes 2835 drivers/gpu/drm/drm_edid.c return closure.modes; modes 2864 drivers/gpu/drm/drm_edid.c closure->modes++; modes 2892 drivers/gpu/drm/drm_edid.c return closure.modes; modes 3213 drivers/gpu/drm/drm_edid.c int modes = 0; modes 3273 drivers/gpu/drm/drm_edid.c modes++; modes 3276 drivers/gpu/drm/drm_edid.c return modes; modes 3327 drivers/gpu/drm/drm_edid.c int modes = 0, i; modes 3344 drivers/gpu/drm/drm_edid.c modes++; modes 3347 drivers/gpu/drm/drm_edid.c if (modes > 0) modes 3349 drivers/gpu/drm/drm_edid.c return modes; modes 3374 drivers/gpu/drm/drm_edid.c int i, modes = 0; modes 3394 drivers/gpu/drm/drm_edid.c modes++; modes 3398 drivers/gpu/drm/drm_edid.c return modes; modes 3436 drivers/gpu/drm/drm_edid.c int modes = 0, i; modes 3456 drivers/gpu/drm/drm_edid.c modes++; modes 3462 drivers/gpu/drm/drm_edid.c return modes; modes 3488 drivers/gpu/drm/drm_edid.c int modes = 0; modes 3497 drivers/gpu/drm/drm_edid.c modes++; modes 3507 drivers/gpu/drm/drm_edid.c modes++; modes 3517 drivers/gpu/drm/drm_edid.c modes++; modes 3521 drivers/gpu/drm/drm_edid.c return modes; modes 3538 drivers/gpu/drm/drm_edid.c int modes = 0, offset = 0, i, multi_present = 0, multi_len; modes 3566 drivers/gpu/drm/drm_edid.c modes += add_hdmi_mandatory_stereo_modes(connector); modes 3580 drivers/gpu/drm/drm_edid.c modes += add_hdmi_mode(connector, vic); modes 3609 drivers/gpu/drm/drm_edid.c modes += add_3d_struct_modes(connector, modes 3656 drivers/gpu/drm/drm_edid.c modes++; modes 3665 drivers/gpu/drm/drm_edid.c if (modes > 0) modes 3667 drivers/gpu/drm/drm_edid.c return modes; modes 3853 drivers/gpu/drm/drm_edid.c int modes = 0; modes 3868 drivers/gpu/drm/drm_edid.c modes += do_cea_modes(connector, video, dbl); modes 3876 drivers/gpu/drm/drm_edid.c modes += do_y420vdb_modes(connector, modes 3888 drivers/gpu/drm/drm_edid.c modes += do_hdmi_vsdb_modes(connector, hdmi, hdmi_len, video, modes 3891 drivers/gpu/drm/drm_edid.c return modes; modes 1378 drivers/gpu/drm/drm_modes.c list_for_each_entry(mode, &connector->modes, head) { modes 1412 drivers/gpu/drm/drm_modes.c list_move_tail(&pmode->head, &connector->modes); modes 417 drivers/gpu/drm/drm_probe_helper.c list_for_each_entry(mode, &connector->modes, head) modes 505 drivers/gpu/drm/drm_probe_helper.c list_for_each_entry(mode, &connector->modes, head) { modes 525 drivers/gpu/drm/drm_probe_helper.c drm_mode_prune_invalid(dev, &connector->modes, verbose_prune); modes 530 drivers/gpu/drm/drm_probe_helper.c if (list_empty(&connector->modes)) modes 533 drivers/gpu/drm/drm_probe_helper.c list_for_each_entry(mode, &connector->modes, head) modes 536 drivers/gpu/drm/drm_probe_helper.c drm_mode_sort(&connector->modes); modes 540 drivers/gpu/drm/drm_probe_helper.c list_for_each_entry(mode, &connector->modes, head) { modes 232 drivers/gpu/drm/drm_sysfs.c list_for_each_entry(mode, &connector->modes, head) { modes 244 drivers/gpu/drm/drm_sysfs.c static DEVICE_ATTR_RO(modes); modes 1009 drivers/gpu/drm/exynos/exynos_hdmi.c list_for_each_entry(m, &connector->modes, head) { modes 1077 drivers/gpu/drm/exynos/exynos_mixer.c } static const modes[] = { modes 1093 drivers/gpu/drm/exynos/exynos_mixer.c for (i = 0; i < ARRAY_SIZE(modes); ++i) modes 1094 drivers/gpu/drm/exynos/exynos_mixer.c if (width <= modes[i].hdisplay && height <= modes[i].vdisplay) { modes 1095 drivers/gpu/drm/exynos/exynos_mixer.c ctx->scan_value = modes[i].scan_val; modes 1096 drivers/gpu/drm/exynos/exynos_mixer.c if (width < modes[i].hdisplay || modes 1097 drivers/gpu/drm/exynos/exynos_mixer.c height < modes[i].vdisplay) { modes 1098 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->hdisplay = modes[i].hdisplay; modes 1099 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->hsync_start = modes[i].hdisplay; modes 1100 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->hsync_end = modes[i].htotal; modes 1101 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->htotal = modes[i].htotal; modes 1102 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->vdisplay = modes[i].vdisplay; modes 1103 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->vsync_start = modes[i].vdisplay; modes 1104 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->vsync_end = modes[i].vtotal; modes 1105 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->vtotal = modes[i].vtotal; modes 2604 drivers/gpu/drm/i915/i915_debugfs.c list_for_each_entry(mode, &connector->modes, head) modes 255 drivers/gpu/drm/i915/selftests/i915_vma.c const struct pin_mode modes[] = { modes 325 drivers/gpu/drm/i915/selftests/i915_vma.c for (m = modes; m->assert; m++) { modes 330 drivers/gpu/drm/i915/selftests/i915_vma.c (int)(m - modes), m->string, m->size, m->flags, modes 779 drivers/gpu/drm/mga/mga_dma.c static const int modes[] = { 0, 1, 2, 2, 4, 4, 4, 4 }; modes 797 drivers/gpu/drm/mga/mga_dma.c bootstrap->agp_mode = modes[bootstrap->agp_mode & 0x07]; modes 515 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c list_for_each_entry(cur_mode, &connector->modes, head) { modes 239 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c } modes[] = { modes 252 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c for (i = 0; i < ARRAY_SIZE(modes); i++) { modes 253 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (modes[i].hdisplay > output_mode->hdisplay || modes 254 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c modes[i].vdisplay > output_mode->vdisplay) modes 257 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c if (modes[i].hdisplay == output_mode->hdisplay && modes 258 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c modes[i].vdisplay == output_mode->vdisplay) { modes 263 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, modes 264 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c modes[i].vdisplay, 60, false, modes 828 drivers/gpu/drm/nouveau/nouveau_connector.c int modes = 0; modes 845 drivers/gpu/drm/nouveau/nouveau_connector.c modes++; modes 851 drivers/gpu/drm/nouveau/nouveau_connector.c return modes; modes 1283 drivers/gpu/drm/omapdrm/dss/dispc.c const u32 *modes; modes 1286 drivers/gpu/drm/omapdrm/dss/dispc.c modes = dispc->feat->supported_color_modes[plane]; modes 1288 drivers/gpu/drm/omapdrm/dss/dispc.c for (i = 0; modes[i]; ++i) { modes 1289 drivers/gpu/drm/omapdrm/dss/dispc.c if (modes[i] == fourcc) modes 509 drivers/gpu/drm/omapdrm/dss/venc.c static const struct drm_display_mode *modes[] = { modes 515 drivers/gpu/drm/omapdrm/dss/venc.c for (i = 0; i < ARRAY_SIZE(modes); ++i) { modes 518 drivers/gpu/drm/omapdrm/dss/venc.c mode = drm_mode_duplicate(connector->dev, modes[i]); modes 527 drivers/gpu/drm/omapdrm/dss/venc.c return ARRAY_SIZE(modes); modes 24 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c const struct drm_display_mode *modes; modes 93 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c const struct drm_display_mode *m = &panel->desc->modes[i]; modes 58 drivers/gpu/drm/panel/panel-simple.c const struct drm_display_mode *modes; modes 162 drivers/gpu/drm/panel/panel-simple.c const struct drm_display_mode *m = &panel->desc->modes[i]; modes 530 drivers/gpu/drm/panel/panel-simple.c .modes = &ire_am_480272h3tmqw_t01h_mode, modes 555 drivers/gpu/drm/panel/panel-simple.c .modes = &ire_am800480r3tmqwa1h_mode, modes 605 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b101aw03_mode, modes 651 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b101xtn01_mode, modes 674 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b116xw03_mode, modes 697 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b133xtn01_mode, modes 720 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b133htn01_mode, modes 776 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_g101evn010_mode, modes 800 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_g104sn02_mode, modes 909 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_t215hvn01_mode, modes 936 drivers/gpu/drm/panel/panel-simple.c .modes = &avic_tm070ddh03_mode, modes 963 drivers/gpu/drm/panel/panel-simple.c .modes = &bananapi_s070wv20_ct16_mode, modes 986 drivers/gpu/drm/panel/panel-simple.c .modes = &boe_hv070wsa_mode, modes 1022 drivers/gpu/drm/panel/panel-simple.c .modes = boe_nv101wxmn51_modes, modes 1051 drivers/gpu/drm/panel/panel-simple.c .modes = &cdtech_s043wq26h_ct7_mode, modes 1076 drivers/gpu/drm/panel/panel-simple.c .modes = &cdtech_s070wv95_ct16_mode, modes 1100 drivers/gpu/drm/panel/panel-simple.c .modes = &chunghwa_claa070wp03xg_mode, modes 1123 drivers/gpu/drm/panel/panel-simple.c .modes = &chunghwa_claa101wa01a_mode, modes 1146 drivers/gpu/drm/panel/panel-simple.c .modes = &chunghwa_claa101wb01_mode, modes 1170 drivers/gpu/drm/panel/panel-simple.c .modes = &dataimage_scf0700c48ggu18_mode, modes 1255 drivers/gpu/drm/panel/panel-simple.c .modes = &edt_et035012dm6_mode, modes 1281 drivers/gpu/drm/panel/panel-simple.c .modes = &edt_etm0430g0dh6_mode, modes 1305 drivers/gpu/drm/panel/panel-simple.c .modes = &edt_et057090dhu_mode, modes 1331 drivers/gpu/drm/panel/panel-simple.c .modes = &edt_etm0700g0dh6_mode, modes 1343 drivers/gpu/drm/panel/panel-simple.c .modes = &edt_etm0700g0dh6_mode, modes 1395 drivers/gpu/drm/panel/panel-simple.c .modes = &foxlink_fl500wvr00_a0t_mode, modes 1420 drivers/gpu/drm/panel/panel-simple.c .modes = &friendlyarm_hd702e_mode, modes 1442 drivers/gpu/drm/panel/panel-simple.c .modes = &giantplus_gpg482739qs5_mode, modes 1544 drivers/gpu/drm/panel/panel-simple.c .modes = &hitachi_tx23d38vm0caa_mode, modes 1572 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_at043tn24_mode, modes 1597 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_at070tn92_mode, modes 1706 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_g121x1_l03_mode, modes 1767 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_n156bge_l21_mode, modes 1791 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_p120zdg_bf1_mode, modes 1818 drivers/gpu/drm/panel/panel-simple.c .modes = &innolux_zj070na_01p_mode, modes 1912 drivers/gpu/drm/panel/panel-simple.c .modes = &lemaker_bl035_rgb_002_mode, modes 1936 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lb070wv8_mode, modes 1961 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lp079qx1_sp0v_mode, modes 1983 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lp097qx1_spa1_mode, modes 2005 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lp120up1_mode, modes 2028 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lp129qe_mode, modes 2067 drivers/gpu/drm/panel/panel-simple.c .modes = &logicpd_type_28_mode, modes 2086 drivers/gpu/drm/panel/panel-simple.c .modes = &mitsubishi_aa070mc01_mode, modes 2145 drivers/gpu/drm/panel/panel-simple.c .modes = &nec_nl4827hc19_05b_mode, modes 2170 drivers/gpu/drm/panel/panel-simple.c .modes = &netron_dy_e231732_mode, modes 2194 drivers/gpu/drm/panel/panel-simple.c .modes = &newhaven_nhd_43_480272ef_atxl_mode, modes 2245 drivers/gpu/drm/panel/panel-simple.c .modes = &nvd_9128_mode, modes 2299 drivers/gpu/drm/panel/panel-simple.c .modes = &olimex_lcd_olinuxino_43ts_mode, modes 2332 drivers/gpu/drm/panel/panel-simple.c .modes = &ontat_yx700wv03_mode, modes 2357 drivers/gpu/drm/panel/panel-simple.c .modes = &ortustech_com37h3m_mode, modes 2383 drivers/gpu/drm/panel/panel-simple.c .modes = &ortustech_com43h4m85ulc_mode, modes 2409 drivers/gpu/drm/panel/panel-simple.c .modes = &osddisplays_osd070t1718_19ts_mode, modes 2434 drivers/gpu/drm/panel/panel-simple.c .modes = &pda_91_00156_a0_mode, modes 2458 drivers/gpu/drm/panel/panel-simple.c .modes = &qd43003c0_40_mode, modes 2512 drivers/gpu/drm/panel/panel-simple.c .modes = &samsung_lsn122dl01_c01_mode, modes 2534 drivers/gpu/drm/panel/panel-simple.c .modes = &samsung_ltn101nt05_mode, modes 2557 drivers/gpu/drm/panel/panel-simple.c .modes = &samsung_ltn140at29_301_mode, modes 2581 drivers/gpu/drm/panel/panel-simple.c .modes = &sharp_ld_d5116z01b_mode, modes 2607 drivers/gpu/drm/panel/panel-simple.c .modes = &sharp_lq070y3dg3b_mode, modes 2633 drivers/gpu/drm/panel/panel-simple.c .modes = &sharp_lq035q7db03_mode, modes 2709 drivers/gpu/drm/panel/panel-simple.c .modes = &sharp_lq150x1lg11_mode, modes 2760 drivers/gpu/drm/panel/panel-simple.c .modes = &shelly_sca07010_bfn_lnn_mode, modes 2784 drivers/gpu/drm/panel/panel-simple.c .modes = &starry_kr122ea0sra_mode, modes 2811 drivers/gpu/drm/panel/panel-simple.c .modes = &tfc_s9700rtwv43tr_01b_mode, modes 2887 drivers/gpu/drm/panel/panel-simple.c .modes = ti_nspire_cx_lcd_mode, modes 2915 drivers/gpu/drm/panel/panel-simple.c .modes = ti_nspire_classic_lcd_mode, modes 2942 drivers/gpu/drm/panel/panel-simple.c .modes = &toshiba_lt089ac29000_mode, modes 2966 drivers/gpu/drm/panel/panel-simple.c .modes = &tpk_f07a_0102_mode, modes 2989 drivers/gpu/drm/panel/panel-simple.c .modes = &tpk_f10a_0102_mode, modes 3048 drivers/gpu/drm/panel/panel-simple.c .modes = &vl050_8048nt_c01_mode, modes 3074 drivers/gpu/drm/panel/panel-simple.c .modes = &winstar_wf35ltiacd_mode, modes 3101 drivers/gpu/drm/panel/panel-simple.c .modes = arm_rtsm_mode, modes 3499 drivers/gpu/drm/panel/panel-simple.c .modes = &auo_b080uan01_mode, modes 3528 drivers/gpu/drm/panel/panel-simple.c .modes = &boe_tv080wum_nl0_mode, modes 3557 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_ld070wx3_sl01_mode, modes 3585 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_lh500wx1_sd03_mode, modes 3613 drivers/gpu/drm/panel/panel-simple.c .modes = &panasonic_vvx10f004b00_mode, modes 3642 drivers/gpu/drm/panel/panel-simple.c .modes = &lg_acx467akm_7_mode, modes 3671 drivers/gpu/drm/panel/panel-simple.c .modes = &osd101t2045_53ts_mode, modes 276 drivers/gpu/drm/qxl/qxl_dev.h struct qxl_mode modes[0]; modes 207 drivers/gpu/drm/qxl/qxl_drv.h struct qxl_mode *modes; modes 109 drivers/gpu/drm/rcar-du/rcar_lvds.c if (list_empty(&connector->modes)) { modes 114 drivers/gpu/drm/rcar-du/rcar_lvds.c panel_mode = list_first_entry(&connector->modes, modes 523 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (list_empty(&connector->modes)) { modes 529 drivers/gpu/drm/shmobile/shmob_drm_crtc.c panel_mode = list_first_entry(&connector->modes, modes 806 drivers/gpu/drm/vboxvideo/vbox_mode.c list_for_each_entry_safe(mode, iterator, &connector->modes, head) { modes 2310 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_mode_sort(&connector->modes); modes 2675 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (list_empty(&con->modes)) modes 2678 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (list_empty(&con->modes)) { modes 2688 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c list_for_each_entry(mode, &con->modes, head) { modes 2697 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c *p_mode = list_first_entry(&con->modes, modes 112 drivers/hid/hid-lg4ff.c const u32 modes; modes 1202 drivers/hid/hid-lg4ff.c if ((current_mode & lg4ff_main_checklist[i]->modes) && \ modes 1116 drivers/i3c/master.c info->hdr_cap = gethdrcap->modes; modes 272 drivers/iio/accel/adis16201.c indio_dev->modes = INDIO_DIRECT_MODE; modes 282 drivers/iio/accel/adis16209.c indio_dev->modes = INDIO_DIRECT_MODE; modes 252 drivers/iio/accel/adxl345_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 944 drivers/iio/accel/adxl372.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_SOFTWARE; modes 747 drivers/iio/accel/bma180.c indio_dev->modes = INDIO_DIRECT_MODE; modes 243 drivers/iio/accel/bma220_spi.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1582 drivers/iio/accel/bmc150-accel-core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1625 drivers/iio/accel/bmc150-accel-core.c indio_dev->modes |= INDIO_BUFFER_SOFTWARE; modes 125 drivers/iio/accel/da280.c indio_dev->modes = INDIO_DIRECT_MODE; modes 237 drivers/iio/accel/da311.c indio_dev->modes = INDIO_DIRECT_MODE; modes 165 drivers/iio/accel/dmard06.c indio_dev->modes = INDIO_DIRECT_MODE; modes 121 drivers/iio/accel/dmard09.c indio_dev->modes = INDIO_DIRECT_MODE; modes 202 drivers/iio/accel/dmard10.c indio_dev->modes = INDIO_DIRECT_MODE; modes 392 drivers/iio/accel/hid-sensor-accel-3d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1296 drivers/iio/accel/kxcjk-1013.c indio_dev->modes = INDIO_DIRECT_MODE; modes 416 drivers/iio/accel/kxsd9.c indio_dev->modes = INDIO_DIRECT_MODE; modes 138 drivers/iio/accel/mc3230.c indio_dev->modes = INDIO_DIRECT_MODE; modes 264 drivers/iio/accel/mma7455_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 194 drivers/iio/accel/mma7660.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1596 drivers/iio/accel/mma8452.c indio_dev->modes = INDIO_DIRECT_MODE; modes 480 drivers/iio/accel/mma9551.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1110 drivers/iio/accel/mma9553.c indio_dev->modes = INDIO_DIRECT_MODE; modes 424 drivers/iio/accel/mxc4005.c indio_dev->modes = INDIO_DIRECT_MODE; modes 144 drivers/iio/accel/mxc6255.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1284 drivers/iio/accel/sca3000.c indio_dev->modes |= INDIO_BUFFER_SOFTWARE; modes 1481 drivers/iio/accel/sca3000.c indio_dev->modes = INDIO_DIRECT_MODE; modes 114 drivers/iio/accel/ssp_accel_sensor.c indio_dev->modes = INDIO_BUFFER_SOFTWARE; modes 1180 drivers/iio/accel/st_accel_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 521 drivers/iio/accel/stk8312.c indio_dev->modes = INDIO_DIRECT_MODE; modes 405 drivers/iio/accel/stk8ba50.c indio_dev->modes = INDIO_DIRECT_MODE; modes 589 drivers/iio/adc/ad7124.c indio_dev->modes = INDIO_DIRECT_MODE; modes 443 drivers/iio/adc/ad7266.c indio_dev->modes = INDIO_DIRECT_MODE; modes 508 drivers/iio/adc/ad7291.c indio_dev->modes = INDIO_DIRECT_MODE; modes 317 drivers/iio/adc/ad7298.c indio_dev->modes = INDIO_DIRECT_MODE; modes 265 drivers/iio/adc/ad7476.c indio_dev->modes = INDIO_DIRECT_MODE; modes 629 drivers/iio/adc/ad7606.c indio_dev->modes = INDIO_DIRECT_MODE; modes 247 drivers/iio/adc/ad7766.c indio_dev->modes = INDIO_DIRECT_MODE; modes 590 drivers/iio/adc/ad7768-1.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_TRIGGERED; modes 305 drivers/iio/adc/ad7780.c indio_dev->modes = INDIO_DIRECT_MODE; modes 382 drivers/iio/adc/ad7791.c indio_dev->modes = INDIO_DIRECT_MODE; modes 757 drivers/iio/adc/ad7793.c indio_dev->modes = INDIO_DIRECT_MODE; modes 268 drivers/iio/adc/ad7887.c indio_dev->modes = INDIO_DIRECT_MODE; modes 290 drivers/iio/adc/ad7923.c indio_dev->modes = INDIO_DIRECT_MODE; modes 250 drivers/iio/adc/ad7949.c indio_dev->modes = INDIO_DIRECT_MODE; modes 807 drivers/iio/adc/ad799x.c indio_dev->modes = INDIO_DIRECT_MODE; modes 259 drivers/iio/adc/aspeed_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1664 drivers/iio/adc/at91-sama5d2_adc.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_SOFTWARE; modes 1178 drivers/iio/adc/at91_adc.c idev->modes = INDIO_DIRECT_MODE; modes 673 drivers/iio/adc/axp20x_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 279 drivers/iio/adc/axp288_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 579 drivers/iio/adc/bcm_iproc_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 326 drivers/iio/adc/berlin2-adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 341 drivers/iio/adc/cc10001_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 987 drivers/iio/adc/cpcap-adc.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_SOFTWARE; modes 360 drivers/iio/adc/da9150-gpadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 657 drivers/iio/adc/dln2-adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 175 drivers/iio/adc/ep93xx_adc.c iiodev->modes = INDIO_DIRECT_MODE; modes 864 drivers/iio/adc/exynos_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 494 drivers/iio/adc/hi8435.c idev->modes = INDIO_DIRECT_MODE; modes 568 drivers/iio/adc/hx711.c indio_dev->modes = INDIO_DIRECT_MODE; modes 520 drivers/iio/adc/imx7d_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1017 drivers/iio/adc/ina2xx-adc.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_SOFTWARE; modes 387 drivers/iio/adc/ingenic-adc.c iio_dev->modes = INDIO_DIRECT_MODE; modes 210 drivers/iio/adc/lp8788_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 159 drivers/iio/adc/lpc18xx_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 201 drivers/iio/adc/lpc32xx_adc.c iodev->modes = INDIO_DIRECT_MODE; modes 122 drivers/iio/adc/ltc2471.c indio_dev->modes = INDIO_DIRECT_MODE; modes 114 drivers/iio/adc/ltc2485.c indio_dev->modes = INDIO_DIRECT_MODE; modes 213 drivers/iio/adc/ltc2497.c indio_dev->modes = INDIO_DIRECT_MODE; modes 417 drivers/iio/adc/max1027.c indio_dev->modes = INDIO_DIRECT_MODE; modes 122 drivers/iio/adc/max11100.c indio_dev->modes = INDIO_DIRECT_MODE; modes 224 drivers/iio/adc/max1118.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1648 drivers/iio/adc/max1363.c indio_dev->modes = INDIO_DIRECT_MODE; modes 565 drivers/iio/adc/max9611.c indio_dev->modes = INDIO_DIRECT_MODE; modes 390 drivers/iio/adc/mcp320x.c indio_dev->modes = INDIO_DIRECT_MODE; modes 352 drivers/iio/adc/mcp3422.c indio_dev->modes = INDIO_DIRECT_MODE; modes 299 drivers/iio/adc/mcp3911.c indio_dev->modes = INDIO_DIRECT_MODE; modes 115 drivers/iio/adc/men_z188_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1214 drivers/iio/adc/meson_saradc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 252 drivers/iio/adc/mt6577_auxadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 728 drivers/iio/adc/mxs-lradc-adc.c iio->modes = INDIO_DIRECT_MODE; modes 436 drivers/iio/adc/nau7802.c indio_dev->modes = INDIO_DIRECT_MODE; modes 280 drivers/iio/adc/npcm_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 598 drivers/iio/adc/palmas_gpadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 939 drivers/iio/adc/qcom-pm8xxx-xoadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 779 drivers/iio/adc/qcom-spmi-adc5.c indio_dev->modes = INDIO_DIRECT_MODE; modes 559 drivers/iio/adc/qcom-spmi-iadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 913 drivers/iio/adc/qcom-spmi-vadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 524 drivers/iio/adc/rcar-gyroadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 313 drivers/iio/adc/rockchip_saradc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 552 drivers/iio/adc/sc27xx_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 39 drivers/iio/adc/sd_adc_modulator.c iio->modes = INDIO_BUFFER_HARDWARE; modes 343 drivers/iio/adc/spear_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1837 drivers/iio/adc/stm32-adc.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_HARDWARE_TRIGGERED; modes 1383 drivers/iio/adc/stm32-dfsdm-adc.c indio_dev->modes |= INDIO_BUFFER_SOFTWARE; modes 1521 drivers/iio/adc/stm32-dfsdm-adc.c indio_dev->modes |= INDIO_HARDWARE_TRIGGERED; modes 1570 drivers/iio/adc/stm32-dfsdm-adc.c iio->modes = INDIO_DIRECT_MODE; modes 302 drivers/iio/adc/stmpe-adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 310 drivers/iio/adc/stx104.c indio_dev->modes = INDIO_DIRECT_MODE; modes 627 drivers/iio/adc/sun4i-gpadc-iio.c indio_dev->modes = INDIO_DIRECT_MODE; modes 187 drivers/iio/adc/ti-adc081c.c iio->modes = INDIO_DIRECT_MODE; modes 251 drivers/iio/adc/ti-adc0832.c indio_dev->modes = INDIO_DIRECT_MODE; modes 217 drivers/iio/adc/ti-adc084s021.c indio_dev->modes = INDIO_DIRECT_MODE; modes 256 drivers/iio/adc/ti-adc108s102.c indio_dev->modes = INDIO_DIRECT_MODE; modes 412 drivers/iio/adc/ti-adc12138.c indio_dev->modes = INDIO_DIRECT_MODE; modes 158 drivers/iio/adc/ti-adc128s052.c indio_dev->modes = INDIO_DIRECT_MODE; modes 185 drivers/iio/adc/ti-adc161s626.c indio_dev->modes = INDIO_DIRECT_MODE; modes 954 drivers/iio/adc/ti-ads1015.c indio_dev->modes = INDIO_DIRECT_MODE; modes 331 drivers/iio/adc/ti-ads124s08.c indio_dev->modes = INDIO_DIRECT_MODE; modes 561 drivers/iio/adc/ti-ads7950.c indio_dev->modes = INDIO_DIRECT_MODE; modes 154 drivers/iio/adc/ti-ads8344.c indio_dev->modes = INDIO_DIRECT_MODE; modes 454 drivers/iio/adc/ti-ads8688.c indio_dev->modes = INDIO_DIRECT_MODE; modes 181 drivers/iio/adc/ti-tlc4541.c indio_dev->modes = INDIO_DIRECT_MODE; modes 402 drivers/iio/adc/ti_am335x_adc.c indio_dev->modes |= INDIO_BUFFER_SOFTWARE; modes 631 drivers/iio/adc/ti_am335x_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 778 drivers/iio/adc/twl4030-madc.c iio_dev->modes = INDIO_DIRECT_MODE; modes 931 drivers/iio/adc/twl6030-gpadc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 868 drivers/iio/adc/vf610_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 126 drivers/iio/adc/viperboard_adc.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1229 drivers/iio/adc/xilinx-xadc-core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 319 drivers/iio/afe/iio-rescale.c indio_dev->modes = INDIO_DIRECT_MODE; modes 251 drivers/iio/amplifiers/ad8366.c indio_dev->modes = INDIO_DIRECT_MODE; modes 45 drivers/iio/buffer/industrialio-buffer-cb.c .modes = INDIO_BUFFER_SOFTWARE | INDIO_BUFFER_TRIGGERED, modes 119 drivers/iio/buffer/industrialio-buffer-dmaengine.c .modes = INDIO_BUFFER_HARDWARE, modes 49 drivers/iio/buffer/industrialio-hw-consumer.c .modes = INDIO_BUFFER_HARDWARE, modes 76 drivers/iio/buffer/industrialio-triggered-buffer.c indio_dev->modes |= INDIO_BUFFER_TRIGGERED; modes 151 drivers/iio/buffer/kfifo_buf.c .modes = INDIO_BUFFER_SOFTWARE | INDIO_BUFFER_TRIGGERED, modes 158 drivers/iio/chemical/ams-iaq-core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 536 drivers/iio/chemical/atlas-ph-sensor.c indio_dev->modes = INDIO_BUFFER_SOFTWARE | INDIO_DIRECT_MODE; modes 923 drivers/iio/chemical/bme680_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 387 drivers/iio/chemical/ccs811.c indio_dev->modes = INDIO_DIRECT_MODE; modes 288 drivers/iio/chemical/pms7003.c indio_dev->modes = INDIO_DIRECT_MODE; modes 539 drivers/iio/chemical/sgp30.c indio_dev->modes = INDIO_DIRECT_MODE; modes 495 drivers/iio/chemical/sps30.c indio_dev->modes = INDIO_DIRECT_MODE; modes 388 drivers/iio/chemical/vz89x.c indio_dev->modes = INDIO_DIRECT_MODE; modes 125 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 880 drivers/iio/dac/ad5064.c indio_dev->modes = INDIO_DIRECT_MODE; modes 479 drivers/iio/dac/ad5360.c indio_dev->modes = INDIO_DIRECT_MODE; modes 390 drivers/iio/dac/ad5380.c indio_dev->modes = INDIO_DIRECT_MODE; modes 490 drivers/iio/dac/ad5421.c indio_dev->modes = INDIO_DIRECT_MODE; modes 253 drivers/iio/dac/ad5446.c indio_dev->modes = INDIO_DIRECT_MODE; modes 301 drivers/iio/dac/ad5449.c indio_dev->modes = INDIO_DIRECT_MODE; modes 315 drivers/iio/dac/ad5504.c indio_dev->modes = INDIO_DIRECT_MODE; modes 627 drivers/iio/dac/ad5592r-base.c iio_dev->modes = INDIO_DIRECT_MODE; modes 259 drivers/iio/dac/ad5624r_spi.c indio_dev->modes = INDIO_DIRECT_MODE; modes 467 drivers/iio/dac/ad5686.c indio_dev->modes = INDIO_DIRECT_MODE; modes 750 drivers/iio/dac/ad5755.c indio_dev->modes = INDIO_DIRECT_MODE; modes 860 drivers/iio/dac/ad5758.c indio_dev->modes = INDIO_DIRECT_MODE; modes 377 drivers/iio/dac/ad5761.c iio_dev->modes = INDIO_DIRECT_MODE; modes 294 drivers/iio/dac/ad5764.c indio_dev->modes = INDIO_DIRECT_MODE; modes 414 drivers/iio/dac/ad5791.c indio_dev->modes = INDIO_DIRECT_MODE; modes 250 drivers/iio/dac/ad7303.c indio_dev->modes = INDIO_DIRECT_MODE; modes 176 drivers/iio/dac/ad8801.c indio_dev->modes = INDIO_DIRECT_MODE; modes 109 drivers/iio/dac/cio-dac.c indio_dev->modes = INDIO_DIRECT_MODE; modes 182 drivers/iio/dac/dpot-dac.c indio_dev->modes = INDIO_DIRECT_MODE; modes 272 drivers/iio/dac/ds4424.c indio_dev->modes = INDIO_DIRECT_MODE; modes 140 drivers/iio/dac/lpc18xx_dac.c indio_dev->modes = INDIO_DIRECT_MODE; modes 191 drivers/iio/dac/ltc1660.c indio_dev->modes = INDIO_DIRECT_MODE; modes 292 drivers/iio/dac/ltc2632.c indio_dev->modes = INDIO_DIRECT_MODE; modes 212 drivers/iio/dac/m62332.c indio_dev->modes = INDIO_DIRECT_MODE; modes 178 drivers/iio/dac/max517.c indio_dev->modes = INDIO_DIRECT_MODE; modes 347 drivers/iio/dac/max5821.c indio_dev->modes = INDIO_DIRECT_MODE; modes 461 drivers/iio/dac/mcp4725.c indio_dev->modes = INDIO_DIRECT_MODE; modes 157 drivers/iio/dac/mcp4922.c indio_dev->modes = INDIO_DIRECT_MODE; modes 293 drivers/iio/dac/stm32-dac.c indio_dev->modes = INDIO_DIRECT_MODE; modes 274 drivers/iio/dac/ti-dac082s085.c indio_dev->modes = INDIO_DIRECT_MODE; modes 328 drivers/iio/dac/ti-dac5571.c indio_dev->modes = INDIO_DIRECT_MODE; modes 258 drivers/iio/dac/ti-dac7311.c indio_dev->modes = INDIO_DIRECT_MODE; modes 144 drivers/iio/dac/ti-dac7612.c iio_dev->modes = INDIO_DIRECT_MODE; modes 206 drivers/iio/dac/vf610_dac.c indio_dev->modes = INDIO_DIRECT_MODE; modes 629 drivers/iio/dummy/iio_simple_dummy.c indio_dev->modes = INDIO_DIRECT_MODE; modes 170 drivers/iio/dummy/iio_simple_dummy_buffer.c indio_dev->modes |= INDIO_BUFFER_TRIGGERED; modes 1033 drivers/iio/frequency/ad9523.c indio_dev->modes = INDIO_DIRECT_MODE; modes 547 drivers/iio/frequency/adf4350.c indio_dev->modes = INDIO_DIRECT_MODE; modes 579 drivers/iio/frequency/adf4371.c indio_dev->modes = INDIO_DIRECT_MODE; modes 208 drivers/iio/gyro/adis16080.c indio_dev->modes = INDIO_DIRECT_MODE; modes 160 drivers/iio/gyro/adis16130.c indio_dev->modes = INDIO_DIRECT_MODE; modes 522 drivers/iio/gyro/adis16136.c indio_dev->modes = INDIO_DIRECT_MODE; modes 381 drivers/iio/gyro/adis16260.c indio_dev->modes = INDIO_DIRECT_MODE; modes 429 drivers/iio/gyro/adxrs450.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1105 drivers/iio/gyro/bmg160_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 912 drivers/iio/gyro/fxas21002c_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 327 drivers/iio/gyro/hid-sensor-gyro-3d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 326 drivers/iio/gyro/itg3200_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1206 drivers/iio/gyro/mpu3050-core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 113 drivers/iio/gyro/ssp_gyro_sensor.c indio_dev->modes = INDIO_BUFFER_SOFTWARE; modes 466 drivers/iio/gyro/st_gyro_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 513 drivers/iio/health/afe4403.c indio_dev->modes = INDIO_DIRECT_MODE; modes 519 drivers/iio/health/afe4404.c indio_dev->modes = INDIO_DIRECT_MODE; modes 441 drivers/iio/health/max30100.c indio_dev->modes = (INDIO_BUFFER_SOFTWARE | INDIO_DIRECT_MODE); modes 527 drivers/iio/health/max30102.c indio_dev->modes = (INDIO_BUFFER_SOFTWARE | INDIO_DIRECT_MODE); modes 239 drivers/iio/humidity/am2315.c indio_dev->modes = INDIO_DIRECT_MODE; modes 327 drivers/iio/humidity/dht11.c iio->modes = INDIO_DIRECT_MODE; modes 376 drivers/iio/humidity/hdc100x.c indio_dev->modes = INDIO_DIRECT_MODE; modes 234 drivers/iio/humidity/hid-sensor-humidity.c indio_dev->modes = INDIO_DIRECT_MODE; modes 581 drivers/iio/humidity/hts221_core.c iio_dev->modes = INDIO_DIRECT_MODE; modes 208 drivers/iio/humidity/htu21.c indio_dev->modes = INDIO_DIRECT_MODE; modes 147 drivers/iio/humidity/si7005.c indio_dev->modes = INDIO_DIRECT_MODE; modes 133 drivers/iio/humidity/si7020.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1145 drivers/iio/imu/adis16400.c indio_dev->modes = INDIO_DIRECT_MODE; modes 423 drivers/iio/imu/adis16460.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1212 drivers/iio/imu/adis16480.c indio_dev->modes = INDIO_DIRECT_MODE; modes 833 drivers/iio/imu/bmi160/bmi160_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1191 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c indio_dev->modes = INDIO_BUFFER_TRIGGERED; modes 1255 drivers/iio/imu/kmx61.c indio_dev->modes = INDIO_DIRECT_MODE; modes 768 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c hw->iio_devs[i]->modes |= INDIO_BUFFER_SOFTWARE; modes 1450 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->modes = INDIO_DIRECT_MODE; modes 603 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->modes = INDIO_DIRECT_MODE; modes 688 drivers/iio/industrialio-buffer.c unsigned int modes; modes 701 drivers/iio/industrialio-buffer.c modes = indio_dev->modes; modes 706 drivers/iio/industrialio-buffer.c modes &= buffer->access->modes; modes 711 drivers/iio/industrialio-buffer.c modes &= insert_buffer->access->modes; modes 717 drivers/iio/industrialio-buffer.c if ((modes & INDIO_BUFFER_TRIGGERED) && indio_dev->trig) { modes 719 drivers/iio/industrialio-buffer.c } else if (modes & INDIO_BUFFER_HARDWARE) { modes 728 drivers/iio/industrialio-buffer.c } else if (modes & INDIO_BUFFER_SOFTWARE) { modes 732 drivers/iio/industrialio-buffer.c if (indio_dev->modes & INDIO_BUFFER_TRIGGERED) modes 1404 drivers/iio/industrialio-core.c if (indio_dev->modes & INDIO_ALL_TRIGGERED_MODES) modes 1621 drivers/iio/industrialio-core.c if (!(indio_dev->modes & INDIO_ALL_BUFFER_MODES)) modes 1681 drivers/iio/industrialio-core.c if (indio_dev->modes & INDIO_ALL_TRIGGERED_MODES) modes 1684 drivers/iio/industrialio-core.c if ((indio_dev->modes & INDIO_ALL_BUFFER_MODES) && modes 440 drivers/iio/industrialio-trigger.c if (indio_dev->modes & INDIO_EVENT_TRIGGERED) modes 446 drivers/iio/industrialio-trigger.c if (indio_dev->modes & INDIO_EVENT_TRIGGERED) modes 45 drivers/iio/industrialio-triggered-event.c indio_dev->modes |= INDIO_EVENT_TRIGGERED; modes 57 drivers/iio/industrialio-triggered-event.c indio_dev->modes &= ~INDIO_EVENT_TRIGGERED; modes 183 drivers/iio/light/acpi-als.c indio_dev->modes = INDIO_BUFFER_SOFTWARE; modes 267 drivers/iio/light/adjd_s311.c indio_dev->modes = INDIO_DIRECT_MODE; modes 192 drivers/iio/light/al3320a.c indio_dev->modes = INDIO_DIRECT_MODE; modes 426 drivers/iio/light/apds9300.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1012 drivers/iio/light/apds9960.c indio_dev->modes = (INDIO_BUFFER_SOFTWARE | INDIO_DIRECT_MODE); modes 262 drivers/iio/light/bh1750.c indio_dev->modes = INDIO_DIRECT_MODE; modes 193 drivers/iio/light/bh1780.c indio_dev->modes = INDIO_DIRECT_MODE; modes 320 drivers/iio/light/cm32181.c indio_dev->modes = INDIO_DIRECT_MODE; modes 347 drivers/iio/light/cm3232.c indio_dev->modes = INDIO_DIRECT_MODE; modes 239 drivers/iio/light/cm3323.c indio_dev->modes = INDIO_DIRECT_MODE; modes 247 drivers/iio/light/cm3605.c indio_dev->modes = INDIO_DIRECT_MODE; modes 670 drivers/iio/light/cm36651.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1534 drivers/iio/light/gp2ap020a00f.c indio_dev->modes = INDIO_DIRECT_MODE; modes 309 drivers/iio/light/hid-sensor-als.c indio_dev->modes = INDIO_DIRECT_MODE; modes 287 drivers/iio/light/hid-sensor-prox.c indio_dev->modes = INDIO_DIRECT_MODE; modes 786 drivers/iio/light/isl29018.c indio_dev->modes = INDIO_DIRECT_MODE; modes 624 drivers/iio/light/isl29028.c indio_dev->modes = INDIO_DIRECT_MODE; modes 266 drivers/iio/light/isl29125.c indio_dev->modes = INDIO_DIRECT_MODE; modes 345 drivers/iio/light/jsa1212.c indio_dev->modes = INDIO_DIRECT_MODE; modes 856 drivers/iio/light/lm3533-als.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1487 drivers/iio/light/ltr501.c indio_dev->modes = INDIO_DIRECT_MODE; modes 504 drivers/iio/light/lv0104cs.c indio_dev->modes = INDIO_DIRECT_MODE; modes 506 drivers/iio/light/max44009.c indio_dev->modes = INDIO_DIRECT_MODE; modes 278 drivers/iio/light/noa1305.c indio_dev->modes = INDIO_DIRECT_MODE; modes 771 drivers/iio/light/opt3001.c iio->modes = INDIO_DIRECT_MODE; modes 370 drivers/iio/light/pa12203001.c indio_dev->modes = INDIO_DIRECT_MODE; modes 956 drivers/iio/light/rpr0521.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1029 drivers/iio/light/si1133.c iio_dev->modes = INDIO_DIRECT_MODE; modes 1316 drivers/iio/light/si1145.c indio_dev->modes = INDIO_DIRECT_MODE; modes 305 drivers/iio/light/st_uvis25_core.c iio_dev->modes = INDIO_DIRECT_MODE; modes 591 drivers/iio/light/stk3310.c indio_dev->modes = INDIO_DIRECT_MODE; modes 292 drivers/iio/light/tcs3414.c indio_dev->modes = INDIO_DIRECT_MODE; modes 462 drivers/iio/light/tcs3472.c indio_dev->modes = INDIO_DIRECT_MODE; modes 754 drivers/iio/light/tsl2563.c indio_dev->modes = INDIO_DIRECT_MODE; modes 844 drivers/iio/light/tsl2583.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1837 drivers/iio/light/tsl2772.c indio_dev->modes = INDIO_DIRECT_MODE; modes 200 drivers/iio/light/tsl4531.c indio_dev->modes = INDIO_DIRECT_MODE; modes 859 drivers/iio/light/us5182d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 393 drivers/iio/light/vcnl4000.c indio_dev->modes = INDIO_DIRECT_MODE; modes 572 drivers/iio/light/vcnl4035.c indio_dev->modes = INDIO_DIRECT_MODE; modes 159 drivers/iio/light/veml6070.c indio_dev->modes = INDIO_DIRECT_MODE; modes 516 drivers/iio/light/vl6180.c indio_dev->modes = INDIO_DIRECT_MODE; modes 533 drivers/iio/light/zopt2201.c indio_dev->modes = INDIO_DIRECT_MODE; modes 802 drivers/iio/magnetometer/ak8974.c indio_dev->modes = INDIO_DIRECT_MODE; modes 961 drivers/iio/magnetometer/ak8975.c indio_dev->modes = INDIO_DIRECT_MODE; modes 891 drivers/iio/magnetometer/bmc150_magn.c indio_dev->modes = INDIO_DIRECT_MODE; modes 520 drivers/iio/magnetometer/hid-sensor-magn-3d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 648 drivers/iio/magnetometer/hmc5843_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 523 drivers/iio/magnetometer/mag3110.c indio_dev->modes = INDIO_DIRECT_MODE; modes 515 drivers/iio/magnetometer/mmc35240.c indio_dev->modes = INDIO_DIRECT_MODE; modes 556 drivers/iio/magnetometer/rm3100-core.c indio_dev->modes = INDIO_DIRECT_MODE | INDIO_BUFFER_TRIGGERED; modes 495 drivers/iio/magnetometer/st_magn_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 400 drivers/iio/multiplexer/iio-mux.c indio_dev->modes = INDIO_DIRECT_MODE; modes 347 drivers/iio/orientation/hid-sensor-incl-3d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 289 drivers/iio/orientation/hid-sensor-rotation.c indio_dev->modes = INDIO_DIRECT_MODE; modes 153 drivers/iio/potentiometer/max5481.c indio_dev->modes = INDIO_DIRECT_MODE; modes 104 drivers/iio/potentiometer/max5487.c indio_dev->modes = INDIO_DIRECT_MODE; modes 317 drivers/iio/potentiostat/lmp91000.c indio_dev->modes = INDIO_DIRECT_MODE; modes 199 drivers/iio/pressure/abp060mg.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1006 drivers/iio/pressure/bmp280-core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 740 drivers/iio/pressure/dps310.c iio->modes = INDIO_DIRECT_MODE; modes 291 drivers/iio/pressure/hid-sensor-press.c indio_dev->modes = INDIO_DIRECT_MODE; modes 232 drivers/iio/pressure/hp03.c indio_dev->modes = INDIO_DIRECT_MODE; modes 380 drivers/iio/pressure/hp206c.c indio_dev->modes = INDIO_DIRECT_MODE; modes 164 drivers/iio/pressure/mpl115.c indio_dev->modes = INDIO_DIRECT_MODE; modes 245 drivers/iio/pressure/mpl3115.c indio_dev->modes = INDIO_DIRECT_MODE; modes 443 drivers/iio/pressure/ms5611_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 156 drivers/iio/pressure/ms5637.c indio_dev->modes = INDIO_DIRECT_MODE; modes 691 drivers/iio/pressure/st_pressure_core.c indio_dev->modes = INDIO_DIRECT_MODE; modes 240 drivers/iio/pressure/t5403.c indio_dev->modes = INDIO_DIRECT_MODE; modes 1602 drivers/iio/pressure/zpa2326.c indio_dev->modes = INDIO_DIRECT_MODE; modes 409 drivers/iio/proximity/as3935.c indio_dev->modes = INDIO_DIRECT_MODE; modes 974 drivers/iio/proximity/isl29501.c indio_dev->modes = INDIO_DIRECT_MODE; modes 204 drivers/iio/proximity/mb1232.c indio_dev->modes = INDIO_DIRECT_MODE; modes 273 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c indio_dev->modes = INDIO_DIRECT_MODE; modes 282 drivers/iio/proximity/rfd77402.c indio_dev->modes = INDIO_DIRECT_MODE; modes 295 drivers/iio/proximity/srf04.c indio_dev->modes = INDIO_DIRECT_MODE; modes 487 drivers/iio/proximity/srf08.c indio_dev->modes = INDIO_DIRECT_MODE; modes 933 drivers/iio/proximity/sx9500.c indio_dev->modes = INDIO_DIRECT_MODE; modes 142 drivers/iio/proximity/vl53l0x-i2c.c indio_dev->modes = INDIO_DIRECT_MODE; modes 163 drivers/iio/resolver/ad2s1200.c indio_dev->modes = INDIO_DIRECT_MODE; modes 99 drivers/iio/resolver/ad2s90.c indio_dev->modes = INDIO_DIRECT_MODE; modes 231 drivers/iio/temperature/hid-sensor-temperature.c indio_dev->modes = INDIO_DIRECT_MODE; modes 290 drivers/iio/temperature/max31856.c indio_dev->modes = INDIO_DIRECT_MODE; modes 226 drivers/iio/temperature/maxim_thermocouple.c indio_dev->modes = INDIO_DIRECT_MODE; modes 530 drivers/iio/temperature/mlx90614.c indio_dev->modes = INDIO_DIRECT_MODE; modes 650 drivers/iio/temperature/mlx90632.c indio_dev->modes = INDIO_DIRECT_MODE; modes 221 drivers/iio/temperature/tmp006.c indio_dev->modes = INDIO_DIRECT_MODE; modes 468 drivers/iio/temperature/tmp007.c indio_dev->modes = INDIO_DIRECT_MODE; modes 164 drivers/iio/temperature/tsys01.c indio_dev->modes = INDIO_DIRECT_MODE; modes 153 drivers/iio/temperature/tsys02d.c indio_dev->modes = INDIO_DIRECT_MODE; modes 32 drivers/iio/trigger/stm32-lptimer-trigger.c if (indio_dev->modes & INDIO_HARDWARE_TRIGGERED) modes 688 drivers/iio/trigger/stm32-timer-trigger.c indio_dev->modes = INDIO_HARDWARE_TRIGGERED; modes 579 drivers/input/joystick/db9.c if (db9_mode->bidirectional && !(pp->modes & PARPORT_MODE_TRISTATE)) { modes 124 drivers/input/touchscreen/tsc2007_iio.c indio_dev->modes = INDIO_DIRECT_MODE; modes 80 drivers/md/md-faulty.c int modes[MaxFault]; modes 108 drivers/md/md-faulty.c switch (conf->modes[i] * 2 + dir) { modes 113 drivers/md/md-faulty.c conf->modes[i] = NoPersist; modes 131 drivers/md/md-faulty.c case NoPersist: conf->modes[i] = mode; return; modes 133 drivers/md/md-faulty.c if (conf->modes[i] == ReadPersistent || modes 134 drivers/md/md-faulty.c conf->modes[i] == ReadFixable) modes 135 drivers/md/md-faulty.c conf->modes[i] = AllPersist; modes 137 drivers/md/md-faulty.c conf->modes[i] = WritePersistent; modes 140 drivers/md/md-faulty.c if (conf->modes[i] == WritePersistent) modes 141 drivers/md/md-faulty.c conf->modes[i] = AllPersist; modes 143 drivers/md/md-faulty.c conf->modes[i] = ReadPersistent; modes 146 drivers/md/md-faulty.c if (conf->modes[i] == WritePersistent || modes 147 drivers/md/md-faulty.c conf->modes[i] == ReadPersistent) modes 148 drivers/md/md-faulty.c conf->modes[i] = AllPersist; modes 150 drivers/md/md-faulty.c conf->modes[i] = ReadFixable; modes 153 drivers/md/md-faulty.c } else if (conf->modes[i] == NoPersist) modes 159 drivers/md/md-faulty.c conf->modes[n] = mode; modes 122 drivers/media/i2c/saa7110.c static const unsigned char modes[9][8] = { modes 152 drivers/media/i2c/saa7110.c const unsigned char *ptr = modes[chan]; modes 122 drivers/media/platform/davinci/vpbe.c var = cfg->outputs[curr_output].modes[i]; modes 153 drivers/media/platform/davinci/vpbe.c var = cfg->outputs[curr_output].modes[i]; modes 173 drivers/media/platform/davinci/vpbe.c var = cfg->outputs[curr_output].modes[i]; modes 311 drivers/media/platform/davinci/vpbe.c if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS && modes 312 drivers/media/platform/davinci/vpbe.c !memcmp(&output->modes[i].dv_timings, modes 318 drivers/media/platform/davinci/vpbe.c vpbe_dev->current_timings = output->modes[i]; modes 386 drivers/media/platform/davinci/vpbe.c if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS) { modes 395 drivers/media/platform/davinci/vpbe.c timings->timings = output->modes[i].dv_timings; modes 483 drivers/media/platform/davinci/vpbe.c cfg->outputs[out_index].modes[i].name)) { modes 484 drivers/media/platform/davinci/vpbe.c preset_mode = &cfg->outputs[out_index].modes[i]; modes 810 drivers/media/platform/davinci/vpbe.c vpbe_dev->current_timings = vpbe_dev->cfg->outputs[0].modes[0]; modes 918 drivers/mtd/nand/raw/nand_base.c int modes, mode, ret; modes 929 drivers/mtd/nand/raw/nand_base.c modes = chip->parameters.onfi->async_timing_mode; modes 934 drivers/mtd/nand/raw/nand_base.c modes = GENMASK(chip->onfi_timing_mode_default, 0); modes 937 drivers/mtd/nand/raw/nand_base.c for (mode = fls(modes) - 1; mode >= 0; mode--) { modes 2084 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 modes = 0; modes 2087 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c modes |= ADVERTISED_100baseT_Full; modes 2089 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c modes |= ADVERTISED_1000baseT_Full; modes 2091 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c modes |= ADVERTISED_10000baseT_Full; modes 2093 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return modes; modes 2096 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static u32 bnx2x_adv_to_eee(u32 modes, u32 shift) modes 2099 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (modes & ADVERTISED_100baseT_Full) modes 2101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (modes & ADVERTISED_1000baseT_Full) modes 2103 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (modes & ADVERTISED_10000baseT_Full) modes 2969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c struct link_vars *vars, u8 modes) modes 2977 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (modes & SHMEM_EEE_10G_ADV) { modes 2981 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (modes & SHMEM_EEE_1G_ADV) { modes 2989 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->eee_status |= (modes << SHMEM_EEE_ADV_STATUS_SHIFT); modes 3561 drivers/net/ethernet/marvell/sky2.c u32 modes = SUPPORTED_10baseT_Half modes 3567 drivers/net/ethernet/marvell/sky2.c modes |= SUPPORTED_1000baseT_Half modes 3569 drivers/net/ethernet/marvell/sky2.c return modes; modes 642 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c static const unsigned int modes[] = { __VA_ARGS__ }; \ modes 650 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0 ; i < ARRAY_SIZE(modes) ; ++i) { \ modes 651 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c __set_bit(modes[i], cfg->supported); \ modes 652 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c __set_bit(modes[i], cfg->advertised); \ modes 75 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c const unsigned int modes[] = { __VA_ARGS__ }; \ modes 82 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c for (i = 0 ; i < ARRAY_SIZE(modes) ; ++i) { \ modes 83 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c bit = modes[i] % 64; \ modes 84 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c idx = modes[i] / 64; \ modes 998 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c unsigned long modes[2]; modes 1003 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c memset(modes, 0, sizeof(modes)); modes 1004 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c bitmap_and(modes, ptys2ext_ethtool_table[i].advertised, modes 1007 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (modes[0] == ptys2ext_ethtool_table[i].advertised[0] && modes 1008 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c modes[1] == ptys2ext_ethtool_table[i].advertised[1]) modes 1018 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = {0,}; modes 1020 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c bitmap_set(modes, MLX5E_MIN_PTYS_EXT_LINK_MODE_BIT, size); modes 1021 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); modes 667 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u32 modes = 0; modes 672 drivers/net/ethernet/mellanox/mlxsw/switchx2.c modes |= mlxsw_sx_port_link_mode[i].supported; modes 674 drivers/net/ethernet/mellanox/mlxsw/switchx2.c return modes; modes 679 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u32 modes = 0; modes 684 drivers/net/ethernet/mellanox/mlxsw/switchx2.c modes |= mlxsw_sx_port_link_mode[i].advertised; modes 686 drivers/net/ethernet/mellanox/mlxsw/switchx2.c return modes; modes 221 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c unsigned int modes; modes 229 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c modes = nfp_eth_supported_fec_modes(eth_port); modes 230 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (modes & NFP_FEC_BASER) { modes 235 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (modes & NFP_FEC_REED_SOLOMON) { modes 438 drivers/net/ethernet/qlogic/qed/qed_init_ops.c u16 *p_offset, int modes) modes 448 drivers/net/ethernet/qlogic/qed/qed_init_ops.c return qed_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1; modes 450 drivers/net/ethernet/qlogic/qed/qed_init_ops.c arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); modes 451 drivers/net/ethernet/qlogic/qed/qed_init_ops.c arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); modes 454 drivers/net/ethernet/qlogic/qed/qed_init_ops.c arg1 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); modes 455 drivers/net/ethernet/qlogic/qed/qed_init_ops.c arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); modes 459 drivers/net/ethernet/qlogic/qed/qed_init_ops.c return (modes & BIT(tree_val)) ? 1 : 0; modes 464 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct init_if_mode_op *p_cmd, int modes) modes 468 drivers/net/ethernet/qlogic/qed/qed_init_ops.c if (qed_init_cmd_mode_match(p_hwfn, &offset, modes)) modes 491 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, int phase, int phase_id, int modes) modes 520 drivers/net/ethernet/qlogic/qed/qed_init_ops.c modes); modes 63 drivers/net/ethernet/qlogic/qed/qed_init_ops.h int modes); modes 842 drivers/net/hamradio/baycom_epp.c if ((~pp->modes) & (PARPORT_MODE_TRISTATE | PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT)) { modes 314 drivers/net/hamradio/baycom_par.c if ((~pp->modes) & (PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT)) { modes 275 drivers/net/mdio.c u32 modes = 0; modes 286 drivers/net/mdio.c modes = ecmd->advertising & ecmd->lp_advertising; modes 288 drivers/net/mdio.c if ((modes & ~ADVERTISED_Autoneg) == 0) modes 289 drivers/net/mdio.c modes = ecmd->advertising; modes 291 drivers/net/mdio.c if (modes & (ADVERTISED_10000baseT_Full | modes 296 drivers/net/mdio.c } else if (modes & (ADVERTISED_1000baseT_Full | modes 300 drivers/net/mdio.c ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half); modes 301 drivers/net/mdio.c } else if (modes & (ADVERTISED_100baseT_Full | modes 304 drivers/net/mdio.c ecmd->duplex = !!(modes & ADVERTISED_100baseT_Full); modes 307 drivers/net/mdio.c ecmd->duplex = !!(modes & ADVERTISED_10baseT_Full); modes 446 drivers/net/mdio.c u32 modes = 0; modes 458 drivers/net/mdio.c modes = advertising & lp_advertising; modes 460 drivers/net/mdio.c if ((modes & ~ADVERTISED_Autoneg) == 0) modes 461 drivers/net/mdio.c modes = advertising; modes 463 drivers/net/mdio.c if (modes & (ADVERTISED_10000baseT_Full | modes 468 drivers/net/mdio.c } else if (modes & (ADVERTISED_1000baseT_Full | modes 472 drivers/net/mdio.c cmd->base.duplex = !(modes & ADVERTISED_1000baseT_Half); modes 473 drivers/net/mdio.c } else if (modes & (ADVERTISED_100baseT_Full | modes 476 drivers/net/mdio.c cmd->base.duplex = !!(modes & ADVERTISED_100baseT_Full); modes 479 drivers/net/mdio.c cmd->base.duplex = !!(modes & ADVERTISED_10baseT_Full); modes 121 drivers/net/phy/sfp-bus.c __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = { 0, }; modes 146 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseSR_Full); modes 148 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseLR_Full); modes 150 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseLRM_Full); modes 152 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseER_Full); modes 156 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseX_Full); modes 158 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseT_Half); modes 159 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseT_Full); modes 165 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseX_Full); modes 173 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseCR_Full); modes 175 drivers/net/phy/sfp-bus.c phylink_set(modes, 2500baseX_Full); modes 177 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseX_Full); modes 181 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseCR_Full); modes 186 drivers/net/phy/sfp-bus.c phylink_set(modes, 10000baseCR_Full); modes 194 drivers/net/phy/sfp-bus.c phylink_set(modes, 100000baseSR4_Full); modes 195 drivers/net/phy/sfp-bus.c phylink_set(modes, 25000baseSR_Full); modes 199 drivers/net/phy/sfp-bus.c phylink_set(modes, 100000baseLR4_ER4_Full); modes 204 drivers/net/phy/sfp-bus.c phylink_set(modes, 100000baseCR4_Full); modes 205 drivers/net/phy/sfp-bus.c phylink_set(modes, 25000baseCR_Full); modes 219 drivers/net/phy/sfp-bus.c phylink_set(modes, 2500baseX_Full); modes 221 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseX_Full); modes 229 drivers/net/phy/sfp-bus.c if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) { modes 233 drivers/net/phy/sfp-bus.c phylink_set(modes, 1000baseX_Full); modes 236 drivers/net/phy/sfp-bus.c bitmap_or(support, support, modes, __ETHTOOL_LINK_MODE_MASK_NBITS); modes 816 drivers/net/wireless/ath/ath9k/ar9003_hw.c static const ath_txgain_tab modes[] = { modes 828 drivers/net/wireless/ath/ath9k/ar9003_hw.c if (idx >= ARRAY_SIZE(modes)) modes 831 drivers/net/wireless/ath/ath9k/ar9003_hw.c modes[idx](ah); modes 2236 drivers/net/wireless/ath/ath9k/hw.c static const char *modes[] = { modes 2247 drivers/net/wireless/ath/ath9k/hw.c modes[ah->power_mode], modes[mode]); modes 1301 drivers/net/wireless/ath/carl9170/phy.c } *modes; modes 1344 drivers/net/wireless/ath/carl9170/phy.c modes = mode_list_2ghz; modes 1347 drivers/net/wireless/ath/carl9170/phy.c modes = mode_list_5ghz; modes 1352 drivers/net/wireless/ath/carl9170/phy.c u8 c = ctl_grp | modes[i].ctl_mode; modes 1363 drivers/net/wireless/ath/carl9170/phy.c if (modes[i].ctl_mode == CTL_11G) { modes 1370 drivers/net/wireless/ath/carl9170/phy.c if (modes[i].ctl_mode == CTL_2GHT40 || modes 1371 drivers/net/wireless/ath/carl9170/phy.c modes[i].ctl_mode == CTL_5GHT40) { modes 1378 drivers/net/wireless/ath/carl9170/phy.c modes[i].max_power = modes 1397 drivers/net/wireless/ath/carl9170/phy.c modes[i].max_power = AR5416_MAX_RATE_POWER; modes 1399 drivers/net/wireless/ath/carl9170/phy.c if (modes[k].max_power != modes 1401 drivers/net/wireless/ath/carl9170/phy.c modes[i].max_power = modes[k].max_power; modes 1408 drivers/net/wireless/ath/carl9170/phy.c for (j = 0; j < modes[i].pwr_cal_len; j++) { modes 1409 drivers/net/wireless/ath/carl9170/phy.c modes[i].pwr_cal_data[j] = min(modes[i].pwr_cal_data[j], modes 1410 drivers/net/wireless/ath/carl9170/phy.c modes[i].max_power); modes 48 drivers/net/wireless/intersil/p54/p54.h __le16 modes; modes 715 drivers/parport/ieee1284.c if ((port->physport->modes & PARPORT_MODE_TRISTATE) && modes 152 drivers/parport/parport_cs.c p->modes |= PARPORT_MODE_PCSPP; modes 154 drivers/parport/parport_cs.c p->modes |= PARPORT_MODE_TRISTATE | PARPORT_MODE_EPP; modes 218 drivers/parport/parport_gsc.c pb->modes |= PARPORT_MODE_TRISTATE; modes 260 drivers/parport/parport_gsc.c p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; modes 281 drivers/parport/parport_gsc.c p->modes = tmp.modes; modes 282 drivers/parport/parport_gsc.c p->size = (p->modes & PARPORT_MODE_EPP)?8:3; modes 302 drivers/parport/parport_gsc.c #define printmode(x) {if(p->modes&PARPORT_MODE_##x){pr_cont("%s%s",f?",":"",#x);f++;}} modes 1477 drivers/parport/parport_ip32.c written = (p->modes & PARPORT_MODE_DMA) ? modes 2063 drivers/parport/parport_ip32.c p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; modes 2064 drivers/parport/parport_ip32.c p->modes |= PARPORT_MODE_TRISTATE; modes 2099 drivers/parport/parport_ip32.c p->modes |= PARPORT_MODE_DMA; modes 2106 drivers/parport/parport_ip32.c p->modes |= PARPORT_MODE_COMPAT; modes 2115 drivers/parport/parport_ip32.c p->modes |= PARPORT_MODE_EPP; modes 2124 drivers/parport/parport_ip32.c p->modes |= PARPORT_MODE_ECP; modes 2142 drivers/parport/parport_ip32.c #define printmode(x) if (p->modes & PARPORT_MODE_##x) \ modes 2180 drivers/parport/parport_ip32.c if (p->modes & PARPORT_MODE_DMA) modes 962 drivers/parport/parport_pc.c static const char *const modes[] = { modes 1005 drivers/parport/parport_pc.c : modes[cr4 & 0x03], modes 1046 drivers/parport/parport_pc.c static const char *const modes[] = { modes 1094 drivers/parport/parport_pc.c modes[crf0 & 0x07]); modes 1568 drivers/parport/parport_pc.c pb->modes |= PARPORT_MODE_TRISTATE; modes 1787 drivers/parport/parport_pc.c pb->modes |= PARPORT_MODE_EPP; modes 1909 drivers/parport/parport_pc.c if (pb->modes & PARPORT_MODE_PCECR) modes 1914 drivers/parport/parport_pc.c if (pb->modes & PARPORT_MODE_PCECR) modes 1929 drivers/parport/parport_pc.c if (pb->modes & PARPORT_MODE_PCECR) modes 1965 drivers/parport/parport_pc.c (pb->modes & PARPORT_MODE_EPP)) modes 1970 drivers/parport/parport_pc.c if (pb->irq == PARPORT_IRQ_NONE && (pb->modes & PARPORT_MODE_EPP)) modes 2085 drivers/parport/parport_pc.c p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; modes 2108 drivers/parport/parport_pc.c p->size = (p->modes & PARPORT_MODE_EPP) ? 8 : 3; modes 2139 drivers/parport/parport_pc.c p->modes |= PARPORT_MODE_ECP | PARPORT_MODE_COMPAT; modes 2148 drivers/parport/parport_pc.c p->modes |= PARPORT_MODE_DMA; modes 2160 drivers/parport/parport_pc.c if (p->modes & PARPORT_MODE_##x) {\ modes 2184 drivers/parport/parport_pc.c if (ECR_res && (p->modes & PARPORT_MODE_ECP) == 0) { modes 2189 drivers/parport/parport_pc.c if (EPP_res && (p->modes & PARPORT_MODE_EPP) == 0) { modes 2289 drivers/parport/parport_pc.c if (p->modes & PARPORT_MODE_ECP) modes 216 drivers/parport/procfs.c #define printmode(x) {if(port->modes&PARPORT_MODE_##x){len+=sprintf(buffer+len,"%s%s",f?",":"",#x);f++;}} modes 476 drivers/parport/share.c tmp->modes = 0; modes 547 drivers/phy/tegra/xusb.c static const char *const modes[] = { modes 563 drivers/phy/tegra/xusb.c int err = match_string(modes, ARRAY_SIZE(modes), mode); modes 722 drivers/pinctrl/intel/pinctrl-baytrail.c if (group.modes) modes 723 drivers/pinctrl/intel/pinctrl-baytrail.c byt_set_group_mixed_mux(vg, group, group.modes); modes 434 drivers/pinctrl/intel/pinctrl-intel.c if (grp->modes) modes 435 drivers/pinctrl/intel/pinctrl-intel.c value |= grp->modes[i] << PADCFG0_PMODE_SHIFT; modes 33 drivers/pinctrl/intel/pinctrl-intel.h const unsigned int *modes; modes 139 drivers/pinctrl/intel/pinctrl-intel.h .modes = __builtin_choose_expr( \ modes 387 drivers/pinctrl/mvebu/pinctrl-armada-370.c soc->modes = mv88f6710_mpp_modes; modes 405 drivers/pinctrl/mvebu/pinctrl-armada-375.c soc->modes = mv88f6720_mpp_modes; modes 418 drivers/pinctrl/mvebu/pinctrl-armada-38x.c soc->modes = armada_38x_mpp_modes; modes 400 drivers/pinctrl/mvebu/pinctrl-armada-39x.c soc->modes = armada_39x_mpp_modes; modes 120 drivers/pinctrl/mvebu/pinctrl-armada-ap806.c soc->modes = armada_ap806_mpp_modes; modes 656 drivers/pinctrl/mvebu/pinctrl-armada-cp110.c soc->modes = armada_cp110_mpp_modes; modes 584 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->modes = armada_xp_mpp_modes; modes 595 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->modes = armada_xp_mpp_modes; modes 606 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->modes = armada_xp_mpp_modes; modes 620 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->modes = mv98dx3236_mpp_modes; modes 743 drivers/pinctrl/mvebu/pinctrl-dove.c .modes = dove_mpp_modes, modes 393 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 403 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 413 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 423 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 433 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 443 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 453 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .modes = mv88f6xxx_mpp_modes, modes 579 drivers/pinctrl/mvebu/pinctrl-mvebu.c if (!soc || !soc->controls || !soc->modes) { modes 687 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_mpp_mode *mode = &soc->modes[n]; modes 127 drivers/pinctrl/mvebu/pinctrl-mvebu.h struct mvebu_mpp_mode *modes; modes 181 drivers/pinctrl/mvebu/pinctrl-orion.c .modes = orion_mpp_modes, modes 191 drivers/pinctrl/mvebu/pinctrl-orion.c .modes = orion_mpp_modes, modes 201 drivers/pinctrl/mvebu/pinctrl-orion.c .modes = orion_mpp_modes, modes 248 drivers/pinctrl/nomadik/pinctrl-abx500.c const char *modes[] = { modes 260 drivers/pinctrl/nomadik/pinctrl-abx500.c modes[alt_setting]); modes 460 drivers/pinctrl/nomadik/pinctrl-abx500.c const char *modes[] = { modes 495 drivers/pinctrl/nomadik/pinctrl-abx500.c seq_printf(s, " %s", (mode < 0) ? "unknown" : modes[mode]); modes 940 drivers/pinctrl/nomadik/pinctrl-nomadik.c const char *modes[] = { modes 969 drivers/pinctrl/nomadik/pinctrl-nomadik.c (mode < 0) ? "unknown" : modes[mode]); modes 983 drivers/pinctrl/nomadik/pinctrl-nomadik.c (mode < 0) ? "unknown" : modes[mode]); modes 581 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static const char * const modes[] = { modes 599 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c seq_printf(s, " %-4s", modes[pin->mode]); modes 257 drivers/pinctrl/spear/pinctrl-spear.c if (!(pmx->machdata->mode & modemux->modes)) modes 97 drivers/pinctrl/spear/pinctrl-spear.h u16 modes; modes 171 drivers/pinctrl/spear/pinctrl-spear300.c .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | modes 198 drivers/pinctrl/spear/pinctrl-spear300.c .modes = NAND_MODE | NOR_MODE | PHOTO_FRAME_MODE | modes 233 drivers/pinctrl/spear/pinctrl-spear300.c .modes = HEND_IP_PHONE_MODE | HEND_WIFI_PHONE_MODE | modes 260 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE, modes 294 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE | LEND_IP_PHONE_MODE | modes 331 drivers/pinctrl/spear/pinctrl-spear300.c .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE | modes 367 drivers/pinctrl/spear/pinctrl-spear300.c .modes = CAML_LCDW_MODE | CAML_LCD_MODE, modes 393 drivers/pinctrl/spear/pinctrl-spear300.c .modes = CAMU_LCD_MODE | CAMU_WLCD_MODE, modes 426 drivers/pinctrl/spear/pinctrl-spear300.c .modes = ATA_PABX_I2S_MODE | CAML_LCDW_MODE | CAMU_LCD_MODE modes 460 drivers/pinctrl/spear/pinctrl-spear300.c .modes = LEND_IP_PHONE_MODE | HEND_IP_PHONE_MODE modes 498 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE | LEND_IP_PHONE_MODE | modes 530 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE | LEND_IP_PHONE_MODE | modes 566 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE, modes 593 drivers/pinctrl/spear/pinctrl-spear300.c .modes = PHOTO_FRAME_MODE, modes 493 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 572 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | EXTENDED_MODE, modes 576 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 622 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 661 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 665 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | EXTENDED_MODE, modes 669 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 715 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 756 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, modes 760 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 838 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | \ modes 843 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, \ modes 853 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 861 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 921 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, modes 925 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 966 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | AUTO_EXP_MODE modes 971 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1083 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1091 drivers/pinctrl/spear/pinctrl-spear320.c .modes = SMALL_PRINTERS_MODE | EXTENDED_MODE, modes 1095 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1103 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | EXTENDED_MODE, modes 1107 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1115 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1178 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | AUTO_EXP_MODE modes 1183 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1308 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1315 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1322 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1329 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1336 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1343 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1350 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1507 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1514 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1521 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1528 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1535 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1542 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1667 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1674 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1681 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1688 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1765 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1772 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1814 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1859 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | EXTENDED_MODE, modes 1863 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1904 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | AUTO_EXP_MODE modes 1909 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 1949 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | AUTO_EXP_MODE modes 1954 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2070 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2078 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | SMALL_PRINTERS_MODE | EXTENDED_MODE, modes 2082 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2090 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2098 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, modes 2102 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2110 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2118 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2126 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2282 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_NET_MII_MODE | EXTENDED_MODE, modes 2286 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2293 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | SMALL_PRINTERS_MODE | EXTENDED_MODE, modes 2297 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2304 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2311 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2319 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2327 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2335 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2469 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2477 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_EXP_MODE | SMALL_PRINTERS_MODE | modes 2482 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2490 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2498 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2506 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2514 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2659 drivers/pinctrl/spear/pinctrl-spear320.c .modes = SMALL_PRINTERS_MODE | AUTO_NET_SMII_MODE | modes 2664 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2672 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2680 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2687 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2695 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2827 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | EXTENDED_MODE, modes 2831 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2839 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2847 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2855 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2863 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 2940 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3020 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_EXP_MODE | modes 3025 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3032 drivers/pinctrl/spear/pinctrl-spear320.c .modes = AUTO_NET_SMII_MODE | AUTO_EXP_MODE | modes 3037 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3101 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3108 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3221 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3228 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3235 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3242 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 3249 drivers/pinctrl/spear/pinctrl-spear320.c .modes = EXTENDED_MODE, modes 33 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 66 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 99 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 132 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 166 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 199 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 225 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 251 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 277 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 303 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 329 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 364 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 397 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 430 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 463 drivers/pinctrl/spear/pinctrl-spear3xx.c .modes = ~0, modes 1081 drivers/pinctrl/stm32/pinctrl-stm32.c static const char * const modes[] = { modes 1099 drivers/pinctrl/stm32/pinctrl-stm32.c seq_printf(s, "%s ", modes[mode]); modes 1145 drivers/platform/x86/dell-laptop.c u16 modes; modes 1218 drivers/platform/x86/dell-laptop.c info->modes = buffer.output[1] & 0xFFFF; modes 1456 drivers/platform/x86/dell-laptop.c kbd_info.modes &= ~BIT(KBD_MODE_BIT_ON); modes 1466 drivers/platform/x86/dell-laptop.c ffs(kbd_info.modes & ~BIT(KBD_MODE_BIT_OFF)); modes 1471 drivers/platform/x86/dell-laptop.c if (kbd_info.modes & (BIT(KBD_MODE_BIT_ALS) | modes 1475 drivers/platform/x86/dell-laptop.c if (kbd_info.modes & ( modes 1484 drivers/platform/x86/dell-laptop.c if (kbd_is_level_mode_bit(i) && (BIT(i) & kbd_info.modes)) modes 1494 drivers/platform/x86/dell-laptop.c if (BIT(i) & kbd_info.modes) { modes 1778 drivers/platform/x86/dell-laptop.c if (!(kbd_info.modes & BIT(new_state.mode_bit))) { modes 1876 drivers/platform/x86/dell-laptop.c if (!(kbd_info.modes & BIT(new_state.mode_bit))) { modes 3146 drivers/platform/x86/toshiba_acpi.c dev->indio_dev->modes = INDIO_DIRECT_MODE; modes 152 drivers/power/supply/twl4030_charger.c static const char *modes[] = { "off", "auto", "continuous" }; modes 694 drivers/power/supply/twl4030_charger.c mode = sysfs_match_string(modes, buf); modes 727 drivers/power/supply/twl4030_charger.c for (i = 0; i < ARRAY_SIZE(modes); i++) modes 730 drivers/power/supply/twl4030_charger.c "[%s] ", modes[i]); modes 733 drivers/power/supply/twl4030_charger.c "%s ", modes[i]); modes 123 drivers/ptp/ptp_clock.c if (tx->modes & ADJ_SETOFFSET) { modes 131 drivers/ptp/ptp_clock.c if (!(tx->modes & ADJ_NANO)) modes 140 drivers/ptp/ptp_clock.c } else if (tx->modes & ADJ_FREQUENCY) { modes 149 drivers/ptp/ptp_clock.c } else if (tx->modes == 0) { modes 359 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | modes modes 419 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y modes: modes 422 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y cur_symbol->info.rinfo->modes = $2; modes 872 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | modes modes 874 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | modes scb_or_sram_reg_list modes 1495 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y symbol->info.rinfo->modes = modes 1496 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y scb_or_sram_symbol->info.rinfo->modes; modes 1498 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y symbol->info.rinfo->modes = ~0; modes 1822 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y if ((symbol->info.rinfo->modes & (0x1 << src_mode)) == 0) { modes 1839 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y if ((symbol->info.rinfo->modes & (0x1 << dst_mode)) == 0) { modes 78 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h uint8_t modes; modes 1156 drivers/scsi/imm.c int modes, ppb; modes 1206 drivers/scsi/imm.c modes = dev->dev->port->modes; modes 1213 drivers/scsi/imm.c if (modes & PARPORT_MODE_TRISTATE) modes 1366 drivers/scsi/myrb.c unsigned char modes[32], *mode_pg; modes 1373 drivers/scsi/myrb.c mode_pg = &modes[4]; modes 1376 drivers/scsi/myrb.c mode_pg = &modes[12]; modes 1378 drivers/scsi/myrb.c memset(modes, 0, sizeof(modes)); modes 1379 drivers/scsi/myrb.c modes[0] = mode_len - 1; modes 1381 drivers/scsi/myrb.c unsigned char *block_desc = &modes[4]; modes 1383 drivers/scsi/myrb.c modes[3] = 8; modes 1396 drivers/scsi/myrb.c scsi_sg_copy_from_buffer(scmd, modes, mode_len); modes 1544 drivers/scsi/myrs.c unsigned char modes[32], *mode_pg; modes 1551 drivers/scsi/myrs.c mode_pg = &modes[4]; modes 1554 drivers/scsi/myrs.c mode_pg = &modes[12]; modes 1556 drivers/scsi/myrs.c memset(modes, 0, sizeof(modes)); modes 1557 drivers/scsi/myrs.c modes[0] = mode_len - 1; modes 1558 drivers/scsi/myrs.c modes[2] = 0x10; /* Enable FUA */ modes 1560 drivers/scsi/myrs.c modes[2] |= 0x80; modes 1562 drivers/scsi/myrs.c unsigned char *block_desc = &modes[4]; modes 1564 drivers/scsi/myrs.c modes[3] = 8; modes 1581 drivers/scsi/myrs.c scsi_sg_copy_from_buffer(scmd, modes, mode_len); modes 1023 drivers/scsi/ppa.c int modes, ppb, ppb_hi; modes 1069 drivers/scsi/ppa.c modes = dev->dev->port->modes; modes 1076 drivers/scsi/ppa.c if (modes & PARPORT_MODE_TRISTATE) modes 1079 drivers/scsi/ppa.c if (modes & PARPORT_MODE_ECP) { modes 1083 drivers/scsi/ppa.c if ((modes & PARPORT_MODE_EPP) && (modes & PARPORT_MODE_ECP)) modes 1058 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 1346 drivers/scsi/st.c struct st_modedef *STm = &(STp->modes[STp->current_mode]); modes 1498 drivers/scsi/st.c if (! STp->modes[STp->current_mode].defined) { modes 1650 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 1913 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 2114 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 2281 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 2287 drivers/scsi/st.c memcpy(STm, &(STp->modes[0]), sizeof(struct st_modedef)); modes 3523 drivers/scsi/st.c STm = &(STp->modes[STp->current_mode]); modes 4177 drivers/scsi/st.c struct st_modedef *STm = &(tape->modes[mode]); modes 4206 drivers/scsi/st.c cdev_devno, &tape->modes[mode], "%s", name); modes 4237 drivers/scsi/st.c &tape->modes[0].devs[0]->kobj, "tape"); modes 4245 drivers/scsi/st.c struct st_modedef *STm = &(tape->modes[mode]); modes 4345 drivers/scsi/st.c STm = &(tpnt->modes[i]); modes 4369 drivers/scsi/st.c tpnt->modes[0].defined = 1; modes 153 drivers/scsi/st.h struct st_modedef modes[ST_NBR_MODES]; modes 263 drivers/soundwire/mipi_disco.c "mipi-sdw-modes-supported", &dpn[i].modes); modes 277 drivers/staging/iio/accel/adis16203.c indio_dev->modes = INDIO_DIRECT_MODE; modes 401 drivers/staging/iio/accel/adis16240.c indio_dev->modes = INDIO_DIRECT_MODE; modes 834 drivers/staging/iio/adc/ad7192.c indio_dev->modes = INDIO_DIRECT_MODE; modes 978 drivers/staging/iio/adc/ad7280a.c indio_dev->modes = INDIO_DIRECT_MODE; modes 399 drivers/staging/iio/adc/ad7816.c indio_dev->modes = INDIO_DIRECT_MODE; modes 2180 drivers/staging/iio/addac/adt7316.c indio_dev->modes = INDIO_DIRECT_MODE; modes 598 drivers/staging/iio/cdc/ad7150.c indio_dev->modes = INDIO_DIRECT_MODE; modes 706 drivers/staging/iio/cdc/ad7746.c indio_dev->modes = INDIO_DIRECT_MODE; modes 354 drivers/staging/iio/frequency/ad9832.c indio_dev->modes = INDIO_DIRECT_MODE; modes 445 drivers/staging/iio/frequency/ad9834.c indio_dev->modes = INDIO_DIRECT_MODE; modes 741 drivers/staging/iio/impedance-analyzer/ad5933.c indio_dev->modes = (INDIO_BUFFER_SOFTWARE | INDIO_DIRECT_MODE); modes 543 drivers/staging/iio/meter/ade7854.c indio_dev->modes = INDIO_DIRECT_MODE; modes 676 drivers/staging/iio/resolver/ad2s1210.c indio_dev->modes = INDIO_DIRECT_MODE; modes 721 drivers/usb/misc/uss720.c pp->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_TRISTATE | PARPORT_MODE_EPP | PARPORT_MODE_ECP | PARPORT_MODE_COMPAT; modes 746 drivers/usb/serial/mos7720.c mos_parport->pp->modes = PARPORT_MODE_COMPAT | PARPORT_MODE_PCSPP; modes 78 drivers/usb/typec/tps6598x.c static const char *const modes[] = { modes 426 drivers/usb/typec/tps6598x.c switch (match_string(modes, ARRAY_SIZE(modes), mode)) { modes 719 drivers/video/fbdev/core/fbmon.c struct fb_videomode *modes, *mode; modes 723 drivers/video/fbdev/core/fbmon.c modes = fb_create_modedb(edid, &num_modes, specs); modes 724 drivers/video/fbdev/core/fbmon.c if (!modes) { modes 731 drivers/video/fbdev/core/fbmon.c mode = &modes[i]; modes 732 drivers/video/fbdev/core/fbmon.c pixclock = PICOS2KHZ(modes[i].pixclock) * 1000; modes 767 drivers/video/fbdev/core/fbmon.c fb_destroy_modedb(modes); modes 498 drivers/video/fbdev/core/fbsysfs.c __ATTR(modes, S_IRUGO|S_IWUSR, show_modes, store_modes), modes 693 drivers/video/fbdev/pxa168fb.c set_mode(fbi, &info->var, mi->modes, mi->pix_fmt, 1); modes 695 drivers/video/fbdev/pxa168fb.c fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); modes 372 drivers/video/fbdev/pxafb.c struct pxafb_mode_info *modelist = mach->modes; modes 1237 drivers/video/fbdev/pxafb.c struct pxafb_mode_info *mode = &inf->modes[0]; modes 1775 drivers/video/fbdev/pxafb.c pxafb_setmode(&fbi->fb.var, &inf->modes[0]); modes 1782 drivers/video/fbdev/pxafb.c for (i = 0, m = &inf->modes[0]; i < inf->num_modes; i++, m++) modes 1895 drivers/video/fbdev/pxafb.c inf->modes[0].xres = xres; inf->modes[0].yres = yres; modes 1904 drivers/video/fbdev/pxafb.c inf->modes[0].bpp = bpp; modes 1917 drivers/video/fbdev/pxafb.c struct pxafb_mode_info *mode = &inf->modes[0]; modes 2088 drivers/video/fbdev/pxafb.c (inf->modes->upper_margin || inf->modes->lower_margin)) modes 2127 drivers/video/fbdev/pxafb.c info->modes = devm_kcalloc(dev, timings->num_timings, modes 2128 drivers/video/fbdev/pxafb.c sizeof(info->modes[0]), modes 2130 drivers/video/fbdev/pxafb.c if (!info->modes) modes 2150 drivers/video/fbdev/pxafb.c info->modes[i].sync |= FB_SYNC_HOR_HIGH_ACT; modes 2152 drivers/video/fbdev/pxafb.c info->modes[i].sync |= FB_SYNC_VERT_HIGH_ACT; modes 2154 drivers/video/fbdev/pxafb.c info->modes[i].pixclock = 1000000000UL / (vm.pixelclock / 1000); modes 2155 drivers/video/fbdev/pxafb.c info->modes[i].xres = vm.hactive; modes 2156 drivers/video/fbdev/pxafb.c info->modes[i].yres = vm.vactive; modes 2157 drivers/video/fbdev/pxafb.c info->modes[i].hsync_len = vm.hsync_len; modes 2158 drivers/video/fbdev/pxafb.c info->modes[i].left_margin = vm.hback_porch; modes 2159 drivers/video/fbdev/pxafb.c info->modes[i].right_margin = vm.hfront_porch; modes 2160 drivers/video/fbdev/pxafb.c info->modes[i].vsync_len = vm.vsync_len; modes 2161 drivers/video/fbdev/pxafb.c info->modes[i].upper_margin = vm.vback_porch; modes 2162 drivers/video/fbdev/pxafb.c info->modes[i].lower_margin = vm.vfront_porch; modes 2203 drivers/video/fbdev/pxafb.c info->modes[i].bpp = bus_width; modes 2253 drivers/video/fbdev/pxafb.c inf->modes = modes 2255 drivers/video/fbdev/pxafb.c sizeof(inf->modes[0]), GFP_KERNEL); modes 2256 drivers/video/fbdev/pxafb.c if (!inf->modes) modes 2259 drivers/video/fbdev/pxafb.c inf->modes[i] = pdata->modes[i]; modes 2274 drivers/video/fbdev/pxafb.c inf->modes->xres, modes 2275 drivers/video/fbdev/pxafb.c inf->modes->yres, modes 2276 drivers/video/fbdev/pxafb.c inf->modes->bpp); modes 2277 drivers/video/fbdev/pxafb.c if (inf->modes->xres == 0 || modes 2278 drivers/video/fbdev/pxafb.c inf->modes->yres == 0 || modes 2279 drivers/video/fbdev/pxafb.c inf->modes->bpp == 0) { modes 870 drivers/video/fbdev/riva/fbdev.c } modes[] = { modes 885 drivers/video/fbdev/riva/fbdev.c for (i = 0; modes[i].xres != -1; i++) { modes 886 drivers/video/fbdev/riva/fbdev.c if (modes[i].xres * nom / den * modes[i].yres < modes 890 drivers/video/fbdev/riva/fbdev.c if (modes[i].xres == -1) { modes 896 drivers/video/fbdev/riva/fbdev.c var->xres_virtual = modes[i].xres; modes 897 drivers/video/fbdev/riva/fbdev.c var->yres_virtual = modes[i].yres; modes 2039 drivers/video/fbdev/sh_mobile_lcdcfb.c const struct fb_videomode *modes, modes 2063 drivers/video/fbdev/sh_mobile_lcdcfb.c fb_videomode_to_modelist(modes, num_modes, &info->modelist); modes 2098 drivers/video/fbdev/sh_mobile_lcdcfb.c fb_videomode_to_var(var, modes); modes 557 drivers/video/fbdev/tmiofb.c struct fb_videomode *mode = data->modes + i; modes 752 drivers/video/fbdev/tmiofb.c data->modes, data->num_modes, modes 753 drivers/video/fbdev/tmiofb.c data->modes, 16); modes 769 drivers/video/fbdev/tmiofb.c fb_videomode_to_modelist(data->modes, data->num_modes, modes 340 drivers/video/fbdev/via/viamode.c const struct fb_videomode *modes, int n, modes 347 drivers/video/fbdev/via/viamode.c if (modes[i].xres != hres || modes[i].yres != vres) modes 350 drivers/video/fbdev/via/viamode.c if (!best || abs(modes[i].refresh - refresh) < modes 352 drivers/video/fbdev/via/viamode.c best = &modes[i]; modes 541 fs/orangefs/orangefs-utils.c static int modes[NUM_MODES] = { modes 555 fs/orangefs/orangefs-utils.c if (mode & modes[i]) modes 1168 include/drm/drm_connector.h struct list_head modes; modes 1517 include/drm/drm_connector.h const char * const modes[]); modes 98 include/linux/clk/ti.h u8 modes; modes 293 include/linux/i3c/ccc.h u8 modes; modes 63 include/linux/iio/buffer_impl.h unsigned int modes; modes 529 include/linux/iio/iio.h int modes; modes 130 include/linux/mfd/tmio.h struct fb_videomode *modes; modes 194 include/linux/parport.h unsigned int modes; modes 108 include/linux/platform_data/video-pxafb.h struct pxafb_mode_info *modes; modes 310 include/linux/soundwire/sdw.h u32 modes; modes 40 include/linux/time32.h u32 modes; modes 45 include/media/davinci/vpbe.h struct vpbe_enc_mode_info *modes; modes 243 include/sound/opl3.h unsigned char modes; modes 65 include/uapi/linux/timex.h unsigned int modes; /* mode selector */ modes 101 include/uapi/linux/timex.h unsigned int modes; /* mode selector */ modes 359 include/uapi/sound/compress_params.h __u32 modes; modes 84 include/video/pxa168fb.h struct fb_videomode *modes; modes 664 kernel/time/ntp.c if (txc->modes & ADJ_STATUS) modes 667 kernel/time/ntp.c if (txc->modes & ADJ_NANO) modes 670 kernel/time/ntp.c if (txc->modes & ADJ_MICRO) modes 673 kernel/time/ntp.c if (txc->modes & ADJ_FREQUENCY) { modes 681 kernel/time/ntp.c if (txc->modes & ADJ_MAXERROR) modes 684 kernel/time/ntp.c if (txc->modes & ADJ_ESTERROR) modes 687 kernel/time/ntp.c if (txc->modes & ADJ_TIMECONST) { modes 695 kernel/time/ntp.c if (txc->modes & ADJ_TAI && modes 699 kernel/time/ntp.c if (txc->modes & ADJ_OFFSET) modes 702 kernel/time/ntp.c if (txc->modes & ADJ_TICK) modes 705 kernel/time/ntp.c if (txc->modes & (ADJ_TICK|ADJ_FREQUENCY|ADJ_OFFSET)) modes 719 kernel/time/ntp.c if (txc->modes & ADJ_ADJTIME) { modes 722 kernel/time/ntp.c if (!(txc->modes & ADJ_OFFSET_READONLY)) { modes 733 kernel/time/ntp.c if (txc->modes) { modes 296 kernel/time/time.c txc->modes = tx32.modes; modes 325 kernel/time/time.c tx32.modes = txc->modes; modes 2249 kernel/time/timekeeping.c if (txc->modes & ADJ_ADJTIME) { modes 2251 kernel/time/timekeeping.c if (!(txc->modes & ADJ_OFFSET_SINGLESHOT)) modes 2253 kernel/time/timekeeping.c if (!(txc->modes & ADJ_OFFSET_READONLY) && modes 2258 kernel/time/timekeeping.c if (txc->modes && !capable(CAP_SYS_TIME)) modes 2264 kernel/time/timekeeping.c if (txc->modes & ADJ_TICK && modes 2270 kernel/time/timekeeping.c if (txc->modes & ADJ_SETOFFSET) { modes 2286 kernel/time/timekeeping.c if (txc->modes & ADJ_NANO) { modes 2299 kernel/time/timekeeping.c if ((txc->modes & ADJ_FREQUENCY) && (BITS_PER_LONG == 64)) { modes 2327 kernel/time/timekeeping.c if (txc->modes & ADJ_SETOFFSET) { modes 2331 kernel/time/timekeeping.c if (!(txc->modes & ADJ_NANO)) modes 2362 kernel/time/timekeeping.c if (txc->modes & (ADJ_FREQUENCY | ADJ_TICK)) modes 200 net/ncsi/internal.h struct ncsi_channel_mode modes[NCSI_MODE_MAX]; modes 68 net/ncsi/ncsi-aen.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 106 net/ncsi/ncsi-aen.c ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; modes 123 net/ncsi/ncsi-aen.c ncm = &tmp->modes[NCSI_MODE_TX_ENABLE]; modes 186 net/ncsi/ncsi-aen.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 28 net/ncsi/ncsi-manage.c return !!(channel->modes[NCSI_MODE_LINK].data[2] & 0x1); modes 139 net/ncsi/ncsi-manage.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 220 net/ncsi/ncsi-manage.c nc->modes[index].index = index; modes 791 net/ncsi/ncsi-manage.c ncm = &channel->modes[NCSI_MODE_TX_ENABLE]; modes 843 net/ncsi/ncsi-manage.c if (nc->modes[NCSI_MODE_TX_ENABLE].enable) { modes 1114 net/ncsi/ncsi-manage.c if (nc->modes[NCSI_MODE_LINK].data[2] & 0x1) { modes 1183 net/ncsi/ncsi-manage.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 67 net/ncsi/ncsi-netlink.c m = &nc->modes[NCSI_MODE_LINK]; modes 162 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_ENABLE]; modes 189 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_ENABLE]; modes 233 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; modes 255 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; modes 279 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_AEN]; modes 308 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 330 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_LINK]; modes 399 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_VLAN]; modes 426 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_VLAN]; modes 496 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_BC]; modes 522 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_BC]; modes 549 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_MC]; modes 575 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_MC]; modes 602 net/ncsi/ncsi-rsp.c ncm = &nc->modes[NCSI_MODE_FC]; modes 836 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_BC].enable = 1; modes 837 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_BC].data[0] = ntohl(rsp->bc_mode); modes 840 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_ENABLE].enable = 1; modes 842 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_TX_ENABLE].enable = 1; modes 844 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_MC].enable = 1; modes 847 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_LINK].enable = 1; modes 848 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_LINK].data[0] = ntohl(rsp->link_mode); modes 849 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_VLAN].enable = 1; modes 850 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_VLAN].data[0] = rsp->vlan_mode; modes 851 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_FC].enable = 1; modes 852 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_FC].data[0] = rsp->fc_mode; modes 853 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_AEN].enable = 1; modes 854 net/ncsi/ncsi-rsp.c nc->modes[NCSI_MODE_AEN].data[0] = ntohl(rsp->aen_mode); modes 558 sound/drivers/opl3/opl3_midi.c extra_prg = (extra_prg) ? 0 : fm->modes; modes 286 sound/drivers/opl3/opl3_synth.c patch->inst.modes = ext[5]; modes 36 sound/firewire/dice/dice-stream.c static const enum snd_dice_rate_mode modes[] = { modes 53 sound/firewire/dice/dice-stream.c *mode = modes[i]; modes 15 sound/firewire/fireface/ff-stream.c static const enum snd_ff_stream_mode modes[] = { modes 28 sound/firewire/fireface/ff-stream.c *mode = modes[sfc]; modes 24 sound/soc/codecs/es7134.c const struct es7134_clock_mode *modes; modes 45 sound/soc/codecs/es7134.c const struct es7134_clock_mode *mode = &priv->chip->modes[i]; modes 188 sound/soc/codecs/es7134.c .modes = es7134_modes, modes 266 sound/soc/codecs/es7134.c .modes = es7154_modes, modes 22 sound/soc/codecs/es7241.c const struct es7241_clock_mode *modes; modes 96 sound/soc/codecs/es7241.c const struct es7241_clock_mode *mode = &priv->chip->modes[i]; modes 207 sound/soc/codecs/es7241.c .modes = es7241_modes, modes 404 sound/soc/intel/atom/sst/sst_drv_interface.c .descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO, modes 421 sound/soc/intel/atom/sst/sst_drv_interface.c .descriptor[1].modes = 0, modes 169 sound/soc/qcom/qdsp6/q6asm-dai.c .descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO, modes 639 sound/soc/sprd/sprd-pcm-compress.c codec->descriptor[0].modes = SND_AUDIOCHANMODE_MP3_STEREO; modes 650 sound/soc/sprd/sprd-pcm-compress.c codec->descriptor[1].modes = 0; modes 397 sound/soc/uniphier/aio-compress.c .descriptor[0].modes = SND_AUDIOMODE_IEC_AC3 | modes 285 tools/testing/selftests/ptp/testptp.c tx.modes = ADJ_FREQUENCY; modes 296 tools/testing/selftests/ptp/testptp.c tx.modes = ADJ_SETOFFSET; modes 120 tools/testing/selftests/timers/adjtick.c tx1.modes = ADJ_TICK; modes 121 tools/testing/selftests/timers/adjtick.c tx1.modes |= ADJ_OFFSET; modes 122 tools/testing/selftests/timers/adjtick.c tx1.modes |= ADJ_FREQUENCY; modes 123 tools/testing/selftests/timers/adjtick.c tx1.modes |= ADJ_STATUS; modes 141 tools/testing/selftests/timers/adjtick.c tx1.modes = 0; modes 197 tools/testing/selftests/timers/adjtick.c tx1.modes = ADJ_TICK; modes 198 tools/testing/selftests/timers/adjtick.c tx1.modes |= ADJ_OFFSET; modes 199 tools/testing/selftests/timers/adjtick.c tx1.modes |= ADJ_FREQUENCY; modes 41 tools/testing/selftests/timers/change_skew.c tx.modes = ADJ_FREQUENCY; modes 69 tools/testing/selftests/timers/change_skew.c tx.modes = ADJ_OFFSET; modes 86 tools/testing/selftests/timers/change_skew.c tx.modes = ADJ_FREQUENCY; modes 84 tools/testing/selftests/timers/freq-step.c txc.modes = ADJ_SETOFFSET; modes 101 tools/testing/selftests/timers/freq-step.c txc.modes = ADJ_TICK | ADJ_FREQUENCY; modes 106 tools/testing/selftests/timers/leap-a-day.c tx.modes = ADJ_STATUS; modes 111 tools/testing/selftests/timers/leap-a-day.c tx.modes = ADJ_MAXERROR; modes 116 tools/testing/selftests/timers/leap-a-day.c tx.modes = ADJ_STATUS; modes 135 tools/testing/selftests/timers/leap-a-day.c tx.modes = 0; modes 262 tools/testing/selftests/timers/leap-a-day.c tx.modes = ADJ_STATUS; modes 275 tools/testing/selftests/timers/leap-a-day.c tx.modes = 0; modes 315 tools/testing/selftests/timers/leap-a-day.c tx.modes = 0; modes 319 tools/testing/selftests/timers/leap-a-day.c tx.modes = ADJ_STATUS; modes 334 tools/testing/selftests/timers/leap-a-day.c tx.modes = 0; modes 39 tools/testing/selftests/timers/leapcrash.c tx.modes = ADJ_STATUS; modes 43 tools/testing/selftests/timers/leapcrash.c tx.modes = ADJ_STATUS; modes 92 tools/testing/selftests/timers/leapcrash.c tx.modes = 0; modes 98 tools/testing/selftests/timers/leapcrash.c tx.modes = ADJ_STATUS; modes 105 tools/testing/selftests/timers/raw_skew.c tx1.modes = 0; modes 120 tools/testing/selftests/timers/raw_skew.c tx2.modes = 0; modes 34 tools/testing/selftests/timers/set-tai.c tx.modes = ADJ_TAI; modes 59 tools/testing/selftests/timers/skew_consistency.c tx.modes = ADJ_FREQUENCY; modes 66 tools/testing/selftests/timers/skew_consistency.c tx.modes = ADJ_FREQUENCY; modes 55 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = ADJ_STATUS; modes 128 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = ADJ_FREQUENCY; modes 139 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = 0; modes 147 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = ADJ_FREQUENCY; modes 158 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = 0; modes 172 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = ADJ_FREQUENCY; modes 188 tools/testing/selftests/timers/valid-adjtimex.c tx.modes = ADJ_FREQUENCY; modes 201 tools/testing/selftests/timers/valid-adjtimex.c tmx.modes = ADJ_SETOFFSET; modes 203 tools/testing/selftests/timers/valid-adjtimex.c tmx.modes |= ADJ_NANO; modes 236 tools/testing/selftests/timers/valid-adjtimex.c tmx.modes = ADJ_SETOFFSET; modes 238 tools/testing/selftests/timers/valid-adjtimex.c tmx.modes |= ADJ_NANO;