Home
last modified time | relevance | path

Searched refs:ncontrols (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-kirkwood.c392 .ncontrols = ARRAY_SIZE(mv88f6180_mpp_controls),
402 .ncontrols = ARRAY_SIZE(mv88f619x_mpp_controls),
412 .ncontrols = ARRAY_SIZE(mv88f619x_mpp_controls),
422 .ncontrols = ARRAY_SIZE(mv88f628x_mpp_controls),
432 .ncontrols = ARRAY_SIZE(mv88f628x_mpp_controls),
442 .ncontrols = ARRAY_SIZE(mv88f628x_mpp_controls),
452 .ncontrols = ARRAY_SIZE(mv88f628x_mpp_controls),
H A Dpinctrl-orion.c180 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
190 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
200 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
H A Dpinctrl-mvebu.c612 for (n = 0; n < soc->ncontrols; n++) { in mvebu_pinctrl_probe()
657 for (n = 0; n < soc->ncontrols; n++) { in mvebu_pinctrl_probe()
779 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_mmio_probe()
784 for (i = 0; i < soc->ncontrols; i++) in mvebu_pinctrl_simple_mmio_probe()
831 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_regmap_probe()
836 for (i = 0; i < soc->ncontrols; i++) { in mvebu_pinctrl_simple_regmap_probe()
H A Dpinctrl-armada-xp.c578 soc->ncontrols = ARRAY_SIZE(mv78230_mpp_controls); in armada_xp_pinctrl_probe()
589 soc->ncontrols = ARRAY_SIZE(mv78260_mpp_controls); in armada_xp_pinctrl_probe()
600 soc->ncontrols = ARRAY_SIZE(mv78460_mpp_controls); in armada_xp_pinctrl_probe()
614 soc->ncontrols = ARRAY_SIZE(mv98dx3236_mpp_controls); in armada_xp_pinctrl_probe()
H A Dpinctrl-armada-ap806.c114 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe()
H A Dpinctrl-mvebu.h126 int ncontrols; member
H A Dpinctrl-ac5.c242 soc->ncontrols = ARRAY_SIZE(ac5_mpp_controls); in ac5_pinctrl_probe()
H A Dpinctrl-armada-370.c385 soc->ncontrols = ARRAY_SIZE(mv88f6710_mpp_controls); in armada_370_pinctrl_probe()
H A Dpinctrl-armada-375.c403 soc->ncontrols = ARRAY_SIZE(mv88f6720_mpp_controls); in armada_375_pinctrl_probe()
H A Dpinctrl-dove.c742 .ncontrols = ARRAY_SIZE(dove_mpp_controls),
791 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe()
H A Dpinctrl-armada-39x.c392 soc->ncontrols = ARRAY_SIZE(armada_39x_mpp_controls); in armada_39x_pinctrl_probe()
H A Dpinctrl-armada-38x.c410 soc->ncontrols = ARRAY_SIZE(armada_38x_mpp_controls); in armada_38x_pinctrl_probe()
H A Dpinctrl-armada-cp110.c653 soc->ncontrols = ARRAY_SIZE(armada_cp110_mpp_controls); in armada_cp110_pinctrl_probe()
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c2006 ctrl->ncontrols = 1; in handler_new_ref()
2551 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster() argument
2557 if (WARN_ON(ncontrols == 0 || controls[0] == NULL)) in v4l2_ctrl_cluster()
2560 for (i = 0; i < ncontrols; i++) { in v4l2_ctrl_cluster()
2563 controls[i]->ncontrols = ncontrols; in v4l2_ctrl_cluster()
2572 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster() argument
2579 v4l2_ctrl_cluster(ncontrols, controls); in v4l2_ctrl_auto_cluster()
2580 WARN_ON(ncontrols <= 1); in v4l2_ctrl_auto_cluster()
2592 for (i = 1; i < ncontrols; i++) in v4l2_ctrl_auto_cluster()
2606 for (i = 1; i < master->ncontrols; i++) in update_from_auto_cluster()
[all …]
H A Dv4l2-ctrls-api.c287 if (ctrl->cluster[0]->ncontrols > 1) in prepare_ext_ctrls()
471 for (j = 0; j < master->ncontrols; j++) in v4l2_g_ext_ctrls_common()
640 for (j = 0; j < master->ncontrols; j++) in try_set_ext_ctrls_common()
697 for (j = 0; j < master->ncontrols; j++) { in try_set_ext_ctrls_common()
785 for (i = 0; i < master->ncontrols; i++) in get_ctrl()
822 for (i = 0; i < master->ncontrols; i++) in set_ctrl()
/linux/sound/usb/
H A Dmixer_quirks.c3942 .ncontrols = ARRAY_SIZE(snd_djm_ctls_##suffix) }
3947 size_t ncontrols; member
4310 if (ctl_idx >= device->ncontrols) in snd_djm_controls_info()
4336 if (group >= device->ncontrols || value >= device->controls[group].noptions) in snd_djm_controls_update()
4403 for (i = 0; i < device->ncontrols; i++) { in snd_djm_controls_create()
/linux/include/linux/greybus/
H A Dgreybus_protocols.h2031 __u8 ncontrols; member