/linux/arch/x86/boot/ |
H A D | video.c | 143 int nmodes; in display_menu() local 147 nmodes = 0; in display_menu() 149 nmodes += card->nmodes; in display_menu() 152 if (nmodes >= 20) in display_menu() 163 for (i = 0; i < card->nmodes; i++, mi++) { in display_menu()
|
H A D | video-mode.c | 44 card->nmodes = card->probe(); in probe_cards() 46 card->nmodes = 0; in probe_cards() 60 for (i = 0; i < card->nmodes; i++, mi++) { in mode_defined() 83 for (i = 0; i < card->nmodes; i++, mi++) { in raw_set_mode()
|
H A D | video-bios.c | 71 int nmodes = 0; in bios_probe() local 110 nmodes++; in bios_probe() 115 return nmodes; in bios_probe()
|
H A D | video-vesa.c | 37 int nmodes = 0; in vesa_probe() local 81 nmodes++; in vesa_probe() 96 nmodes++; in vesa_probe() 101 return nmodes; in vesa_probe()
|
H A D | video.h | 75 int nmodes; /* Number of probed modes so far */ member
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_hynix.c | 258 static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, in hynix_mlc_1xnm_rr_value() argument 263 int set_size = nmodes * nregs; in hynix_mlc_1xnm_rr_value() 292 u8 nregs, nmodes; in hynix_mlc_1xnm_rr_init() local 304 &nmodes); in hynix_mlc_1xnm_rr_init() 314 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init() 320 for (i = 0; i < nmodes; i++) { in hynix_mlc_1xnm_rr_init() 324 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init() 329 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init() 340 chip->read_retries = nmodes; in hynix_mlc_1xnm_rr_init()
|
/linux/drivers/leds/ |
H A D | leds-ns2.c | 181 int nmodes, ret; in ns2_led_register() local 200 nmodes = ret / 3; in ns2_led_register() 201 modval = devm_kcalloc(dev, nmodes, sizeof(*modval), GFP_KERNEL); in ns2_led_register() 206 nmodes * 3); in ns2_led_register() 218 led->num_modes = nmodes; in ns2_led_register()
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-kirkwood.c | 394 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 404 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 414 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 424 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 434 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 444 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes), 454 .nmodes = ARRAY_SIZE(mv88f6xxx_mpp_modes),
|
H A D | pinctrl-armada-xp.c | 546 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_suspend() 560 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_resume() 583 soc->nmodes = mv78230_mpp_controls[0].npins; in armada_xp_pinctrl_probe() 594 soc->nmodes = mv78260_mpp_controls[0].npins; in armada_xp_pinctrl_probe() 605 soc->nmodes = mv78460_mpp_controls[0].npins; in armada_xp_pinctrl_probe() 616 soc->nmodes = mv98dx3236_mpp_controls[0].npins; in armada_xp_pinctrl_probe() 622 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe()
|
H A D | pinctrl-orion.c | 182 .nmodes = ARRAY_SIZE(orion_mpp_modes), 192 .nmodes = ARRAY_SIZE(orion_mpp_modes), 202 .nmodes = ARRAY_SIZE(orion_mpp_modes),
|
H A D | pinctrl-armada-ap806.c | 118 soc->nmodes = armada_ap806_mpp_controls[0].npins; in armada_ap806_pinctrl_probe()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csid-4-1.c | 136 if (val > 0 && val <= csid->testgen.nmodes) in csid_configure_testgen_pattern() 195 csid->testgen.nmodes = CSID_PAYLOAD_MODE_NUM_SUPPORTED_GEN1; in csid_subdev_init()
|
H A D | camss-csid-4-7.c | 148 if (val > 0 && val <= csid->testgen.nmodes) in csid_configure_testgen_pattern() 243 csid->testgen.nmodes = CSID_PAYLOAD_MODE_NUM_SUPPORTED_GEN1; in csid_subdev_init()
|
H A D | camss-csid.h | 86 u8 nmodes; member
|
/linux/drivers/media/usb/gspca/ |
H A D | vc032x.c | 3208 cam->nmodes = ARRAY_SIZE(vc0321_mode); in sd_init() 3213 cam->nmodes = ARRAY_SIZE(svga_mode); in sd_init() 3217 cam->nmodes = ARRAY_SIZE(vc0323_mode); in sd_init() 3221 cam->nmodes = ARRAY_SIZE(bi_mode); in sd_init() 3225 cam->nmodes = ARRAY_SIZE(bi_mode) - 1; in sd_init() 3229 cam->nmodes = ARRAY_SIZE(vc0323_mode) - 1; in sd_init()
|
H A D | sq905c.c | 221 cam->nmodes = 2; in sd_config() 223 cam->nmodes = 1; in sd_config()
|
H A D | ov519.c | 3231 cam->nmodes = ARRAY_SIZE(ov511_vga_mode); in sd_config() 3236 cam->nmodes = ARRAY_SIZE(ov518_vga_mode); in sd_config() 3240 cam->nmodes = ARRAY_SIZE(ov519_vga_mode); in sd_config() 3244 cam->nmodes = ARRAY_SIZE(ov519_vga_mode); in sd_config() 3251 cam->nmodes = ARRAY_SIZE(w9968cf_vga_mode); in sd_config() 3321 cam->nmodes = ARRAY_SIZE(ov511_sif_mode); in sd_init() 3328 cam->nmodes = ARRAY_SIZE(ov518_sif_mode); in sd_init() 3334 cam->nmodes = ARRAY_SIZE(ov519_sif_mode); in sd_init() 3342 cam->nmodes = ARRAY_SIZE(ovfx2_ov2610_mode); in sd_init() 3346 cam->nmodes = ARRAY_SIZE(ovfx2_ov3610_mode); in sd_init() [all …]
|
H A D | spca505.c | 597 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config() 599 cam->nmodes = ARRAY_SIZE(vga_mode) - 1; in sd_config()
|
H A D | sq905.c | 341 gspca_dev->cam.nmodes = ARRAY_SIZE(sq905_mode); in sd_init() 343 gspca_dev->cam.nmodes--; in sd_init()
|
H A D | ov534_9.c | 1426 gspca_dev->cam.nmodes = ARRAY_SIZE(ov965x_mode); in sd_init() 1447 gspca_dev->cam.nmodes = ARRAY_SIZE(ov971x_mode); in sd_init() 1475 gspca_dev->cam.nmodes = ARRAY_SIZE(ov562x_mode); in sd_init() 1485 gspca_dev->cam.nmodes = ARRAY_SIZE(ov361x_mode); in sd_init()
|
H A D | sunplus.c | 611 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config() 616 cam->nmodes = ARRAY_SIZE(custom_mode) - 1; in sd_config() 618 cam->nmodes = ARRAY_SIZE(custom_mode); in sd_config() 622 cam->nmodes = ARRAY_SIZE(vga_mode2); in sd_config()
|
H A D | nw80x.c | 1797 gspca_dev->cam.nmodes = 1; in sd_config() 1804 gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); in sd_config() 1807 gspca_dev->cam.nmodes = 1; /* qvga only */ in sd_config()
|
H A D | kinect.c | 233 cam->nmodes = ARRAY_SIZE(video_camera_mode); in sd_config_video() 259 cam->nmodes = ARRAY_SIZE(depth_camera_mode); in sd_config_depth()
|
H A D | jl2005bcd.c | 421 cam->nmodes = ARRAY_SIZE(cif_mode); in sd_config() 425 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config()
|
/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860.c | 350 cam->nmodes = ARRAY_SIZE(mi1320_mode); in sd_config() 357 cam->nmodes = ARRAY_SIZE(mi2020_mode); in sd_config() 364 cam->nmodes = ARRAY_SIZE(ov2640_mode); in sd_config() 371 cam->nmodes = ARRAY_SIZE(ov9655_mode); in sd_config()
|