Home
last modified time | relevance | path

Searched refs:nmodes (Results 1 – 25 of 79) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/x86/boot/
Dvideo-mode.c44 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()
Dvideo.c143 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()
Dvideo-bios.c71 int nmodes = 0; in bios_probe() local
110 nmodes++; in bios_probe()
115 return nmodes; in bios_probe()
Dvideo-vesa.c37 int nmodes = 0; in vesa_probe() local
81 nmodes++; in vesa_probe()
96 nmodes++; in vesa_probe()
101 return nmodes; in vesa_probe()
Dvideo.h75 int nmodes; /* Number of probed modes so far */ member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_hynix.c259 static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, in hynix_mlc_1xnm_rr_value() argument
264 int set_size = nmodes * nregs; in hynix_mlc_1xnm_rr_value()
293 u8 nregs, nmodes; in hynix_mlc_1xnm_rr_init() local
305 &nmodes); in hynix_mlc_1xnm_rr_init()
315 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init()
321 for (i = 0; i < nmodes; i++) { in hynix_mlc_1xnm_rr_init()
325 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
330 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
341 chip->read_retries = nmodes; in hynix_mlc_1xnm_rr_init()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-ns2.c181 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()
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-kirkwood.c394 .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),
Dpinctrl-armada-xp.c546 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()
588 soc->nmodes = mv78230_mpp_controls[0].npins; in armada_xp_pinctrl_probe()
599 soc->nmodes = mv78260_mpp_controls[0].npins; in armada_xp_pinctrl_probe()
610 soc->nmodes = mv78460_mpp_controls[0].npins; in armada_xp_pinctrl_probe()
621 soc->nmodes = mv98dx3236_mpp_controls[0].npins; in armada_xp_pinctrl_probe()
627 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe()
Dpinctrl-orion.c182 .nmodes = ARRAY_SIZE(orion_mpp_modes),
192 .nmodes = ARRAY_SIZE(orion_mpp_modes),
202 .nmodes = ARRAY_SIZE(orion_mpp_modes),
Dpinctrl-armada-ap806.c121 soc->nmodes = armada_ap806_mpp_controls[0].npins; in armada_ap806_pinctrl_probe()
Dpinctrl-mvebu.h128 int nmodes; member
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dsq905c.c221 cam->nmodes = 2; in sd_config()
223 cam->nmodes = 1; in sd_config()
Dvc032x.c3208 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()
Dspca505.c597 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config()
599 cam->nmodes = ARRAY_SIZE(vga_mode) - 1; in sd_config()
Dov519.c3231 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 …]
Dsq905.c341 gspca_dev->cam.nmodes = ARRAY_SIZE(sq905_mode); in sd_init()
343 gspca_dev->cam.nmodes--; in sd_init()
Dsunplus.c611 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()
Dov534_9.c1426 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()
Dgspca.c901 i = gspca_dev->cam.nmodes - 1; /* take the highest mode */ in gspca_set_default_mode()
914 for (i = 0; i < gspca_dev->cam.nmodes; i++) { in wxh_to_mode()
928 for (i = gspca_dev->cam.nmodes; --i >= 0; ) { in wxh_to_nearest_mode()
934 for (i = gspca_dev->cam.nmodes; --i > 0; ) { in wxh_to_nearest_mode()
952 while ((modeU < gspca_dev->cam.nmodes) || modeD >= 0) { in gspca_get_mode()
958 if (++modeU < gspca_dev->cam.nmodes) { in gspca_get_mode()
1007 for (i = gspca_dev->cam.nmodes; --i >= 0; ) { in vidioc_enum_fmt_vid_cap()
1124 for (i = 0; i < gspca_dev->cam.nmodes; i++) { in vidioc_enum_framesizes()
Dnw80x.c1797 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()
Dkinect.c233 cam->nmodes = ARRAY_SIZE(video_camera_mode); in sd_config_video()
259 cam->nmodes = ARRAY_SIZE(depth_camera_mode); in sd_config_depth()
Djl2005bcd.c419 cam->nmodes = ARRAY_SIZE(cif_mode); in sd_config()
423 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config()
Dsn9c2028.c206 cam->nmodes = ARRAY_SIZE(cif_mode); in sd_config()
210 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/gl860/
Dgl860.c350 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()

1234