Home
last modified time | relevance | path

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

1234

/linux/arch/x86/boot/
H A 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()
H A 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()
H A Dvideo-bios.c71 int nmodes = 0; in bios_probe() local
110 nmodes++; in bios_probe()
115 return nmodes; in bios_probe()
H A 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()
H A Dvideo.h75 int nmodes; /* Number of probed modes so far */ member
/linux/drivers/mtd/nand/raw/
H A Dnand_hynix.c258 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 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()
/linux/drivers/pinctrl/mvebu/
H A 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),
H A 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()
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 Dpinctrl-orion.c182 .nmodes = ARRAY_SIZE(orion_mpp_modes),
192 .nmodes = ARRAY_SIZE(orion_mpp_modes),
202 .nmodes = ARRAY_SIZE(orion_mpp_modes),
H A Dpinctrl-armada-ap806.c118 soc->nmodes = armada_ap806_mpp_controls[0].npins; in armada_ap806_pinctrl_probe()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csid-4-1.c136 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 Dcamss-csid-4-7.c148 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 Dcamss-csid.h86 u8 nmodes; member
/linux/drivers/media/usb/gspca/
H A 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()
H A Dsq905c.c221 cam->nmodes = 2; in sd_config()
223 cam->nmodes = 1; in sd_config()
H A 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 …]
H A Dspca505.c597 cam->nmodes = ARRAY_SIZE(vga_mode); in sd_config()
599 cam->nmodes = ARRAY_SIZE(vga_mode) - 1; in sd_config()
H A Dsq905.c341 gspca_dev->cam.nmodes = ARRAY_SIZE(sq905_mode); in sd_init()
343 gspca_dev->cam.nmodes--; in sd_init()
H A 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()
H A 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()
H A 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()
H A 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()
H A Djl2005bcd.c421 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 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