Home
last modified time | relevance | path

Searched refs:ncontrols (Results 1 - 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/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.c602 for (n = 0; n < soc->ncontrols; n++) { in mvebu_pinctrl_probe()
647 for (n = 0; n < soc->ncontrols; n++) { in mvebu_pinctrl_probe()
769 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_mmio_probe()
774 for (i = 0; i < soc->ncontrols; i++) in mvebu_pinctrl_simple_mmio_probe()
821 mpp_data = devm_kcalloc(&pdev->dev, soc->ncontrols, sizeof(*mpp_data), in mvebu_pinctrl_simple_regmap_probe()
826 for (i = 0; i < soc->ncontrols; i++) { in mvebu_pinctrl_simple_regmap_probe()
H A Dpinctrl-mvebu.h112 * @ncontrols: number of available mvebu_mpp_ctrls
126 int ncontrols; member
H A Dpinctrl-armada-ap806.c117 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe()
H A Dpinctrl-armada-xp.c583 soc->ncontrols = ARRAY_SIZE(mv78230_mpp_controls); in armada_xp_pinctrl_probe()
594 soc->ncontrols = ARRAY_SIZE(mv78260_mpp_controls); in armada_xp_pinctrl_probe()
605 soc->ncontrols = ARRAY_SIZE(mv78460_mpp_controls); in armada_xp_pinctrl_probe()
619 soc->ncontrols = ARRAY_SIZE(mv98dx3236_mpp_controls); in armada_xp_pinctrl_probe()
/kernel/linux/linux-6.6/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-ap806.c117 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe()
H A Dpinctrl-mvebu.h112 * @ncontrols: number of available mvebu_mpp_ctrls
126 int ncontrols; member
H A Dpinctrl-armada-xp.c583 soc->ncontrols = ARRAY_SIZE(mv78230_mpp_controls); in armada_xp_pinctrl_probe()
594 soc->ncontrols = ARRAY_SIZE(mv78260_mpp_controls); in armada_xp_pinctrl_probe()
605 soc->ncontrols = ARRAY_SIZE(mv78460_mpp_controls); in armada_xp_pinctrl_probe()
619 soc->ncontrols = ARRAY_SIZE(mv98dx3236_mpp_controls); in armada_xp_pinctrl_probe()
H A Dpinctrl-ac5.c242 soc->ncontrols = ARRAY_SIZE(ac5_mpp_controls); in ac5_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c2235 for (i = 0; i < master->ncontrols; i++) { in cluster_changed()
2551 ctrl->ncontrols = 1; in handler_new_ref()
2990 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster() argument
2996 if (WARN_ON(ncontrols == 0 || controls[0] == NULL)) in v4l2_ctrl_cluster()
2999 for (i = 0; i < ncontrols; i++) { in v4l2_ctrl_cluster()
3002 controls[i]->ncontrols = ncontrols; in v4l2_ctrl_cluster()
3011 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster() argument
3018 v4l2_ctrl_cluster(ncontrols, controls); in v4l2_ctrl_auto_cluster()
3019 WARN_ON(ncontrols < in v4l2_ctrl_auto_cluster()
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c1740 ctrl->ncontrols = 1; in handler_new_ref()
2239 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster() argument
2245 if (WARN_ON(ncontrols == 0 || controls[0] == NULL)) in v4l2_ctrl_cluster()
2248 for (i = 0; i < ncontrols; i++) { in v4l2_ctrl_cluster()
2251 controls[i]->ncontrols = ncontrols; in v4l2_ctrl_cluster()
2260 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster() argument
2267 v4l2_ctrl_cluster(ncontrols, controls); in v4l2_ctrl_auto_cluster()
2268 WARN_ON(ncontrols <= 1); in v4l2_ctrl_auto_cluster()
2280 for (i = 1; i < ncontrols; in v4l2_ctrl_auto_cluster()
[all...]
H A Dv4l2-ctrls-request.c369 for (i = 0; i < master->ncontrols; i++) in v4l2_ctrl_request_complete()
440 for (i = 0; i < master->ncontrols; i++) { in v4l2_ctrl_request_setup()
456 for (i = 0; i < master->ncontrols; i++) { in v4l2_ctrl_request_setup()
H A Dv4l2-ctrls-api.c262 if (ctrl->cluster[0]->ncontrols > 1) in prepare_ext_ctrls()
444 for (j = 0; j < master->ncontrols; j++) in v4l2_g_ext_ctrls_common()
608 for (j = 0; j < master->ncontrols; j++) in try_set_ext_ctrls_common()
665 for (j = 0; j < master->ncontrols; j++) { in try_set_ext_ctrls_common()
753 for (i = 0; i < master->ncontrols; i++) in get_ctrl()
786 for (i = 0; i < master->ncontrols; i++) in set_ctrl()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
H A Duvc_ctrl.c872 for (i = 0; i < entity->ncontrols; ++i) { in __uvc_find_control()
1510 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_commit_entity()
1886 for (i = 0; i < entity->ncontrols; ++i) { in uvc_xu_ctrl_query()
2002 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_restore_values()
2115 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_add_mapping()
2295 unsigned int bControlSize = 0, ncontrols; in uvc_ctrl_init_device() local
2313 ncontrols = memweight(bmControls, bControlSize); in uvc_ctrl_init_device()
2314 if (ncontrols == 0) in uvc_ctrl_init_device()
2317 entity->controls = kcalloc(ncontrols, sizeof(*ctrl), in uvc_ctrl_init_device()
2321 entity->ncontrols in uvc_ctrl_init_device()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_rwpf.h82 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
H A Dvsp1_rwpf.c274 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols) in vsp1_rwpf_init_ctrls() argument
276 v4l2_ctrl_handler_init(&rwpf->ctrls, ncontrols + 1); in vsp1_rwpf_init_ctrls()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.h82 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
H A Dvsp1_rwpf.c278 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols) in vsp1_rwpf_init_ctrls() argument
280 v4l2_ctrl_handler_init(&rwpf->ctrls, ncontrols + 1); in vsp1_rwpf_init_ctrls()
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-ctrls.h160 * @ncontrols: Number of controls in cluster array.
245 unsigned int ncontrols; member
772 * @ncontrols: The number of controls in this cluster.
773 * @controls: The cluster control array of size @ncontrols.
775 void v4l2_ctrl_cluster(unsigned int ncontrols, struct v4l2_ctrl **controls);
782 * @ncontrols: The number of controls in this cluster.
783 * @controls: The cluster control array of size @ncontrols. The first control
809 void v4l2_ctrl_auto_cluster(unsigned int ncontrols,
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-ctrls.h166 * @ncontrols: Number of controls in cluster array.
261 unsigned int ncontrols; member
805 * @ncontrols: The number of controls in this cluster.
806 * @controls: The cluster control array of size @ncontrols.
808 void v4l2_ctrl_cluster(unsigned int ncontrols, struct v4l2_ctrl **controls);
815 * @ncontrols: The number of controls in this cluster.
816 * @controls: The cluster control array of size @ncontrols. The first control
842 void v4l2_ctrl_auto_cluster(unsigned int ncontrols,
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
H A Duvc_ctrl.c912 for (i = 0; i < entity->ncontrols; ++i) { in __uvc_find_control()
1776 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_commit_entity()
2195 for (i = 0; i < entity->ncontrols; ++i) { in uvc_xu_ctrl_query()
2311 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_restore_values()
2462 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_add_mapping()
2682 unsigned int bControlSize = 0, ncontrols; in uvc_ctrl_init_chain() local
2703 ncontrols = memweight(bmControls, bControlSize); in uvc_ctrl_init_chain()
2704 if (ncontrols == 0) in uvc_ctrl_init_chain()
2707 entity->controls = kcalloc(ncontrols, sizeof(*ctrl), in uvc_ctrl_init_chain()
2711 entity->ncontrols in uvc_ctrl_init_chain()
[all...]

Completed in 28 milliseconds

12