Home
last modified time | relevance | path

Searched refs:ncontrols (Results 1 – 22 of 22) 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.c1929 ctrl->ncontrols = 1; in handler_new_ref()
2474 void v4l2_ctrl_cluster(unsigned ncontrols, struct v4l2_ctrl **controls) in v4l2_ctrl_cluster() argument
2480 if (WARN_ON(ncontrols == 0 || controls[0] == NULL)) in v4l2_ctrl_cluster()
2483 for (i = 0; i < ncontrols; i++) { in v4l2_ctrl_cluster()
2486 controls[i]->ncontrols = ncontrols; in v4l2_ctrl_cluster()
2495 void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls, in v4l2_ctrl_auto_cluster() argument
2502 v4l2_ctrl_cluster(ncontrols, controls); in v4l2_ctrl_auto_cluster()
2503 WARN_ON(ncontrols <= 1); in v4l2_ctrl_auto_cluster()
2515 for (i = 1; i < ncontrols; i++) in v4l2_ctrl_auto_cluster()
2529 for (i = 1; i < master->ncontrols; i++) in update_from_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.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/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.h84 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c1184 for (i = 0; i < entity->ncontrols; ++i) { in __uvc_find_control()
2243 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_commit_entity()
2860 for (i = 0; i < entity->ncontrols; ++i) { in uvc_xu_ctrl_query()
2976 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_restore_values()
3135 for (i = 0; i < entity->ncontrols; ++i) { in uvc_ctrl_add_mapping()
3317 unsigned int bControlSize = 0, ncontrols; in uvc_ctrl_init_chain() local
3338 ncontrols = memweight(bmControls, bControlSize); in uvc_ctrl_init_chain()
3339 if (ncontrols == 0) in uvc_ctrl_init_chain()
3342 entity->controls = kzalloc_objs(*ctrl, ncontrols); in uvc_ctrl_init_chain()
3345 entity->ncontrols = ncontrols; in uvc_ctrl_init_chain()
[all …]
H A Duvc_status.c136 for (i = 0, ctrl = entity->controls; i < entity->ncontrols; i++, ctrl++) in uvc_event_entity_find_ctrl()
/linux/sound/usb/
H A Dmixer_quirks.c3872 .ncontrols = ARRAY_SIZE(snd_djm_ctls_##suffix) }
3877 size_t ncontrols; member
4224 if (ctl_idx >= device->ncontrols) in snd_djm_controls_info()
4250 if (group >= device->ncontrols || value >= device->controls[group].noptions) in snd_djm_controls_update()
4317 for (i = 0; i < device->ncontrols; i++) { in snd_djm_controls_create()
/linux/include/linux/greybus/
H A Dgreybus_protocols.h2031 __u8 ncontrols; member
/linux/drivers/media/radio/si4713/
H A Dsi4713.c1139 for (c = 1; !ret && c < ctrl->ncontrols; c++) { in si4713_s_ctrl()