nmodes 71 arch/x86/boot/video-bios.c int nmodes = 0; nmodes 110 arch/x86/boot/video-bios.c nmodes++; nmodes 115 arch/x86/boot/video-bios.c return nmodes; nmodes 44 arch/x86/boot/video-mode.c card->nmodes = card->probe(); nmodes 46 arch/x86/boot/video-mode.c card->nmodes = 0; nmodes 60 arch/x86/boot/video-mode.c for (i = 0; i < card->nmodes; i++, mi++) { nmodes 83 arch/x86/boot/video-mode.c for (i = 0; i < card->nmodes; i++, mi++) { nmodes 37 arch/x86/boot/video-vesa.c int nmodes = 0; nmodes 81 arch/x86/boot/video-vesa.c nmodes++; nmodes 96 arch/x86/boot/video-vesa.c nmodes++; nmodes 101 arch/x86/boot/video-vesa.c return nmodes; nmodes 143 arch/x86/boot/video.c int nmodes; nmodes 147 arch/x86/boot/video.c nmodes = 0; nmodes 149 arch/x86/boot/video.c nmodes += card->nmodes; nmodes 152 arch/x86/boot/video.c if (nmodes >= 20) nmodes 163 arch/x86/boot/video.c for (i = 0; i < card->nmodes; i++, mi++) { nmodes 75 arch/x86/boot/video.h int nmodes; /* Number of probed modes so far */ nmodes 60 drivers/media/usb/gspca/benq.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 754 drivers/media/usb/gspca/conex.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 1437 drivers/media/usb/gspca/cpia1.c cam->nmodes = ARRAY_SIZE(mode); nmodes 105 drivers/media/usb/gspca/dtcs033.c gspca_dev->cam.nmodes = ARRAY_SIZE(dtcs033_mode); nmodes 546 drivers/media/usb/gspca/etoms.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 549 drivers/media/usb/gspca/etoms.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 165 drivers/media/usb/gspca/finepix.c cam->nmodes = 1; nmodes 350 drivers/media/usb/gspca/gl860/gl860.c cam->nmodes = ARRAY_SIZE(mi1320_mode); nmodes 357 drivers/media/usb/gspca/gl860/gl860.c cam->nmodes = ARRAY_SIZE(mi2020_mode); nmodes 364 drivers/media/usb/gspca/gl860/gl860.c cam->nmodes = ARRAY_SIZE(ov2640_mode); nmodes 371 drivers/media/usb/gspca/gl860/gl860.c cam->nmodes = ARRAY_SIZE(ov9655_mode); nmodes 901 drivers/media/usb/gspca/gspca.c i = gspca_dev->cam.nmodes - 1; /* take the highest mode */ nmodes 914 drivers/media/usb/gspca/gspca.c for (i = 0; i < gspca_dev->cam.nmodes; i++) { nmodes 928 drivers/media/usb/gspca/gspca.c for (i = gspca_dev->cam.nmodes; --i > 0; ) { nmodes 934 drivers/media/usb/gspca/gspca.c for (i = gspca_dev->cam.nmodes; --i > 0; ) { nmodes 952 drivers/media/usb/gspca/gspca.c while ((modeU < gspca_dev->cam.nmodes) || modeD >= 0) { nmodes 958 drivers/media/usb/gspca/gspca.c if (++modeU < gspca_dev->cam.nmodes) { nmodes 1007 drivers/media/usb/gspca/gspca.c for (i = gspca_dev->cam.nmodes; --i >= 0; ) { nmodes 1124 drivers/media/usb/gspca/gspca.c for (i = 0; i < gspca_dev->cam.nmodes; i++) { nmodes 56 drivers/media/usb/gspca/gspca.h u8 nmodes; /* size of cam_mode */ nmodes 315 drivers/media/usb/gspca/jeilinj.c cam->nmodes = ARRAY_SIZE(jlj_mode); nmodes 419 drivers/media/usb/gspca/jl2005bcd.c cam->nmodes = ARRAY_SIZE(cif_mode); nmodes 423 drivers/media/usb/gspca/jl2005bcd.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 233 drivers/media/usb/gspca/kinect.c cam->nmodes = ARRAY_SIZE(video_camera_mode); nmodes 259 drivers/media/usb/gspca/kinect.c cam->nmodes = ARRAY_SIZE(depth_camera_mode); nmodes 140 drivers/media/usb/gspca/konica.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 398 drivers/media/usb/gspca/m5602/m5602_core.c cam->nmodes = 0; nmodes 241 drivers/media/usb/gspca/m5602/m5602_mt9m111.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(mt9m111_modes); nmodes 241 drivers/media/usb/gspca/m5602/m5602_ov7660.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(ov7660_modes); nmodes 340 drivers/media/usb/gspca/m5602/m5602_ov9650.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(ov9650_modes); nmodes 197 drivers/media/usb/gspca/m5602/m5602_po1030.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(po1030_modes); nmodes 404 drivers/media/usb/gspca/m5602/m5602_s5k4aa.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(s5k4aa_modes); nmodes 215 drivers/media/usb/gspca/m5602/m5602_s5k83a.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(s5k83a_modes); nmodes 227 drivers/media/usb/gspca/mars.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 348 drivers/media/usb/gspca/mr97310a.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 374 drivers/media/usb/gspca/mr97310a.c cam->nmodes--; nmodes 1797 drivers/media/usb/gspca/nw80x.c gspca_dev->cam.nmodes = 1; nmodes 1804 drivers/media/usb/gspca/nw80x.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 1807 drivers/media/usb/gspca/nw80x.c gspca_dev->cam.nmodes = 1; /* qvga only */ nmodes 3231 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov511_vga_mode); nmodes 3236 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov518_vga_mode); nmodes 3240 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov519_vga_mode); nmodes 3244 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov519_vga_mode); nmodes 3251 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(w9968cf_vga_mode); nmodes 3321 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov511_sif_mode); nmodes 3328 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov518_sif_mode); nmodes 3334 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov519_sif_mode); nmodes 3342 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ovfx2_ov2610_mode); nmodes 3346 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ovfx2_ov3610_mode); nmodes 3350 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ovfx2_ov9600_mode); nmodes 3355 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(ov519_sif_mode); nmodes 3362 drivers/media/usb/gspca/ov519.c cam->nmodes = ARRAY_SIZE(w9968cf_vga_mode) - 1; nmodes 1116 drivers/media/usb/gspca/ov534.c cam->nmodes = ARRAY_SIZE(ov772x_mode); nmodes 1348 drivers/media/usb/gspca/ov534.c gspca_dev->cam.nmodes = ARRAY_SIZE(ov767x_mode); nmodes 1426 drivers/media/usb/gspca/ov534_9.c gspca_dev->cam.nmodes = ARRAY_SIZE(ov965x_mode); nmodes 1447 drivers/media/usb/gspca/ov534_9.c gspca_dev->cam.nmodes = ARRAY_SIZE(ov971x_mode); nmodes 1475 drivers/media/usb/gspca/ov534_9.c gspca_dev->cam.nmodes = ARRAY_SIZE(ov562x_mode); nmodes 1485 drivers/media/usb/gspca/ov534_9.c gspca_dev->cam.nmodes = ARRAY_SIZE(ov361x_mode); nmodes 173 drivers/media/usb/gspca/pac207.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 363 drivers/media/usb/gspca/pac7302.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 279 drivers/media/usb/gspca/pac7311.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 299 drivers/media/usb/gspca/se401.c cam->nmodes = n; nmodes 206 drivers/media/usb/gspca/sn9c2028.c cam->nmodes = ARRAY_SIZE(cif_mode); nmodes 210 drivers/media/usb/gspca/sn9c2028.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 1632 drivers/media/usb/gspca/sn9c20x.c cam->nmodes = ARRAY_SIZE(sxga_mode); nmodes 1636 drivers/media/usb/gspca/sn9c20x.c cam->nmodes = ARRAY_SIZE(mono_mode); nmodes 1643 drivers/media/usb/gspca/sn9c20x.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 933 drivers/media/usb/gspca/sonixb.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 936 drivers/media/usb/gspca/sonixb.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 1528 drivers/media/usb/gspca/sonixj.c cam->nmodes = ARRAY_SIZE(cif_mode); nmodes 1531 drivers/media/usb/gspca/sonixj.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 194 drivers/media/usb/gspca/spca1528.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 568 drivers/media/usb/gspca/spca500.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 571 drivers/media/usb/gspca/spca500.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 1816 drivers/media/usb/gspca/spca501.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 597 drivers/media/usb/gspca/spca505.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 599 drivers/media/usb/gspca/spca505.c cam->nmodes = ARRAY_SIZE(vga_mode) - 1; nmodes 204 drivers/media/usb/gspca/spca506.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 1374 drivers/media/usb/gspca/spca508.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 425 drivers/media/usb/gspca/spca561.c cam->nmodes = ARRAY_SIZE(sif_012a_mode); nmodes 428 drivers/media/usb/gspca/spca561.c cam->nmodes = ARRAY_SIZE(sif_072a_mode); nmodes 341 drivers/media/usb/gspca/sq905.c gspca_dev->cam.nmodes = ARRAY_SIZE(sq905_mode); nmodes 343 drivers/media/usb/gspca/sq905.c gspca_dev->cam.nmodes--; nmodes 221 drivers/media/usb/gspca/sq905c.c cam->nmodes = 2; nmodes 223 drivers/media/usb/gspca/sq905c.c cam->nmodes = 1; nmodes 815 drivers/media/usb/gspca/sq930x.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 212 drivers/media/usb/gspca/stk014.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 106 drivers/media/usb/gspca/stk1135.c gspca_dev->cam.nmodes = ARRAY_SIZE(stk1135_modes); nmodes 214 drivers/media/usb/gspca/stv0680.c cam->nmodes = 1; nmodes 369 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(hdcs1x00_mode); nmodes 426 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(hdcs1020_mode); nmodes 170 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(pb0100_mode); nmodes 112 drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(st6422_mode); nmodes 80 drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c sd->gspca_dev.cam.nmodes = ARRAY_SIZE(vv6410_mode); nmodes 607 drivers/media/usb/gspca/sunplus.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 612 drivers/media/usb/gspca/sunplus.c cam->nmodes = ARRAY_SIZE(custom_mode) - 1; nmodes 614 drivers/media/usb/gspca/sunplus.c cam->nmodes = ARRAY_SIZE(custom_mode); nmodes 618 drivers/media/usb/gspca/sunplus.c cam->nmodes = ARRAY_SIZE(vga_mode2); nmodes 443 drivers/media/usb/gspca/t613.c cam->nmodes = ARRAY_SIZE(vga_mode_t16); nmodes 4008 drivers/media/usb/gspca/topro.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 522 drivers/media/usb/gspca/touptek.c gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); nmodes 155 drivers/media/usb/gspca/tv8532.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 3208 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(vc0321_mode); nmodes 3213 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(svga_mode); nmodes 3217 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(vc0323_mode); nmodes 3221 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(bi_mode); nmodes 3225 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(bi_mode) - 1; nmodes 3229 drivers/media/usb/gspca/vc032x.c cam->nmodes = ARRAY_SIZE(vc0323_mode) - 1; nmodes 216 drivers/media/usb/gspca/vicam.c cam->nmodes = ARRAY_SIZE(vicam_mode); nmodes 868 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = ARRAY_SIZE(model0_mode); nmodes 873 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = ARRAY_SIZE(cif_yuv_mode); nmodes 878 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = 3; nmodes 882 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = ARRAY_SIZE(vga_yuv_mode); nmodes 888 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = ARRAY_SIZE(model2_mode); nmodes 892 drivers/media/usb/gspca/xirlink_cit.c cam->nmodes = 2; /* no 640 x 480 */ nmodes 6644 drivers/media/usb/gspca/zc3xx.c cam->nmodes = ARRAY_SIZE(sif_mode); nmodes 6648 drivers/media/usb/gspca/zc3xx.c cam->nmodes = ARRAY_SIZE(vga_mode); nmodes 6653 drivers/media/usb/gspca/zc3xx.c cam->nmodes = ARRAY_SIZE(broken_vga_mode); nmodes 259 drivers/mtd/nand/raw/nand_hynix.c static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, nmodes 264 drivers/mtd/nand/raw/nand_hynix.c int set_size = nmodes * nregs; nmodes 293 drivers/mtd/nand/raw/nand_hynix.c u8 nregs, nmodes; nmodes 305 drivers/mtd/nand/raw/nand_hynix.c &nmodes); nmodes 315 drivers/mtd/nand/raw/nand_hynix.c rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); nmodes 321 drivers/mtd/nand/raw/nand_hynix.c for (i = 0; i < nmodes; i++) { nmodes 325 drivers/mtd/nand/raw/nand_hynix.c ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, nmodes 330 drivers/mtd/nand/raw/nand_hynix.c ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, nmodes 341 drivers/mtd/nand/raw/nand_hynix.c chip->read_retries = nmodes; nmodes 388 drivers/pinctrl/mvebu/pinctrl-armada-370.c soc->nmodes = ARRAY_SIZE(mv88f6710_mpp_modes); nmodes 406 drivers/pinctrl/mvebu/pinctrl-armada-375.c soc->nmodes = ARRAY_SIZE(mv88f6720_mpp_modes); nmodes 419 drivers/pinctrl/mvebu/pinctrl-armada-38x.c soc->nmodes = armada_38x_mpp_controls[0].npins; nmodes 401 drivers/pinctrl/mvebu/pinctrl-armada-39x.c soc->nmodes = armada_39x_mpp_controls[0].npins; nmodes 121 drivers/pinctrl/mvebu/pinctrl-armada-ap806.c soc->nmodes = armada_ap806_mpp_controls[0].npins; nmodes 657 drivers/pinctrl/mvebu/pinctrl-armada-cp110.c soc->nmodes = ARRAY_SIZE(armada_cp110_mpp_modes); nmodes 546 drivers/pinctrl/mvebu/pinctrl-armada-xp.c nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); nmodes 560 drivers/pinctrl/mvebu/pinctrl-armada-xp.c nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); nmodes 588 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78230_mpp_controls[0].npins; nmodes 599 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78260_mpp_controls[0].npins; nmodes 610 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv78460_mpp_controls[0].npins; nmodes 621 drivers/pinctrl/mvebu/pinctrl-armada-xp.c soc->nmodes = mv98dx3236_mpp_controls[0].npins; nmodes 627 drivers/pinctrl/mvebu/pinctrl-armada-xp.c nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); nmodes 744 drivers/pinctrl/mvebu/pinctrl-dove.c .nmodes = ARRAY_SIZE(dove_mpp_modes), nmodes 394 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 404 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 414 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 424 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 434 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 444 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 454 drivers/pinctrl/mvebu/pinctrl-kirkwood.c .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), nmodes 686 drivers/pinctrl/mvebu/pinctrl-mvebu.c for (n = 0; n < soc->nmodes; n++) { nmodes 128 drivers/pinctrl/mvebu/pinctrl-mvebu.h int nmodes; nmodes 182 drivers/pinctrl/mvebu/pinctrl-orion.c .nmodes = ARRAY_SIZE(orion_mpp_modes), nmodes 192 drivers/pinctrl/mvebu/pinctrl-orion.c .nmodes = ARRAY_SIZE(orion_mpp_modes), nmodes 202 drivers/pinctrl/mvebu/pinctrl-orion.c .nmodes = ARRAY_SIZE(orion_mpp_modes),