/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-kirkwood.c | 392 .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 D | pinctrl-orion.c | 180 .ncontrols = ARRAY_SIZE(orion_mpp_controls), 190 .ncontrols = ARRAY_SIZE(orion_mpp_controls), 200 .ncontrols = ARRAY_SIZE(orion_mpp_controls),
|
H A D | pinctrl-mvebu.c | 612 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 D | pinctrl-armada-xp.c | 578 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 D | pinctrl-armada-ap806.c | 114 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe()
|
H A D | pinctrl-mvebu.h | 126 int ncontrols; member
|
H A D | pinctrl-ac5.c | 242 soc->ncontrols = ARRAY_SIZE(ac5_mpp_controls); in ac5_pinctrl_probe()
|
H A D | pinctrl-armada-370.c | 385 soc->ncontrols = ARRAY_SIZE(mv88f6710_mpp_controls); in armada_370_pinctrl_probe()
|
H A D | pinctrl-armada-375.c | 403 soc->ncontrols = ARRAY_SIZE(mv88f6720_mpp_controls); in armada_375_pinctrl_probe()
|
H A D | pinctrl-dove.c | 742 .ncontrols = ARRAY_SIZE(dove_mpp_controls), 791 mpp_data = devm_kcalloc(&pdev->dev, dove_pinctrl_info.ncontrols, in dove_pinctrl_probe()
|
H A D | pinctrl-armada-38x.c | 410 soc->ncontrols = ARRAY_SIZE(armada_38x_mpp_controls); in armada_38x_pinctrl_probe()
|
H A D | pinctrl-armada-cp110.c | 653 soc->ncontrols = ARRAY_SIZE(armada_cp110_mpp_controls); in armada_cp110_pinctrl_probe()
|
H A D | pinctrl-armada-39x.c | 392 soc->ncontrols = ARRAY_SIZE(armada_39x_mpp_controls); in armada_39x_pinctrl_probe()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-core.c | 1740 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; i++) in v4l2_ctrl_auto_cluster() 2294 for (i = 1; i < master->ncontrols; i++) in update_from_auto_cluster() [all …]
|
H A D | v4l2-ctrls-request.c | 369 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 D | v4l2-ctrls-api.c | 262 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() 790 for (i = 0; i < master->ncontrols; i++) in set_ctrl()
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.h | 84 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
|
H A D | vsp1_rwpf.c | 282 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols) in vsp1_rwpf_init_ctrls() argument 284 v4l2_ctrl_handler_init(&rwpf->ctrls, ncontrols + 1); in vsp1_rwpf_init_ctrls()
|
/openbmc/linux/include/media/ |
H A D | v4l2-ctrls.h | 261 unsigned int ncontrols; member 808 void v4l2_ctrl_cluster(unsigned int ncontrols, struct v4l2_ctrl **controls); 842 void v4l2_ctrl_auto_cluster(unsigned int ncontrols,
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_ctrl.c | 912 for (i = 0; i < entity->ncontrols; ++i) { in __uvc_find_control() 1776 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_commit_entity() 2202 for (i = 0; i < entity->ncontrols; ++i) { in uvc_xu_ctrl_query() 2318 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_restore_values() 2469 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_add_mapping() 2689 unsigned int bControlSize = 0, ncontrols; in uvc_ctrl_init_chain() local 2710 ncontrols = memweight(bmControls, bControlSize); in uvc_ctrl_init_chain() 2711 if (ncontrols == 0) in uvc_ctrl_init_chain() 2714 entity->controls = kcalloc(ncontrols, sizeof(*ctrl), in uvc_ctrl_init_chain() 2718 entity->ncontrols = ncontrols; in uvc_ctrl_init_chain() [all …]
|
H A D | uvc_status.c | 135 for (i = 0, ctrl = entity->controls; i < entity->ncontrols; i++, ctrl++) in uvc_event_entity_find_ctrl()
|
H A D | uvcvideo.h | 243 unsigned int ncontrols; member
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_topology.c | 533 if (w->ncontrols) in gbaudio_validate_kcontrol_count() 538 if (w->ncontrols != 1) in gbaudio_validate_kcontrol_count() 1035 w->ncontrols, w->name); in gbaudio_tplg_create_widget() 1040 if (w->ncontrols) { in gbaudio_tplg_create_widget() 1041 size = sizeof(struct snd_kcontrol_new) * w->ncontrols; in gbaudio_tplg_create_widget() 1051 for (i = 0; i < w->ncontrols; i++) { in gbaudio_tplg_create_widget()
|
/openbmc/linux/sound/usb/ |
H A D | mixer_quirks.c | 2993 .ncontrols = ARRAY_SIZE(snd_djm_ctls_##suffix) } 2999 size_t ncontrols; member 3247 if (ctl_idx >= device->ncontrols) in snd_djm_controls_info() 3274 if ((group >= device->ncontrols) || value >= device->controls[group].noptions) in snd_djm_controls_update() 3344 for (i = 0; i < device->ncontrols; i++) { in snd_djm_controls_create()
|
/openbmc/linux/drivers/media/radio/si4713/ |
H A D | si4713.c | 1139 for (c = 1; !ret && c < ctrl->ncontrols; c++) { in si4713_s_ctrl()
|