Home
last modified time | relevance | path

Searched refs:max_mode (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/ide/
Dide-xfer-mode.c63 static u8 ide_get_best_pio_mode(ide_drive_t *drive, u8 mode_wanted, u8 max_mode) in ide_get_best_pio_mode() argument
69 return min_t(u8, mode_wanted, max_mode); in ide_get_best_pio_mode()
105 if (pio_mode > max_mode) in ide_get_best_pio_mode()
106 pio_mode = max_mode; in ide_get_best_pio_mode()
/Linux-v5.4/drivers/block/paride/
Dkbic.c255 .max_mode = 6,
271 .max_mode = 6,
Dfit2.c126 .max_mode = 1,
Dktti.c103 .max_mode = 1,
Dparide.h140 int max_mode; /* max mode number */ member
Daten.c137 .max_mode = 2,
Don20.c128 .max_mode = 2,
Dbpck6.c232 .max_mode = 5,
Dcomm.c193 .max_mode = 5,
Dfit3.c186 .max_mode = 3,
Ddstr.c208 .max_mode = 5,
Dfriq.c249 .max_mode = 5,
Depia.c290 .max_mode = 6,
Dfrpw.c287 .max_mode = 6,
Depat.c311 .max_mode = 6,
Don26.c293 .max_mode = 5,
Dbpck.c448 .max_mode = 5,
Dparide.c325 max = pi->proto->max_mode; in pi_probe_unit()
/Linux-v5.4/include/linux/
Defi.h1421 u32 max_mode; member
1430 u32 max_mode; member
1439 u32 max_mode; member
/Linux-v5.4/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c2413 const struct fb_videomode *max_mode; in sh_mobile_lcdc_channel_init() local
2429 max_mode = NULL; in sh_mobile_lcdc_channel_init()
2444 max_mode = mode; in sh_mobile_lcdc_channel_init()
2453 max_mode->xres, max_mode->yres); in sh_mobile_lcdc_channel_init()
/Linux-v5.4/drivers/platform/x86/
Dthinkpad_acpi.c3806 size_t max_mode = ARRAY_SIZE(adaptive_keyboard_modes) - 1; in adaptive_keyboard_get_next_mode() local
3808 for (i = 0; i <= max_mode; i++) { in adaptive_keyboard_get_next_mode()
3813 if (i >= max_mode) in adaptive_keyboard_get_next_mode()