Home
last modified time | relevance | path

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

/drivers/pinctrl/mvebu/
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),
Dpinctrl-orion.c180 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
190 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
200 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
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()
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()
Dpinctrl-armada-ap806.c117 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe()
Dpinctrl-mvebu.h126 int ncontrols; member
Dpinctrl-ac5.c243 soc->ncontrols = ARRAY_SIZE(ac5_mpp_controls); in ac5_pinctrl_probe()
Dpinctrl-armada-370.c386 soc->ncontrols = ARRAY_SIZE(mv88f6710_mpp_controls); in armada_370_pinctrl_probe()
Dpinctrl-armada-375.c404 soc->ncontrols = ARRAY_SIZE(mv88f6720_mpp_controls); in armada_375_pinctrl_probe()
Dpinctrl-dove.c742 .ncontrols = ARRAY_SIZE(dove_mpp_controls),
792 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe()
Dpinctrl-armada-cp110.c655 soc->ncontrols = ARRAY_SIZE(armada_cp110_mpp_controls); in armada_cp110_pinctrl_probe()
Dpinctrl-armada-38x.c415 soc->ncontrols = ARRAY_SIZE(armada_38x_mpp_controls); in armada_38x_pinctrl_probe()
Dpinctrl-armada-39x.c397 soc->ncontrols = ARRAY_SIZE(armada_39x_mpp_controls); in armada_39x_pinctrl_probe()
/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c1489 ctrl->ncontrols = 1; in handler_new_ref()
1976 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster() argument
1982 if (WARN_ON(ncontrols == 0 || controls[0] == NULL)) in v4l2_ctrl_cluster()
1985 for (i = 0; i < ncontrols; i++) { in v4l2_ctrl_cluster()
1988 controls[i]->ncontrols = ncontrols; in v4l2_ctrl_cluster()
1997 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster() argument
2004 v4l2_ctrl_cluster(ncontrols, controls); in v4l2_ctrl_auto_cluster()
2005 WARN_ON(ncontrols <= 1); in v4l2_ctrl_auto_cluster()
2017 for (i = 1; i < ncontrols; i++) in v4l2_ctrl_auto_cluster()
2031 for (i = 1; i < master->ncontrols; i++) in update_from_auto_cluster()
[all …]
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()
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()
/drivers/media/usb/uvc/
Duvc_ctrl.c889 for (i = 0; i < entity->ncontrols; ++i) { in __uvc_find_control()
1714 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_commit_entity()
2125 for (i = 0; i < entity->ncontrols; ++i) { in uvc_xu_ctrl_query()
2241 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_restore_values()
2374 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_add_mapping()
2594 unsigned int bControlSize = 0, ncontrols; in uvc_ctrl_init_chain() local
2615 ncontrols = memweight(bmControls, bControlSize); in uvc_ctrl_init_chain()
2616 if (ncontrols == 0) in uvc_ctrl_init_chain()
2619 entity->controls = kcalloc(ncontrols, sizeof(*ctrl), in uvc_ctrl_init_chain()
2623 entity->ncontrols = ncontrols; in uvc_ctrl_init_chain()
[all …]
Duvc_status.c127 for (i = 0, ctrl = entity->controls; i < entity->ncontrols; i++, ctrl++) in uvc_event_entity_find_ctrl()
Duvcvideo.h241 unsigned int ncontrols; member
/drivers/media/platform/renesas/vsp1/
Dvsp1_rwpf.h82 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
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()
/drivers/staging/greybus/
Daudio_topology.c534 if (w->ncontrols) in gbaudio_validate_kcontrol_count()
539 if (w->ncontrols != 1) in gbaudio_validate_kcontrol_count()
1036 w->ncontrols, w->name); in gbaudio_tplg_create_widget()
1041 if (w->ncontrols) { in gbaudio_tplg_create_widget()
1042 size = sizeof(struct snd_kcontrol_new) * w->ncontrols; in gbaudio_tplg_create_widget()
1052 for (i = 0; i < w->ncontrols; i++) { in gbaudio_tplg_create_widget()
/drivers/media/radio/si4713/
Dsi4713.c1139 for (c = 1; !ret && c < ctrl->ncontrols; c++) { in si4713_s_ctrl()